raspberry_games_engine_helpers 1.8.267 → 1.8.277
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 +2 -2
- package/Logic_Debertz-core.js +784 -340
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +63 -28
- package/Logic_Debertz-engine.js +16482 -10344
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +1 -1
- package/raspberry-cardgame-lib-random.js +1 -1
- package/raspberry-cardgame-lib-random.js.map +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -86,9 +86,13 @@
|
|
|
86
86
|
var coerceAtLeast = kotlin_kotlin.$_$.x9;
|
|
87
87
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
88
88
|
var ensureNotNull = kotlin_kotlin.$_$.yc;
|
|
89
|
+
var Long = kotlin_kotlin.$_$.fc;
|
|
90
|
+
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.e;
|
|
91
|
+
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.x1;
|
|
89
92
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
90
93
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
91
94
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
95
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
92
96
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
93
97
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
94
98
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
@@ -168,7 +172,13 @@
|
|
|
168
172
|
initMetadataForClass(GameUserInfoDto, 'GameUserInfoDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
169
173
|
initMetadataForCompanion(Companion_15);
|
|
170
174
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
171
|
-
initMetadataForClass(
|
|
175
|
+
initMetadataForClass(PlayerConnectionDto, 'PlayerConnectionDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
176
|
+
initMetadataForCompanion(Companion_16);
|
|
177
|
+
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
178
|
+
initMetadataForClass(PlayerStateDto, 'PlayerStateDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
179
|
+
initMetadataForCompanion(Companion_17);
|
|
180
|
+
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
181
|
+
initMetadataForClass(RulesDto, 'RulesDto', RulesDto, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
172
182
|
function get_actionTag() {
|
|
173
183
|
return toString_0(getKClassFromExpression(this));
|
|
174
184
|
}
|
|
@@ -185,8 +195,8 @@
|
|
|
185
195
|
}
|
|
186
196
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
187
197
|
initMetadataForInterface(Store, 'Store');
|
|
188
|
-
initMetadataForCompanion(
|
|
189
|
-
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0:
|
|
198
|
+
initMetadataForCompanion(Companion_18, VOID, [SerializerFactory]);
|
|
199
|
+
initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_20});
|
|
190
200
|
function observe(types, $super) {
|
|
191
201
|
var tmp;
|
|
192
202
|
if (types === VOID) {
|
|
@@ -197,15 +207,15 @@
|
|
|
197
207
|
tmp = types;
|
|
198
208
|
}
|
|
199
209
|
types = tmp;
|
|
200
|
-
return this.
|
|
210
|
+
return this.h2c(types);
|
|
201
211
|
}
|
|
202
212
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
203
|
-
initMetadataForCompanion(
|
|
204
|
-
initMetadataForObject($
|
|
205
|
-
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $
|
|
213
|
+
initMetadataForCompanion(Companion_19);
|
|
214
|
+
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
215
|
+
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
206
216
|
//endregion
|
|
207
217
|
function GameEngineConfig() {
|
|
208
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.277';
|
|
209
219
|
}
|
|
210
220
|
protoOf(GameEngineConfig).e25 = function () {
|
|
211
221
|
return this.version;
|
|
@@ -973,17 +983,17 @@
|
|
|
973
983
|
Exception_init_$Init$(message, this);
|
|
974
984
|
captureStack(this, MechanicException);
|
|
975
985
|
}
|
|
976
|
-
function GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
986
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload) {
|
|
977
987
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
978
988
|
isBot = isBot === VOID ? false : isBot;
|
|
979
|
-
|
|
989
|
+
rating = rating === VOID ? null : rating;
|
|
980
990
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
981
991
|
payload = payload === VOID ? null : payload;
|
|
982
992
|
this.w26_1 = playerId;
|
|
983
993
|
this.name = name;
|
|
984
994
|
this.avatarUrl = avatarUrl;
|
|
985
995
|
this.isBot = isBot;
|
|
986
|
-
this.
|
|
996
|
+
this.rating = rating;
|
|
987
997
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
988
998
|
this.payload = payload;
|
|
989
999
|
}
|
|
@@ -1000,7 +1010,7 @@
|
|
|
1000
1010
|
return this.isBot;
|
|
1001
1011
|
};
|
|
1002
1012
|
protoOf(GameUserInfo).z26 = function () {
|
|
1003
|
-
return this.
|
|
1013
|
+
return this.rating;
|
|
1004
1014
|
};
|
|
1005
1015
|
protoOf(GameUserInfo).a27 = function () {
|
|
1006
1016
|
return this.initialLuckyFactor;
|
|
@@ -1008,6 +1018,10 @@
|
|
|
1008
1018
|
protoOf(GameUserInfo).b27 = function () {
|
|
1009
1019
|
return this.payload;
|
|
1010
1020
|
};
|
|
1021
|
+
protoOf(GameUserInfo).getRatingOrDefault = function (initialUserRating) {
|
|
1022
|
+
var tmp0_elvis_lhs = this.rating;
|
|
1023
|
+
return tmp0_elvis_lhs == null ? initialUserRating : tmp0_elvis_lhs;
|
|
1024
|
+
};
|
|
1011
1025
|
protoOf(GameUserInfo).toString = function () {
|
|
1012
1026
|
var tmp = 'playerId=' + this.w26_1;
|
|
1013
1027
|
var tmp_0 = 'name=' + this.name;
|
|
@@ -1045,11 +1059,11 @@
|
|
|
1045
1059
|
}
|
|
1046
1060
|
var tmp_6 = tmp_5;
|
|
1047
1061
|
// Inline function 'kotlin.takeIf' call
|
|
1048
|
-
var this_3 = '
|
|
1062
|
+
var this_3 = 'rating=' + this.rating;
|
|
1049
1063
|
// Inline function 'kotlin.contracts.contract' call
|
|
1050
1064
|
var tmp_7;
|
|
1051
1065
|
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1052
|
-
if (!(this.
|
|
1066
|
+
if (!(this.rating == null)) {
|
|
1053
1067
|
tmp_7 = this_3;
|
|
1054
1068
|
} else {
|
|
1055
1069
|
tmp_7 = null;
|
|
@@ -1081,7 +1095,7 @@
|
|
|
1081
1095
|
return this.isBot;
|
|
1082
1096
|
};
|
|
1083
1097
|
protoOf(GameUserInfo).c27 = function () {
|
|
1084
|
-
return this.
|
|
1098
|
+
return this.rating;
|
|
1085
1099
|
};
|
|
1086
1100
|
protoOf(GameUserInfo).d27 = function () {
|
|
1087
1101
|
return this.initialLuckyFactor;
|
|
@@ -1089,25 +1103,25 @@
|
|
|
1089
1103
|
protoOf(GameUserInfo).e27 = function () {
|
|
1090
1104
|
return this.payload;
|
|
1091
1105
|
};
|
|
1092
|
-
protoOf(GameUserInfo).f27 = function (playerId, name, avatarUrl, isBot,
|
|
1093
|
-
return new GameUserInfo(playerId, name, avatarUrl, isBot,
|
|
1106
|
+
protoOf(GameUserInfo).f27 = function (playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload) {
|
|
1107
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload);
|
|
1094
1108
|
};
|
|
1095
|
-
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot,
|
|
1109
|
+
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload, $super) {
|
|
1096
1110
|
playerId = playerId === VOID ? this.w26_1 : playerId;
|
|
1097
1111
|
name = name === VOID ? this.name : name;
|
|
1098
1112
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1099
1113
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1100
|
-
|
|
1114
|
+
rating = rating === VOID ? this.rating : rating;
|
|
1101
1115
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1102
1116
|
payload = payload === VOID ? this.payload : payload;
|
|
1103
|
-
return this.f27(playerId, name, avatarUrl, isBot,
|
|
1117
|
+
return this.f27(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload);
|
|
1104
1118
|
};
|
|
1105
1119
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1106
1120
|
var result = getStringHashCode(this.w26_1);
|
|
1107
1121
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1108
1122
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1109
1123
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
1110
|
-
result = imul(result, 31) + (this.
|
|
1124
|
+
result = imul(result, 31) + (this.rating == null ? 0 : getNumberHashCode(this.rating)) | 0;
|
|
1111
1125
|
result = imul(result, 31) + (this.initialLuckyFactor == null ? 0 : getNumberHashCode(this.initialLuckyFactor)) | 0;
|
|
1112
1126
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
1113
1127
|
return result;
|
|
@@ -1126,7 +1140,7 @@
|
|
|
1126
1140
|
return false;
|
|
1127
1141
|
if (!(this.isBot === tmp0_other_with_cast.isBot))
|
|
1128
1142
|
return false;
|
|
1129
|
-
if (!equals(this.
|
|
1143
|
+
if (!equals(this.rating, tmp0_other_with_cast.rating))
|
|
1130
1144
|
return false;
|
|
1131
1145
|
if (!equals(this.initialLuckyFactor, tmp0_other_with_cast.initialLuckyFactor))
|
|
1132
1146
|
return false;
|
|
@@ -2312,6 +2326,12 @@
|
|
|
2312
2326
|
function mapFromDto(_this__u8e3s4) {
|
|
2313
2327
|
return new GameCard(_this__u8e3s4);
|
|
2314
2328
|
}
|
|
2329
|
+
function mapToDto_0(_this__u8e3s4) {
|
|
2330
|
+
return _this__u8e3s4.w28_1;
|
|
2331
|
+
}
|
|
2332
|
+
function mapFromDto_0(_this__u8e3s4) {
|
|
2333
|
+
return new Team(_this__u8e3s4);
|
|
2334
|
+
}
|
|
2315
2335
|
function get_gameErrorReasonMapping() {
|
|
2316
2336
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2317
2337
|
return gameErrorReasonMapping;
|
|
@@ -2322,29 +2342,29 @@
|
|
|
2322
2342
|
return gameFinishedReasonMapping;
|
|
2323
2343
|
}
|
|
2324
2344
|
var gameFinishedReasonMapping;
|
|
2325
|
-
function
|
|
2345
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
2326
2346
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2327
2347
|
var tmp;
|
|
2328
2348
|
if (_this__u8e3s4 instanceof GameErrorReason) {
|
|
2329
|
-
tmp =
|
|
2349
|
+
tmp = mapToDto_2(_this__u8e3s4);
|
|
2330
2350
|
} else {
|
|
2331
2351
|
if (_this__u8e3s4 instanceof GameFinishedReason) {
|
|
2332
|
-
tmp =
|
|
2352
|
+
tmp = mapToDto_3(_this__u8e3s4);
|
|
2333
2353
|
} else {
|
|
2334
2354
|
if (_this__u8e3s4 instanceof PlayerExitReason) {
|
|
2335
|
-
tmp =
|
|
2355
|
+
tmp = mapToDto_4(_this__u8e3s4);
|
|
2336
2356
|
} else {
|
|
2337
2357
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
2338
|
-
tmp =
|
|
2358
|
+
tmp = mapToDto_5(_this__u8e3s4);
|
|
2339
2359
|
} else {
|
|
2340
2360
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
2341
|
-
tmp =
|
|
2361
|
+
tmp = mapToDto_6(_this__u8e3s4);
|
|
2342
2362
|
} else {
|
|
2343
2363
|
if (_this__u8e3s4 instanceof ProcessingReason) {
|
|
2344
|
-
tmp =
|
|
2364
|
+
tmp = mapToDto_7(_this__u8e3s4);
|
|
2345
2365
|
} else {
|
|
2346
2366
|
if (_this__u8e3s4 instanceof WaitingForConnectionReason) {
|
|
2347
|
-
tmp =
|
|
2367
|
+
tmp = mapToDto_8(_this__u8e3s4);
|
|
2348
2368
|
} else {
|
|
2349
2369
|
noWhenBranchMatchedException();
|
|
2350
2370
|
}
|
|
@@ -2356,29 +2376,29 @@
|
|
|
2356
2376
|
}
|
|
2357
2377
|
return tmp;
|
|
2358
2378
|
}
|
|
2359
|
-
function
|
|
2379
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
2360
2380
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2361
2381
|
var tmp;
|
|
2362
2382
|
if (_this__u8e3s4 instanceof GameErrorReasonDto) {
|
|
2363
|
-
tmp =
|
|
2383
|
+
tmp = mapFromDto_2(_this__u8e3s4);
|
|
2364
2384
|
} else {
|
|
2365
2385
|
if (_this__u8e3s4 instanceof GameFinishedReasonDto) {
|
|
2366
|
-
tmp =
|
|
2386
|
+
tmp = mapFromDto_3(_this__u8e3s4);
|
|
2367
2387
|
} else {
|
|
2368
2388
|
if (_this__u8e3s4 instanceof PlayerExitReasonDto) {
|
|
2369
|
-
tmp =
|
|
2389
|
+
tmp = mapFromDto_4(_this__u8e3s4);
|
|
2370
2390
|
} else {
|
|
2371
2391
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReasonDto) {
|
|
2372
|
-
tmp =
|
|
2392
|
+
tmp = mapFromDto_5(_this__u8e3s4);
|
|
2373
2393
|
} else {
|
|
2374
2394
|
if (_this__u8e3s4 instanceof PlayerTimeoutReasonDto) {
|
|
2375
|
-
tmp =
|
|
2395
|
+
tmp = mapFromDto_6(_this__u8e3s4);
|
|
2376
2396
|
} else {
|
|
2377
2397
|
if (_this__u8e3s4 instanceof ProcessingReasonDto) {
|
|
2378
|
-
tmp =
|
|
2398
|
+
tmp = mapFromDto_7(_this__u8e3s4);
|
|
2379
2399
|
} else {
|
|
2380
2400
|
if (_this__u8e3s4 instanceof WaitingForConnectionReasonDto) {
|
|
2381
|
-
tmp =
|
|
2401
|
+
tmp = mapFromDto_8(_this__u8e3s4);
|
|
2382
2402
|
} else {
|
|
2383
2403
|
noWhenBranchMatchedException();
|
|
2384
2404
|
}
|
|
@@ -2390,61 +2410,61 @@
|
|
|
2390
2410
|
}
|
|
2391
2411
|
return tmp;
|
|
2392
2412
|
}
|
|
2393
|
-
function
|
|
2413
|
+
function mapToDto_2(_this__u8e3s4) {
|
|
2394
2414
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2395
2415
|
return new GameErrorReasonDto(enumToString(_this__u8e3s4.reason, get_gameErrorReasonMapping()));
|
|
2396
2416
|
}
|
|
2397
|
-
function
|
|
2417
|
+
function mapToDto_3(_this__u8e3s4) {
|
|
2398
2418
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2399
2419
|
return new GameFinishedReasonDto(enumToString(_this__u8e3s4.reason, get_gameFinishedReasonMapping()));
|
|
2400
2420
|
}
|
|
2401
|
-
function
|
|
2421
|
+
function mapToDto_4(_this__u8e3s4) {
|
|
2402
2422
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2403
2423
|
return new PlayerExitReasonDto(_this__u8e3s4.l26_1);
|
|
2404
2424
|
}
|
|
2405
|
-
function
|
|
2425
|
+
function mapToDto_5(_this__u8e3s4) {
|
|
2406
2426
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2407
2427
|
return new PlayerLostConnectionReasonDto(_this__u8e3s4.f26_1, _this__u8e3s4.tag);
|
|
2408
2428
|
}
|
|
2409
|
-
function
|
|
2429
|
+
function mapToDto_6(_this__u8e3s4) {
|
|
2410
2430
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2411
2431
|
return new PlayerTimeoutReasonDto(_this__u8e3s4.k26_1, _this__u8e3s4.tag);
|
|
2412
2432
|
}
|
|
2413
|
-
function
|
|
2433
|
+
function mapToDto_7(_this__u8e3s4) {
|
|
2414
2434
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2415
2435
|
return ProcessingReasonDto_getInstance();
|
|
2416
2436
|
}
|
|
2417
|
-
function
|
|
2437
|
+
function mapToDto_8(_this__u8e3s4) {
|
|
2418
2438
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2419
2439
|
return WaitingForConnectionReasonDto_getInstance();
|
|
2420
2440
|
}
|
|
2421
|
-
function
|
|
2441
|
+
function mapFromDto_2(_this__u8e3s4) {
|
|
2422
2442
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2423
2443
|
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.reason, get_gameErrorReasonMapping());
|
|
2424
2444
|
return new GameErrorReason(tmp0_elvis_lhs == null ? Reason_INTERNAL_ERROR_getInstance() : tmp0_elvis_lhs);
|
|
2425
2445
|
}
|
|
2426
|
-
function
|
|
2446
|
+
function mapFromDto_3(_this__u8e3s4) {
|
|
2427
2447
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2428
2448
|
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.d29_1, get_gameFinishedReasonMapping());
|
|
2429
2449
|
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2430
2450
|
}
|
|
2431
|
-
function
|
|
2451
|
+
function mapFromDto_4(_this__u8e3s4) {
|
|
2432
2452
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2433
2453
|
return new PlayerExitReason(_this__u8e3s4.g29_1);
|
|
2434
2454
|
}
|
|
2435
|
-
function
|
|
2455
|
+
function mapFromDto_5(_this__u8e3s4) {
|
|
2436
2456
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2437
2457
|
return new PlayerLostConnectionReason(_this__u8e3s4.j29_1, _this__u8e3s4.k29_1);
|
|
2438
2458
|
}
|
|
2439
|
-
function
|
|
2459
|
+
function mapFromDto_6(_this__u8e3s4) {
|
|
2440
2460
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2441
2461
|
return new PlayerTimeoutReason(_this__u8e3s4.n29_1, _this__u8e3s4.o29_1);
|
|
2442
2462
|
}
|
|
2443
|
-
function
|
|
2463
|
+
function mapFromDto_7(_this__u8e3s4) {
|
|
2444
2464
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2445
2465
|
return ProcessingReason_getInstance();
|
|
2446
2466
|
}
|
|
2447
|
-
function
|
|
2467
|
+
function mapFromDto_8(_this__u8e3s4) {
|
|
2448
2468
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2449
2469
|
return WaitingForConnectionReason_getInstance();
|
|
2450
2470
|
}
|
|
@@ -2480,7 +2500,7 @@
|
|
|
2480
2500
|
gameFinishedReasonMapping = destination_0;
|
|
2481
2501
|
}
|
|
2482
2502
|
}
|
|
2483
|
-
function
|
|
2503
|
+
function mapToDto_9(_this__u8e3s4) {
|
|
2484
2504
|
var tmp0_playerId = _this__u8e3s4.w26_1;
|
|
2485
2505
|
var tmp1_uid = _this__u8e3s4.w26_1;
|
|
2486
2506
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
@@ -2499,10 +2519,10 @@
|
|
|
2499
2519
|
}
|
|
2500
2520
|
var tmp6_isBot = tmp;
|
|
2501
2521
|
var tmp7_initialLuckyFactor = _this__u8e3s4.initialLuckyFactor;
|
|
2502
|
-
var tmp8_rating = _this__u8e3s4.
|
|
2522
|
+
var tmp8_rating = _this__u8e3s4.rating;
|
|
2503
2523
|
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2504
2524
|
}
|
|
2505
|
-
function
|
|
2525
|
+
function mapFromDto_9(_this__u8e3s4) {
|
|
2506
2526
|
var tmp0_elvis_lhs = _this__u8e3s4.q29_1;
|
|
2507
2527
|
var tmp4_playerId = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.r29_1) : tmp0_elvis_lhs;
|
|
2508
2528
|
var tmp1_elvis_lhs = _this__u8e3s4.s29_1;
|
|
@@ -2512,8 +2532,46 @@
|
|
|
2512
2532
|
var tmp3_elvis_lhs = _this__u8e3s4.x29_1;
|
|
2513
2533
|
var tmp7_isBot = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2514
2534
|
var tmp8_initialLuckyFactor = _this__u8e3s4.y29_1;
|
|
2515
|
-
var
|
|
2516
|
-
return new GameUserInfo(tmp4_playerId, tmp5_name, tmp6_avatarUrl, tmp7_isBot,
|
|
2535
|
+
var tmp9_rating = _this__u8e3s4.w29_1;
|
|
2536
|
+
return new GameUserInfo(tmp4_playerId, tmp5_name, tmp6_avatarUrl, tmp7_isBot, tmp9_rating, tmp8_initialLuckyFactor);
|
|
2537
|
+
}
|
|
2538
|
+
function mapToDto_10(_this__u8e3s4) {
|
|
2539
|
+
var tmp0_safe_receiver = _this__u8e3s4.j27_1;
|
|
2540
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c1w();
|
|
2541
|
+
var tmp6_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2542
|
+
var tmp2_safe_receiver = _this__u8e3s4.j27_1;
|
|
2543
|
+
var tmp7_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2544
|
+
var tmp3_safe_receiver = _this__u8e3s4.l27_1;
|
|
2545
|
+
var tmp8_waitPlayerUntilTime = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2546
|
+
var tmp4_safe_receiver = _this__u8e3s4.k27_1;
|
|
2547
|
+
var tmp9_playerTurnTimeout = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.toString();
|
|
2548
|
+
var tmp10_state = _this__u8e3s4.m27_1;
|
|
2549
|
+
var tmp11_tag = _this__u8e3s4.o27_1;
|
|
2550
|
+
var tmp12_ready = _this__u8e3s4.n27_1;
|
|
2551
|
+
var tmp5_safe_receiver = _this__u8e3s4.p27_1;
|
|
2552
|
+
var tmp13_connection = tmp5_safe_receiver == null ? null : mapToDto_11(tmp5_safe_receiver);
|
|
2553
|
+
return new PlayerStateDto(tmp6_startFromTime, tmp7_startFrom, tmp9_playerTurnTimeout, tmp8_waitPlayerUntilTime, tmp10_state, tmp12_ready, tmp11_tag, tmp13_connection);
|
|
2554
|
+
}
|
|
2555
|
+
function mapFromDto_10(_this__u8e3s4) {
|
|
2556
|
+
var tmp0_safe_receiver = _this__u8e3s4.a2a_1;
|
|
2557
|
+
var tmp5_startFromTime = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2558
|
+
var tmp1_safe_receiver = _this__u8e3s4.c2a_1;
|
|
2559
|
+
var tmp6_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : toInstant(tmp1_safe_receiver);
|
|
2560
|
+
var tmp2_safe_receiver = _this__u8e3s4.b2a_1;
|
|
2561
|
+
var tmp7_playerTurnTimeout = tmp2_safe_receiver == null ? null : toInstant(tmp2_safe_receiver);
|
|
2562
|
+
var tmp8_state = _this__u8e3s4.d2a_1;
|
|
2563
|
+
var tmp9_tag = _this__u8e3s4.f2a_1;
|
|
2564
|
+
var tmp3_elvis_lhs = _this__u8e3s4.e2a_1;
|
|
2565
|
+
var tmp10_ready = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2566
|
+
var tmp4_safe_receiver = _this__u8e3s4.g2a_1;
|
|
2567
|
+
var tmp11_connection = tmp4_safe_receiver == null ? null : mapFromDto_11(tmp4_safe_receiver);
|
|
2568
|
+
return new PlayerState(tmp5_startFromTime, tmp7_playerTurnTimeout, tmp6_waitPlayerUntilTime, tmp8_state, tmp10_ready, tmp9_tag, tmp11_connection);
|
|
2569
|
+
}
|
|
2570
|
+
function mapToDto_11(_this__u8e3s4) {
|
|
2571
|
+
return new PlayerConnectionDto(_this__u8e3s4.u27_1, _this__u8e3s4.v27_1.toString(), Duration__toIsoString_impl_9h6wsm(_this__u8e3s4.w27_1));
|
|
2572
|
+
}
|
|
2573
|
+
function mapFromDto_11(_this__u8e3s4) {
|
|
2574
|
+
return new PlayerConnection(_this__u8e3s4.h2a_1, toInstant(_this__u8e3s4.i2a_1), Companion_getInstance().kg(_this__u8e3s4.j2a_1));
|
|
2517
2575
|
}
|
|
2518
2576
|
function Companion_14() {
|
|
2519
2577
|
}
|
|
@@ -2533,10 +2591,10 @@
|
|
|
2533
2591
|
tmp0_serialDesc.xu('rating', false);
|
|
2534
2592
|
tmp0_serialDesc.xu('is_bot', false);
|
|
2535
2593
|
tmp0_serialDesc.xu('lucky_factor', false);
|
|
2536
|
-
this.
|
|
2594
|
+
this.k2a_1 = tmp0_serialDesc;
|
|
2537
2595
|
}
|
|
2538
|
-
protoOf($serializer_5).
|
|
2539
|
-
var tmp0_desc = this.
|
|
2596
|
+
protoOf($serializer_5).l2a = function (encoder, value) {
|
|
2597
|
+
var tmp0_desc = this.k2a_1;
|
|
2540
2598
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2541
2599
|
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.q29_1 == null)) {
|
|
2542
2600
|
tmp1_output.ap(tmp0_desc, 0, StringSerializer_getInstance(), value.q29_1);
|
|
@@ -2562,10 +2620,10 @@
|
|
|
2562
2620
|
tmp1_output.in(tmp0_desc);
|
|
2563
2621
|
};
|
|
2564
2622
|
protoOf($serializer_5).zj = function (encoder, value) {
|
|
2565
|
-
return this.
|
|
2623
|
+
return this.l2a(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2566
2624
|
};
|
|
2567
2625
|
protoOf($serializer_5).ak = function (decoder) {
|
|
2568
|
-
var tmp0_desc = this.
|
|
2626
|
+
var tmp0_desc = this.k2a_1;
|
|
2569
2627
|
var tmp1_flag = true;
|
|
2570
2628
|
var tmp2_index = 0;
|
|
2571
2629
|
var tmp3_bitMask0 = 0;
|
|
@@ -2649,7 +2707,7 @@
|
|
|
2649
2707
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2650
2708
|
};
|
|
2651
2709
|
protoOf($serializer_5).yj = function () {
|
|
2652
|
-
return this.
|
|
2710
|
+
return this.k2a_1;
|
|
2653
2711
|
};
|
|
2654
2712
|
protoOf($serializer_5).mv = function () {
|
|
2655
2713
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2665,7 +2723,7 @@
|
|
|
2665
2723
|
}
|
|
2666
2724
|
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2667
2725
|
if (!(448 === (448 & seen0))) {
|
|
2668
|
-
throwMissingFieldException(seen0, 448, $serializer_getInstance_5().
|
|
2726
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_5().k2a_1);
|
|
2669
2727
|
}
|
|
2670
2728
|
if (0 === (seen0 & 1))
|
|
2671
2729
|
$this.q29_1 = null;
|
|
@@ -2716,13 +2774,13 @@
|
|
|
2716
2774
|
this.x29_1 = isBot;
|
|
2717
2775
|
this.y29_1 = initialLuckyFactor;
|
|
2718
2776
|
}
|
|
2719
|
-
protoOf(GameUserInfoDto).
|
|
2720
|
-
return this.
|
|
2777
|
+
protoOf(GameUserInfoDto).m2a = function () {
|
|
2778
|
+
return this.n2a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2721
2779
|
};
|
|
2722
|
-
protoOf(GameUserInfoDto).
|
|
2780
|
+
protoOf(GameUserInfoDto).o2a = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2723
2781
|
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2724
2782
|
};
|
|
2725
|
-
protoOf(GameUserInfoDto).
|
|
2783
|
+
protoOf(GameUserInfoDto).n2a = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2726
2784
|
playerId = playerId === VOID ? this.q29_1 : playerId;
|
|
2727
2785
|
uid = uid === VOID ? this.r29_1 : uid;
|
|
2728
2786
|
name = name === VOID ? this.s29_1 : name;
|
|
@@ -2732,7 +2790,7 @@
|
|
|
2732
2790
|
rating = rating === VOID ? this.w29_1 : rating;
|
|
2733
2791
|
isBot = isBot === VOID ? this.x29_1 : isBot;
|
|
2734
2792
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.y29_1 : initialLuckyFactor;
|
|
2735
|
-
return $super === VOID ? this.
|
|
2793
|
+
return $super === VOID ? this.o2a(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) : $super.o2a.call(this, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2736
2794
|
};
|
|
2737
2795
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2738
2796
|
return 'GameUserInfoDto(playerId=' + this.q29_1 + ', uid=' + this.r29_1 + ', name=' + this.s29_1 + ', nickname=' + this.t29_1 + ', avatarUrl=' + this.u29_1 + ', photo=' + this.v29_1 + ', rating=' + this.w29_1 + ', isBot=' + this.x29_1 + ', initialLuckyFactor=' + this.y29_1 + ')';
|
|
@@ -2781,7 +2839,7 @@
|
|
|
2781
2839
|
// Inline function 'kotlin.arrayOf' call
|
|
2782
2840
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2783
2841
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2784
|
-
tmp.
|
|
2842
|
+
tmp.p2a_1 = [Companion_getInstance_7().o17(), null, null];
|
|
2785
2843
|
}
|
|
2786
2844
|
var Companion_instance_15;
|
|
2787
2845
|
function Companion_getInstance_17() {
|
|
@@ -2791,6 +2849,385 @@
|
|
|
2791
2849
|
}
|
|
2792
2850
|
function $serializer_6() {
|
|
2793
2851
|
$serializer_instance_6 = this;
|
|
2852
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerConnectionDto', this, 3);
|
|
2853
|
+
tmp0_serialDesc.xu('state', false);
|
|
2854
|
+
tmp0_serialDesc.xu('connectionChangedTime', false);
|
|
2855
|
+
tmp0_serialDesc.xu('notLiveDurationRecord', false);
|
|
2856
|
+
this.q2a_1 = tmp0_serialDesc;
|
|
2857
|
+
}
|
|
2858
|
+
protoOf($serializer_6).r2a = function (encoder, value) {
|
|
2859
|
+
var tmp0_desc = this.q2a_1;
|
|
2860
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2861
|
+
var tmp2_cached = Companion_getInstance_17().p2a_1;
|
|
2862
|
+
tmp1_output.yo(tmp0_desc, 0, tmp2_cached[0], value.h2a_1);
|
|
2863
|
+
tmp1_output.wo(tmp0_desc, 1, value.i2a_1);
|
|
2864
|
+
tmp1_output.wo(tmp0_desc, 2, value.j2a_1);
|
|
2865
|
+
tmp1_output.in(tmp0_desc);
|
|
2866
|
+
};
|
|
2867
|
+
protoOf($serializer_6).zj = function (encoder, value) {
|
|
2868
|
+
return this.r2a(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2869
|
+
};
|
|
2870
|
+
protoOf($serializer_6).ak = function (decoder) {
|
|
2871
|
+
var tmp0_desc = this.q2a_1;
|
|
2872
|
+
var tmp1_flag = true;
|
|
2873
|
+
var tmp2_index = 0;
|
|
2874
|
+
var tmp3_bitMask0 = 0;
|
|
2875
|
+
var tmp4_local0 = null;
|
|
2876
|
+
var tmp5_local1 = null;
|
|
2877
|
+
var tmp6_local2 = null;
|
|
2878
|
+
var tmp7_input = decoder.hn(tmp0_desc);
|
|
2879
|
+
var tmp8_cached = Companion_getInstance_17().p2a_1;
|
|
2880
|
+
if (tmp7_input.xn()) {
|
|
2881
|
+
tmp4_local0 = tmp7_input.tn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2882
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2883
|
+
tmp5_local1 = tmp7_input.rn(tmp0_desc, 1);
|
|
2884
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2885
|
+
tmp6_local2 = tmp7_input.rn(tmp0_desc, 2);
|
|
2886
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2887
|
+
} else
|
|
2888
|
+
while (tmp1_flag) {
|
|
2889
|
+
tmp2_index = tmp7_input.yn(tmp0_desc);
|
|
2890
|
+
switch (tmp2_index) {
|
|
2891
|
+
case -1:
|
|
2892
|
+
tmp1_flag = false;
|
|
2893
|
+
break;
|
|
2894
|
+
case 0:
|
|
2895
|
+
tmp4_local0 = tmp7_input.tn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2896
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2897
|
+
break;
|
|
2898
|
+
case 1:
|
|
2899
|
+
tmp5_local1 = tmp7_input.rn(tmp0_desc, 1);
|
|
2900
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2901
|
+
break;
|
|
2902
|
+
case 2:
|
|
2903
|
+
tmp6_local2 = tmp7_input.rn(tmp0_desc, 2);
|
|
2904
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2905
|
+
break;
|
|
2906
|
+
default:
|
|
2907
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
tmp7_input.in(tmp0_desc);
|
|
2911
|
+
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2912
|
+
};
|
|
2913
|
+
protoOf($serializer_6).yj = function () {
|
|
2914
|
+
return this.q2a_1;
|
|
2915
|
+
};
|
|
2916
|
+
protoOf($serializer_6).mv = function () {
|
|
2917
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2918
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2919
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2920
|
+
return [Companion_getInstance_17().p2a_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2921
|
+
};
|
|
2922
|
+
var $serializer_instance_6;
|
|
2923
|
+
function $serializer_getInstance_6() {
|
|
2924
|
+
if ($serializer_instance_6 == null)
|
|
2925
|
+
new $serializer_6();
|
|
2926
|
+
return $serializer_instance_6;
|
|
2927
|
+
}
|
|
2928
|
+
function PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2929
|
+
if (!(7 === (7 & seen0))) {
|
|
2930
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_6().q2a_1);
|
|
2931
|
+
}
|
|
2932
|
+
$this.h2a_1 = state;
|
|
2933
|
+
$this.i2a_1 = connectionChangedTime;
|
|
2934
|
+
$this.j2a_1 = notLiveDurationRecord;
|
|
2935
|
+
return $this;
|
|
2936
|
+
}
|
|
2937
|
+
function PlayerConnectionDto_init_$Create$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
2938
|
+
return PlayerConnectionDto_init_$Init$(seen0, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, objectCreate(protoOf(PlayerConnectionDto)));
|
|
2939
|
+
}
|
|
2940
|
+
function PlayerConnectionDto(state, connectionChangedTime, notLiveDurationRecord) {
|
|
2941
|
+
Companion_getInstance_17();
|
|
2942
|
+
this.h2a_1 = state;
|
|
2943
|
+
this.i2a_1 = connectionChangedTime;
|
|
2944
|
+
this.j2a_1 = notLiveDurationRecord;
|
|
2945
|
+
}
|
|
2946
|
+
protoOf(PlayerConnectionDto).toString = function () {
|
|
2947
|
+
return 'PlayerConnectionDto(state=' + this.h2a_1.toString() + ', connectionChangedTime=' + this.i2a_1 + ', notLiveDurationRecord=' + this.j2a_1 + ')';
|
|
2948
|
+
};
|
|
2949
|
+
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
2950
|
+
var result = this.h2a_1.hashCode();
|
|
2951
|
+
result = imul(result, 31) + getStringHashCode(this.i2a_1) | 0;
|
|
2952
|
+
result = imul(result, 31) + getStringHashCode(this.j2a_1) | 0;
|
|
2953
|
+
return result;
|
|
2954
|
+
};
|
|
2955
|
+
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
2956
|
+
if (this === other)
|
|
2957
|
+
return true;
|
|
2958
|
+
if (!(other instanceof PlayerConnectionDto))
|
|
2959
|
+
return false;
|
|
2960
|
+
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
2961
|
+
if (!this.h2a_1.equals(tmp0_other_with_cast.h2a_1))
|
|
2962
|
+
return false;
|
|
2963
|
+
if (!(this.i2a_1 === tmp0_other_with_cast.i2a_1))
|
|
2964
|
+
return false;
|
|
2965
|
+
if (!(this.j2a_1 === tmp0_other_with_cast.j2a_1))
|
|
2966
|
+
return false;
|
|
2967
|
+
return true;
|
|
2968
|
+
};
|
|
2969
|
+
function Companion_16() {
|
|
2970
|
+
Companion_instance_16 = this;
|
|
2971
|
+
var tmp = this;
|
|
2972
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2973
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2974
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2975
|
+
tmp.s2a_1 = [null, null, null, null, Companion_getInstance_8().o17(), null, null, null];
|
|
2976
|
+
}
|
|
2977
|
+
var Companion_instance_16;
|
|
2978
|
+
function Companion_getInstance_18() {
|
|
2979
|
+
if (Companion_instance_16 == null)
|
|
2980
|
+
new Companion_16();
|
|
2981
|
+
return Companion_instance_16;
|
|
2982
|
+
}
|
|
2983
|
+
function $serializer_7() {
|
|
2984
|
+
$serializer_instance_7 = this;
|
|
2985
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 8);
|
|
2986
|
+
tmp0_serialDesc.xu('startFromTime', true);
|
|
2987
|
+
tmp0_serialDesc.xu('startFrom', true);
|
|
2988
|
+
tmp0_serialDesc.xu('playerTurnTimeout', true);
|
|
2989
|
+
tmp0_serialDesc.xu('waitPlayerUntilTime', true);
|
|
2990
|
+
tmp0_serialDesc.xu('state', false);
|
|
2991
|
+
tmp0_serialDesc.xu('ready', true);
|
|
2992
|
+
tmp0_serialDesc.xu('tag', true);
|
|
2993
|
+
tmp0_serialDesc.xu('connection', true);
|
|
2994
|
+
this.t2a_1 = tmp0_serialDesc;
|
|
2995
|
+
}
|
|
2996
|
+
protoOf($serializer_7).u2a = function (encoder, value) {
|
|
2997
|
+
var tmp0_desc = this.t2a_1;
|
|
2998
|
+
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2999
|
+
var tmp2_cached = Companion_getInstance_18().s2a_1;
|
|
3000
|
+
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.z29_1 == null)) {
|
|
3001
|
+
tmp1_output.ap(tmp0_desc, 0, LongSerializer_getInstance(), value.z29_1);
|
|
3002
|
+
}
|
|
3003
|
+
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.a2a_1 == null)) {
|
|
3004
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.a2a_1);
|
|
3005
|
+
}
|
|
3006
|
+
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.b2a_1 == null)) {
|
|
3007
|
+
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.b2a_1);
|
|
3008
|
+
}
|
|
3009
|
+
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.c2a_1 == null)) {
|
|
3010
|
+
tmp1_output.ap(tmp0_desc, 3, StringSerializer_getInstance(), value.c2a_1);
|
|
3011
|
+
}
|
|
3012
|
+
tmp1_output.yo(tmp0_desc, 4, tmp2_cached[4], value.d2a_1);
|
|
3013
|
+
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.e2a_1 == null)) {
|
|
3014
|
+
tmp1_output.ap(tmp0_desc, 5, BooleanSerializer_getInstance(), value.e2a_1);
|
|
3015
|
+
}
|
|
3016
|
+
if (tmp1_output.ep(tmp0_desc, 6) ? true : !(value.f2a_1 == null)) {
|
|
3017
|
+
tmp1_output.ap(tmp0_desc, 6, StringSerializer_getInstance(), value.f2a_1);
|
|
3018
|
+
}
|
|
3019
|
+
if (tmp1_output.ep(tmp0_desc, 7) ? true : !(value.g2a_1 == null)) {
|
|
3020
|
+
tmp1_output.ap(tmp0_desc, 7, $serializer_getInstance_6(), value.g2a_1);
|
|
3021
|
+
}
|
|
3022
|
+
tmp1_output.in(tmp0_desc);
|
|
3023
|
+
};
|
|
3024
|
+
protoOf($serializer_7).zj = function (encoder, value) {
|
|
3025
|
+
return this.u2a(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3026
|
+
};
|
|
3027
|
+
protoOf($serializer_7).ak = function (decoder) {
|
|
3028
|
+
var tmp0_desc = this.t2a_1;
|
|
3029
|
+
var tmp1_flag = true;
|
|
3030
|
+
var tmp2_index = 0;
|
|
3031
|
+
var tmp3_bitMask0 = 0;
|
|
3032
|
+
var tmp4_local0 = null;
|
|
3033
|
+
var tmp5_local1 = null;
|
|
3034
|
+
var tmp6_local2 = null;
|
|
3035
|
+
var tmp7_local3 = null;
|
|
3036
|
+
var tmp8_local4 = null;
|
|
3037
|
+
var tmp9_local5 = null;
|
|
3038
|
+
var tmp10_local6 = null;
|
|
3039
|
+
var tmp11_local7 = null;
|
|
3040
|
+
var tmp12_input = decoder.hn(tmp0_desc);
|
|
3041
|
+
var tmp13_cached = Companion_getInstance_18().s2a_1;
|
|
3042
|
+
if (tmp12_input.xn()) {
|
|
3043
|
+
tmp4_local0 = tmp12_input.vn(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3044
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3045
|
+
tmp5_local1 = tmp12_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3046
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3047
|
+
tmp6_local2 = tmp12_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3048
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3049
|
+
tmp7_local3 = tmp12_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3050
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3051
|
+
tmp8_local4 = tmp12_input.tn(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3052
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3053
|
+
tmp9_local5 = tmp12_input.vn(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3054
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3055
|
+
tmp10_local6 = tmp12_input.vn(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3056
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3057
|
+
tmp11_local7 = tmp12_input.vn(tmp0_desc, 7, $serializer_getInstance_6(), tmp11_local7);
|
|
3058
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3059
|
+
} else
|
|
3060
|
+
while (tmp1_flag) {
|
|
3061
|
+
tmp2_index = tmp12_input.yn(tmp0_desc);
|
|
3062
|
+
switch (tmp2_index) {
|
|
3063
|
+
case -1:
|
|
3064
|
+
tmp1_flag = false;
|
|
3065
|
+
break;
|
|
3066
|
+
case 0:
|
|
3067
|
+
tmp4_local0 = tmp12_input.vn(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3068
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3069
|
+
break;
|
|
3070
|
+
case 1:
|
|
3071
|
+
tmp5_local1 = tmp12_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3072
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3073
|
+
break;
|
|
3074
|
+
case 2:
|
|
3075
|
+
tmp6_local2 = tmp12_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3076
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3077
|
+
break;
|
|
3078
|
+
case 3:
|
|
3079
|
+
tmp7_local3 = tmp12_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
3080
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3081
|
+
break;
|
|
3082
|
+
case 4:
|
|
3083
|
+
tmp8_local4 = tmp12_input.tn(tmp0_desc, 4, tmp13_cached[4], tmp8_local4);
|
|
3084
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3085
|
+
break;
|
|
3086
|
+
case 5:
|
|
3087
|
+
tmp9_local5 = tmp12_input.vn(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3088
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3089
|
+
break;
|
|
3090
|
+
case 6:
|
|
3091
|
+
tmp10_local6 = tmp12_input.vn(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
3092
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
3093
|
+
break;
|
|
3094
|
+
case 7:
|
|
3095
|
+
tmp11_local7 = tmp12_input.vn(tmp0_desc, 7, $serializer_getInstance_6(), tmp11_local7);
|
|
3096
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
3097
|
+
break;
|
|
3098
|
+
default:
|
|
3099
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
tmp12_input.in(tmp0_desc);
|
|
3103
|
+
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3104
|
+
};
|
|
3105
|
+
protoOf($serializer_7).yj = function () {
|
|
3106
|
+
return this.t2a_1;
|
|
3107
|
+
};
|
|
3108
|
+
protoOf($serializer_7).mv = function () {
|
|
3109
|
+
var tmp0_cached = Companion_getInstance_18().s2a_1;
|
|
3110
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3111
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3112
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3113
|
+
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_6())];
|
|
3114
|
+
};
|
|
3115
|
+
var $serializer_instance_7;
|
|
3116
|
+
function $serializer_getInstance_7() {
|
|
3117
|
+
if ($serializer_instance_7 == null)
|
|
3118
|
+
new $serializer_7();
|
|
3119
|
+
return $serializer_instance_7;
|
|
3120
|
+
}
|
|
3121
|
+
function PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3122
|
+
if (!(16 === (16 & seen0))) {
|
|
3123
|
+
throwMissingFieldException(seen0, 16, $serializer_getInstance_7().t2a_1);
|
|
3124
|
+
}
|
|
3125
|
+
if (0 === (seen0 & 1))
|
|
3126
|
+
$this.z29_1 = null;
|
|
3127
|
+
else
|
|
3128
|
+
$this.z29_1 = startFromTime;
|
|
3129
|
+
if (0 === (seen0 & 2))
|
|
3130
|
+
$this.a2a_1 = null;
|
|
3131
|
+
else
|
|
3132
|
+
$this.a2a_1 = startFrom;
|
|
3133
|
+
if (0 === (seen0 & 4))
|
|
3134
|
+
$this.b2a_1 = null;
|
|
3135
|
+
else
|
|
3136
|
+
$this.b2a_1 = playerTurnTimeout;
|
|
3137
|
+
if (0 === (seen0 & 8))
|
|
3138
|
+
$this.c2a_1 = null;
|
|
3139
|
+
else
|
|
3140
|
+
$this.c2a_1 = waitPlayerUntilTime;
|
|
3141
|
+
$this.d2a_1 = state;
|
|
3142
|
+
if (0 === (seen0 & 32))
|
|
3143
|
+
$this.e2a_1 = null;
|
|
3144
|
+
else
|
|
3145
|
+
$this.e2a_1 = ready;
|
|
3146
|
+
if (0 === (seen0 & 64))
|
|
3147
|
+
$this.f2a_1 = null;
|
|
3148
|
+
else
|
|
3149
|
+
$this.f2a_1 = tag;
|
|
3150
|
+
if (0 === (seen0 & 128))
|
|
3151
|
+
$this.g2a_1 = null;
|
|
3152
|
+
else
|
|
3153
|
+
$this.g2a_1 = connection;
|
|
3154
|
+
return $this;
|
|
3155
|
+
}
|
|
3156
|
+
function PlayerStateDto_init_$Create$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
3157
|
+
return PlayerStateDto_init_$Init$(seen0, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, objectCreate(protoOf(PlayerStateDto)));
|
|
3158
|
+
}
|
|
3159
|
+
function PlayerStateDto(startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
3160
|
+
Companion_getInstance_18();
|
|
3161
|
+
startFromTime = startFromTime === VOID ? null : startFromTime;
|
|
3162
|
+
startFrom = startFrom === VOID ? null : startFrom;
|
|
3163
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
3164
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? null : waitPlayerUntilTime;
|
|
3165
|
+
ready = ready === VOID ? null : ready;
|
|
3166
|
+
tag = tag === VOID ? null : tag;
|
|
3167
|
+
connection = connection === VOID ? null : connection;
|
|
3168
|
+
this.z29_1 = startFromTime;
|
|
3169
|
+
this.a2a_1 = startFrom;
|
|
3170
|
+
this.b2a_1 = playerTurnTimeout;
|
|
3171
|
+
this.c2a_1 = waitPlayerUntilTime;
|
|
3172
|
+
this.d2a_1 = state;
|
|
3173
|
+
this.e2a_1 = ready;
|
|
3174
|
+
this.f2a_1 = tag;
|
|
3175
|
+
this.g2a_1 = connection;
|
|
3176
|
+
}
|
|
3177
|
+
protoOf(PlayerStateDto).toString = function () {
|
|
3178
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.z29_1) + ', startFrom=' + this.a2a_1 + ', playerTurnTimeout=' + this.b2a_1 + ', waitPlayerUntilTime=' + this.c2a_1 + ', state=' + this.d2a_1.toString() + ', ready=' + this.e2a_1 + ', tag=' + this.f2a_1 + ', connection=' + toString(this.g2a_1) + ')';
|
|
3179
|
+
};
|
|
3180
|
+
protoOf(PlayerStateDto).hashCode = function () {
|
|
3181
|
+
var result = this.z29_1 == null ? 0 : this.z29_1.hashCode();
|
|
3182
|
+
result = imul(result, 31) + (this.a2a_1 == null ? 0 : getStringHashCode(this.a2a_1)) | 0;
|
|
3183
|
+
result = imul(result, 31) + (this.b2a_1 == null ? 0 : getStringHashCode(this.b2a_1)) | 0;
|
|
3184
|
+
result = imul(result, 31) + (this.c2a_1 == null ? 0 : getStringHashCode(this.c2a_1)) | 0;
|
|
3185
|
+
result = imul(result, 31) + this.d2a_1.hashCode() | 0;
|
|
3186
|
+
result = imul(result, 31) + (this.e2a_1 == null ? 0 : getBooleanHashCode(this.e2a_1)) | 0;
|
|
3187
|
+
result = imul(result, 31) + (this.f2a_1 == null ? 0 : getStringHashCode(this.f2a_1)) | 0;
|
|
3188
|
+
result = imul(result, 31) + (this.g2a_1 == null ? 0 : this.g2a_1.hashCode()) | 0;
|
|
3189
|
+
return result;
|
|
3190
|
+
};
|
|
3191
|
+
protoOf(PlayerStateDto).equals = function (other) {
|
|
3192
|
+
if (this === other)
|
|
3193
|
+
return true;
|
|
3194
|
+
if (!(other instanceof PlayerStateDto))
|
|
3195
|
+
return false;
|
|
3196
|
+
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3197
|
+
if (!equals(this.z29_1, tmp0_other_with_cast.z29_1))
|
|
3198
|
+
return false;
|
|
3199
|
+
if (!(this.a2a_1 == tmp0_other_with_cast.a2a_1))
|
|
3200
|
+
return false;
|
|
3201
|
+
if (!(this.b2a_1 == tmp0_other_with_cast.b2a_1))
|
|
3202
|
+
return false;
|
|
3203
|
+
if (!(this.c2a_1 == tmp0_other_with_cast.c2a_1))
|
|
3204
|
+
return false;
|
|
3205
|
+
if (!this.d2a_1.equals(tmp0_other_with_cast.d2a_1))
|
|
3206
|
+
return false;
|
|
3207
|
+
if (!(this.e2a_1 == tmp0_other_with_cast.e2a_1))
|
|
3208
|
+
return false;
|
|
3209
|
+
if (!(this.f2a_1 == tmp0_other_with_cast.f2a_1))
|
|
3210
|
+
return false;
|
|
3211
|
+
if (!equals(this.g2a_1, tmp0_other_with_cast.g2a_1))
|
|
3212
|
+
return false;
|
|
3213
|
+
return true;
|
|
3214
|
+
};
|
|
3215
|
+
function Companion_17() {
|
|
3216
|
+
Companion_instance_17 = this;
|
|
3217
|
+
var tmp = this;
|
|
3218
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3219
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3220
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3221
|
+
tmp.v2a_1 = [null, null, null, null, null, null, null, null, new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null, null, null, null, null];
|
|
3222
|
+
}
|
|
3223
|
+
var Companion_instance_17;
|
|
3224
|
+
function Companion_getInstance_19() {
|
|
3225
|
+
if (Companion_instance_17 == null)
|
|
3226
|
+
new Companion_17();
|
|
3227
|
+
return Companion_instance_17;
|
|
3228
|
+
}
|
|
3229
|
+
function $serializer_8() {
|
|
3230
|
+
$serializer_instance_8 = this;
|
|
2794
3231
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 24);
|
|
2795
3232
|
tmp0_serialDesc.xu('needToPutHigherTrump', true);
|
|
2796
3233
|
tmp0_serialDesc.xu('playerWhoChooseSuitGoFirst', true);
|
|
@@ -2816,91 +3253,91 @@
|
|
|
2816
3253
|
tmp0_serialDesc.xu('fineIfNoBribes', true);
|
|
2817
3254
|
tmp0_serialDesc.xu('enableFineAfterThirdByte', true);
|
|
2818
3255
|
tmp0_serialDesc.xu('fineAfterThirdFailedContract', true);
|
|
2819
|
-
this.
|
|
3256
|
+
this.w2a_1 = tmp0_serialDesc;
|
|
2820
3257
|
}
|
|
2821
|
-
protoOf($
|
|
2822
|
-
var tmp0_desc = this.
|
|
3258
|
+
protoOf($serializer_8).x2a = function (encoder, value) {
|
|
3259
|
+
var tmp0_desc = this.w2a_1;
|
|
2823
3260
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2824
|
-
var tmp2_cached =
|
|
2825
|
-
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.
|
|
2826
|
-
tmp1_output.ap(tmp0_desc, 0, BooleanSerializer_getInstance(), value.
|
|
3261
|
+
var tmp2_cached = Companion_getInstance_19().v2a_1;
|
|
3262
|
+
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.y2a_1 == null)) {
|
|
3263
|
+
tmp1_output.ap(tmp0_desc, 0, BooleanSerializer_getInstance(), value.y2a_1);
|
|
2827
3264
|
}
|
|
2828
|
-
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.
|
|
2829
|
-
tmp1_output.ap(tmp0_desc, 1, BooleanSerializer_getInstance(), value.
|
|
3265
|
+
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.z2a_1 == null)) {
|
|
3266
|
+
tmp1_output.ap(tmp0_desc, 1, BooleanSerializer_getInstance(), value.z2a_1);
|
|
2830
3267
|
}
|
|
2831
|
-
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.
|
|
2832
|
-
tmp1_output.ap(tmp0_desc, 2, BooleanSerializer_getInstance(), value.
|
|
3268
|
+
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.a2b_1 == null)) {
|
|
3269
|
+
tmp1_output.ap(tmp0_desc, 2, BooleanSerializer_getInstance(), value.a2b_1);
|
|
2833
3270
|
}
|
|
2834
|
-
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.
|
|
2835
|
-
tmp1_output.ap(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3271
|
+
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.b2b_1 == null)) {
|
|
3272
|
+
tmp1_output.ap(tmp0_desc, 3, BooleanSerializer_getInstance(), value.b2b_1);
|
|
2836
3273
|
}
|
|
2837
|
-
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.
|
|
2838
|
-
tmp1_output.ap(tmp0_desc, 4, BooleanSerializer_getInstance(), value.
|
|
3274
|
+
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.c2b_1 == null)) {
|
|
3275
|
+
tmp1_output.ap(tmp0_desc, 4, BooleanSerializer_getInstance(), value.c2b_1);
|
|
2839
3276
|
}
|
|
2840
|
-
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.
|
|
2841
|
-
tmp1_output.ap(tmp0_desc, 5, IntSerializer_getInstance(), value.
|
|
3277
|
+
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.d2b_1 == null)) {
|
|
3278
|
+
tmp1_output.ap(tmp0_desc, 5, IntSerializer_getInstance(), value.d2b_1);
|
|
2842
3279
|
}
|
|
2843
|
-
if (tmp1_output.ep(tmp0_desc, 6) ? true : !(value.
|
|
2844
|
-
tmp1_output.ap(tmp0_desc, 6, IntSerializer_getInstance(), value.
|
|
3280
|
+
if (tmp1_output.ep(tmp0_desc, 6) ? true : !(value.e2b_1 == null)) {
|
|
3281
|
+
tmp1_output.ap(tmp0_desc, 6, IntSerializer_getInstance(), value.e2b_1);
|
|
2845
3282
|
}
|
|
2846
|
-
if (tmp1_output.ep(tmp0_desc, 7) ? true : !(value.
|
|
2847
|
-
tmp1_output.ap(tmp0_desc, 7, BooleanSerializer_getInstance(), value.
|
|
3283
|
+
if (tmp1_output.ep(tmp0_desc, 7) ? true : !(value.f2b_1 == null)) {
|
|
3284
|
+
tmp1_output.ap(tmp0_desc, 7, BooleanSerializer_getInstance(), value.f2b_1);
|
|
2848
3285
|
}
|
|
2849
|
-
if (tmp1_output.ep(tmp0_desc, 8) ? true : !(value.
|
|
2850
|
-
tmp1_output.ap(tmp0_desc, 8, tmp2_cached[8], value.
|
|
3286
|
+
if (tmp1_output.ep(tmp0_desc, 8) ? true : !(value.g2b_1 == null)) {
|
|
3287
|
+
tmp1_output.ap(tmp0_desc, 8, tmp2_cached[8], value.g2b_1);
|
|
2851
3288
|
}
|
|
2852
|
-
if (tmp1_output.ep(tmp0_desc, 9) ? true : !(value.
|
|
2853
|
-
tmp1_output.ap(tmp0_desc, 9, tmp2_cached[9], value.
|
|
3289
|
+
if (tmp1_output.ep(tmp0_desc, 9) ? true : !(value.h2b_1 == null)) {
|
|
3290
|
+
tmp1_output.ap(tmp0_desc, 9, tmp2_cached[9], value.h2b_1);
|
|
2854
3291
|
}
|
|
2855
|
-
if (tmp1_output.ep(tmp0_desc, 10) ? true : !(value.
|
|
2856
|
-
tmp1_output.ap(tmp0_desc, 10, tmp2_cached[10], value.
|
|
3292
|
+
if (tmp1_output.ep(tmp0_desc, 10) ? true : !(value.i2b_1 == null)) {
|
|
3293
|
+
tmp1_output.ap(tmp0_desc, 10, tmp2_cached[10], value.i2b_1);
|
|
2857
3294
|
}
|
|
2858
|
-
if (tmp1_output.ep(tmp0_desc, 11) ? true : !(value.
|
|
2859
|
-
tmp1_output.ap(tmp0_desc, 11, BooleanSerializer_getInstance(), value.
|
|
3295
|
+
if (tmp1_output.ep(tmp0_desc, 11) ? true : !(value.j2b_1 == null)) {
|
|
3296
|
+
tmp1_output.ap(tmp0_desc, 11, BooleanSerializer_getInstance(), value.j2b_1);
|
|
2860
3297
|
}
|
|
2861
|
-
if (tmp1_output.ep(tmp0_desc, 12) ? true : !(value.
|
|
2862
|
-
tmp1_output.ap(tmp0_desc, 12, BooleanSerializer_getInstance(), value.
|
|
3298
|
+
if (tmp1_output.ep(tmp0_desc, 12) ? true : !(value.k2b_1 == null)) {
|
|
3299
|
+
tmp1_output.ap(tmp0_desc, 12, BooleanSerializer_getInstance(), value.k2b_1);
|
|
2863
3300
|
}
|
|
2864
|
-
if (tmp1_output.ep(tmp0_desc, 13) ? true : !(value.
|
|
2865
|
-
tmp1_output.ap(tmp0_desc, 13, BooleanSerializer_getInstance(), value.
|
|
3301
|
+
if (tmp1_output.ep(tmp0_desc, 13) ? true : !(value.l2b_1 == null)) {
|
|
3302
|
+
tmp1_output.ap(tmp0_desc, 13, BooleanSerializer_getInstance(), value.l2b_1);
|
|
2866
3303
|
}
|
|
2867
|
-
if (tmp1_output.ep(tmp0_desc, 14) ? true : !(value.
|
|
2868
|
-
tmp1_output.ap(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
3304
|
+
if (tmp1_output.ep(tmp0_desc, 14) ? true : !(value.m2b_1 == null)) {
|
|
3305
|
+
tmp1_output.ap(tmp0_desc, 14, BooleanSerializer_getInstance(), value.m2b_1);
|
|
2869
3306
|
}
|
|
2870
|
-
if (tmp1_output.ep(tmp0_desc, 15) ? true : !(value.
|
|
2871
|
-
tmp1_output.ap(tmp0_desc, 15, BooleanSerializer_getInstance(), value.
|
|
3307
|
+
if (tmp1_output.ep(tmp0_desc, 15) ? true : !(value.n2b_1 == null)) {
|
|
3308
|
+
tmp1_output.ap(tmp0_desc, 15, BooleanSerializer_getInstance(), value.n2b_1);
|
|
2872
3309
|
}
|
|
2873
|
-
if (tmp1_output.ep(tmp0_desc, 16) ? true : !(value.
|
|
2874
|
-
tmp1_output.ap(tmp0_desc, 16, BooleanSerializer_getInstance(), value.
|
|
3310
|
+
if (tmp1_output.ep(tmp0_desc, 16) ? true : !(value.o2b_1 == null)) {
|
|
3311
|
+
tmp1_output.ap(tmp0_desc, 16, BooleanSerializer_getInstance(), value.o2b_1);
|
|
2875
3312
|
}
|
|
2876
|
-
if (tmp1_output.ep(tmp0_desc, 17) ? true : !(value.
|
|
2877
|
-
tmp1_output.ap(tmp0_desc, 17, BooleanSerializer_getInstance(), value.
|
|
3313
|
+
if (tmp1_output.ep(tmp0_desc, 17) ? true : !(value.p2b_1 == null)) {
|
|
3314
|
+
tmp1_output.ap(tmp0_desc, 17, BooleanSerializer_getInstance(), value.p2b_1);
|
|
2878
3315
|
}
|
|
2879
|
-
if (tmp1_output.ep(tmp0_desc, 18) ? true : !(value.
|
|
2880
|
-
tmp1_output.ap(tmp0_desc, 18, BooleanSerializer_getInstance(), value.
|
|
3316
|
+
if (tmp1_output.ep(tmp0_desc, 18) ? true : !(value.q2b_1 == null)) {
|
|
3317
|
+
tmp1_output.ap(tmp0_desc, 18, BooleanSerializer_getInstance(), value.q2b_1);
|
|
2881
3318
|
}
|
|
2882
|
-
if (tmp1_output.ep(tmp0_desc, 19) ? true : !(value.
|
|
2883
|
-
tmp1_output.ap(tmp0_desc, 19, StringSerializer_getInstance(), value.
|
|
3319
|
+
if (tmp1_output.ep(tmp0_desc, 19) ? true : !(value.r2b_1 == null)) {
|
|
3320
|
+
tmp1_output.ap(tmp0_desc, 19, StringSerializer_getInstance(), value.r2b_1);
|
|
2884
3321
|
}
|
|
2885
|
-
if (tmp1_output.ep(tmp0_desc, 20) ? true : !(value.
|
|
2886
|
-
tmp1_output.ap(tmp0_desc, 20, BooleanSerializer_getInstance(), value.
|
|
3322
|
+
if (tmp1_output.ep(tmp0_desc, 20) ? true : !(value.s2b_1 == null)) {
|
|
3323
|
+
tmp1_output.ap(tmp0_desc, 20, BooleanSerializer_getInstance(), value.s2b_1);
|
|
2887
3324
|
}
|
|
2888
|
-
if (tmp1_output.ep(tmp0_desc, 21) ? true : !(value.
|
|
2889
|
-
tmp1_output.ap(tmp0_desc, 21, IntSerializer_getInstance(), value.
|
|
3325
|
+
if (tmp1_output.ep(tmp0_desc, 21) ? true : !(value.t2b_1 == null)) {
|
|
3326
|
+
tmp1_output.ap(tmp0_desc, 21, IntSerializer_getInstance(), value.t2b_1);
|
|
2890
3327
|
}
|
|
2891
|
-
if (tmp1_output.ep(tmp0_desc, 22) ? true : !(value.
|
|
2892
|
-
tmp1_output.ap(tmp0_desc, 22, BooleanSerializer_getInstance(), value.
|
|
3328
|
+
if (tmp1_output.ep(tmp0_desc, 22) ? true : !(value.u2b_1 == null)) {
|
|
3329
|
+
tmp1_output.ap(tmp0_desc, 22, BooleanSerializer_getInstance(), value.u2b_1);
|
|
2893
3330
|
}
|
|
2894
|
-
if (tmp1_output.ep(tmp0_desc, 23) ? true : !(value.
|
|
2895
|
-
tmp1_output.ap(tmp0_desc, 23, IntSerializer_getInstance(), value.
|
|
3331
|
+
if (tmp1_output.ep(tmp0_desc, 23) ? true : !(value.v2b_1 == null)) {
|
|
3332
|
+
tmp1_output.ap(tmp0_desc, 23, IntSerializer_getInstance(), value.v2b_1);
|
|
2896
3333
|
}
|
|
2897
3334
|
tmp1_output.in(tmp0_desc);
|
|
2898
3335
|
};
|
|
2899
|
-
protoOf($
|
|
2900
|
-
return this.
|
|
3336
|
+
protoOf($serializer_8).zj = function (encoder, value) {
|
|
3337
|
+
return this.x2a(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2901
3338
|
};
|
|
2902
|
-
protoOf($
|
|
2903
|
-
var tmp0_desc = this.
|
|
3339
|
+
protoOf($serializer_8).ak = function (decoder) {
|
|
3340
|
+
var tmp0_desc = this.w2a_1;
|
|
2904
3341
|
var tmp1_flag = true;
|
|
2905
3342
|
var tmp2_index = 0;
|
|
2906
3343
|
var tmp3_bitMask0 = 0;
|
|
@@ -2929,7 +3366,7 @@
|
|
|
2929
3366
|
var tmp26_local22 = null;
|
|
2930
3367
|
var tmp27_local23 = null;
|
|
2931
3368
|
var tmp28_input = decoder.hn(tmp0_desc);
|
|
2932
|
-
var tmp29_cached =
|
|
3369
|
+
var tmp29_cached = Companion_getInstance_19().v2a_1;
|
|
2933
3370
|
if (tmp28_input.xn()) {
|
|
2934
3371
|
tmp4_local0 = tmp28_input.vn(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2935
3372
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3089,129 +3526,129 @@
|
|
|
3089
3526
|
tmp28_input.in(tmp0_desc);
|
|
3090
3527
|
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, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, null);
|
|
3091
3528
|
};
|
|
3092
|
-
protoOf($
|
|
3093
|
-
return this.
|
|
3529
|
+
protoOf($serializer_8).yj = function () {
|
|
3530
|
+
return this.w2a_1;
|
|
3094
3531
|
};
|
|
3095
|
-
protoOf($
|
|
3096
|
-
var tmp0_cached =
|
|
3532
|
+
protoOf($serializer_8).mv = function () {
|
|
3533
|
+
var tmp0_cached = Companion_getInstance_19().v2a_1;
|
|
3097
3534
|
// Inline function 'kotlin.arrayOf' call
|
|
3098
3535
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3099
3536
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3100
3537
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[8]), get_nullable(tmp0_cached[9]), get_nullable(tmp0_cached[10]), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
|
|
3101
3538
|
};
|
|
3102
|
-
var $
|
|
3103
|
-
function $
|
|
3104
|
-
if ($
|
|
3105
|
-
new $
|
|
3106
|
-
return $
|
|
3539
|
+
var $serializer_instance_8;
|
|
3540
|
+
function $serializer_getInstance_8() {
|
|
3541
|
+
if ($serializer_instance_8 == null)
|
|
3542
|
+
new $serializer_8();
|
|
3543
|
+
return $serializer_instance_8;
|
|
3107
3544
|
}
|
|
3108
3545
|
function RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, $this) {
|
|
3109
3546
|
if (!(0 === (0 & seen0))) {
|
|
3110
|
-
throwMissingFieldException(seen0, 0, $
|
|
3547
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_8().w2a_1);
|
|
3111
3548
|
}
|
|
3112
3549
|
if (0 === (seen0 & 1))
|
|
3113
|
-
$this.
|
|
3550
|
+
$this.y2a_1 = null;
|
|
3114
3551
|
else
|
|
3115
|
-
$this.
|
|
3552
|
+
$this.y2a_1 = needToPutHigherTrump;
|
|
3116
3553
|
if (0 === (seen0 & 2))
|
|
3117
|
-
$this.
|
|
3554
|
+
$this.z2a_1 = null;
|
|
3118
3555
|
else
|
|
3119
|
-
$this.
|
|
3556
|
+
$this.z2a_1 = playerWhoChooseSuitGoFirst;
|
|
3120
3557
|
if (0 === (seen0 & 4))
|
|
3121
|
-
$this.
|
|
3558
|
+
$this.a2b_1 = null;
|
|
3122
3559
|
else
|
|
3123
|
-
$this.
|
|
3560
|
+
$this.a2b_1 = winnerShuffleCards;
|
|
3124
3561
|
if (0 === (seen0 & 8))
|
|
3125
|
-
$this.
|
|
3562
|
+
$this.b2b_1 = null;
|
|
3126
3563
|
else
|
|
3127
|
-
$this.
|
|
3564
|
+
$this.b2b_1 = playWithoutLiabilities;
|
|
3128
3565
|
if (0 === (seen0 & 16))
|
|
3129
|
-
$this.
|
|
3566
|
+
$this.c2b_1 = null;
|
|
3130
3567
|
else
|
|
3131
|
-
$this.
|
|
3568
|
+
$this.c2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3132
3569
|
if (0 === (seen0 & 32))
|
|
3133
|
-
$this.
|
|
3570
|
+
$this.d2b_1 = null;
|
|
3134
3571
|
else
|
|
3135
|
-
$this.
|
|
3572
|
+
$this.d2b_1 = dealerInitialCardsCount;
|
|
3136
3573
|
if (0 === (seen0 & 64))
|
|
3137
|
-
$this.
|
|
3574
|
+
$this.e2b_1 = null;
|
|
3138
3575
|
else
|
|
3139
|
-
$this.
|
|
3576
|
+
$this.e2b_1 = dealerFinalCardsCount;
|
|
3140
3577
|
if (0 === (seen0 & 128))
|
|
3141
|
-
$this.
|
|
3578
|
+
$this.f2b_1 = null;
|
|
3142
3579
|
else
|
|
3143
|
-
$this.
|
|
3580
|
+
$this.f2b_1 = dealerCounterClockwise;
|
|
3144
3581
|
if (0 === (seen0 & 256))
|
|
3145
|
-
$this.
|
|
3582
|
+
$this.g2b_1 = null;
|
|
3146
3583
|
else
|
|
3147
|
-
$this.
|
|
3584
|
+
$this.g2b_1 = contractTypes;
|
|
3148
3585
|
if (0 === (seen0 & 512))
|
|
3149
|
-
$this.
|
|
3586
|
+
$this.h2b_1 = null;
|
|
3150
3587
|
else
|
|
3151
|
-
$this.
|
|
3588
|
+
$this.h2b_1 = bidTypes;
|
|
3152
3589
|
if (0 === (seen0 & 1024))
|
|
3153
|
-
$this.
|
|
3590
|
+
$this.i2b_1 = null;
|
|
3154
3591
|
else
|
|
3155
|
-
$this.
|
|
3592
|
+
$this.i2b_1 = combinationsWithFirstCard;
|
|
3156
3593
|
if (0 === (seen0 & 2048))
|
|
3157
|
-
$this.
|
|
3594
|
+
$this.j2b_1 = null;
|
|
3158
3595
|
else
|
|
3159
|
-
$this.
|
|
3596
|
+
$this.j2b_1 = protectBella;
|
|
3160
3597
|
if (0 === (seen0 & 4096))
|
|
3161
|
-
$this.
|
|
3598
|
+
$this.k2b_1 = null;
|
|
3162
3599
|
else
|
|
3163
|
-
$this.
|
|
3600
|
+
$this.k2b_1 = oneTryToProtectBella;
|
|
3164
3601
|
if (0 === (seen0 & 8192))
|
|
3165
|
-
$this.
|
|
3602
|
+
$this.l2b_1 = null;
|
|
3166
3603
|
else
|
|
3167
|
-
$this.
|
|
3604
|
+
$this.l2b_1 = enableFourSevensCombination;
|
|
3168
3605
|
if (0 === (seen0 & 16384))
|
|
3169
|
-
$this.
|
|
3606
|
+
$this.m2b_1 = null;
|
|
3170
3607
|
else
|
|
3171
|
-
$this.
|
|
3608
|
+
$this.m2b_1 = enableTrumpSevenCombination;
|
|
3172
3609
|
if (0 === (seen0 & 32768))
|
|
3173
|
-
$this.
|
|
3610
|
+
$this.n2b_1 = null;
|
|
3174
3611
|
else
|
|
3175
|
-
$this.
|
|
3612
|
+
$this.n2b_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3176
3613
|
if (0 === (seen0 & 65536))
|
|
3177
|
-
$this.
|
|
3614
|
+
$this.o2b_1 = null;
|
|
3178
3615
|
else
|
|
3179
|
-
$this.
|
|
3616
|
+
$this.o2b_1 = checkTrumpCombination;
|
|
3180
3617
|
if (0 === (seen0 & 131072))
|
|
3181
|
-
$this.
|
|
3618
|
+
$this.p2b_1 = null;
|
|
3182
3619
|
else
|
|
3183
|
-
$this.
|
|
3620
|
+
$this.p2b_1 = checkOnlyTrumpDebertz;
|
|
3184
3621
|
if (0 === (seen0 & 262144))
|
|
3185
|
-
$this.
|
|
3622
|
+
$this.q2b_1 = null;
|
|
3186
3623
|
else
|
|
3187
|
-
$this.
|
|
3624
|
+
$this.q2b_1 = distributePoints;
|
|
3188
3625
|
if (0 === (seen0 & 524288))
|
|
3189
|
-
$this.
|
|
3626
|
+
$this.r2b_1 = null;
|
|
3190
3627
|
else
|
|
3191
|
-
$this.
|
|
3628
|
+
$this.r2b_1 = pointsDistributeMode;
|
|
3192
3629
|
if (0 === (seen0 & 1048576))
|
|
3193
|
-
$this.
|
|
3630
|
+
$this.s2b_1 = null;
|
|
3194
3631
|
else
|
|
3195
|
-
$this.
|
|
3632
|
+
$this.s2b_1 = enableFineIfNoBribes;
|
|
3196
3633
|
if (0 === (seen0 & 2097152))
|
|
3197
|
-
$this.
|
|
3634
|
+
$this.t2b_1 = null;
|
|
3198
3635
|
else
|
|
3199
|
-
$this.
|
|
3636
|
+
$this.t2b_1 = fineIfNoBribes;
|
|
3200
3637
|
if (0 === (seen0 & 4194304))
|
|
3201
|
-
$this.
|
|
3638
|
+
$this.u2b_1 = null;
|
|
3202
3639
|
else
|
|
3203
|
-
$this.
|
|
3640
|
+
$this.u2b_1 = enableFineAfterThirdByte;
|
|
3204
3641
|
if (0 === (seen0 & 8388608))
|
|
3205
|
-
$this.
|
|
3642
|
+
$this.v2b_1 = null;
|
|
3206
3643
|
else
|
|
3207
|
-
$this.
|
|
3644
|
+
$this.v2b_1 = fineAfterThirdFailedContract;
|
|
3208
3645
|
return $this;
|
|
3209
3646
|
}
|
|
3210
3647
|
function RulesDto_init_$Create$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker) {
|
|
3211
3648
|
return RulesDto_init_$Init$(seen0, needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract, serializationConstructorMarker, objectCreate(protoOf(RulesDto)));
|
|
3212
3649
|
}
|
|
3213
3650
|
function RulesDto(needToPutHigherTrump, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, dealerInitialCardsCount, dealerFinalCardsCount, dealerCounterClockwise, contractTypes, bidTypes, combinationsWithFirstCard, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, checkTrumpCombination, checkOnlyTrumpDebertz, distributePoints, pointsDistributeMode, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, fineAfterThirdFailedContract) {
|
|
3214
|
-
|
|
3651
|
+
Companion_getInstance_19();
|
|
3215
3652
|
needToPutHigherTrump = needToPutHigherTrump === VOID ? null : needToPutHigherTrump;
|
|
3216
3653
|
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? null : playerWhoChooseSuitGoFirst;
|
|
3217
3654
|
winnerShuffleCards = winnerShuffleCards === VOID ? null : winnerShuffleCards;
|
|
@@ -3236,59 +3673,59 @@
|
|
|
3236
3673
|
fineIfNoBribes = fineIfNoBribes === VOID ? null : fineIfNoBribes;
|
|
3237
3674
|
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? null : enableFineAfterThirdByte;
|
|
3238
3675
|
fineAfterThirdFailedContract = fineAfterThirdFailedContract === VOID ? null : fineAfterThirdFailedContract;
|
|
3239
|
-
this.
|
|
3240
|
-
this.
|
|
3241
|
-
this.
|
|
3242
|
-
this.
|
|
3243
|
-
this.
|
|
3244
|
-
this.
|
|
3245
|
-
this.
|
|
3246
|
-
this.
|
|
3247
|
-
this.
|
|
3248
|
-
this.
|
|
3249
|
-
this.
|
|
3250
|
-
this.
|
|
3251
|
-
this.
|
|
3252
|
-
this.
|
|
3253
|
-
this.
|
|
3254
|
-
this.
|
|
3255
|
-
this.
|
|
3256
|
-
this.
|
|
3257
|
-
this.
|
|
3258
|
-
this.
|
|
3259
|
-
this.
|
|
3260
|
-
this.
|
|
3261
|
-
this.
|
|
3262
|
-
this.
|
|
3676
|
+
this.y2a_1 = needToPutHigherTrump;
|
|
3677
|
+
this.z2a_1 = playerWhoChooseSuitGoFirst;
|
|
3678
|
+
this.a2b_1 = winnerShuffleCards;
|
|
3679
|
+
this.b2b_1 = playWithoutLiabilities;
|
|
3680
|
+
this.c2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3681
|
+
this.d2b_1 = dealerInitialCardsCount;
|
|
3682
|
+
this.e2b_1 = dealerFinalCardsCount;
|
|
3683
|
+
this.f2b_1 = dealerCounterClockwise;
|
|
3684
|
+
this.g2b_1 = contractTypes;
|
|
3685
|
+
this.h2b_1 = bidTypes;
|
|
3686
|
+
this.i2b_1 = combinationsWithFirstCard;
|
|
3687
|
+
this.j2b_1 = protectBella;
|
|
3688
|
+
this.k2b_1 = oneTryToProtectBella;
|
|
3689
|
+
this.l2b_1 = enableFourSevensCombination;
|
|
3690
|
+
this.m2b_1 = enableTrumpSevenCombination;
|
|
3691
|
+
this.n2b_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3692
|
+
this.o2b_1 = checkTrumpCombination;
|
|
3693
|
+
this.p2b_1 = checkOnlyTrumpDebertz;
|
|
3694
|
+
this.q2b_1 = distributePoints;
|
|
3695
|
+
this.r2b_1 = pointsDistributeMode;
|
|
3696
|
+
this.s2b_1 = enableFineIfNoBribes;
|
|
3697
|
+
this.t2b_1 = fineIfNoBribes;
|
|
3698
|
+
this.u2b_1 = enableFineAfterThirdByte;
|
|
3699
|
+
this.v2b_1 = fineAfterThirdFailedContract;
|
|
3263
3700
|
}
|
|
3264
3701
|
protoOf(RulesDto).toString = function () {
|
|
3265
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
3702
|
+
return 'RulesDto(needToPutHigherTrump=' + this.y2a_1 + ', playerWhoChooseSuitGoFirst=' + this.z2a_1 + ', winnerShuffleCards=' + this.a2b_1 + ', playWithoutLiabilities=' + this.b2b_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.c2b_1 + ', dealerInitialCardsCount=' + this.d2b_1 + ', dealerFinalCardsCount=' + this.e2b_1 + ', dealerCounterClockwise=' + this.f2b_1 + ', contractTypes=' + toString(this.g2b_1) + ', bidTypes=' + toString(this.h2b_1) + ', combinationsWithFirstCard=' + toString(this.i2b_1) + ', protectBella=' + this.j2b_1 + ', oneTryToProtectBella=' + this.k2b_1 + ', enableFourSevensCombination=' + this.l2b_1 + ', enableTrumpSevenCombination=' + this.m2b_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.n2b_1 + ', checkTrumpCombination=' + this.o2b_1 + ', checkOnlyTrumpDebertz=' + this.p2b_1 + ', distributePoints=' + this.q2b_1 + ', pointsDistributeMode=' + this.r2b_1 + ', enableFineIfNoBribes=' + this.s2b_1 + ', fineIfNoBribes=' + this.t2b_1 + ', enableFineAfterThirdByte=' + this.u2b_1 + ', fineAfterThirdFailedContract=' + this.v2b_1 + ')';
|
|
3266
3703
|
};
|
|
3267
3704
|
protoOf(RulesDto).hashCode = function () {
|
|
3268
|
-
var result = this.
|
|
3269
|
-
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getBooleanHashCode(this.i2a_1)) | 0;
|
|
3270
|
-
result = imul(result, 31) + (this.j2a_1 == null ? 0 : getBooleanHashCode(this.j2a_1)) | 0;
|
|
3271
|
-
result = imul(result, 31) + (this.k2a_1 == null ? 0 : getBooleanHashCode(this.k2a_1)) | 0;
|
|
3272
|
-
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getBooleanHashCode(this.l2a_1)) | 0;
|
|
3273
|
-
result = imul(result, 31) + (this.m2a_1 == null ? 0 : this.m2a_1) | 0;
|
|
3274
|
-
result = imul(result, 31) + (this.n2a_1 == null ? 0 : this.n2a_1) | 0;
|
|
3275
|
-
result = imul(result, 31) + (this.o2a_1 == null ? 0 : getBooleanHashCode(this.o2a_1)) | 0;
|
|
3276
|
-
result = imul(result, 31) + (this.p2a_1 == null ? 0 : hashCode(this.p2a_1)) | 0;
|
|
3277
|
-
result = imul(result, 31) + (this.q2a_1 == null ? 0 : hashCode(this.q2a_1)) | 0;
|
|
3278
|
-
result = imul(result, 31) + (this.r2a_1 == null ? 0 : hashCode(this.r2a_1)) | 0;
|
|
3279
|
-
result = imul(result, 31) + (this.s2a_1 == null ? 0 : getBooleanHashCode(this.s2a_1)) | 0;
|
|
3280
|
-
result = imul(result, 31) + (this.t2a_1 == null ? 0 : getBooleanHashCode(this.t2a_1)) | 0;
|
|
3281
|
-
result = imul(result, 31) + (this.u2a_1 == null ? 0 : getBooleanHashCode(this.u2a_1)) | 0;
|
|
3282
|
-
result = imul(result, 31) + (this.v2a_1 == null ? 0 : getBooleanHashCode(this.v2a_1)) | 0;
|
|
3283
|
-
result = imul(result, 31) + (this.w2a_1 == null ? 0 : getBooleanHashCode(this.w2a_1)) | 0;
|
|
3284
|
-
result = imul(result, 31) + (this.x2a_1 == null ? 0 : getBooleanHashCode(this.x2a_1)) | 0;
|
|
3285
|
-
result = imul(result, 31) + (this.y2a_1 == null ? 0 : getBooleanHashCode(this.y2a_1)) | 0;
|
|
3705
|
+
var result = this.y2a_1 == null ? 0 : getBooleanHashCode(this.y2a_1);
|
|
3286
3706
|
result = imul(result, 31) + (this.z2a_1 == null ? 0 : getBooleanHashCode(this.z2a_1)) | 0;
|
|
3287
|
-
result = imul(result, 31) + (this.a2b_1 == null ? 0 :
|
|
3707
|
+
result = imul(result, 31) + (this.a2b_1 == null ? 0 : getBooleanHashCode(this.a2b_1)) | 0;
|
|
3288
3708
|
result = imul(result, 31) + (this.b2b_1 == null ? 0 : getBooleanHashCode(this.b2b_1)) | 0;
|
|
3289
|
-
result = imul(result, 31) + (this.c2b_1 == null ? 0 : this.c2b_1) | 0;
|
|
3290
|
-
result = imul(result, 31) + (this.d2b_1 == null ? 0 :
|
|
3709
|
+
result = imul(result, 31) + (this.c2b_1 == null ? 0 : getBooleanHashCode(this.c2b_1)) | 0;
|
|
3710
|
+
result = imul(result, 31) + (this.d2b_1 == null ? 0 : this.d2b_1) | 0;
|
|
3291
3711
|
result = imul(result, 31) + (this.e2b_1 == null ? 0 : this.e2b_1) | 0;
|
|
3712
|
+
result = imul(result, 31) + (this.f2b_1 == null ? 0 : getBooleanHashCode(this.f2b_1)) | 0;
|
|
3713
|
+
result = imul(result, 31) + (this.g2b_1 == null ? 0 : hashCode(this.g2b_1)) | 0;
|
|
3714
|
+
result = imul(result, 31) + (this.h2b_1 == null ? 0 : hashCode(this.h2b_1)) | 0;
|
|
3715
|
+
result = imul(result, 31) + (this.i2b_1 == null ? 0 : hashCode(this.i2b_1)) | 0;
|
|
3716
|
+
result = imul(result, 31) + (this.j2b_1 == null ? 0 : getBooleanHashCode(this.j2b_1)) | 0;
|
|
3717
|
+
result = imul(result, 31) + (this.k2b_1 == null ? 0 : getBooleanHashCode(this.k2b_1)) | 0;
|
|
3718
|
+
result = imul(result, 31) + (this.l2b_1 == null ? 0 : getBooleanHashCode(this.l2b_1)) | 0;
|
|
3719
|
+
result = imul(result, 31) + (this.m2b_1 == null ? 0 : getBooleanHashCode(this.m2b_1)) | 0;
|
|
3720
|
+
result = imul(result, 31) + (this.n2b_1 == null ? 0 : getBooleanHashCode(this.n2b_1)) | 0;
|
|
3721
|
+
result = imul(result, 31) + (this.o2b_1 == null ? 0 : getBooleanHashCode(this.o2b_1)) | 0;
|
|
3722
|
+
result = imul(result, 31) + (this.p2b_1 == null ? 0 : getBooleanHashCode(this.p2b_1)) | 0;
|
|
3723
|
+
result = imul(result, 31) + (this.q2b_1 == null ? 0 : getBooleanHashCode(this.q2b_1)) | 0;
|
|
3724
|
+
result = imul(result, 31) + (this.r2b_1 == null ? 0 : getStringHashCode(this.r2b_1)) | 0;
|
|
3725
|
+
result = imul(result, 31) + (this.s2b_1 == null ? 0 : getBooleanHashCode(this.s2b_1)) | 0;
|
|
3726
|
+
result = imul(result, 31) + (this.t2b_1 == null ? 0 : this.t2b_1) | 0;
|
|
3727
|
+
result = imul(result, 31) + (this.u2b_1 == null ? 0 : getBooleanHashCode(this.u2b_1)) | 0;
|
|
3728
|
+
result = imul(result, 31) + (this.v2b_1 == null ? 0 : this.v2b_1) | 0;
|
|
3292
3729
|
return result;
|
|
3293
3730
|
};
|
|
3294
3731
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3297,53 +3734,53 @@
|
|
|
3297
3734
|
if (!(other instanceof RulesDto))
|
|
3298
3735
|
return false;
|
|
3299
3736
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3300
|
-
if (!(this.
|
|
3737
|
+
if (!(this.y2a_1 == tmp0_other_with_cast.y2a_1))
|
|
3301
3738
|
return false;
|
|
3302
|
-
if (!(this.
|
|
3739
|
+
if (!(this.z2a_1 == tmp0_other_with_cast.z2a_1))
|
|
3303
3740
|
return false;
|
|
3304
|
-
if (!(this.
|
|
3741
|
+
if (!(this.a2b_1 == tmp0_other_with_cast.a2b_1))
|
|
3305
3742
|
return false;
|
|
3306
|
-
if (!(this.
|
|
3743
|
+
if (!(this.b2b_1 == tmp0_other_with_cast.b2b_1))
|
|
3307
3744
|
return false;
|
|
3308
|
-
if (!(this.
|
|
3745
|
+
if (!(this.c2b_1 == tmp0_other_with_cast.c2b_1))
|
|
3309
3746
|
return false;
|
|
3310
|
-
if (!(this.
|
|
3747
|
+
if (!(this.d2b_1 == tmp0_other_with_cast.d2b_1))
|
|
3311
3748
|
return false;
|
|
3312
|
-
if (!(this.
|
|
3749
|
+
if (!(this.e2b_1 == tmp0_other_with_cast.e2b_1))
|
|
3313
3750
|
return false;
|
|
3314
|
-
if (!(this.
|
|
3751
|
+
if (!(this.f2b_1 == tmp0_other_with_cast.f2b_1))
|
|
3315
3752
|
return false;
|
|
3316
|
-
if (!equals(this.
|
|
3753
|
+
if (!equals(this.g2b_1, tmp0_other_with_cast.g2b_1))
|
|
3317
3754
|
return false;
|
|
3318
|
-
if (!equals(this.
|
|
3755
|
+
if (!equals(this.h2b_1, tmp0_other_with_cast.h2b_1))
|
|
3319
3756
|
return false;
|
|
3320
|
-
if (!equals(this.
|
|
3757
|
+
if (!equals(this.i2b_1, tmp0_other_with_cast.i2b_1))
|
|
3321
3758
|
return false;
|
|
3322
|
-
if (!(this.
|
|
3759
|
+
if (!(this.j2b_1 == tmp0_other_with_cast.j2b_1))
|
|
3323
3760
|
return false;
|
|
3324
|
-
if (!(this.
|
|
3761
|
+
if (!(this.k2b_1 == tmp0_other_with_cast.k2b_1))
|
|
3325
3762
|
return false;
|
|
3326
|
-
if (!(this.
|
|
3763
|
+
if (!(this.l2b_1 == tmp0_other_with_cast.l2b_1))
|
|
3327
3764
|
return false;
|
|
3328
|
-
if (!(this.
|
|
3765
|
+
if (!(this.m2b_1 == tmp0_other_with_cast.m2b_1))
|
|
3329
3766
|
return false;
|
|
3330
|
-
if (!(this.
|
|
3767
|
+
if (!(this.n2b_1 == tmp0_other_with_cast.n2b_1))
|
|
3331
3768
|
return false;
|
|
3332
|
-
if (!(this.
|
|
3769
|
+
if (!(this.o2b_1 == tmp0_other_with_cast.o2b_1))
|
|
3333
3770
|
return false;
|
|
3334
|
-
if (!(this.
|
|
3771
|
+
if (!(this.p2b_1 == tmp0_other_with_cast.p2b_1))
|
|
3335
3772
|
return false;
|
|
3336
|
-
if (!(this.
|
|
3773
|
+
if (!(this.q2b_1 == tmp0_other_with_cast.q2b_1))
|
|
3337
3774
|
return false;
|
|
3338
|
-
if (!(this.
|
|
3775
|
+
if (!(this.r2b_1 == tmp0_other_with_cast.r2b_1))
|
|
3339
3776
|
return false;
|
|
3340
|
-
if (!(this.
|
|
3777
|
+
if (!(this.s2b_1 == tmp0_other_with_cast.s2b_1))
|
|
3341
3778
|
return false;
|
|
3342
|
-
if (!(this.
|
|
3779
|
+
if (!(this.t2b_1 == tmp0_other_with_cast.t2b_1))
|
|
3343
3780
|
return false;
|
|
3344
|
-
if (!(this.
|
|
3781
|
+
if (!(this.u2b_1 == tmp0_other_with_cast.u2b_1))
|
|
3345
3782
|
return false;
|
|
3346
|
-
if (!(this.
|
|
3783
|
+
if (!(this.v2b_1 == tmp0_other_with_cast.v2b_1))
|
|
3347
3784
|
return false;
|
|
3348
3785
|
return true;
|
|
3349
3786
|
};
|
|
@@ -3466,7 +3903,7 @@
|
|
|
3466
3903
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3467
3904
|
}
|
|
3468
3905
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
3469
|
-
return $this.
|
|
3906
|
+
return $this.c2c_1.a2();
|
|
3470
3907
|
}
|
|
3471
3908
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3472
3909
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3502,24 +3939,24 @@
|
|
|
3502
3939
|
$ENTRIES_1 = enumEntries(values_3());
|
|
3503
3940
|
return $ENTRIES_1;
|
|
3504
3941
|
}
|
|
3505
|
-
function
|
|
3506
|
-
|
|
3942
|
+
function Companion_18() {
|
|
3943
|
+
Companion_instance_18 = this;
|
|
3507
3944
|
var tmp = this;
|
|
3508
3945
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3509
|
-
tmp.
|
|
3946
|
+
tmp.c2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3510
3947
|
}
|
|
3511
|
-
protoOf(
|
|
3948
|
+
protoOf(Companion_18).o17 = function () {
|
|
3512
3949
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
3513
3950
|
};
|
|
3514
|
-
protoOf(
|
|
3951
|
+
protoOf(Companion_18).xv = function (typeParamsSerializers) {
|
|
3515
3952
|
return this.o17();
|
|
3516
3953
|
};
|
|
3517
|
-
var
|
|
3518
|
-
function
|
|
3954
|
+
var Companion_instance_18;
|
|
3955
|
+
function Companion_getInstance_20() {
|
|
3519
3956
|
LogType_initEntries();
|
|
3520
|
-
if (
|
|
3521
|
-
new
|
|
3522
|
-
return
|
|
3957
|
+
if (Companion_instance_18 == null)
|
|
3958
|
+
new Companion_18();
|
|
3959
|
+
return Companion_instance_18;
|
|
3523
3960
|
}
|
|
3524
3961
|
var LogType_entriesInitialized;
|
|
3525
3962
|
function LogType_initEntries() {
|
|
@@ -3531,7 +3968,7 @@
|
|
|
3531
3968
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
3532
3969
|
LogType_VERBOSE_instance = new LogType('VERBOSE', 3);
|
|
3533
3970
|
LogType_INFO_instance = new LogType('INFO', 4);
|
|
3534
|
-
|
|
3971
|
+
Companion_getInstance_20();
|
|
3535
3972
|
}
|
|
3536
3973
|
var $ENTRIES_1;
|
|
3537
3974
|
function LogType(name, ordinal) {
|
|
@@ -3559,37 +3996,37 @@
|
|
|
3559
3996
|
}
|
|
3560
3997
|
function ObservableLoggerOutput() {
|
|
3561
3998
|
}
|
|
3562
|
-
function
|
|
3563
|
-
|
|
3999
|
+
function Companion_19() {
|
|
4000
|
+
Companion_instance_19 = this;
|
|
3564
4001
|
var tmp = this;
|
|
3565
4002
|
// Inline function 'kotlin.arrayOf' call
|
|
3566
4003
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3567
4004
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3568
|
-
tmp.
|
|
4005
|
+
tmp.i2c_1 = [Companion_getInstance_20().o17(), null, null, null, null];
|
|
3569
4006
|
}
|
|
3570
|
-
protoOf(
|
|
3571
|
-
return $
|
|
4007
|
+
protoOf(Companion_19).o17 = function () {
|
|
4008
|
+
return $serializer_getInstance_9();
|
|
3572
4009
|
};
|
|
3573
|
-
var
|
|
3574
|
-
function
|
|
3575
|
-
if (
|
|
3576
|
-
new
|
|
3577
|
-
return
|
|
4010
|
+
var Companion_instance_19;
|
|
4011
|
+
function Companion_getInstance_21() {
|
|
4012
|
+
if (Companion_instance_19 == null)
|
|
4013
|
+
new Companion_19();
|
|
4014
|
+
return Companion_instance_19;
|
|
3578
4015
|
}
|
|
3579
|
-
function $
|
|
3580
|
-
$
|
|
4016
|
+
function $serializer_9() {
|
|
4017
|
+
$serializer_instance_9 = this;
|
|
3581
4018
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
3582
4019
|
tmp0_serialDesc.xu('type', false);
|
|
3583
4020
|
tmp0_serialDesc.xu('key', false);
|
|
3584
4021
|
tmp0_serialDesc.xu('tag', false);
|
|
3585
4022
|
tmp0_serialDesc.xu('message', false);
|
|
3586
4023
|
tmp0_serialDesc.xu('stackTrace', false);
|
|
3587
|
-
this.
|
|
4024
|
+
this.j2c_1 = tmp0_serialDesc;
|
|
3588
4025
|
}
|
|
3589
|
-
protoOf($
|
|
3590
|
-
var tmp0_desc = this.
|
|
4026
|
+
protoOf($serializer_9).k2c = function (encoder, value) {
|
|
4027
|
+
var tmp0_desc = this.j2c_1;
|
|
3591
4028
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
3592
|
-
var tmp2_cached =
|
|
4029
|
+
var tmp2_cached = Companion_getInstance_21().i2c_1;
|
|
3593
4030
|
tmp1_output.yo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
3594
4031
|
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3595
4032
|
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -3597,11 +4034,11 @@
|
|
|
3597
4034
|
tmp1_output.ap(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
3598
4035
|
tmp1_output.in(tmp0_desc);
|
|
3599
4036
|
};
|
|
3600
|
-
protoOf($
|
|
3601
|
-
return this.
|
|
4037
|
+
protoOf($serializer_9).zj = function (encoder, value) {
|
|
4038
|
+
return this.k2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3602
4039
|
};
|
|
3603
|
-
protoOf($
|
|
3604
|
-
var tmp0_desc = this.
|
|
4040
|
+
protoOf($serializer_9).ak = function (decoder) {
|
|
4041
|
+
var tmp0_desc = this.j2c_1;
|
|
3605
4042
|
var tmp1_flag = true;
|
|
3606
4043
|
var tmp2_index = 0;
|
|
3607
4044
|
var tmp3_bitMask0 = 0;
|
|
@@ -3611,7 +4048,7 @@
|
|
|
3611
4048
|
var tmp7_local3 = null;
|
|
3612
4049
|
var tmp8_local4 = null;
|
|
3613
4050
|
var tmp9_input = decoder.hn(tmp0_desc);
|
|
3614
|
-
var tmp10_cached =
|
|
4051
|
+
var tmp10_cached = Companion_getInstance_21().i2c_1;
|
|
3615
4052
|
if (tmp9_input.xn()) {
|
|
3616
4053
|
tmp4_local0 = tmp9_input.tn(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3617
4054
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3657,24 +4094,24 @@
|
|
|
3657
4094
|
tmp9_input.in(tmp0_desc);
|
|
3658
4095
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3659
4096
|
};
|
|
3660
|
-
protoOf($
|
|
3661
|
-
return this.
|
|
4097
|
+
protoOf($serializer_9).yj = function () {
|
|
4098
|
+
return this.j2c_1;
|
|
3662
4099
|
};
|
|
3663
|
-
protoOf($
|
|
4100
|
+
protoOf($serializer_9).mv = function () {
|
|
3664
4101
|
// Inline function 'kotlin.arrayOf' call
|
|
3665
4102
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3666
4103
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3667
|
-
return [
|
|
4104
|
+
return [Companion_getInstance_21().i2c_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
3668
4105
|
};
|
|
3669
|
-
var $
|
|
3670
|
-
function $
|
|
3671
|
-
if ($
|
|
3672
|
-
new $
|
|
3673
|
-
return $
|
|
4106
|
+
var $serializer_instance_9;
|
|
4107
|
+
function $serializer_getInstance_9() {
|
|
4108
|
+
if ($serializer_instance_9 == null)
|
|
4109
|
+
new $serializer_9();
|
|
4110
|
+
return $serializer_instance_9;
|
|
3674
4111
|
}
|
|
3675
4112
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
3676
4113
|
if (!(31 === (31 & seen0))) {
|
|
3677
|
-
throwMissingFieldException(seen0, 31, $
|
|
4114
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_9().j2c_1);
|
|
3678
4115
|
}
|
|
3679
4116
|
$this.type = type;
|
|
3680
4117
|
$this.key = key;
|
|
@@ -3687,7 +4124,7 @@
|
|
|
3687
4124
|
return LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
3688
4125
|
}
|
|
3689
4126
|
function LoggerOutputDataDto(type, key, tag, message, stackTrace) {
|
|
3690
|
-
|
|
4127
|
+
Companion_getInstance_21();
|
|
3691
4128
|
this.type = type;
|
|
3692
4129
|
this.key = key;
|
|
3693
4130
|
this.tag = tag;
|
|
@@ -3706,7 +4143,7 @@
|
|
|
3706
4143
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
3707
4144
|
return this.message;
|
|
3708
4145
|
};
|
|
3709
|
-
protoOf(LoggerOutputDataDto).
|
|
4146
|
+
protoOf(LoggerOutputDataDto).l2c = function () {
|
|
3710
4147
|
return this.stackTrace;
|
|
3711
4148
|
};
|
|
3712
4149
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -3771,7 +4208,7 @@
|
|
|
3771
4208
|
protoOf(LoggerOutputDataDto).c27 = function () {
|
|
3772
4209
|
return this.stackTrace;
|
|
3773
4210
|
};
|
|
3774
|
-
protoOf(LoggerOutputDataDto).
|
|
4211
|
+
protoOf(LoggerOutputDataDto).m2c = function (type, key, tag, message, stackTrace) {
|
|
3775
4212
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
3776
4213
|
};
|
|
3777
4214
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -3780,7 +4217,7 @@
|
|
|
3780
4217
|
tag = tag === VOID ? this.tag : tag;
|
|
3781
4218
|
message = message === VOID ? this.message : message;
|
|
3782
4219
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
3783
|
-
return this.
|
|
4220
|
+
return this.m2c(type, key, tag, message, stackTrace);
|
|
3784
4221
|
};
|
|
3785
4222
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
3786
4223
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -3885,9 +4322,11 @@
|
|
|
3885
4322
|
protoOf($serializer_4).nv = typeParametersSerializers;
|
|
3886
4323
|
protoOf($serializer_5).nv = typeParametersSerializers;
|
|
3887
4324
|
protoOf($serializer_6).nv = typeParametersSerializers;
|
|
4325
|
+
protoOf($serializer_7).nv = typeParametersSerializers;
|
|
4326
|
+
protoOf($serializer_8).nv = typeParametersSerializers;
|
|
3888
4327
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
3889
4328
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
3890
|
-
protoOf($
|
|
4329
|
+
protoOf($serializer_9).nv = typeParametersSerializers;
|
|
3891
4330
|
//endregion
|
|
3892
4331
|
//region block: init
|
|
3893
4332
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
@@ -4008,14 +4447,14 @@
|
|
|
4008
4447
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
4009
4448
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance);
|
|
4010
4449
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance);
|
|
4011
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
4450
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_20);
|
|
4012
4451
|
var $com = _.com || (_.com = {});
|
|
4013
4452
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
4014
4453
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
4015
4454
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
4016
4455
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
4017
4456
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
4018
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
4457
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_21);
|
|
4019
4458
|
}
|
|
4020
4459
|
$jsExportAll$(_);
|
|
4021
4460
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -4027,41 +4466,46 @@
|
|
|
4027
4466
|
_.$_$.e = PlayerState;
|
|
4028
4467
|
_.$_$.f = Team;
|
|
4029
4468
|
_.$_$.g = getPlayer;
|
|
4030
|
-
_.$_$.h =
|
|
4469
|
+
_.$_$.h = mapFromDto_10;
|
|
4031
4470
|
_.$_$.i = mapFromDto_0;
|
|
4032
|
-
_.$_$.j =
|
|
4033
|
-
_.$_$.k =
|
|
4034
|
-
_.$_$.l =
|
|
4035
|
-
_.$_$.m =
|
|
4036
|
-
_.$_$.n =
|
|
4037
|
-
_.$_$.o =
|
|
4038
|
-
_.$_$.p =
|
|
4039
|
-
_.$_$.q =
|
|
4040
|
-
_.$_$.r =
|
|
4041
|
-
_.$_$.s =
|
|
4042
|
-
_.$_$.t =
|
|
4043
|
-
_.$_$.u =
|
|
4044
|
-
_.$_$.v =
|
|
4045
|
-
_.$_$.w =
|
|
4046
|
-
_.$_$.x =
|
|
4047
|
-
_.$_$.y =
|
|
4048
|
-
_.$_$.z =
|
|
4049
|
-
_.$_$.a1 =
|
|
4050
|
-
_.$_$.b1 =
|
|
4051
|
-
_.$_$.c1 =
|
|
4052
|
-
_.$_$.d1 =
|
|
4053
|
-
_.$_$.e1 =
|
|
4054
|
-
_.$_$.f1 =
|
|
4055
|
-
_.$_$.g1 =
|
|
4056
|
-
_.$_$.h1 =
|
|
4057
|
-
_.$_$.i1 =
|
|
4058
|
-
_.$_$.j1 =
|
|
4059
|
-
_.$_$.k1 =
|
|
4060
|
-
_.$_$.l1 =
|
|
4061
|
-
_.$_$.m1 =
|
|
4062
|
-
_.$_$.n1 =
|
|
4063
|
-
_.$_$.o1 =
|
|
4064
|
-
_.$_$.p1 =
|
|
4471
|
+
_.$_$.j = mapFromDto;
|
|
4472
|
+
_.$_$.k = mapFromDto_1;
|
|
4473
|
+
_.$_$.l = mapFromDto_9;
|
|
4474
|
+
_.$_$.m = mapToDto_1;
|
|
4475
|
+
_.$_$.n = mapToDto_10;
|
|
4476
|
+
_.$_$.o = mapToDto_0;
|
|
4477
|
+
_.$_$.p = mapToDto_9;
|
|
4478
|
+
_.$_$.q = mapToDto;
|
|
4479
|
+
_.$_$.r = RulesDto;
|
|
4480
|
+
_.$_$.s = TerminationGameReasonDto;
|
|
4481
|
+
_.$_$.t = notValidateWhenFinished;
|
|
4482
|
+
_.$_$.u = NotValidateIfGameFinished;
|
|
4483
|
+
_.$_$.v = notValidateWhenFinishing;
|
|
4484
|
+
_.$_$.w = NotValidateIfGameFinishing;
|
|
4485
|
+
_.$_$.x = BufferedAction;
|
|
4486
|
+
_.$_$.y = IgnoreBufferForAction;
|
|
4487
|
+
_.$_$.z = ReleaseBufferTriggerAction;
|
|
4488
|
+
_.$_$.a1 = get_actionTag;
|
|
4489
|
+
_.$_$.b1 = Action;
|
|
4490
|
+
_.$_$.c1 = enumToString;
|
|
4491
|
+
_.$_$.d1 = mapOfObject;
|
|
4492
|
+
_.$_$.e1 = nextToOrNull;
|
|
4493
|
+
_.$_$.f1 = previousToOrNull;
|
|
4494
|
+
_.$_$.g1 = toDomainEnumSafe;
|
|
4495
|
+
_.$_$.h1 = toDomainEnum;
|
|
4496
|
+
_.$_$.i1 = PlayerConnectionState_LEFT_getInstance;
|
|
4497
|
+
_.$_$.j1 = PlayerConnectionState_LIVE_getInstance;
|
|
4498
|
+
_.$_$.k1 = Companion_instance_4;
|
|
4499
|
+
_.$_$.l1 = Companion_getInstance_7;
|
|
4500
|
+
_.$_$.m1 = Companion_instance_7;
|
|
4501
|
+
_.$_$.n1 = Companion_getInstance_8;
|
|
4502
|
+
_.$_$.o1 = $serializer_getInstance_5;
|
|
4503
|
+
_.$_$.p1 = $serializer_getInstance_7;
|
|
4504
|
+
_.$_$.q1 = $serializer_getInstance_8;
|
|
4505
|
+
_.$_$.r1 = ProcessingReasonDto_getInstance;
|
|
4506
|
+
_.$_$.s1 = Companion_getInstance_10;
|
|
4507
|
+
_.$_$.t1 = Companion_getInstance_1;
|
|
4508
|
+
_.$_$.u1 = RestartGameReason_getInstance;
|
|
4065
4509
|
//endregion
|
|
4066
4510
|
return _;
|
|
4067
4511
|
}));
|