raspberry_games_engine_helpers 1.8.266 → 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 +1109 -622
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +63 -27
- package/Logic_Debertz-engine.js +19762 -13624
- 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,8 +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;
|
|
92
|
+
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
89
93
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
90
94
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
95
|
+
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
91
96
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
92
97
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
93
98
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
@@ -167,7 +172,13 @@
|
|
|
167
172
|
initMetadataForClass(GameUserInfoDto, 'GameUserInfoDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
168
173
|
initMetadataForCompanion(Companion_15);
|
|
169
174
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
170
|
-
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});
|
|
171
182
|
function get_actionTag() {
|
|
172
183
|
return toString_0(getKClassFromExpression(this));
|
|
173
184
|
}
|
|
@@ -184,8 +195,8 @@
|
|
|
184
195
|
}
|
|
185
196
|
initMetadataForInterface(NotValidateIfGameFinishing, 'NotValidateIfGameFinishing');
|
|
186
197
|
initMetadataForInterface(Store, 'Store');
|
|
187
|
-
initMetadataForCompanion(
|
|
188
|
-
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});
|
|
189
200
|
function observe(types, $super) {
|
|
190
201
|
var tmp;
|
|
191
202
|
if (types === VOID) {
|
|
@@ -196,15 +207,15 @@
|
|
|
196
207
|
tmp = types;
|
|
197
208
|
}
|
|
198
209
|
types = tmp;
|
|
199
|
-
return this.
|
|
210
|
+
return this.h2c(types);
|
|
200
211
|
}
|
|
201
212
|
initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
202
|
-
initMetadataForCompanion(
|
|
203
|
-
initMetadataForObject($
|
|
204
|
-
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});
|
|
205
216
|
//endregion
|
|
206
217
|
function GameEngineConfig() {
|
|
207
|
-
this.version = '1.8.
|
|
218
|
+
this.version = '1.8.277';
|
|
208
219
|
}
|
|
209
220
|
protoOf(GameEngineConfig).e25 = function () {
|
|
210
221
|
return this.version;
|
|
@@ -972,15 +983,17 @@
|
|
|
972
983
|
Exception_init_$Init$(message, this);
|
|
973
984
|
captureStack(this, MechanicException);
|
|
974
985
|
}
|
|
975
|
-
function GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
986
|
+
function GameUserInfo(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload) {
|
|
976
987
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
977
988
|
isBot = isBot === VOID ? false : isBot;
|
|
989
|
+
rating = rating === VOID ? null : rating;
|
|
978
990
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
979
991
|
payload = payload === VOID ? null : payload;
|
|
980
992
|
this.w26_1 = playerId;
|
|
981
993
|
this.name = name;
|
|
982
994
|
this.avatarUrl = avatarUrl;
|
|
983
995
|
this.isBot = isBot;
|
|
996
|
+
this.rating = rating;
|
|
984
997
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
985
998
|
this.payload = payload;
|
|
986
999
|
}
|
|
@@ -997,11 +1010,18 @@
|
|
|
997
1010
|
return this.isBot;
|
|
998
1011
|
};
|
|
999
1012
|
protoOf(GameUserInfo).z26 = function () {
|
|
1000
|
-
return this.
|
|
1013
|
+
return this.rating;
|
|
1001
1014
|
};
|
|
1002
1015
|
protoOf(GameUserInfo).a27 = function () {
|
|
1016
|
+
return this.initialLuckyFactor;
|
|
1017
|
+
};
|
|
1018
|
+
protoOf(GameUserInfo).b27 = function () {
|
|
1003
1019
|
return this.payload;
|
|
1004
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
|
+
};
|
|
1005
1025
|
protoOf(GameUserInfo).toString = function () {
|
|
1006
1026
|
var tmp = 'playerId=' + this.w26_1;
|
|
1007
1027
|
var tmp_0 = 'name=' + this.name;
|
|
@@ -1039,17 +1059,28 @@
|
|
|
1039
1059
|
}
|
|
1040
1060
|
var tmp_6 = tmp_5;
|
|
1041
1061
|
// Inline function 'kotlin.takeIf' call
|
|
1042
|
-
var this_3 = '
|
|
1062
|
+
var this_3 = 'rating=' + this.rating;
|
|
1043
1063
|
// Inline function 'kotlin.contracts.contract' call
|
|
1044
1064
|
var tmp_7;
|
|
1045
1065
|
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1046
|
-
if (!(this.
|
|
1066
|
+
if (!(this.rating == null)) {
|
|
1047
1067
|
tmp_7 = this_3;
|
|
1048
1068
|
} else {
|
|
1049
1069
|
tmp_7 = null;
|
|
1050
1070
|
}
|
|
1051
|
-
var
|
|
1052
|
-
|
|
1071
|
+
var tmp_8 = tmp_7;
|
|
1072
|
+
// Inline function 'kotlin.takeIf' call
|
|
1073
|
+
var this_4 = 'payload=' + toString(this.payload);
|
|
1074
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1075
|
+
var tmp_9;
|
|
1076
|
+
// Inline function 'com.logic.data.models.player.GameUserInfo.toString.<anonymous>' call
|
|
1077
|
+
if (!(this.payload == null)) {
|
|
1078
|
+
tmp_9 = this_4;
|
|
1079
|
+
} else {
|
|
1080
|
+
tmp_9 = null;
|
|
1081
|
+
}
|
|
1082
|
+
var tmp$ret$9 = tmp_9;
|
|
1083
|
+
return 'GameUserInfo(' + joinToString(listOfNotNull([tmp, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp$ret$9])) + ')';
|
|
1053
1084
|
};
|
|
1054
1085
|
protoOf(GameUserInfo).zc = function () {
|
|
1055
1086
|
return this.w26_1;
|
|
@@ -1063,29 +1094,34 @@
|
|
|
1063
1094
|
protoOf(GameUserInfo).e1x = function () {
|
|
1064
1095
|
return this.isBot;
|
|
1065
1096
|
};
|
|
1066
|
-
protoOf(GameUserInfo).
|
|
1097
|
+
protoOf(GameUserInfo).c27 = function () {
|
|
1098
|
+
return this.rating;
|
|
1099
|
+
};
|
|
1100
|
+
protoOf(GameUserInfo).d27 = function () {
|
|
1067
1101
|
return this.initialLuckyFactor;
|
|
1068
1102
|
};
|
|
1069
|
-
protoOf(GameUserInfo).
|
|
1103
|
+
protoOf(GameUserInfo).e27 = function () {
|
|
1070
1104
|
return this.payload;
|
|
1071
1105
|
};
|
|
1072
|
-
protoOf(GameUserInfo).
|
|
1073
|
-
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1106
|
+
protoOf(GameUserInfo).f27 = function (playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload) {
|
|
1107
|
+
return new GameUserInfo(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload);
|
|
1074
1108
|
};
|
|
1075
|
-
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1109
|
+
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload, $super) {
|
|
1076
1110
|
playerId = playerId === VOID ? this.w26_1 : playerId;
|
|
1077
1111
|
name = name === VOID ? this.name : name;
|
|
1078
1112
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1079
1113
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1114
|
+
rating = rating === VOID ? this.rating : rating;
|
|
1080
1115
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1081
1116
|
payload = payload === VOID ? this.payload : payload;
|
|
1082
|
-
return this.
|
|
1117
|
+
return this.f27(playerId, name, avatarUrl, isBot, rating, initialLuckyFactor, payload);
|
|
1083
1118
|
};
|
|
1084
1119
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1085
1120
|
var result = getStringHashCode(this.w26_1);
|
|
1086
1121
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1087
1122
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1088
1123
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
1124
|
+
result = imul(result, 31) + (this.rating == null ? 0 : getNumberHashCode(this.rating)) | 0;
|
|
1089
1125
|
result = imul(result, 31) + (this.initialLuckyFactor == null ? 0 : getNumberHashCode(this.initialLuckyFactor)) | 0;
|
|
1090
1126
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
1091
1127
|
return result;
|
|
@@ -1104,6 +1140,8 @@
|
|
|
1104
1140
|
return false;
|
|
1105
1141
|
if (!(this.isBot === tmp0_other_with_cast.isBot))
|
|
1106
1142
|
return false;
|
|
1143
|
+
if (!equals(this.rating, tmp0_other_with_cast.rating))
|
|
1144
|
+
return false;
|
|
1107
1145
|
if (!equals(this.initialLuckyFactor, tmp0_other_with_cast.initialLuckyFactor))
|
|
1108
1146
|
return false;
|
|
1109
1147
|
if (!equals(this.payload, tmp0_other_with_cast.payload))
|
|
@@ -1155,18 +1193,18 @@
|
|
|
1155
1193
|
return getItemIndex(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1156
1194
|
}
|
|
1157
1195
|
function PlayerIndex(playerId, index) {
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1196
|
+
this.g27_1 = playerId;
|
|
1197
|
+
this.h27_1 = index;
|
|
1160
1198
|
}
|
|
1161
1199
|
protoOf(PlayerIndex).g26 = function () {
|
|
1162
|
-
return this.
|
|
1200
|
+
return this.g27_1;
|
|
1163
1201
|
};
|
|
1164
1202
|
protoOf(PlayerIndex).toString = function () {
|
|
1165
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1203
|
+
return 'PlayerIndex(playerId=' + this.g27_1 + ', index=' + this.h27_1 + ')';
|
|
1166
1204
|
};
|
|
1167
1205
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1168
|
-
var result = getStringHashCode(this.
|
|
1169
|
-
result = imul(result, 31) + this.
|
|
1206
|
+
var result = getStringHashCode(this.g27_1);
|
|
1207
|
+
result = imul(result, 31) + this.h27_1 | 0;
|
|
1170
1208
|
return result;
|
|
1171
1209
|
};
|
|
1172
1210
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1175,9 +1213,9 @@
|
|
|
1175
1213
|
if (!(other instanceof PlayerIndex))
|
|
1176
1214
|
return false;
|
|
1177
1215
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1178
|
-
if (!(this.
|
|
1216
|
+
if (!(this.g27_1 === tmp0_other_with_cast.g27_1))
|
|
1179
1217
|
return false;
|
|
1180
|
-
if (!(this.
|
|
1218
|
+
if (!(this.h27_1 === tmp0_other_with_cast.h27_1))
|
|
1181
1219
|
return false;
|
|
1182
1220
|
return true;
|
|
1183
1221
|
};
|
|
@@ -1192,7 +1230,7 @@
|
|
|
1192
1230
|
}
|
|
1193
1231
|
function playerTurnPredicate$lambda(p1) {
|
|
1194
1232
|
_init_properties_Player_kt__qi83pd();
|
|
1195
|
-
return p1.
|
|
1233
|
+
return p1.i27().q27();
|
|
1196
1234
|
}
|
|
1197
1235
|
var properties_initialized_Player_kt_56shkt;
|
|
1198
1236
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1203,14 +1241,14 @@
|
|
|
1203
1241
|
}
|
|
1204
1242
|
}
|
|
1205
1243
|
function Companion_4() {
|
|
1206
|
-
this.
|
|
1244
|
+
this.r27_1 = 75;
|
|
1207
1245
|
}
|
|
1208
|
-
protoOf(Companion_4).
|
|
1246
|
+
protoOf(Companion_4).s27 = function (state, timeout) {
|
|
1209
1247
|
return new PlayerConnection(state, System_instance.n1g().f1w(timeout));
|
|
1210
1248
|
};
|
|
1211
|
-
protoOf(Companion_4).
|
|
1249
|
+
protoOf(Companion_4).t27 = function (state, timeout, $super) {
|
|
1212
1250
|
timeout = timeout === VOID ? Companion_getInstance().hg_1 : timeout;
|
|
1213
|
-
return $super === VOID ? this.
|
|
1251
|
+
return $super === VOID ? this.s27(state, timeout) : $super.s27.call(this, state, new Duration(timeout));
|
|
1214
1252
|
};
|
|
1215
1253
|
var Companion_instance_4;
|
|
1216
1254
|
function Companion_getInstance_6() {
|
|
@@ -1219,45 +1257,45 @@
|
|
|
1219
1257
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1220
1258
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.n1g() : connectionChangedTime;
|
|
1221
1259
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().hg_1 : notLiveDurationRecord;
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1224
|
-
this.
|
|
1260
|
+
this.u27_1 = state;
|
|
1261
|
+
this.v27_1 = connectionChangedTime;
|
|
1262
|
+
this.w27_1 = notLiveDurationRecord;
|
|
1225
1263
|
}
|
|
1226
|
-
protoOf(PlayerConnection).
|
|
1227
|
-
return System_instance.n1g().g1w(this.
|
|
1264
|
+
protoOf(PlayerConnection).x27 = function () {
|
|
1265
|
+
return System_instance.n1g().g1w(this.v27_1);
|
|
1228
1266
|
};
|
|
1229
|
-
protoOf(PlayerConnection).
|
|
1267
|
+
protoOf(PlayerConnection).y27 = function () {
|
|
1230
1268
|
var tmp;
|
|
1231
|
-
if (this.
|
|
1232
|
-
tmp = this.
|
|
1269
|
+
if (this.u27_1.isLive) {
|
|
1270
|
+
tmp = this.w27_1;
|
|
1233
1271
|
} else {
|
|
1234
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1272
|
+
tmp = Duration__plus_impl_yu9v8f(this.w27_1, this.x27());
|
|
1235
1273
|
}
|
|
1236
1274
|
return tmp;
|
|
1237
1275
|
};
|
|
1238
|
-
protoOf(PlayerConnection).
|
|
1276
|
+
protoOf(PlayerConnection).z27 = function (gameDuration) {
|
|
1239
1277
|
// Inline function 'kotlin.Long.div' call
|
|
1240
1278
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).h3() / 100.0;
|
|
1241
1279
|
// Inline function 'kotlin.math.round' call
|
|
1242
1280
|
// Inline function 'kotlin.Long.div' call
|
|
1243
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1281
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.y27()).h3() / percent;
|
|
1244
1282
|
var tmp$ret$2 = round(x);
|
|
1245
1283
|
return numberToInt(tmp$ret$2);
|
|
1246
1284
|
};
|
|
1247
|
-
protoOf(PlayerConnection).
|
|
1248
|
-
return 100 - this.
|
|
1285
|
+
protoOf(PlayerConnection).a28 = function (gameDuration) {
|
|
1286
|
+
return 100 - this.z27(gameDuration) | 0;
|
|
1249
1287
|
};
|
|
1250
|
-
protoOf(PlayerConnection).
|
|
1251
|
-
var percentage = this.
|
|
1288
|
+
protoOf(PlayerConnection).b28 = function (gameDuration) {
|
|
1289
|
+
var percentage = this.a28(gameDuration);
|
|
1252
1290
|
return percentage >= 75;
|
|
1253
1291
|
};
|
|
1254
1292
|
protoOf(PlayerConnection).toString = function () {
|
|
1255
|
-
return 'PlayerConnection(state=' + this.
|
|
1293
|
+
return 'PlayerConnection(state=' + this.u27_1.toString() + ', connectionChangedTime=' + this.v27_1.toString() + ', notLiveDurationRecord=' + Duration__toString_impl_8d916b(this.w27_1) + ')';
|
|
1256
1294
|
};
|
|
1257
1295
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1258
|
-
var result = this.
|
|
1259
|
-
result = imul(result, 31) + this.
|
|
1260
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1296
|
+
var result = this.u27_1.hashCode();
|
|
1297
|
+
result = imul(result, 31) + this.v27_1.hashCode() | 0;
|
|
1298
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.w27_1) | 0;
|
|
1261
1299
|
return result;
|
|
1262
1300
|
};
|
|
1263
1301
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1266,16 +1304,16 @@
|
|
|
1266
1304
|
if (!(other instanceof PlayerConnection))
|
|
1267
1305
|
return false;
|
|
1268
1306
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1269
|
-
if (!this.
|
|
1307
|
+
if (!this.u27_1.equals(tmp0_other_with_cast.u27_1))
|
|
1270
1308
|
return false;
|
|
1271
|
-
if (!this.
|
|
1309
|
+
if (!this.v27_1.equals(tmp0_other_with_cast.v27_1))
|
|
1272
1310
|
return false;
|
|
1273
|
-
if (!equals(this.
|
|
1311
|
+
if (!equals(this.w27_1, tmp0_other_with_cast.w27_1))
|
|
1274
1312
|
return false;
|
|
1275
1313
|
return true;
|
|
1276
1314
|
};
|
|
1277
1315
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1278
|
-
return $this.
|
|
1316
|
+
return $this.c28_1.a2();
|
|
1279
1317
|
}
|
|
1280
1318
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1281
1319
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_1());
|
|
@@ -1313,7 +1351,7 @@
|
|
|
1313
1351
|
Companion_instance_5 = this;
|
|
1314
1352
|
var tmp = this;
|
|
1315
1353
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1316
|
-
tmp.
|
|
1354
|
+
tmp.c28_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1317
1355
|
}
|
|
1318
1356
|
protoOf(Companion_5).o17 = function () {
|
|
1319
1357
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
@@ -1344,34 +1382,34 @@
|
|
|
1344
1382
|
function PlayerConnectionState(name, ordinal) {
|
|
1345
1383
|
Enum.call(this, name, ordinal);
|
|
1346
1384
|
}
|
|
1347
|
-
protoOf(PlayerConnectionState).
|
|
1385
|
+
protoOf(PlayerConnectionState).f28 = function () {
|
|
1348
1386
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1349
1387
|
};
|
|
1350
|
-
protoOf(PlayerConnectionState).
|
|
1388
|
+
protoOf(PlayerConnectionState).g28 = function () {
|
|
1351
1389
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1352
1390
|
};
|
|
1353
|
-
protoOf(PlayerConnectionState).
|
|
1391
|
+
protoOf(PlayerConnectionState).h28 = function () {
|
|
1354
1392
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1355
1393
|
};
|
|
1356
|
-
protoOf(PlayerConnectionState).
|
|
1394
|
+
protoOf(PlayerConnectionState).i28 = function () {
|
|
1357
1395
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1358
1396
|
};
|
|
1359
|
-
protoOf(PlayerConnectionState).
|
|
1397
|
+
protoOf(PlayerConnectionState).j28 = function () {
|
|
1360
1398
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1361
1399
|
};
|
|
1362
|
-
protoOf(PlayerConnectionState).
|
|
1400
|
+
protoOf(PlayerConnectionState).k28 = function () {
|
|
1363
1401
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1364
1402
|
};
|
|
1365
|
-
protoOf(PlayerConnectionState).
|
|
1403
|
+
protoOf(PlayerConnectionState).l28 = function () {
|
|
1366
1404
|
return this.isDisconnected || this.isDeleted;
|
|
1367
1405
|
};
|
|
1368
|
-
protoOf(PlayerConnectionState).
|
|
1406
|
+
protoOf(PlayerConnectionState).m28 = function () {
|
|
1369
1407
|
return this.isTimeOut || this.isLostConnection || this.isLeft;
|
|
1370
1408
|
};
|
|
1371
|
-
protoOf(PlayerConnectionState).
|
|
1409
|
+
protoOf(PlayerConnectionState).n28 = function () {
|
|
1372
1410
|
return this.isTimeOut || this.isLeft || this.isDeleted;
|
|
1373
1411
|
};
|
|
1374
|
-
protoOf(PlayerConnectionState).
|
|
1412
|
+
protoOf(PlayerConnectionState).o28 = function () {
|
|
1375
1413
|
return this.isLostConnection;
|
|
1376
1414
|
};
|
|
1377
1415
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1399,7 +1437,7 @@
|
|
|
1399
1437
|
return PlayerConnectionState_DELETED_instance;
|
|
1400
1438
|
}
|
|
1401
1439
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1402
|
-
return $this.
|
|
1440
|
+
return $this.p28_1.a2();
|
|
1403
1441
|
}
|
|
1404
1442
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1405
1443
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_2());
|
|
@@ -1414,7 +1452,7 @@
|
|
|
1414
1452
|
Companion_instance_6 = this;
|
|
1415
1453
|
var tmp = this;
|
|
1416
1454
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1417
|
-
tmp.
|
|
1455
|
+
tmp.p28_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1418
1456
|
}
|
|
1419
1457
|
protoOf(Companion_6).o17 = function () {
|
|
1420
1458
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1442,18 +1480,18 @@
|
|
|
1442
1480
|
function PlayerWaitingState(name, ordinal) {
|
|
1443
1481
|
Enum.call(this, name, ordinal);
|
|
1444
1482
|
}
|
|
1445
|
-
protoOf(PlayerWaitingState).
|
|
1446
|
-
return this.
|
|
1483
|
+
protoOf(PlayerWaitingState).q27 = function () {
|
|
1484
|
+
return this.s28() || this.t28();
|
|
1447
1485
|
};
|
|
1448
|
-
protoOf(PlayerWaitingState).
|
|
1486
|
+
protoOf(PlayerWaitingState).s28 = function () {
|
|
1449
1487
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1450
1488
|
};
|
|
1451
|
-
protoOf(PlayerWaitingState).
|
|
1489
|
+
protoOf(PlayerWaitingState).t28 = function () {
|
|
1452
1490
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1453
1491
|
};
|
|
1454
1492
|
function Companion_7() {
|
|
1455
1493
|
}
|
|
1456
|
-
protoOf(Companion_7).
|
|
1494
|
+
protoOf(Companion_7).u28 = function (connection) {
|
|
1457
1495
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1458
1496
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1459
1497
|
};
|
|
@@ -1476,17 +1514,17 @@
|
|
|
1476
1514
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
1477
1515
|
tag = tag === VOID ? null : tag;
|
|
1478
1516
|
connection = connection === VOID ? null : connection;
|
|
1479
|
-
this.
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
}
|
|
1487
|
-
protoOf(PlayerState).
|
|
1517
|
+
this.j27_1 = startFromTime;
|
|
1518
|
+
this.k27_1 = playerTurnTimeout;
|
|
1519
|
+
this.l27_1 = waitPlayerUntilTime;
|
|
1520
|
+
this.m27_1 = state;
|
|
1521
|
+
this.n27_1 = ready;
|
|
1522
|
+
this.o27_1 = tag;
|
|
1523
|
+
this.p27_1 = connection;
|
|
1524
|
+
}
|
|
1525
|
+
protoOf(PlayerState).v28 = function () {
|
|
1488
1526
|
// Inline function 'kotlin.requireNotNull' call
|
|
1489
|
-
var value = this.
|
|
1527
|
+
var value = this.p27_1;
|
|
1490
1528
|
// Inline function 'kotlin.contracts.contract' call
|
|
1491
1529
|
var tmp$ret$1;
|
|
1492
1530
|
$l$block: {
|
|
@@ -1505,67 +1543,67 @@
|
|
|
1505
1543
|
};
|
|
1506
1544
|
protoOf(PlayerState).toString = function () {
|
|
1507
1545
|
// Inline function 'kotlin.takeIf' call
|
|
1508
|
-
var this_0 = 'startFromTime=' + toString(this.
|
|
1546
|
+
var this_0 = 'startFromTime=' + toString(this.j27_1);
|
|
1509
1547
|
// Inline function 'kotlin.contracts.contract' call
|
|
1510
1548
|
var tmp;
|
|
1511
1549
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1512
|
-
if (!(this.
|
|
1550
|
+
if (!(this.j27_1 == null)) {
|
|
1513
1551
|
tmp = this_0;
|
|
1514
1552
|
} else {
|
|
1515
1553
|
tmp = null;
|
|
1516
1554
|
}
|
|
1517
1555
|
var tmp_0 = tmp;
|
|
1518
1556
|
// Inline function 'kotlin.takeIf' call
|
|
1519
|
-
var this_1 = 'playerTurnTimeout=' + toString(this.
|
|
1557
|
+
var this_1 = 'playerTurnTimeout=' + toString(this.k27_1);
|
|
1520
1558
|
// Inline function 'kotlin.contracts.contract' call
|
|
1521
1559
|
var tmp_1;
|
|
1522
1560
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1523
|
-
if (!(this.
|
|
1561
|
+
if (!(this.k27_1 == null)) {
|
|
1524
1562
|
tmp_1 = this_1;
|
|
1525
1563
|
} else {
|
|
1526
1564
|
tmp_1 = null;
|
|
1527
1565
|
}
|
|
1528
1566
|
var tmp_2 = tmp_1;
|
|
1529
1567
|
// Inline function 'kotlin.takeIf' call
|
|
1530
|
-
var this_2 = 'waitPlayerUntilTime=' + toString(this.
|
|
1568
|
+
var this_2 = 'waitPlayerUntilTime=' + toString(this.l27_1);
|
|
1531
1569
|
// Inline function 'kotlin.contracts.contract' call
|
|
1532
1570
|
var tmp_3;
|
|
1533
1571
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1534
|
-
if (!(this.
|
|
1572
|
+
if (!(this.l27_1 == null)) {
|
|
1535
1573
|
tmp_3 = this_2;
|
|
1536
1574
|
} else {
|
|
1537
1575
|
tmp_3 = null;
|
|
1538
1576
|
}
|
|
1539
1577
|
var tmp_4 = tmp_3;
|
|
1540
|
-
var tmp_5 = 'state=' + this.
|
|
1578
|
+
var tmp_5 = 'state=' + this.m27_1.toString();
|
|
1541
1579
|
// Inline function 'kotlin.takeIf' call
|
|
1542
|
-
var this_3 = 'ready=' + this.
|
|
1580
|
+
var this_3 = 'ready=' + this.n27_1;
|
|
1543
1581
|
// Inline function 'kotlin.contracts.contract' call
|
|
1544
1582
|
var tmp_6;
|
|
1545
1583
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1546
|
-
if (this.
|
|
1584
|
+
if (this.n27_1) {
|
|
1547
1585
|
tmp_6 = this_3;
|
|
1548
1586
|
} else {
|
|
1549
1587
|
tmp_6 = null;
|
|
1550
1588
|
}
|
|
1551
1589
|
var tmp_7 = tmp_6;
|
|
1552
1590
|
// Inline function 'kotlin.takeIf' call
|
|
1553
|
-
var this_4 = 'tag=' + this.
|
|
1591
|
+
var this_4 = 'tag=' + this.o27_1;
|
|
1554
1592
|
// Inline function 'kotlin.contracts.contract' call
|
|
1555
1593
|
var tmp_8;
|
|
1556
1594
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1557
|
-
if (!(this.
|
|
1595
|
+
if (!(this.o27_1 == null)) {
|
|
1558
1596
|
tmp_8 = this_4;
|
|
1559
1597
|
} else {
|
|
1560
1598
|
tmp_8 = null;
|
|
1561
1599
|
}
|
|
1562
1600
|
var tmp_9 = tmp_8;
|
|
1563
1601
|
// Inline function 'kotlin.takeIf' call
|
|
1564
|
-
var this_5 = 'connection=' + toString(this.
|
|
1602
|
+
var this_5 = 'connection=' + toString(this.p27_1);
|
|
1565
1603
|
// Inline function 'kotlin.contracts.contract' call
|
|
1566
1604
|
var tmp_10;
|
|
1567
1605
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
1568
|
-
if (!(this.
|
|
1606
|
+
if (!(this.p27_1 == null)) {
|
|
1569
1607
|
tmp_10 = this_5;
|
|
1570
1608
|
} else {
|
|
1571
1609
|
tmp_10 = null;
|
|
@@ -1573,17 +1611,17 @@
|
|
|
1573
1611
|
var tmp$ret$11 = tmp_10;
|
|
1574
1612
|
return 'PlayerState(' + joinToString(listOfNotNull([tmp_0, tmp_2, tmp_4, tmp_5, tmp_7, tmp_9, tmp$ret$11])) + ')';
|
|
1575
1613
|
};
|
|
1576
|
-
protoOf(PlayerState).
|
|
1577
|
-
return this.
|
|
1614
|
+
protoOf(PlayerState).q27 = function () {
|
|
1615
|
+
return this.m27_1.q27();
|
|
1578
1616
|
};
|
|
1579
1617
|
protoOf(PlayerState).hashCode = function () {
|
|
1580
|
-
var result = this.
|
|
1581
|
-
result = imul(result, 31) + (this.
|
|
1582
|
-
result = imul(result, 31) + (this.
|
|
1583
|
-
result = imul(result, 31) + this.
|
|
1584
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
1585
|
-
result = imul(result, 31) + (this.
|
|
1586
|
-
result = imul(result, 31) + (this.
|
|
1618
|
+
var result = this.j27_1 == null ? 0 : this.j27_1.hashCode();
|
|
1619
|
+
result = imul(result, 31) + (this.k27_1 == null ? 0 : this.k27_1.hashCode()) | 0;
|
|
1620
|
+
result = imul(result, 31) + (this.l27_1 == null ? 0 : this.l27_1.hashCode()) | 0;
|
|
1621
|
+
result = imul(result, 31) + this.m27_1.hashCode() | 0;
|
|
1622
|
+
result = imul(result, 31) + getBooleanHashCode(this.n27_1) | 0;
|
|
1623
|
+
result = imul(result, 31) + (this.o27_1 == null ? 0 : getStringHashCode(this.o27_1)) | 0;
|
|
1624
|
+
result = imul(result, 31) + (this.p27_1 == null ? 0 : this.p27_1.hashCode()) | 0;
|
|
1587
1625
|
return result;
|
|
1588
1626
|
};
|
|
1589
1627
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1592,30 +1630,30 @@
|
|
|
1592
1630
|
if (!(other instanceof PlayerState))
|
|
1593
1631
|
return false;
|
|
1594
1632
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1595
|
-
if (!equals(this.
|
|
1633
|
+
if (!equals(this.j27_1, tmp0_other_with_cast.j27_1))
|
|
1596
1634
|
return false;
|
|
1597
|
-
if (!equals(this.
|
|
1635
|
+
if (!equals(this.k27_1, tmp0_other_with_cast.k27_1))
|
|
1598
1636
|
return false;
|
|
1599
|
-
if (!equals(this.
|
|
1637
|
+
if (!equals(this.l27_1, tmp0_other_with_cast.l27_1))
|
|
1600
1638
|
return false;
|
|
1601
|
-
if (!this.
|
|
1639
|
+
if (!this.m27_1.equals(tmp0_other_with_cast.m27_1))
|
|
1602
1640
|
return false;
|
|
1603
|
-
if (!(this.
|
|
1641
|
+
if (!(this.n27_1 === tmp0_other_with_cast.n27_1))
|
|
1604
1642
|
return false;
|
|
1605
|
-
if (!(this.
|
|
1643
|
+
if (!(this.o27_1 == tmp0_other_with_cast.o27_1))
|
|
1606
1644
|
return false;
|
|
1607
|
-
if (!equals(this.
|
|
1645
|
+
if (!equals(this.p27_1, tmp0_other_with_cast.p27_1))
|
|
1608
1646
|
return false;
|
|
1609
1647
|
return true;
|
|
1610
1648
|
};
|
|
1611
1649
|
function Team(playerIds) {
|
|
1612
|
-
this.
|
|
1650
|
+
this.w28_1 = playerIds;
|
|
1613
1651
|
}
|
|
1614
1652
|
protoOf(Team).toString = function () {
|
|
1615
|
-
return 'Team(playerIds=' + toString_0(this.
|
|
1653
|
+
return 'Team(playerIds=' + toString_0(this.w28_1) + ')';
|
|
1616
1654
|
};
|
|
1617
1655
|
protoOf(Team).hashCode = function () {
|
|
1618
|
-
return hashCode(this.
|
|
1656
|
+
return hashCode(this.w28_1);
|
|
1619
1657
|
};
|
|
1620
1658
|
protoOf(Team).equals = function (other) {
|
|
1621
1659
|
if (this === other)
|
|
@@ -1623,12 +1661,12 @@
|
|
|
1623
1661
|
if (!(other instanceof Team))
|
|
1624
1662
|
return false;
|
|
1625
1663
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1626
|
-
if (!equals(this.
|
|
1664
|
+
if (!equals(this.w28_1, tmp0_other_with_cast.w28_1))
|
|
1627
1665
|
return false;
|
|
1628
1666
|
return true;
|
|
1629
1667
|
};
|
|
1630
1668
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1631
|
-
return $this.
|
|
1669
|
+
return $this.x28_1.a2();
|
|
1632
1670
|
}
|
|
1633
1671
|
function TerminationGameReasonDto$Companion$_anonymous__30ivuy() {
|
|
1634
1672
|
var tmp = getKClass(TerminationGameReasonDto);
|
|
@@ -1666,7 +1704,7 @@
|
|
|
1666
1704
|
Companion_instance_8 = this;
|
|
1667
1705
|
var tmp = this;
|
|
1668
1706
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1669
|
-
tmp.
|
|
1707
|
+
tmp.x28_1 = lazy(tmp_0, TerminationGameReasonDto$Companion$_anonymous__30ivuy);
|
|
1670
1708
|
}
|
|
1671
1709
|
protoOf(Companion_8).o17 = function () {
|
|
1672
1710
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1687,7 +1725,7 @@
|
|
|
1687
1725
|
Companion_getInstance_10();
|
|
1688
1726
|
}
|
|
1689
1727
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
1690
|
-
return $this.
|
|
1728
|
+
return $this.y28_1.a2();
|
|
1691
1729
|
}
|
|
1692
1730
|
function ProcessingReasonDto$_anonymous__78na4x() {
|
|
1693
1731
|
var tmp = ProcessingReasonDto_getInstance();
|
|
@@ -1702,7 +1740,7 @@
|
|
|
1702
1740
|
TerminationGameReasonDto.call(this);
|
|
1703
1741
|
var tmp = this;
|
|
1704
1742
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1705
|
-
tmp.
|
|
1743
|
+
tmp.y28_1 = lazy(tmp_0, ProcessingReasonDto$_anonymous__78na4x);
|
|
1706
1744
|
}
|
|
1707
1745
|
protoOf(ProcessingReasonDto).o17 = function () {
|
|
1708
1746
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -1740,19 +1778,19 @@
|
|
|
1740
1778
|
$serializer_instance_0 = this;
|
|
1741
1779
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1742
1780
|
tmp0_serialDesc.xu('reason', false);
|
|
1743
|
-
this.
|
|
1781
|
+
this.z28_1 = tmp0_serialDesc;
|
|
1744
1782
|
}
|
|
1745
|
-
protoOf($serializer_0).
|
|
1746
|
-
var tmp0_desc = this.
|
|
1783
|
+
protoOf($serializer_0).a29 = function (encoder, value) {
|
|
1784
|
+
var tmp0_desc = this.z28_1;
|
|
1747
1785
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1748
1786
|
tmp1_output.wo(tmp0_desc, 0, value.reason);
|
|
1749
1787
|
tmp1_output.in(tmp0_desc);
|
|
1750
1788
|
};
|
|
1751
1789
|
protoOf($serializer_0).zj = function (encoder, value) {
|
|
1752
|
-
return this.
|
|
1790
|
+
return this.a29(encoder, value instanceof GameErrorReasonDto ? value : THROW_CCE());
|
|
1753
1791
|
};
|
|
1754
1792
|
protoOf($serializer_0).ak = function (decoder) {
|
|
1755
|
-
var tmp0_desc = this.
|
|
1793
|
+
var tmp0_desc = this.z28_1;
|
|
1756
1794
|
var tmp1_flag = true;
|
|
1757
1795
|
var tmp2_index = 0;
|
|
1758
1796
|
var tmp3_bitMask0 = 0;
|
|
@@ -1780,7 +1818,7 @@
|
|
|
1780
1818
|
return GameErrorReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1781
1819
|
};
|
|
1782
1820
|
protoOf($serializer_0).yj = function () {
|
|
1783
|
-
return this.
|
|
1821
|
+
return this.z28_1;
|
|
1784
1822
|
};
|
|
1785
1823
|
protoOf($serializer_0).mv = function () {
|
|
1786
1824
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1796,7 +1834,7 @@
|
|
|
1796
1834
|
}
|
|
1797
1835
|
function GameErrorReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1798
1836
|
if (!(1 === (1 & seen0))) {
|
|
1799
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
1837
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().z28_1);
|
|
1800
1838
|
}
|
|
1801
1839
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1802
1840
|
$this.reason = reason;
|
|
@@ -1838,19 +1876,19 @@
|
|
|
1838
1876
|
$serializer_instance_1 = this;
|
|
1839
1877
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1840
1878
|
tmp0_serialDesc.xu('reason', false);
|
|
1841
|
-
this.
|
|
1879
|
+
this.b29_1 = tmp0_serialDesc;
|
|
1842
1880
|
}
|
|
1843
|
-
protoOf($serializer_1).
|
|
1844
|
-
var tmp0_desc = this.
|
|
1881
|
+
protoOf($serializer_1).c29 = function (encoder, value) {
|
|
1882
|
+
var tmp0_desc = this.b29_1;
|
|
1845
1883
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1846
|
-
tmp1_output.wo(tmp0_desc, 0, value.
|
|
1884
|
+
tmp1_output.wo(tmp0_desc, 0, value.d29_1);
|
|
1847
1885
|
tmp1_output.in(tmp0_desc);
|
|
1848
1886
|
};
|
|
1849
1887
|
protoOf($serializer_1).zj = function (encoder, value) {
|
|
1850
|
-
return this.
|
|
1888
|
+
return this.c29(encoder, value instanceof GameFinishedReasonDto ? value : THROW_CCE());
|
|
1851
1889
|
};
|
|
1852
1890
|
protoOf($serializer_1).ak = function (decoder) {
|
|
1853
|
-
var tmp0_desc = this.
|
|
1891
|
+
var tmp0_desc = this.b29_1;
|
|
1854
1892
|
var tmp1_flag = true;
|
|
1855
1893
|
var tmp2_index = 0;
|
|
1856
1894
|
var tmp3_bitMask0 = 0;
|
|
@@ -1878,7 +1916,7 @@
|
|
|
1878
1916
|
return GameFinishedReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1879
1917
|
};
|
|
1880
1918
|
protoOf($serializer_1).yj = function () {
|
|
1881
|
-
return this.
|
|
1919
|
+
return this.b29_1;
|
|
1882
1920
|
};
|
|
1883
1921
|
protoOf($serializer_1).mv = function () {
|
|
1884
1922
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1894,10 +1932,10 @@
|
|
|
1894
1932
|
}
|
|
1895
1933
|
function GameFinishedReasonDto_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
|
|
1896
1934
|
if (!(1 === (1 & seen0))) {
|
|
1897
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().
|
|
1935
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_1().b29_1);
|
|
1898
1936
|
}
|
|
1899
1937
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1900
|
-
$this.
|
|
1938
|
+
$this.d29_1 = reason;
|
|
1901
1939
|
return $this;
|
|
1902
1940
|
}
|
|
1903
1941
|
function GameFinishedReasonDto_init_$Create$(seen0, reason, serializationConstructorMarker) {
|
|
@@ -1905,13 +1943,13 @@
|
|
|
1905
1943
|
}
|
|
1906
1944
|
function GameFinishedReasonDto(reason) {
|
|
1907
1945
|
TerminationGameReasonDto.call(this);
|
|
1908
|
-
this.
|
|
1946
|
+
this.d29_1 = reason;
|
|
1909
1947
|
}
|
|
1910
1948
|
protoOf(GameFinishedReasonDto).toString = function () {
|
|
1911
|
-
return 'GameFinishedReasonDto(reason=' + this.
|
|
1949
|
+
return 'GameFinishedReasonDto(reason=' + this.d29_1 + ')';
|
|
1912
1950
|
};
|
|
1913
1951
|
protoOf(GameFinishedReasonDto).hashCode = function () {
|
|
1914
|
-
return getStringHashCode(this.
|
|
1952
|
+
return getStringHashCode(this.d29_1);
|
|
1915
1953
|
};
|
|
1916
1954
|
protoOf(GameFinishedReasonDto).equals = function (other) {
|
|
1917
1955
|
if (this === other)
|
|
@@ -1919,7 +1957,7 @@
|
|
|
1919
1957
|
if (!(other instanceof GameFinishedReasonDto))
|
|
1920
1958
|
return false;
|
|
1921
1959
|
var tmp0_other_with_cast = other instanceof GameFinishedReasonDto ? other : THROW_CCE();
|
|
1922
|
-
if (!(this.
|
|
1960
|
+
if (!(this.d29_1 === tmp0_other_with_cast.d29_1))
|
|
1923
1961
|
return false;
|
|
1924
1962
|
return true;
|
|
1925
1963
|
};
|
|
@@ -1933,19 +1971,19 @@
|
|
|
1933
1971
|
$serializer_instance_2 = this;
|
|
1934
1972
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
1935
1973
|
tmp0_serialDesc.xu('playerId', false);
|
|
1936
|
-
this.
|
|
1974
|
+
this.e29_1 = tmp0_serialDesc;
|
|
1937
1975
|
}
|
|
1938
|
-
protoOf($serializer_2).
|
|
1939
|
-
var tmp0_desc = this.
|
|
1976
|
+
protoOf($serializer_2).f29 = function (encoder, value) {
|
|
1977
|
+
var tmp0_desc = this.e29_1;
|
|
1940
1978
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
1941
|
-
tmp1_output.wo(tmp0_desc, 0, value.
|
|
1979
|
+
tmp1_output.wo(tmp0_desc, 0, value.g29_1);
|
|
1942
1980
|
tmp1_output.in(tmp0_desc);
|
|
1943
1981
|
};
|
|
1944
1982
|
protoOf($serializer_2).zj = function (encoder, value) {
|
|
1945
|
-
return this.
|
|
1983
|
+
return this.f29(encoder, value instanceof PlayerExitReasonDto ? value : THROW_CCE());
|
|
1946
1984
|
};
|
|
1947
1985
|
protoOf($serializer_2).ak = function (decoder) {
|
|
1948
|
-
var tmp0_desc = this.
|
|
1986
|
+
var tmp0_desc = this.e29_1;
|
|
1949
1987
|
var tmp1_flag = true;
|
|
1950
1988
|
var tmp2_index = 0;
|
|
1951
1989
|
var tmp3_bitMask0 = 0;
|
|
@@ -1973,7 +2011,7 @@
|
|
|
1973
2011
|
return PlayerExitReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1974
2012
|
};
|
|
1975
2013
|
protoOf($serializer_2).yj = function () {
|
|
1976
|
-
return this.
|
|
2014
|
+
return this.e29_1;
|
|
1977
2015
|
};
|
|
1978
2016
|
protoOf($serializer_2).mv = function () {
|
|
1979
2017
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1989,10 +2027,10 @@
|
|
|
1989
2027
|
}
|
|
1990
2028
|
function PlayerExitReasonDto_init_$Init$(seen0, playerId, serializationConstructorMarker, $this) {
|
|
1991
2029
|
if (!(1 === (1 & seen0))) {
|
|
1992
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
2030
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().e29_1);
|
|
1993
2031
|
}
|
|
1994
2032
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1995
|
-
$this.
|
|
2033
|
+
$this.g29_1 = playerId;
|
|
1996
2034
|
return $this;
|
|
1997
2035
|
}
|
|
1998
2036
|
function PlayerExitReasonDto_init_$Create$(seen0, playerId, serializationConstructorMarker) {
|
|
@@ -2000,13 +2038,13 @@
|
|
|
2000
2038
|
}
|
|
2001
2039
|
function PlayerExitReasonDto(playerId) {
|
|
2002
2040
|
TerminationGameReasonDto.call(this);
|
|
2003
|
-
this.
|
|
2041
|
+
this.g29_1 = playerId;
|
|
2004
2042
|
}
|
|
2005
2043
|
protoOf(PlayerExitReasonDto).toString = function () {
|
|
2006
|
-
return 'PlayerExitReasonDto(playerId=' + this.
|
|
2044
|
+
return 'PlayerExitReasonDto(playerId=' + this.g29_1 + ')';
|
|
2007
2045
|
};
|
|
2008
2046
|
protoOf(PlayerExitReasonDto).hashCode = function () {
|
|
2009
|
-
return getStringHashCode(this.
|
|
2047
|
+
return getStringHashCode(this.g29_1);
|
|
2010
2048
|
};
|
|
2011
2049
|
protoOf(PlayerExitReasonDto).equals = function (other) {
|
|
2012
2050
|
if (this === other)
|
|
@@ -2014,7 +2052,7 @@
|
|
|
2014
2052
|
if (!(other instanceof PlayerExitReasonDto))
|
|
2015
2053
|
return false;
|
|
2016
2054
|
var tmp0_other_with_cast = other instanceof PlayerExitReasonDto ? other : THROW_CCE();
|
|
2017
|
-
if (!(this.
|
|
2055
|
+
if (!(this.g29_1 === tmp0_other_with_cast.g29_1))
|
|
2018
2056
|
return false;
|
|
2019
2057
|
return true;
|
|
2020
2058
|
};
|
|
@@ -2029,20 +2067,20 @@
|
|
|
2029
2067
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
2030
2068
|
tmp0_serialDesc.xu('playerId', false);
|
|
2031
2069
|
tmp0_serialDesc.xu('tag', false);
|
|
2032
|
-
this.
|
|
2070
|
+
this.h29_1 = tmp0_serialDesc;
|
|
2033
2071
|
}
|
|
2034
|
-
protoOf($serializer_3).
|
|
2035
|
-
var tmp0_desc = this.
|
|
2072
|
+
protoOf($serializer_3).i29 = function (encoder, value) {
|
|
2073
|
+
var tmp0_desc = this.h29_1;
|
|
2036
2074
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2037
|
-
tmp1_output.wo(tmp0_desc, 0, value.
|
|
2038
|
-
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2075
|
+
tmp1_output.wo(tmp0_desc, 0, value.j29_1);
|
|
2076
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.k29_1);
|
|
2039
2077
|
tmp1_output.in(tmp0_desc);
|
|
2040
2078
|
};
|
|
2041
2079
|
protoOf($serializer_3).zj = function (encoder, value) {
|
|
2042
|
-
return this.
|
|
2080
|
+
return this.i29(encoder, value instanceof PlayerLostConnectionReasonDto ? value : THROW_CCE());
|
|
2043
2081
|
};
|
|
2044
2082
|
protoOf($serializer_3).ak = function (decoder) {
|
|
2045
|
-
var tmp0_desc = this.
|
|
2083
|
+
var tmp0_desc = this.h29_1;
|
|
2046
2084
|
var tmp1_flag = true;
|
|
2047
2085
|
var tmp2_index = 0;
|
|
2048
2086
|
var tmp3_bitMask0 = 0;
|
|
@@ -2077,7 +2115,7 @@
|
|
|
2077
2115
|
return PlayerLostConnectionReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2078
2116
|
};
|
|
2079
2117
|
protoOf($serializer_3).yj = function () {
|
|
2080
|
-
return this.
|
|
2118
|
+
return this.h29_1;
|
|
2081
2119
|
};
|
|
2082
2120
|
protoOf($serializer_3).mv = function () {
|
|
2083
2121
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2093,11 +2131,11 @@
|
|
|
2093
2131
|
}
|
|
2094
2132
|
function PlayerLostConnectionReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2095
2133
|
if (!(3 === (3 & seen0))) {
|
|
2096
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().
|
|
2134
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_3().h29_1);
|
|
2097
2135
|
}
|
|
2098
2136
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2099
|
-
$this.
|
|
2100
|
-
$this.
|
|
2137
|
+
$this.j29_1 = playerId;
|
|
2138
|
+
$this.k29_1 = tag;
|
|
2101
2139
|
return $this;
|
|
2102
2140
|
}
|
|
2103
2141
|
function PlayerLostConnectionReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2105,15 +2143,15 @@
|
|
|
2105
2143
|
}
|
|
2106
2144
|
function PlayerLostConnectionReasonDto(playerId, tag) {
|
|
2107
2145
|
TerminationGameReasonDto.call(this);
|
|
2108
|
-
this.
|
|
2109
|
-
this.
|
|
2146
|
+
this.j29_1 = playerId;
|
|
2147
|
+
this.k29_1 = tag;
|
|
2110
2148
|
}
|
|
2111
2149
|
protoOf(PlayerLostConnectionReasonDto).toString = function () {
|
|
2112
|
-
return 'PlayerLostConnectionReasonDto(playerId=' + this.
|
|
2150
|
+
return 'PlayerLostConnectionReasonDto(playerId=' + this.j29_1 + ', tag=' + this.k29_1 + ')';
|
|
2113
2151
|
};
|
|
2114
2152
|
protoOf(PlayerLostConnectionReasonDto).hashCode = function () {
|
|
2115
|
-
var result = getStringHashCode(this.
|
|
2116
|
-
result = imul(result, 31) + (this.
|
|
2153
|
+
var result = getStringHashCode(this.j29_1);
|
|
2154
|
+
result = imul(result, 31) + (this.k29_1 == null ? 0 : getStringHashCode(this.k29_1)) | 0;
|
|
2117
2155
|
return result;
|
|
2118
2156
|
};
|
|
2119
2157
|
protoOf(PlayerLostConnectionReasonDto).equals = function (other) {
|
|
@@ -2122,9 +2160,9 @@
|
|
|
2122
2160
|
if (!(other instanceof PlayerLostConnectionReasonDto))
|
|
2123
2161
|
return false;
|
|
2124
2162
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReasonDto ? other : THROW_CCE();
|
|
2125
|
-
if (!(this.
|
|
2163
|
+
if (!(this.j29_1 === tmp0_other_with_cast.j29_1))
|
|
2126
2164
|
return false;
|
|
2127
|
-
if (!(this.
|
|
2165
|
+
if (!(this.k29_1 == tmp0_other_with_cast.k29_1))
|
|
2128
2166
|
return false;
|
|
2129
2167
|
return true;
|
|
2130
2168
|
};
|
|
@@ -2139,20 +2177,20 @@
|
|
|
2139
2177
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
2140
2178
|
tmp0_serialDesc.xu('playerId', false);
|
|
2141
2179
|
tmp0_serialDesc.xu('tag', false);
|
|
2142
|
-
this.
|
|
2180
|
+
this.l29_1 = tmp0_serialDesc;
|
|
2143
2181
|
}
|
|
2144
|
-
protoOf($serializer_4).
|
|
2145
|
-
var tmp0_desc = this.
|
|
2182
|
+
protoOf($serializer_4).m29 = function (encoder, value) {
|
|
2183
|
+
var tmp0_desc = this.l29_1;
|
|
2146
2184
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2147
|
-
tmp1_output.wo(tmp0_desc, 0, value.
|
|
2148
|
-
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2185
|
+
tmp1_output.wo(tmp0_desc, 0, value.n29_1);
|
|
2186
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.o29_1);
|
|
2149
2187
|
tmp1_output.in(tmp0_desc);
|
|
2150
2188
|
};
|
|
2151
2189
|
protoOf($serializer_4).zj = function (encoder, value) {
|
|
2152
|
-
return this.
|
|
2190
|
+
return this.m29(encoder, value instanceof PlayerTimeoutReasonDto ? value : THROW_CCE());
|
|
2153
2191
|
};
|
|
2154
2192
|
protoOf($serializer_4).ak = function (decoder) {
|
|
2155
|
-
var tmp0_desc = this.
|
|
2193
|
+
var tmp0_desc = this.l29_1;
|
|
2156
2194
|
var tmp1_flag = true;
|
|
2157
2195
|
var tmp2_index = 0;
|
|
2158
2196
|
var tmp3_bitMask0 = 0;
|
|
@@ -2187,7 +2225,7 @@
|
|
|
2187
2225
|
return PlayerTimeoutReasonDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2188
2226
|
};
|
|
2189
2227
|
protoOf($serializer_4).yj = function () {
|
|
2190
|
-
return this.
|
|
2228
|
+
return this.l29_1;
|
|
2191
2229
|
};
|
|
2192
2230
|
protoOf($serializer_4).mv = function () {
|
|
2193
2231
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2203,11 +2241,11 @@
|
|
|
2203
2241
|
}
|
|
2204
2242
|
function PlayerTimeoutReasonDto_init_$Init$(seen0, playerId, tag, serializationConstructorMarker, $this) {
|
|
2205
2243
|
if (!(3 === (3 & seen0))) {
|
|
2206
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
2244
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().l29_1);
|
|
2207
2245
|
}
|
|
2208
2246
|
TerminationGameReasonDto_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
2209
|
-
$this.
|
|
2210
|
-
$this.
|
|
2247
|
+
$this.n29_1 = playerId;
|
|
2248
|
+
$this.o29_1 = tag;
|
|
2211
2249
|
return $this;
|
|
2212
2250
|
}
|
|
2213
2251
|
function PlayerTimeoutReasonDto_init_$Create$(seen0, playerId, tag, serializationConstructorMarker) {
|
|
@@ -2215,15 +2253,15 @@
|
|
|
2215
2253
|
}
|
|
2216
2254
|
function PlayerTimeoutReasonDto(playerId, tag) {
|
|
2217
2255
|
TerminationGameReasonDto.call(this);
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2256
|
+
this.n29_1 = playerId;
|
|
2257
|
+
this.o29_1 = tag;
|
|
2220
2258
|
}
|
|
2221
2259
|
protoOf(PlayerTimeoutReasonDto).toString = function () {
|
|
2222
|
-
return 'PlayerTimeoutReasonDto(playerId=' + this.
|
|
2260
|
+
return 'PlayerTimeoutReasonDto(playerId=' + this.n29_1 + ', tag=' + this.o29_1 + ')';
|
|
2223
2261
|
};
|
|
2224
2262
|
protoOf(PlayerTimeoutReasonDto).hashCode = function () {
|
|
2225
|
-
var result = getStringHashCode(this.
|
|
2226
|
-
result = imul(result, 31) + (this.
|
|
2263
|
+
var result = getStringHashCode(this.n29_1);
|
|
2264
|
+
result = imul(result, 31) + (this.o29_1 == null ? 0 : getStringHashCode(this.o29_1)) | 0;
|
|
2227
2265
|
return result;
|
|
2228
2266
|
};
|
|
2229
2267
|
protoOf(PlayerTimeoutReasonDto).equals = function (other) {
|
|
@@ -2232,14 +2270,14 @@
|
|
|
2232
2270
|
if (!(other instanceof PlayerTimeoutReasonDto))
|
|
2233
2271
|
return false;
|
|
2234
2272
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReasonDto ? other : THROW_CCE();
|
|
2235
|
-
if (!(this.
|
|
2273
|
+
if (!(this.n29_1 === tmp0_other_with_cast.n29_1))
|
|
2236
2274
|
return false;
|
|
2237
|
-
if (!(this.
|
|
2275
|
+
if (!(this.o29_1 == tmp0_other_with_cast.o29_1))
|
|
2238
2276
|
return false;
|
|
2239
2277
|
return true;
|
|
2240
2278
|
};
|
|
2241
2279
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
2242
|
-
return $this.
|
|
2280
|
+
return $this.p29_1.a2();
|
|
2243
2281
|
}
|
|
2244
2282
|
function WaitingForConnectionReasonDto$_anonymous__hgbgp6() {
|
|
2245
2283
|
var tmp = WaitingForConnectionReasonDto_getInstance();
|
|
@@ -2254,7 +2292,7 @@
|
|
|
2254
2292
|
TerminationGameReasonDto.call(this);
|
|
2255
2293
|
var tmp = this;
|
|
2256
2294
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2257
|
-
tmp.
|
|
2295
|
+
tmp.p29_1 = lazy(tmp_0, WaitingForConnectionReasonDto$_anonymous__hgbgp6);
|
|
2258
2296
|
}
|
|
2259
2297
|
protoOf(WaitingForConnectionReasonDto).o17 = function () {
|
|
2260
2298
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -2288,6 +2326,12 @@
|
|
|
2288
2326
|
function mapFromDto(_this__u8e3s4) {
|
|
2289
2327
|
return new GameCard(_this__u8e3s4);
|
|
2290
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
|
+
}
|
|
2291
2335
|
function get_gameErrorReasonMapping() {
|
|
2292
2336
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2293
2337
|
return gameErrorReasonMapping;
|
|
@@ -2298,29 +2342,29 @@
|
|
|
2298
2342
|
return gameFinishedReasonMapping;
|
|
2299
2343
|
}
|
|
2300
2344
|
var gameFinishedReasonMapping;
|
|
2301
|
-
function
|
|
2345
|
+
function mapToDto_1(_this__u8e3s4) {
|
|
2302
2346
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2303
2347
|
var tmp;
|
|
2304
2348
|
if (_this__u8e3s4 instanceof GameErrorReason) {
|
|
2305
|
-
tmp =
|
|
2349
|
+
tmp = mapToDto_2(_this__u8e3s4);
|
|
2306
2350
|
} else {
|
|
2307
2351
|
if (_this__u8e3s4 instanceof GameFinishedReason) {
|
|
2308
|
-
tmp =
|
|
2352
|
+
tmp = mapToDto_3(_this__u8e3s4);
|
|
2309
2353
|
} else {
|
|
2310
2354
|
if (_this__u8e3s4 instanceof PlayerExitReason) {
|
|
2311
|
-
tmp =
|
|
2355
|
+
tmp = mapToDto_4(_this__u8e3s4);
|
|
2312
2356
|
} else {
|
|
2313
2357
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
2314
|
-
tmp =
|
|
2358
|
+
tmp = mapToDto_5(_this__u8e3s4);
|
|
2315
2359
|
} else {
|
|
2316
2360
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
2317
|
-
tmp =
|
|
2361
|
+
tmp = mapToDto_6(_this__u8e3s4);
|
|
2318
2362
|
} else {
|
|
2319
2363
|
if (_this__u8e3s4 instanceof ProcessingReason) {
|
|
2320
|
-
tmp =
|
|
2364
|
+
tmp = mapToDto_7(_this__u8e3s4);
|
|
2321
2365
|
} else {
|
|
2322
2366
|
if (_this__u8e3s4 instanceof WaitingForConnectionReason) {
|
|
2323
|
-
tmp =
|
|
2367
|
+
tmp = mapToDto_8(_this__u8e3s4);
|
|
2324
2368
|
} else {
|
|
2325
2369
|
noWhenBranchMatchedException();
|
|
2326
2370
|
}
|
|
@@ -2332,29 +2376,29 @@
|
|
|
2332
2376
|
}
|
|
2333
2377
|
return tmp;
|
|
2334
2378
|
}
|
|
2335
|
-
function
|
|
2379
|
+
function mapFromDto_1(_this__u8e3s4) {
|
|
2336
2380
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2337
2381
|
var tmp;
|
|
2338
2382
|
if (_this__u8e3s4 instanceof GameErrorReasonDto) {
|
|
2339
|
-
tmp =
|
|
2383
|
+
tmp = mapFromDto_2(_this__u8e3s4);
|
|
2340
2384
|
} else {
|
|
2341
2385
|
if (_this__u8e3s4 instanceof GameFinishedReasonDto) {
|
|
2342
|
-
tmp =
|
|
2386
|
+
tmp = mapFromDto_3(_this__u8e3s4);
|
|
2343
2387
|
} else {
|
|
2344
2388
|
if (_this__u8e3s4 instanceof PlayerExitReasonDto) {
|
|
2345
|
-
tmp =
|
|
2389
|
+
tmp = mapFromDto_4(_this__u8e3s4);
|
|
2346
2390
|
} else {
|
|
2347
2391
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReasonDto) {
|
|
2348
|
-
tmp =
|
|
2392
|
+
tmp = mapFromDto_5(_this__u8e3s4);
|
|
2349
2393
|
} else {
|
|
2350
2394
|
if (_this__u8e3s4 instanceof PlayerTimeoutReasonDto) {
|
|
2351
|
-
tmp =
|
|
2395
|
+
tmp = mapFromDto_6(_this__u8e3s4);
|
|
2352
2396
|
} else {
|
|
2353
2397
|
if (_this__u8e3s4 instanceof ProcessingReasonDto) {
|
|
2354
|
-
tmp =
|
|
2398
|
+
tmp = mapFromDto_7(_this__u8e3s4);
|
|
2355
2399
|
} else {
|
|
2356
2400
|
if (_this__u8e3s4 instanceof WaitingForConnectionReasonDto) {
|
|
2357
|
-
tmp =
|
|
2401
|
+
tmp = mapFromDto_8(_this__u8e3s4);
|
|
2358
2402
|
} else {
|
|
2359
2403
|
noWhenBranchMatchedException();
|
|
2360
2404
|
}
|
|
@@ -2366,61 +2410,61 @@
|
|
|
2366
2410
|
}
|
|
2367
2411
|
return tmp;
|
|
2368
2412
|
}
|
|
2369
|
-
function
|
|
2413
|
+
function mapToDto_2(_this__u8e3s4) {
|
|
2370
2414
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2371
2415
|
return new GameErrorReasonDto(enumToString(_this__u8e3s4.reason, get_gameErrorReasonMapping()));
|
|
2372
2416
|
}
|
|
2373
|
-
function
|
|
2417
|
+
function mapToDto_3(_this__u8e3s4) {
|
|
2374
2418
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2375
2419
|
return new GameFinishedReasonDto(enumToString(_this__u8e3s4.reason, get_gameFinishedReasonMapping()));
|
|
2376
2420
|
}
|
|
2377
|
-
function
|
|
2421
|
+
function mapToDto_4(_this__u8e3s4) {
|
|
2378
2422
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2379
2423
|
return new PlayerExitReasonDto(_this__u8e3s4.l26_1);
|
|
2380
2424
|
}
|
|
2381
|
-
function
|
|
2425
|
+
function mapToDto_5(_this__u8e3s4) {
|
|
2382
2426
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2383
2427
|
return new PlayerLostConnectionReasonDto(_this__u8e3s4.f26_1, _this__u8e3s4.tag);
|
|
2384
2428
|
}
|
|
2385
|
-
function
|
|
2429
|
+
function mapToDto_6(_this__u8e3s4) {
|
|
2386
2430
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2387
2431
|
return new PlayerTimeoutReasonDto(_this__u8e3s4.k26_1, _this__u8e3s4.tag);
|
|
2388
2432
|
}
|
|
2389
|
-
function
|
|
2433
|
+
function mapToDto_7(_this__u8e3s4) {
|
|
2390
2434
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2391
2435
|
return ProcessingReasonDto_getInstance();
|
|
2392
2436
|
}
|
|
2393
|
-
function
|
|
2437
|
+
function mapToDto_8(_this__u8e3s4) {
|
|
2394
2438
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2395
2439
|
return WaitingForConnectionReasonDto_getInstance();
|
|
2396
2440
|
}
|
|
2397
|
-
function
|
|
2441
|
+
function mapFromDto_2(_this__u8e3s4) {
|
|
2398
2442
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2399
2443
|
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.reason, get_gameErrorReasonMapping());
|
|
2400
2444
|
return new GameErrorReason(tmp0_elvis_lhs == null ? Reason_INTERNAL_ERROR_getInstance() : tmp0_elvis_lhs);
|
|
2401
2445
|
}
|
|
2402
|
-
function mapFromDto_2(_this__u8e3s4) {
|
|
2403
|
-
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2404
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.b29_1, get_gameFinishedReasonMapping());
|
|
2405
|
-
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2406
|
-
}
|
|
2407
2446
|
function mapFromDto_3(_this__u8e3s4) {
|
|
2408
2447
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2409
|
-
|
|
2448
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(_this__u8e3s4.d29_1, get_gameFinishedReasonMapping());
|
|
2449
|
+
return new GameFinishedReason(tmp0_elvis_lhs == null ? Reason_GAME_NOT_EXISTS_getInstance() : tmp0_elvis_lhs);
|
|
2410
2450
|
}
|
|
2411
2451
|
function mapFromDto_4(_this__u8e3s4) {
|
|
2412
2452
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2413
|
-
return new
|
|
2453
|
+
return new PlayerExitReason(_this__u8e3s4.g29_1);
|
|
2414
2454
|
}
|
|
2415
2455
|
function mapFromDto_5(_this__u8e3s4) {
|
|
2416
2456
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2417
|
-
return new
|
|
2457
|
+
return new PlayerLostConnectionReason(_this__u8e3s4.j29_1, _this__u8e3s4.k29_1);
|
|
2418
2458
|
}
|
|
2419
2459
|
function mapFromDto_6(_this__u8e3s4) {
|
|
2420
2460
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2421
|
-
return
|
|
2461
|
+
return new PlayerTimeoutReason(_this__u8e3s4.n29_1, _this__u8e3s4.o29_1);
|
|
2422
2462
|
}
|
|
2423
2463
|
function mapFromDto_7(_this__u8e3s4) {
|
|
2464
|
+
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2465
|
+
return ProcessingReason_getInstance();
|
|
2466
|
+
}
|
|
2467
|
+
function mapFromDto_8(_this__u8e3s4) {
|
|
2424
2468
|
_init_properties_TerminationReasonMappers_kt__5n4kx6();
|
|
2425
2469
|
return WaitingForConnectionReason_getInstance();
|
|
2426
2470
|
}
|
|
@@ -2456,7 +2500,7 @@
|
|
|
2456
2500
|
gameFinishedReasonMapping = destination_0;
|
|
2457
2501
|
}
|
|
2458
2502
|
}
|
|
2459
|
-
function
|
|
2503
|
+
function mapToDto_9(_this__u8e3s4) {
|
|
2460
2504
|
var tmp0_playerId = _this__u8e3s4.w26_1;
|
|
2461
2505
|
var tmp1_uid = _this__u8e3s4.w26_1;
|
|
2462
2506
|
var tmp2_nickname = _this__u8e3s4.name;
|
|
@@ -2475,17 +2519,59 @@
|
|
|
2475
2519
|
}
|
|
2476
2520
|
var tmp6_isBot = tmp;
|
|
2477
2521
|
var tmp7_initialLuckyFactor = _this__u8e3s4.initialLuckyFactor;
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
var
|
|
2483
|
-
var
|
|
2484
|
-
var
|
|
2485
|
-
var
|
|
2486
|
-
var
|
|
2487
|
-
var
|
|
2488
|
-
|
|
2522
|
+
var tmp8_rating = _this__u8e3s4.rating;
|
|
2523
|
+
return new GameUserInfoDto(tmp0_playerId, tmp1_uid, tmp3_name, tmp2_nickname, tmp5_avatarUrl, tmp4_photo, tmp8_rating, tmp6_isBot, tmp7_initialLuckyFactor);
|
|
2524
|
+
}
|
|
2525
|
+
function mapFromDto_9(_this__u8e3s4) {
|
|
2526
|
+
var tmp0_elvis_lhs = _this__u8e3s4.q29_1;
|
|
2527
|
+
var tmp4_playerId = tmp0_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.r29_1) : tmp0_elvis_lhs;
|
|
2528
|
+
var tmp1_elvis_lhs = _this__u8e3s4.s29_1;
|
|
2529
|
+
var tmp5_name = tmp1_elvis_lhs == null ? ensureNotNull(_this__u8e3s4.t29_1) : tmp1_elvis_lhs;
|
|
2530
|
+
var tmp2_elvis_lhs = _this__u8e3s4.u29_1;
|
|
2531
|
+
var tmp6_avatarUrl = tmp2_elvis_lhs == null ? _this__u8e3s4.v29_1 : tmp2_elvis_lhs;
|
|
2532
|
+
var tmp3_elvis_lhs = _this__u8e3s4.x29_1;
|
|
2533
|
+
var tmp7_isBot = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
|
|
2534
|
+
var tmp8_initialLuckyFactor = _this__u8e3s4.y29_1;
|
|
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));
|
|
2489
2575
|
}
|
|
2490
2576
|
function Companion_14() {
|
|
2491
2577
|
}
|
|
@@ -2495,47 +2581,49 @@
|
|
|
2495
2581
|
}
|
|
2496
2582
|
function $serializer_5() {
|
|
2497
2583
|
$serializer_instance_5 = this;
|
|
2498
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this,
|
|
2584
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 9);
|
|
2499
2585
|
tmp0_serialDesc.xu('playerId', true);
|
|
2500
2586
|
tmp0_serialDesc.xu('uid', true);
|
|
2501
2587
|
tmp0_serialDesc.xu('name', true);
|
|
2502
2588
|
tmp0_serialDesc.xu('nickname', true);
|
|
2503
2589
|
tmp0_serialDesc.xu('avatarUrl', true);
|
|
2504
2590
|
tmp0_serialDesc.xu('photo', true);
|
|
2505
|
-
tmp0_serialDesc.xu('
|
|
2506
|
-
tmp0_serialDesc.xu('
|
|
2507
|
-
|
|
2591
|
+
tmp0_serialDesc.xu('rating', false);
|
|
2592
|
+
tmp0_serialDesc.xu('is_bot', false);
|
|
2593
|
+
tmp0_serialDesc.xu('lucky_factor', false);
|
|
2594
|
+
this.k2a_1 = tmp0_serialDesc;
|
|
2508
2595
|
}
|
|
2509
|
-
protoOf($serializer_5).
|
|
2510
|
-
var tmp0_desc = this.
|
|
2596
|
+
protoOf($serializer_5).l2a = function (encoder, value) {
|
|
2597
|
+
var tmp0_desc = this.k2a_1;
|
|
2511
2598
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2512
|
-
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.
|
|
2513
|
-
tmp1_output.ap(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
2599
|
+
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.q29_1 == null)) {
|
|
2600
|
+
tmp1_output.ap(tmp0_desc, 0, StringSerializer_getInstance(), value.q29_1);
|
|
2514
2601
|
}
|
|
2515
|
-
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.
|
|
2516
|
-
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2602
|
+
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.r29_1 == null)) {
|
|
2603
|
+
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.r29_1);
|
|
2517
2604
|
}
|
|
2518
|
-
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.
|
|
2519
|
-
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2605
|
+
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.s29_1 == null)) {
|
|
2606
|
+
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.s29_1);
|
|
2520
2607
|
}
|
|
2521
|
-
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.
|
|
2522
|
-
tmp1_output.ap(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
2608
|
+
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.t29_1 == null)) {
|
|
2609
|
+
tmp1_output.ap(tmp0_desc, 3, StringSerializer_getInstance(), value.t29_1);
|
|
2523
2610
|
}
|
|
2524
|
-
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.
|
|
2525
|
-
tmp1_output.ap(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2611
|
+
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.u29_1 == null)) {
|
|
2612
|
+
tmp1_output.ap(tmp0_desc, 4, StringSerializer_getInstance(), value.u29_1);
|
|
2526
2613
|
}
|
|
2527
|
-
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.
|
|
2528
|
-
tmp1_output.ap(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2614
|
+
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.v29_1 == null)) {
|
|
2615
|
+
tmp1_output.ap(tmp0_desc, 5, StringSerializer_getInstance(), value.v29_1);
|
|
2529
2616
|
}
|
|
2530
|
-
tmp1_output.ap(tmp0_desc, 6,
|
|
2531
|
-
tmp1_output.ap(tmp0_desc, 7,
|
|
2617
|
+
tmp1_output.ap(tmp0_desc, 6, DoubleSerializer_getInstance(), value.w29_1);
|
|
2618
|
+
tmp1_output.ap(tmp0_desc, 7, BooleanSerializer_getInstance(), value.x29_1);
|
|
2619
|
+
tmp1_output.ap(tmp0_desc, 8, FloatSerializer_getInstance(), value.y29_1);
|
|
2532
2620
|
tmp1_output.in(tmp0_desc);
|
|
2533
2621
|
};
|
|
2534
2622
|
protoOf($serializer_5).zj = function (encoder, value) {
|
|
2535
|
-
return this.
|
|
2623
|
+
return this.l2a(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2536
2624
|
};
|
|
2537
2625
|
protoOf($serializer_5).ak = function (decoder) {
|
|
2538
|
-
var tmp0_desc = this.
|
|
2626
|
+
var tmp0_desc = this.k2a_1;
|
|
2539
2627
|
var tmp1_flag = true;
|
|
2540
2628
|
var tmp2_index = 0;
|
|
2541
2629
|
var tmp3_bitMask0 = 0;
|
|
@@ -2547,78 +2635,85 @@
|
|
|
2547
2635
|
var tmp9_local5 = null;
|
|
2548
2636
|
var tmp10_local6 = null;
|
|
2549
2637
|
var tmp11_local7 = null;
|
|
2550
|
-
var
|
|
2551
|
-
|
|
2552
|
-
|
|
2638
|
+
var tmp12_local8 = null;
|
|
2639
|
+
var tmp13_input = decoder.hn(tmp0_desc);
|
|
2640
|
+
if (tmp13_input.xn()) {
|
|
2641
|
+
tmp4_local0 = tmp13_input.vn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2553
2642
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2554
|
-
tmp5_local1 =
|
|
2643
|
+
tmp5_local1 = tmp13_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2555
2644
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2556
|
-
tmp6_local2 =
|
|
2645
|
+
tmp6_local2 = tmp13_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2557
2646
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2558
|
-
tmp7_local3 =
|
|
2647
|
+
tmp7_local3 = tmp13_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2559
2648
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2560
|
-
tmp8_local4 =
|
|
2649
|
+
tmp8_local4 = tmp13_input.vn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2561
2650
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2562
|
-
tmp9_local5 =
|
|
2651
|
+
tmp9_local5 = tmp13_input.vn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2563
2652
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2564
|
-
tmp10_local6 =
|
|
2653
|
+
tmp10_local6 = tmp13_input.vn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2565
2654
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2566
|
-
tmp11_local7 =
|
|
2655
|
+
tmp11_local7 = tmp13_input.vn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2567
2656
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2657
|
+
tmp12_local8 = tmp13_input.vn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2658
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2568
2659
|
} else
|
|
2569
2660
|
while (tmp1_flag) {
|
|
2570
|
-
tmp2_index =
|
|
2661
|
+
tmp2_index = tmp13_input.yn(tmp0_desc);
|
|
2571
2662
|
switch (tmp2_index) {
|
|
2572
2663
|
case -1:
|
|
2573
2664
|
tmp1_flag = false;
|
|
2574
2665
|
break;
|
|
2575
2666
|
case 0:
|
|
2576
|
-
tmp4_local0 =
|
|
2667
|
+
tmp4_local0 = tmp13_input.vn(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
2577
2668
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2578
2669
|
break;
|
|
2579
2670
|
case 1:
|
|
2580
|
-
tmp5_local1 =
|
|
2671
|
+
tmp5_local1 = tmp13_input.vn(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2581
2672
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2582
2673
|
break;
|
|
2583
2674
|
case 2:
|
|
2584
|
-
tmp6_local2 =
|
|
2675
|
+
tmp6_local2 = tmp13_input.vn(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2585
2676
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2586
2677
|
break;
|
|
2587
2678
|
case 3:
|
|
2588
|
-
tmp7_local3 =
|
|
2679
|
+
tmp7_local3 = tmp13_input.vn(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2589
2680
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2590
2681
|
break;
|
|
2591
2682
|
case 4:
|
|
2592
|
-
tmp8_local4 =
|
|
2683
|
+
tmp8_local4 = tmp13_input.vn(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2593
2684
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2594
2685
|
break;
|
|
2595
2686
|
case 5:
|
|
2596
|
-
tmp9_local5 =
|
|
2687
|
+
tmp9_local5 = tmp13_input.vn(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2597
2688
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2598
2689
|
break;
|
|
2599
2690
|
case 6:
|
|
2600
|
-
tmp10_local6 =
|
|
2691
|
+
tmp10_local6 = tmp13_input.vn(tmp0_desc, 6, DoubleSerializer_getInstance(), tmp10_local6);
|
|
2601
2692
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2602
2693
|
break;
|
|
2603
2694
|
case 7:
|
|
2604
|
-
tmp11_local7 =
|
|
2695
|
+
tmp11_local7 = tmp13_input.vn(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
2605
2696
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2606
2697
|
break;
|
|
2698
|
+
case 8:
|
|
2699
|
+
tmp12_local8 = tmp13_input.vn(tmp0_desc, 8, FloatSerializer_getInstance(), tmp12_local8);
|
|
2700
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2701
|
+
break;
|
|
2607
2702
|
default:
|
|
2608
2703
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2609
2704
|
}
|
|
2610
2705
|
}
|
|
2611
|
-
|
|
2612
|
-
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
2706
|
+
tmp13_input.in(tmp0_desc);
|
|
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);
|
|
2613
2708
|
};
|
|
2614
2709
|
protoOf($serializer_5).yj = function () {
|
|
2615
|
-
return this.
|
|
2710
|
+
return this.k2a_1;
|
|
2616
2711
|
};
|
|
2617
2712
|
protoOf($serializer_5).mv = function () {
|
|
2618
2713
|
// Inline function 'kotlin.arrayOf' call
|
|
2619
2714
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2620
2715
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2621
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2716
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2622
2717
|
};
|
|
2623
2718
|
var $serializer_instance_5;
|
|
2624
2719
|
function $serializer_getInstance_5() {
|
|
@@ -2626,86 +2721,90 @@
|
|
|
2626
2721
|
new $serializer_5();
|
|
2627
2722
|
return $serializer_instance_5;
|
|
2628
2723
|
}
|
|
2629
|
-
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2630
|
-
if (!(
|
|
2631
|
-
throwMissingFieldException(seen0,
|
|
2724
|
+
function GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2725
|
+
if (!(448 === (448 & seen0))) {
|
|
2726
|
+
throwMissingFieldException(seen0, 448, $serializer_getInstance_5().k2a_1);
|
|
2632
2727
|
}
|
|
2633
2728
|
if (0 === (seen0 & 1))
|
|
2634
|
-
$this.
|
|
2729
|
+
$this.q29_1 = null;
|
|
2635
2730
|
else
|
|
2636
|
-
$this.
|
|
2731
|
+
$this.q29_1 = playerId;
|
|
2637
2732
|
if (0 === (seen0 & 2))
|
|
2638
|
-
$this.
|
|
2733
|
+
$this.r29_1 = null;
|
|
2639
2734
|
else
|
|
2640
|
-
$this.
|
|
2735
|
+
$this.r29_1 = uid;
|
|
2641
2736
|
if (0 === (seen0 & 4))
|
|
2642
|
-
$this.
|
|
2737
|
+
$this.s29_1 = null;
|
|
2643
2738
|
else
|
|
2644
|
-
$this.
|
|
2739
|
+
$this.s29_1 = name;
|
|
2645
2740
|
if (0 === (seen0 & 8))
|
|
2646
|
-
$this.
|
|
2741
|
+
$this.t29_1 = null;
|
|
2647
2742
|
else
|
|
2648
|
-
$this.
|
|
2743
|
+
$this.t29_1 = nickname;
|
|
2649
2744
|
if (0 === (seen0 & 16))
|
|
2650
|
-
$this.
|
|
2745
|
+
$this.u29_1 = null;
|
|
2651
2746
|
else
|
|
2652
|
-
$this.
|
|
2747
|
+
$this.u29_1 = avatarUrl;
|
|
2653
2748
|
if (0 === (seen0 & 32))
|
|
2654
|
-
$this.
|
|
2749
|
+
$this.v29_1 = null;
|
|
2655
2750
|
else
|
|
2656
|
-
$this.
|
|
2657
|
-
$this.
|
|
2658
|
-
$this.
|
|
2751
|
+
$this.v29_1 = photo;
|
|
2752
|
+
$this.w29_1 = rating;
|
|
2753
|
+
$this.x29_1 = isBot;
|
|
2754
|
+
$this.y29_1 = initialLuckyFactor;
|
|
2659
2755
|
return $this;
|
|
2660
2756
|
}
|
|
2661
|
-
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
2662
|
-
return GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, isBot, initialLuckyFactor, serializationConstructorMarker, objectCreate(protoOf(GameUserInfoDto)));
|
|
2757
|
+
function GameUserInfoDto_init_$Create$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
2758
|
+
return GameUserInfoDto_init_$Init$(seen0, playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, serializationConstructorMarker, objectCreate(protoOf(GameUserInfoDto)));
|
|
2663
2759
|
}
|
|
2664
|
-
function GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, isBot, initialLuckyFactor) {
|
|
2760
|
+
function GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2665
2761
|
playerId = playerId === VOID ? null : playerId;
|
|
2666
2762
|
uid = uid === VOID ? null : uid;
|
|
2667
2763
|
name = name === VOID ? null : name;
|
|
2668
2764
|
nickname = nickname === VOID ? null : nickname;
|
|
2669
2765
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2670
2766
|
photo = photo === VOID ? null : photo;
|
|
2671
|
-
this.
|
|
2672
|
-
this.
|
|
2673
|
-
this.
|
|
2674
|
-
this.
|
|
2675
|
-
this.
|
|
2676
|
-
this.
|
|
2677
|
-
this.
|
|
2678
|
-
this.
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2767
|
+
this.q29_1 = playerId;
|
|
2768
|
+
this.r29_1 = uid;
|
|
2769
|
+
this.s29_1 = name;
|
|
2770
|
+
this.t29_1 = nickname;
|
|
2771
|
+
this.u29_1 = avatarUrl;
|
|
2772
|
+
this.v29_1 = photo;
|
|
2773
|
+
this.w29_1 = rating;
|
|
2774
|
+
this.x29_1 = isBot;
|
|
2775
|
+
this.y29_1 = initialLuckyFactor;
|
|
2776
|
+
}
|
|
2777
|
+
protoOf(GameUserInfoDto).m2a = function () {
|
|
2778
|
+
return this.n2a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, null, null);
|
|
2779
|
+
};
|
|
2780
|
+
protoOf(GameUserInfoDto).o2a = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor) {
|
|
2781
|
+
return new GameUserInfoDto(playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor);
|
|
2782
|
+
};
|
|
2783
|
+
protoOf(GameUserInfoDto).n2a = function (playerId, uid, name, nickname, avatarUrl, photo, rating, isBot, initialLuckyFactor, $super) {
|
|
2784
|
+
playerId = playerId === VOID ? this.q29_1 : playerId;
|
|
2785
|
+
uid = uid === VOID ? this.r29_1 : uid;
|
|
2786
|
+
name = name === VOID ? this.s29_1 : name;
|
|
2787
|
+
nickname = nickname === VOID ? this.t29_1 : nickname;
|
|
2788
|
+
avatarUrl = avatarUrl === VOID ? this.u29_1 : avatarUrl;
|
|
2789
|
+
photo = photo === VOID ? this.v29_1 : photo;
|
|
2790
|
+
rating = rating === VOID ? this.w29_1 : rating;
|
|
2791
|
+
isBot = isBot === VOID ? this.x29_1 : isBot;
|
|
2792
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.y29_1 : initialLuckyFactor;
|
|
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);
|
|
2696
2794
|
};
|
|
2697
2795
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2698
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
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 + ')';
|
|
2699
2797
|
};
|
|
2700
2798
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2701
|
-
var result = this.
|
|
2702
|
-
result = imul(result, 31) + (this.p29_1 == null ? 0 : getStringHashCode(this.p29_1)) | 0;
|
|
2703
|
-
result = imul(result, 31) + (this.q29_1 == null ? 0 : getStringHashCode(this.q29_1)) | 0;
|
|
2799
|
+
var result = this.q29_1 == null ? 0 : getStringHashCode(this.q29_1);
|
|
2704
2800
|
result = imul(result, 31) + (this.r29_1 == null ? 0 : getStringHashCode(this.r29_1)) | 0;
|
|
2705
2801
|
result = imul(result, 31) + (this.s29_1 == null ? 0 : getStringHashCode(this.s29_1)) | 0;
|
|
2706
2802
|
result = imul(result, 31) + (this.t29_1 == null ? 0 : getStringHashCode(this.t29_1)) | 0;
|
|
2707
|
-
result = imul(result, 31) + (this.u29_1 == null ? 0 :
|
|
2708
|
-
result = imul(result, 31) + (this.v29_1 == null ? 0 :
|
|
2803
|
+
result = imul(result, 31) + (this.u29_1 == null ? 0 : getStringHashCode(this.u29_1)) | 0;
|
|
2804
|
+
result = imul(result, 31) + (this.v29_1 == null ? 0 : getStringHashCode(this.v29_1)) | 0;
|
|
2805
|
+
result = imul(result, 31) + (this.w29_1 == null ? 0 : getNumberHashCode(this.w29_1)) | 0;
|
|
2806
|
+
result = imul(result, 31) + (this.x29_1 == null ? 0 : getBooleanHashCode(this.x29_1)) | 0;
|
|
2807
|
+
result = imul(result, 31) + (this.y29_1 == null ? 0 : getNumberHashCode(this.y29_1)) | 0;
|
|
2709
2808
|
return result;
|
|
2710
2809
|
};
|
|
2711
2810
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2714,10 +2813,6 @@
|
|
|
2714
2813
|
if (!(other instanceof GameUserInfoDto))
|
|
2715
2814
|
return false;
|
|
2716
2815
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2717
|
-
if (!(this.o29_1 == tmp0_other_with_cast.o29_1))
|
|
2718
|
-
return false;
|
|
2719
|
-
if (!(this.p29_1 == tmp0_other_with_cast.p29_1))
|
|
2720
|
-
return false;
|
|
2721
2816
|
if (!(this.q29_1 == tmp0_other_with_cast.q29_1))
|
|
2722
2817
|
return false;
|
|
2723
2818
|
if (!(this.r29_1 == tmp0_other_with_cast.r29_1))
|
|
@@ -2728,7 +2823,13 @@
|
|
|
2728
2823
|
return false;
|
|
2729
2824
|
if (!(this.u29_1 == tmp0_other_with_cast.u29_1))
|
|
2730
2825
|
return false;
|
|
2731
|
-
if (!
|
|
2826
|
+
if (!(this.v29_1 == tmp0_other_with_cast.v29_1))
|
|
2827
|
+
return false;
|
|
2828
|
+
if (!equals(this.w29_1, tmp0_other_with_cast.w29_1))
|
|
2829
|
+
return false;
|
|
2830
|
+
if (!(this.x29_1 == tmp0_other_with_cast.x29_1))
|
|
2831
|
+
return false;
|
|
2832
|
+
if (!equals(this.y29_1, tmp0_other_with_cast.y29_1))
|
|
2732
2833
|
return false;
|
|
2733
2834
|
return true;
|
|
2734
2835
|
};
|
|
@@ -2738,7 +2839,7 @@
|
|
|
2738
2839
|
// Inline function 'kotlin.arrayOf' call
|
|
2739
2840
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2740
2841
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2741
|
-
tmp.
|
|
2842
|
+
tmp.p2a_1 = [Companion_getInstance_7().o17(), null, null];
|
|
2742
2843
|
}
|
|
2743
2844
|
var Companion_instance_15;
|
|
2744
2845
|
function Companion_getInstance_17() {
|
|
@@ -2748,6 +2849,385 @@
|
|
|
2748
2849
|
}
|
|
2749
2850
|
function $serializer_6() {
|
|
2750
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;
|
|
2751
3231
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 24);
|
|
2752
3232
|
tmp0_serialDesc.xu('needToPutHigherTrump', true);
|
|
2753
3233
|
tmp0_serialDesc.xu('playerWhoChooseSuitGoFirst', true);
|
|
@@ -2773,91 +3253,91 @@
|
|
|
2773
3253
|
tmp0_serialDesc.xu('fineIfNoBribes', true);
|
|
2774
3254
|
tmp0_serialDesc.xu('enableFineAfterThirdByte', true);
|
|
2775
3255
|
tmp0_serialDesc.xu('fineAfterThirdFailedContract', true);
|
|
2776
|
-
this.
|
|
3256
|
+
this.w2a_1 = tmp0_serialDesc;
|
|
2777
3257
|
}
|
|
2778
|
-
protoOf($
|
|
2779
|
-
var tmp0_desc = this.
|
|
3258
|
+
protoOf($serializer_8).x2a = function (encoder, value) {
|
|
3259
|
+
var tmp0_desc = this.w2a_1;
|
|
2780
3260
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
2781
|
-
var tmp2_cached =
|
|
2782
|
-
if (tmp1_output.ep(tmp0_desc, 0) ? true : !(value.
|
|
2783
|
-
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);
|
|
2784
3264
|
}
|
|
2785
|
-
if (tmp1_output.ep(tmp0_desc, 1) ? true : !(value.
|
|
2786
|
-
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);
|
|
2787
3267
|
}
|
|
2788
|
-
if (tmp1_output.ep(tmp0_desc, 2) ? true : !(value.
|
|
2789
|
-
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);
|
|
2790
3270
|
}
|
|
2791
|
-
if (tmp1_output.ep(tmp0_desc, 3) ? true : !(value.
|
|
2792
|
-
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);
|
|
2793
3273
|
}
|
|
2794
|
-
if (tmp1_output.ep(tmp0_desc, 4) ? true : !(value.
|
|
2795
|
-
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);
|
|
2796
3276
|
}
|
|
2797
|
-
if (tmp1_output.ep(tmp0_desc, 5) ? true : !(value.
|
|
2798
|
-
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);
|
|
2799
3279
|
}
|
|
2800
|
-
if (tmp1_output.ep(tmp0_desc, 6) ? true : !(value.
|
|
2801
|
-
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);
|
|
2802
3282
|
}
|
|
2803
|
-
if (tmp1_output.ep(tmp0_desc, 7) ? true : !(value.
|
|
2804
|
-
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);
|
|
2805
3285
|
}
|
|
2806
|
-
if (tmp1_output.ep(tmp0_desc, 8) ? true : !(value.
|
|
2807
|
-
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);
|
|
2808
3288
|
}
|
|
2809
|
-
if (tmp1_output.ep(tmp0_desc, 9) ? true : !(value.
|
|
2810
|
-
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);
|
|
2811
3291
|
}
|
|
2812
|
-
if (tmp1_output.ep(tmp0_desc, 10) ? true : !(value.
|
|
2813
|
-
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);
|
|
2814
3294
|
}
|
|
2815
|
-
if (tmp1_output.ep(tmp0_desc, 11) ? true : !(value.
|
|
2816
|
-
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);
|
|
2817
3297
|
}
|
|
2818
|
-
if (tmp1_output.ep(tmp0_desc, 12) ? true : !(value.
|
|
2819
|
-
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);
|
|
2820
3300
|
}
|
|
2821
|
-
if (tmp1_output.ep(tmp0_desc, 13) ? true : !(value.
|
|
2822
|
-
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);
|
|
2823
3303
|
}
|
|
2824
|
-
if (tmp1_output.ep(tmp0_desc, 14) ? true : !(value.
|
|
2825
|
-
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);
|
|
2826
3306
|
}
|
|
2827
|
-
if (tmp1_output.ep(tmp0_desc, 15) ? true : !(value.
|
|
2828
|
-
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);
|
|
2829
3309
|
}
|
|
2830
|
-
if (tmp1_output.ep(tmp0_desc, 16) ? true : !(value.
|
|
2831
|
-
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);
|
|
2832
3312
|
}
|
|
2833
|
-
if (tmp1_output.ep(tmp0_desc, 17) ? true : !(value.
|
|
2834
|
-
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);
|
|
2835
3315
|
}
|
|
2836
|
-
if (tmp1_output.ep(tmp0_desc, 18) ? true : !(value.
|
|
2837
|
-
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);
|
|
2838
3318
|
}
|
|
2839
|
-
if (tmp1_output.ep(tmp0_desc, 19) ? true : !(value.
|
|
2840
|
-
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);
|
|
2841
3321
|
}
|
|
2842
|
-
if (tmp1_output.ep(tmp0_desc, 20) ? true : !(value.
|
|
2843
|
-
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);
|
|
2844
3324
|
}
|
|
2845
|
-
if (tmp1_output.ep(tmp0_desc, 21) ? true : !(value.
|
|
2846
|
-
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);
|
|
2847
3327
|
}
|
|
2848
|
-
if (tmp1_output.ep(tmp0_desc, 22) ? true : !(value.
|
|
2849
|
-
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);
|
|
2850
3330
|
}
|
|
2851
|
-
if (tmp1_output.ep(tmp0_desc, 23) ? true : !(value.
|
|
2852
|
-
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);
|
|
2853
3333
|
}
|
|
2854
3334
|
tmp1_output.in(tmp0_desc);
|
|
2855
3335
|
};
|
|
2856
|
-
protoOf($
|
|
2857
|
-
return this.
|
|
3336
|
+
protoOf($serializer_8).zj = function (encoder, value) {
|
|
3337
|
+
return this.x2a(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2858
3338
|
};
|
|
2859
|
-
protoOf($
|
|
2860
|
-
var tmp0_desc = this.
|
|
3339
|
+
protoOf($serializer_8).ak = function (decoder) {
|
|
3340
|
+
var tmp0_desc = this.w2a_1;
|
|
2861
3341
|
var tmp1_flag = true;
|
|
2862
3342
|
var tmp2_index = 0;
|
|
2863
3343
|
var tmp3_bitMask0 = 0;
|
|
@@ -2886,7 +3366,7 @@
|
|
|
2886
3366
|
var tmp26_local22 = null;
|
|
2887
3367
|
var tmp27_local23 = null;
|
|
2888
3368
|
var tmp28_input = decoder.hn(tmp0_desc);
|
|
2889
|
-
var tmp29_cached =
|
|
3369
|
+
var tmp29_cached = Companion_getInstance_19().v2a_1;
|
|
2890
3370
|
if (tmp28_input.xn()) {
|
|
2891
3371
|
tmp4_local0 = tmp28_input.vn(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
2892
3372
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3046,129 +3526,129 @@
|
|
|
3046
3526
|
tmp28_input.in(tmp0_desc);
|
|
3047
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);
|
|
3048
3528
|
};
|
|
3049
|
-
protoOf($
|
|
3050
|
-
return this.
|
|
3529
|
+
protoOf($serializer_8).yj = function () {
|
|
3530
|
+
return this.w2a_1;
|
|
3051
3531
|
};
|
|
3052
|
-
protoOf($
|
|
3053
|
-
var tmp0_cached =
|
|
3532
|
+
protoOf($serializer_8).mv = function () {
|
|
3533
|
+
var tmp0_cached = Companion_getInstance_19().v2a_1;
|
|
3054
3534
|
// Inline function 'kotlin.arrayOf' call
|
|
3055
3535
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3056
3536
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3057
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())];
|
|
3058
3538
|
};
|
|
3059
|
-
var $
|
|
3060
|
-
function $
|
|
3061
|
-
if ($
|
|
3062
|
-
new $
|
|
3063
|
-
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;
|
|
3064
3544
|
}
|
|
3065
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) {
|
|
3066
3546
|
if (!(0 === (0 & seen0))) {
|
|
3067
|
-
throwMissingFieldException(seen0, 0, $
|
|
3547
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_8().w2a_1);
|
|
3068
3548
|
}
|
|
3069
3549
|
if (0 === (seen0 & 1))
|
|
3070
|
-
$this.
|
|
3550
|
+
$this.y2a_1 = null;
|
|
3071
3551
|
else
|
|
3072
|
-
$this.
|
|
3552
|
+
$this.y2a_1 = needToPutHigherTrump;
|
|
3073
3553
|
if (0 === (seen0 & 2))
|
|
3074
|
-
$this.
|
|
3554
|
+
$this.z2a_1 = null;
|
|
3075
3555
|
else
|
|
3076
|
-
$this.
|
|
3556
|
+
$this.z2a_1 = playerWhoChooseSuitGoFirst;
|
|
3077
3557
|
if (0 === (seen0 & 4))
|
|
3078
|
-
$this.
|
|
3558
|
+
$this.a2b_1 = null;
|
|
3079
3559
|
else
|
|
3080
|
-
$this.
|
|
3560
|
+
$this.a2b_1 = winnerShuffleCards;
|
|
3081
3561
|
if (0 === (seen0 & 8))
|
|
3082
|
-
$this.
|
|
3562
|
+
$this.b2b_1 = null;
|
|
3083
3563
|
else
|
|
3084
|
-
$this.
|
|
3564
|
+
$this.b2b_1 = playWithoutLiabilities;
|
|
3085
3565
|
if (0 === (seen0 & 16))
|
|
3086
|
-
$this.
|
|
3566
|
+
$this.c2b_1 = null;
|
|
3087
3567
|
else
|
|
3088
|
-
$this.
|
|
3568
|
+
$this.c2b_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
3089
3569
|
if (0 === (seen0 & 32))
|
|
3090
|
-
$this.
|
|
3570
|
+
$this.d2b_1 = null;
|
|
3091
3571
|
else
|
|
3092
|
-
$this.
|
|
3572
|
+
$this.d2b_1 = dealerInitialCardsCount;
|
|
3093
3573
|
if (0 === (seen0 & 64))
|
|
3094
|
-
$this.
|
|
3574
|
+
$this.e2b_1 = null;
|
|
3095
3575
|
else
|
|
3096
|
-
$this.
|
|
3576
|
+
$this.e2b_1 = dealerFinalCardsCount;
|
|
3097
3577
|
if (0 === (seen0 & 128))
|
|
3098
|
-
$this.
|
|
3578
|
+
$this.f2b_1 = null;
|
|
3099
3579
|
else
|
|
3100
|
-
$this.
|
|
3580
|
+
$this.f2b_1 = dealerCounterClockwise;
|
|
3101
3581
|
if (0 === (seen0 & 256))
|
|
3102
|
-
$this.
|
|
3582
|
+
$this.g2b_1 = null;
|
|
3103
3583
|
else
|
|
3104
|
-
$this.
|
|
3584
|
+
$this.g2b_1 = contractTypes;
|
|
3105
3585
|
if (0 === (seen0 & 512))
|
|
3106
|
-
$this.
|
|
3586
|
+
$this.h2b_1 = null;
|
|
3107
3587
|
else
|
|
3108
|
-
$this.
|
|
3588
|
+
$this.h2b_1 = bidTypes;
|
|
3109
3589
|
if (0 === (seen0 & 1024))
|
|
3110
|
-
$this.
|
|
3590
|
+
$this.i2b_1 = null;
|
|
3111
3591
|
else
|
|
3112
|
-
$this.
|
|
3592
|
+
$this.i2b_1 = combinationsWithFirstCard;
|
|
3113
3593
|
if (0 === (seen0 & 2048))
|
|
3114
|
-
$this.
|
|
3594
|
+
$this.j2b_1 = null;
|
|
3115
3595
|
else
|
|
3116
|
-
$this.
|
|
3596
|
+
$this.j2b_1 = protectBella;
|
|
3117
3597
|
if (0 === (seen0 & 4096))
|
|
3118
|
-
$this.
|
|
3598
|
+
$this.k2b_1 = null;
|
|
3119
3599
|
else
|
|
3120
|
-
$this.
|
|
3600
|
+
$this.k2b_1 = oneTryToProtectBella;
|
|
3121
3601
|
if (0 === (seen0 & 8192))
|
|
3122
|
-
$this.
|
|
3602
|
+
$this.l2b_1 = null;
|
|
3123
3603
|
else
|
|
3124
|
-
$this.
|
|
3604
|
+
$this.l2b_1 = enableFourSevensCombination;
|
|
3125
3605
|
if (0 === (seen0 & 16384))
|
|
3126
|
-
$this.
|
|
3606
|
+
$this.m2b_1 = null;
|
|
3127
3607
|
else
|
|
3128
|
-
$this.
|
|
3608
|
+
$this.m2b_1 = enableTrumpSevenCombination;
|
|
3129
3609
|
if (0 === (seen0 & 32768))
|
|
3130
|
-
$this.
|
|
3610
|
+
$this.n2b_1 = null;
|
|
3131
3611
|
else
|
|
3132
|
-
$this.
|
|
3612
|
+
$this.n2b_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
3133
3613
|
if (0 === (seen0 & 65536))
|
|
3134
|
-
$this.
|
|
3614
|
+
$this.o2b_1 = null;
|
|
3135
3615
|
else
|
|
3136
|
-
$this.
|
|
3616
|
+
$this.o2b_1 = checkTrumpCombination;
|
|
3137
3617
|
if (0 === (seen0 & 131072))
|
|
3138
|
-
$this.
|
|
3618
|
+
$this.p2b_1 = null;
|
|
3139
3619
|
else
|
|
3140
|
-
$this.
|
|
3620
|
+
$this.p2b_1 = checkOnlyTrumpDebertz;
|
|
3141
3621
|
if (0 === (seen0 & 262144))
|
|
3142
|
-
$this.
|
|
3622
|
+
$this.q2b_1 = null;
|
|
3143
3623
|
else
|
|
3144
|
-
$this.
|
|
3624
|
+
$this.q2b_1 = distributePoints;
|
|
3145
3625
|
if (0 === (seen0 & 524288))
|
|
3146
|
-
$this.
|
|
3626
|
+
$this.r2b_1 = null;
|
|
3147
3627
|
else
|
|
3148
|
-
$this.
|
|
3628
|
+
$this.r2b_1 = pointsDistributeMode;
|
|
3149
3629
|
if (0 === (seen0 & 1048576))
|
|
3150
|
-
$this.
|
|
3630
|
+
$this.s2b_1 = null;
|
|
3151
3631
|
else
|
|
3152
|
-
$this.
|
|
3632
|
+
$this.s2b_1 = enableFineIfNoBribes;
|
|
3153
3633
|
if (0 === (seen0 & 2097152))
|
|
3154
|
-
$this.
|
|
3634
|
+
$this.t2b_1 = null;
|
|
3155
3635
|
else
|
|
3156
|
-
$this.
|
|
3636
|
+
$this.t2b_1 = fineIfNoBribes;
|
|
3157
3637
|
if (0 === (seen0 & 4194304))
|
|
3158
|
-
$this.
|
|
3638
|
+
$this.u2b_1 = null;
|
|
3159
3639
|
else
|
|
3160
|
-
$this.
|
|
3640
|
+
$this.u2b_1 = enableFineAfterThirdByte;
|
|
3161
3641
|
if (0 === (seen0 & 8388608))
|
|
3162
|
-
$this.
|
|
3642
|
+
$this.v2b_1 = null;
|
|
3163
3643
|
else
|
|
3164
|
-
$this.
|
|
3644
|
+
$this.v2b_1 = fineAfterThirdFailedContract;
|
|
3165
3645
|
return $this;
|
|
3166
3646
|
}
|
|
3167
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) {
|
|
3168
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)));
|
|
3169
3649
|
}
|
|
3170
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) {
|
|
3171
|
-
|
|
3651
|
+
Companion_getInstance_19();
|
|
3172
3652
|
needToPutHigherTrump = needToPutHigherTrump === VOID ? null : needToPutHigherTrump;
|
|
3173
3653
|
playerWhoChooseSuitGoFirst = playerWhoChooseSuitGoFirst === VOID ? null : playerWhoChooseSuitGoFirst;
|
|
3174
3654
|
winnerShuffleCards = winnerShuffleCards === VOID ? null : winnerShuffleCards;
|
|
@@ -3193,59 +3673,59 @@
|
|
|
3193
3673
|
fineIfNoBribes = fineIfNoBribes === VOID ? null : fineIfNoBribes;
|
|
3194
3674
|
enableFineAfterThirdByte = enableFineAfterThirdByte === VOID ? null : enableFineAfterThirdByte;
|
|
3195
3675
|
fineAfterThirdFailedContract = fineAfterThirdFailedContract === VOID ? null : fineAfterThirdFailedContract;
|
|
3196
|
-
this.
|
|
3197
|
-
this.
|
|
3198
|
-
this.
|
|
3199
|
-
this.
|
|
3200
|
-
this.
|
|
3201
|
-
this.
|
|
3202
|
-
this.
|
|
3203
|
-
this.
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
this.
|
|
3207
|
-
this.
|
|
3208
|
-
this.
|
|
3209
|
-
this.
|
|
3210
|
-
this.
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3215
|
-
this.
|
|
3216
|
-
this.
|
|
3217
|
-
this.
|
|
3218
|
-
this.
|
|
3219
|
-
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;
|
|
3220
3700
|
}
|
|
3221
3701
|
protoOf(RulesDto).toString = function () {
|
|
3222
|
-
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 + ')';
|
|
3223
3703
|
};
|
|
3224
3704
|
protoOf(RulesDto).hashCode = function () {
|
|
3225
|
-
var result = this.
|
|
3226
|
-
result = imul(result, 31) + (this.
|
|
3227
|
-
result = imul(result, 31) + (this.g2a_1 == null ? 0 : getBooleanHashCode(this.g2a_1)) | 0;
|
|
3228
|
-
result = imul(result, 31) + (this.h2a_1 == null ? 0 : getBooleanHashCode(this.h2a_1)) | 0;
|
|
3229
|
-
result = imul(result, 31) + (this.i2a_1 == null ? 0 : getBooleanHashCode(this.i2a_1)) | 0;
|
|
3230
|
-
result = imul(result, 31) + (this.j2a_1 == null ? 0 : this.j2a_1) | 0;
|
|
3231
|
-
result = imul(result, 31) + (this.k2a_1 == null ? 0 : this.k2a_1) | 0;
|
|
3232
|
-
result = imul(result, 31) + (this.l2a_1 == null ? 0 : getBooleanHashCode(this.l2a_1)) | 0;
|
|
3233
|
-
result = imul(result, 31) + (this.m2a_1 == null ? 0 : hashCode(this.m2a_1)) | 0;
|
|
3234
|
-
result = imul(result, 31) + (this.n2a_1 == null ? 0 : hashCode(this.n2a_1)) | 0;
|
|
3235
|
-
result = imul(result, 31) + (this.o2a_1 == null ? 0 : hashCode(this.o2a_1)) | 0;
|
|
3236
|
-
result = imul(result, 31) + (this.p2a_1 == null ? 0 : getBooleanHashCode(this.p2a_1)) | 0;
|
|
3237
|
-
result = imul(result, 31) + (this.q2a_1 == null ? 0 : getBooleanHashCode(this.q2a_1)) | 0;
|
|
3238
|
-
result = imul(result, 31) + (this.r2a_1 == null ? 0 : getBooleanHashCode(this.r2a_1)) | 0;
|
|
3239
|
-
result = imul(result, 31) + (this.s2a_1 == null ? 0 : getBooleanHashCode(this.s2a_1)) | 0;
|
|
3240
|
-
result = imul(result, 31) + (this.t2a_1 == null ? 0 : getBooleanHashCode(this.t2a_1)) | 0;
|
|
3241
|
-
result = imul(result, 31) + (this.u2a_1 == null ? 0 : getBooleanHashCode(this.u2a_1)) | 0;
|
|
3242
|
-
result = imul(result, 31) + (this.v2a_1 == null ? 0 : getBooleanHashCode(this.v2a_1)) | 0;
|
|
3243
|
-
result = imul(result, 31) + (this.w2a_1 == null ? 0 : getBooleanHashCode(this.w2a_1)) | 0;
|
|
3244
|
-
result = imul(result, 31) + (this.x2a_1 == null ? 0 : getStringHashCode(this.x2a_1)) | 0;
|
|
3245
|
-
result = imul(result, 31) + (this.y2a_1 == null ? 0 : getBooleanHashCode(this.y2a_1)) | 0;
|
|
3246
|
-
result = imul(result, 31) + (this.z2a_1 == null ? 0 : this.z2a_1) | 0;
|
|
3705
|
+
var result = this.y2a_1 == null ? 0 : getBooleanHashCode(this.y2a_1);
|
|
3706
|
+
result = imul(result, 31) + (this.z2a_1 == null ? 0 : getBooleanHashCode(this.z2a_1)) | 0;
|
|
3247
3707
|
result = imul(result, 31) + (this.a2b_1 == null ? 0 : getBooleanHashCode(this.a2b_1)) | 0;
|
|
3248
|
-
result = imul(result, 31) + (this.b2b_1 == null ? 0 : this.b2b_1) | 0;
|
|
3708
|
+
result = imul(result, 31) + (this.b2b_1 == null ? 0 : getBooleanHashCode(this.b2b_1)) | 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;
|
|
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;
|
|
3249
3729
|
return result;
|
|
3250
3730
|
};
|
|
3251
3731
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3254,53 +3734,53 @@
|
|
|
3254
3734
|
if (!(other instanceof RulesDto))
|
|
3255
3735
|
return false;
|
|
3256
3736
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3257
|
-
if (!(this.
|
|
3737
|
+
if (!(this.y2a_1 == tmp0_other_with_cast.y2a_1))
|
|
3258
3738
|
return false;
|
|
3259
|
-
if (!(this.
|
|
3739
|
+
if (!(this.z2a_1 == tmp0_other_with_cast.z2a_1))
|
|
3260
3740
|
return false;
|
|
3261
|
-
if (!(this.
|
|
3741
|
+
if (!(this.a2b_1 == tmp0_other_with_cast.a2b_1))
|
|
3262
3742
|
return false;
|
|
3263
|
-
if (!(this.
|
|
3743
|
+
if (!(this.b2b_1 == tmp0_other_with_cast.b2b_1))
|
|
3264
3744
|
return false;
|
|
3265
|
-
if (!(this.
|
|
3745
|
+
if (!(this.c2b_1 == tmp0_other_with_cast.c2b_1))
|
|
3266
3746
|
return false;
|
|
3267
|
-
if (!(this.
|
|
3747
|
+
if (!(this.d2b_1 == tmp0_other_with_cast.d2b_1))
|
|
3268
3748
|
return false;
|
|
3269
|
-
if (!(this.
|
|
3749
|
+
if (!(this.e2b_1 == tmp0_other_with_cast.e2b_1))
|
|
3270
3750
|
return false;
|
|
3271
|
-
if (!(this.
|
|
3751
|
+
if (!(this.f2b_1 == tmp0_other_with_cast.f2b_1))
|
|
3272
3752
|
return false;
|
|
3273
|
-
if (!equals(this.
|
|
3753
|
+
if (!equals(this.g2b_1, tmp0_other_with_cast.g2b_1))
|
|
3274
3754
|
return false;
|
|
3275
|
-
if (!equals(this.
|
|
3755
|
+
if (!equals(this.h2b_1, tmp0_other_with_cast.h2b_1))
|
|
3276
3756
|
return false;
|
|
3277
|
-
if (!equals(this.
|
|
3757
|
+
if (!equals(this.i2b_1, tmp0_other_with_cast.i2b_1))
|
|
3278
3758
|
return false;
|
|
3279
|
-
if (!(this.
|
|
3759
|
+
if (!(this.j2b_1 == tmp0_other_with_cast.j2b_1))
|
|
3280
3760
|
return false;
|
|
3281
|
-
if (!(this.
|
|
3761
|
+
if (!(this.k2b_1 == tmp0_other_with_cast.k2b_1))
|
|
3282
3762
|
return false;
|
|
3283
|
-
if (!(this.
|
|
3763
|
+
if (!(this.l2b_1 == tmp0_other_with_cast.l2b_1))
|
|
3284
3764
|
return false;
|
|
3285
|
-
if (!(this.
|
|
3765
|
+
if (!(this.m2b_1 == tmp0_other_with_cast.m2b_1))
|
|
3286
3766
|
return false;
|
|
3287
|
-
if (!(this.
|
|
3767
|
+
if (!(this.n2b_1 == tmp0_other_with_cast.n2b_1))
|
|
3288
3768
|
return false;
|
|
3289
|
-
if (!(this.
|
|
3769
|
+
if (!(this.o2b_1 == tmp0_other_with_cast.o2b_1))
|
|
3290
3770
|
return false;
|
|
3291
|
-
if (!(this.
|
|
3771
|
+
if (!(this.p2b_1 == tmp0_other_with_cast.p2b_1))
|
|
3292
3772
|
return false;
|
|
3293
|
-
if (!(this.
|
|
3773
|
+
if (!(this.q2b_1 == tmp0_other_with_cast.q2b_1))
|
|
3294
3774
|
return false;
|
|
3295
|
-
if (!(this.
|
|
3775
|
+
if (!(this.r2b_1 == tmp0_other_with_cast.r2b_1))
|
|
3296
3776
|
return false;
|
|
3297
|
-
if (!(this.
|
|
3777
|
+
if (!(this.s2b_1 == tmp0_other_with_cast.s2b_1))
|
|
3298
3778
|
return false;
|
|
3299
|
-
if (!(this.
|
|
3779
|
+
if (!(this.t2b_1 == tmp0_other_with_cast.t2b_1))
|
|
3300
3780
|
return false;
|
|
3301
|
-
if (!(this.
|
|
3781
|
+
if (!(this.u2b_1 == tmp0_other_with_cast.u2b_1))
|
|
3302
3782
|
return false;
|
|
3303
|
-
if (!(this.
|
|
3783
|
+
if (!(this.v2b_1 == tmp0_other_with_cast.v2b_1))
|
|
3304
3784
|
return false;
|
|
3305
3785
|
return true;
|
|
3306
3786
|
};
|
|
@@ -3423,7 +3903,7 @@
|
|
|
3423
3903
|
return nextItemIndex > get_lastIndex(_this__u8e3s4) ? null : _this__u8e3s4.o(nextItemIndex);
|
|
3424
3904
|
}
|
|
3425
3905
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
3426
|
-
return $this.
|
|
3906
|
+
return $this.c2c_1.a2();
|
|
3427
3907
|
}
|
|
3428
3908
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
3429
3909
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
|
|
@@ -3459,24 +3939,24 @@
|
|
|
3459
3939
|
$ENTRIES_1 = enumEntries(values_3());
|
|
3460
3940
|
return $ENTRIES_1;
|
|
3461
3941
|
}
|
|
3462
|
-
function
|
|
3463
|
-
|
|
3942
|
+
function Companion_18() {
|
|
3943
|
+
Companion_instance_18 = this;
|
|
3464
3944
|
var tmp = this;
|
|
3465
3945
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3466
|
-
tmp.
|
|
3946
|
+
tmp.c2c_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
3467
3947
|
}
|
|
3468
|
-
protoOf(
|
|
3948
|
+
protoOf(Companion_18).o17 = function () {
|
|
3469
3949
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
3470
3950
|
};
|
|
3471
|
-
protoOf(
|
|
3951
|
+
protoOf(Companion_18).xv = function (typeParamsSerializers) {
|
|
3472
3952
|
return this.o17();
|
|
3473
3953
|
};
|
|
3474
|
-
var
|
|
3475
|
-
function
|
|
3954
|
+
var Companion_instance_18;
|
|
3955
|
+
function Companion_getInstance_20() {
|
|
3476
3956
|
LogType_initEntries();
|
|
3477
|
-
if (
|
|
3478
|
-
new
|
|
3479
|
-
return
|
|
3957
|
+
if (Companion_instance_18 == null)
|
|
3958
|
+
new Companion_18();
|
|
3959
|
+
return Companion_instance_18;
|
|
3480
3960
|
}
|
|
3481
3961
|
var LogType_entriesInitialized;
|
|
3482
3962
|
function LogType_initEntries() {
|
|
@@ -3488,7 +3968,7 @@
|
|
|
3488
3968
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
3489
3969
|
LogType_VERBOSE_instance = new LogType('VERBOSE', 3);
|
|
3490
3970
|
LogType_INFO_instance = new LogType('INFO', 4);
|
|
3491
|
-
|
|
3971
|
+
Companion_getInstance_20();
|
|
3492
3972
|
}
|
|
3493
3973
|
var $ENTRIES_1;
|
|
3494
3974
|
function LogType(name, ordinal) {
|
|
@@ -3516,37 +3996,37 @@
|
|
|
3516
3996
|
}
|
|
3517
3997
|
function ObservableLoggerOutput() {
|
|
3518
3998
|
}
|
|
3519
|
-
function
|
|
3520
|
-
|
|
3999
|
+
function Companion_19() {
|
|
4000
|
+
Companion_instance_19 = this;
|
|
3521
4001
|
var tmp = this;
|
|
3522
4002
|
// Inline function 'kotlin.arrayOf' call
|
|
3523
4003
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3524
4004
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3525
|
-
tmp.
|
|
4005
|
+
tmp.i2c_1 = [Companion_getInstance_20().o17(), null, null, null, null];
|
|
3526
4006
|
}
|
|
3527
|
-
protoOf(
|
|
3528
|
-
return $
|
|
4007
|
+
protoOf(Companion_19).o17 = function () {
|
|
4008
|
+
return $serializer_getInstance_9();
|
|
3529
4009
|
};
|
|
3530
|
-
var
|
|
3531
|
-
function
|
|
3532
|
-
if (
|
|
3533
|
-
new
|
|
3534
|
-
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;
|
|
3535
4015
|
}
|
|
3536
|
-
function $
|
|
3537
|
-
$
|
|
4016
|
+
function $serializer_9() {
|
|
4017
|
+
$serializer_instance_9 = this;
|
|
3538
4018
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 5);
|
|
3539
4019
|
tmp0_serialDesc.xu('type', false);
|
|
3540
4020
|
tmp0_serialDesc.xu('key', false);
|
|
3541
4021
|
tmp0_serialDesc.xu('tag', false);
|
|
3542
4022
|
tmp0_serialDesc.xu('message', false);
|
|
3543
4023
|
tmp0_serialDesc.xu('stackTrace', false);
|
|
3544
|
-
this.
|
|
4024
|
+
this.j2c_1 = tmp0_serialDesc;
|
|
3545
4025
|
}
|
|
3546
|
-
protoOf($
|
|
3547
|
-
var tmp0_desc = this.
|
|
4026
|
+
protoOf($serializer_9).k2c = function (encoder, value) {
|
|
4027
|
+
var tmp0_desc = this.j2c_1;
|
|
3548
4028
|
var tmp1_output = encoder.hn(tmp0_desc);
|
|
3549
|
-
var tmp2_cached =
|
|
4029
|
+
var tmp2_cached = Companion_getInstance_21().i2c_1;
|
|
3550
4030
|
tmp1_output.yo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
3551
4031
|
tmp1_output.ap(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
|
|
3552
4032
|
tmp1_output.ap(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
|
|
@@ -3554,11 +4034,11 @@
|
|
|
3554
4034
|
tmp1_output.ap(tmp0_desc, 4, StringSerializer_getInstance(), value.stackTrace);
|
|
3555
4035
|
tmp1_output.in(tmp0_desc);
|
|
3556
4036
|
};
|
|
3557
|
-
protoOf($
|
|
3558
|
-
return this.
|
|
4037
|
+
protoOf($serializer_9).zj = function (encoder, value) {
|
|
4038
|
+
return this.k2c(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
3559
4039
|
};
|
|
3560
|
-
protoOf($
|
|
3561
|
-
var tmp0_desc = this.
|
|
4040
|
+
protoOf($serializer_9).ak = function (decoder) {
|
|
4041
|
+
var tmp0_desc = this.j2c_1;
|
|
3562
4042
|
var tmp1_flag = true;
|
|
3563
4043
|
var tmp2_index = 0;
|
|
3564
4044
|
var tmp3_bitMask0 = 0;
|
|
@@ -3568,7 +4048,7 @@
|
|
|
3568
4048
|
var tmp7_local3 = null;
|
|
3569
4049
|
var tmp8_local4 = null;
|
|
3570
4050
|
var tmp9_input = decoder.hn(tmp0_desc);
|
|
3571
|
-
var tmp10_cached =
|
|
4051
|
+
var tmp10_cached = Companion_getInstance_21().i2c_1;
|
|
3572
4052
|
if (tmp9_input.xn()) {
|
|
3573
4053
|
tmp4_local0 = tmp9_input.tn(tmp0_desc, 0, tmp10_cached[0], tmp4_local0);
|
|
3574
4054
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3614,24 +4094,24 @@
|
|
|
3614
4094
|
tmp9_input.in(tmp0_desc);
|
|
3615
4095
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3616
4096
|
};
|
|
3617
|
-
protoOf($
|
|
3618
|
-
return this.
|
|
4097
|
+
protoOf($serializer_9).yj = function () {
|
|
4098
|
+
return this.j2c_1;
|
|
3619
4099
|
};
|
|
3620
|
-
protoOf($
|
|
4100
|
+
protoOf($serializer_9).mv = function () {
|
|
3621
4101
|
// Inline function 'kotlin.arrayOf' call
|
|
3622
4102
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3623
4103
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3624
|
-
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())];
|
|
3625
4105
|
};
|
|
3626
|
-
var $
|
|
3627
|
-
function $
|
|
3628
|
-
if ($
|
|
3629
|
-
new $
|
|
3630
|
-
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;
|
|
3631
4111
|
}
|
|
3632
4112
|
function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
3633
4113
|
if (!(31 === (31 & seen0))) {
|
|
3634
|
-
throwMissingFieldException(seen0, 31, $
|
|
4114
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_9().j2c_1);
|
|
3635
4115
|
}
|
|
3636
4116
|
$this.type = type;
|
|
3637
4117
|
$this.key = key;
|
|
@@ -3644,7 +4124,7 @@
|
|
|
3644
4124
|
return LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
3645
4125
|
}
|
|
3646
4126
|
function LoggerOutputDataDto(type, key, tag, message, stackTrace) {
|
|
3647
|
-
|
|
4127
|
+
Companion_getInstance_21();
|
|
3648
4128
|
this.type = type;
|
|
3649
4129
|
this.key = key;
|
|
3650
4130
|
this.tag = tag;
|
|
@@ -3663,7 +4143,7 @@
|
|
|
3663
4143
|
protoOf(LoggerOutputDataDto).e9 = function () {
|
|
3664
4144
|
return this.message;
|
|
3665
4145
|
};
|
|
3666
|
-
protoOf(LoggerOutputDataDto).
|
|
4146
|
+
protoOf(LoggerOutputDataDto).l2c = function () {
|
|
3667
4147
|
return this.stackTrace;
|
|
3668
4148
|
};
|
|
3669
4149
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -3725,10 +4205,10 @@
|
|
|
3725
4205
|
protoOf(LoggerOutputDataDto).e1x = function () {
|
|
3726
4206
|
return this.message;
|
|
3727
4207
|
};
|
|
3728
|
-
protoOf(LoggerOutputDataDto).
|
|
4208
|
+
protoOf(LoggerOutputDataDto).c27 = function () {
|
|
3729
4209
|
return this.stackTrace;
|
|
3730
4210
|
};
|
|
3731
|
-
protoOf(LoggerOutputDataDto).
|
|
4211
|
+
protoOf(LoggerOutputDataDto).m2c = function (type, key, tag, message, stackTrace) {
|
|
3732
4212
|
return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
|
|
3733
4213
|
};
|
|
3734
4214
|
protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
|
|
@@ -3737,7 +4217,7 @@
|
|
|
3737
4217
|
tag = tag === VOID ? this.tag : tag;
|
|
3738
4218
|
message = message === VOID ? this.message : message;
|
|
3739
4219
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
3740
|
-
return this.
|
|
4220
|
+
return this.m2c(type, key, tag, message, stackTrace);
|
|
3741
4221
|
};
|
|
3742
4222
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
3743
4223
|
return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -3823,16 +4303,16 @@
|
|
|
3823
4303
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
3824
4304
|
return this.g26();
|
|
3825
4305
|
});
|
|
3826
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
3827
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
3828
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
3829
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
3830
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
3831
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
3832
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
3833
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
3834
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
3835
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
4306
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).f28);
|
|
4307
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).g28);
|
|
4308
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).h28);
|
|
4309
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).i28);
|
|
4310
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).j28);
|
|
4311
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).k28);
|
|
4312
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).l28);
|
|
4313
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).m28);
|
|
4314
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).n28);
|
|
4315
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).o28);
|
|
3836
4316
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).k2);
|
|
3837
4317
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).l2);
|
|
3838
4318
|
protoOf($serializer_0).nv = typeParametersSerializers;
|
|
@@ -3842,9 +4322,11 @@
|
|
|
3842
4322
|
protoOf($serializer_4).nv = typeParametersSerializers;
|
|
3843
4323
|
protoOf($serializer_5).nv = typeParametersSerializers;
|
|
3844
4324
|
protoOf($serializer_6).nv = typeParametersSerializers;
|
|
4325
|
+
protoOf($serializer_7).nv = typeParametersSerializers;
|
|
4326
|
+
protoOf($serializer_8).nv = typeParametersSerializers;
|
|
3845
4327
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).k2);
|
|
3846
4328
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).l2);
|
|
3847
|
-
protoOf($
|
|
4329
|
+
protoOf($serializer_9).nv = typeParametersSerializers;
|
|
3848
4330
|
//endregion
|
|
3849
4331
|
//region block: init
|
|
3850
4332
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
@@ -3965,14 +4447,14 @@
|
|
|
3965
4447
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
3966
4448
|
defineProp($com$logic$utils$logger$outputs.LogType, 'VERBOSE', LogType_VERBOSE_getInstance);
|
|
3967
4449
|
defineProp($com$logic$utils$logger$outputs.LogType, 'INFO', LogType_INFO_getInstance);
|
|
3968
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
4450
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_20);
|
|
3969
4451
|
var $com = _.com || (_.com = {});
|
|
3970
4452
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
3971
4453
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
3972
4454
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
3973
4455
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
3974
4456
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
3975
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
4457
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_21);
|
|
3976
4458
|
}
|
|
3977
4459
|
$jsExportAll$(_);
|
|
3978
4460
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -3984,41 +4466,46 @@
|
|
|
3984
4466
|
_.$_$.e = PlayerState;
|
|
3985
4467
|
_.$_$.f = Team;
|
|
3986
4468
|
_.$_$.g = getPlayer;
|
|
3987
|
-
_.$_$.h =
|
|
4469
|
+
_.$_$.h = mapFromDto_10;
|
|
3988
4470
|
_.$_$.i = mapFromDto_0;
|
|
3989
|
-
_.$_$.j =
|
|
3990
|
-
_.$_$.k =
|
|
3991
|
-
_.$_$.l =
|
|
3992
|
-
_.$_$.m =
|
|
3993
|
-
_.$_$.n =
|
|
3994
|
-
_.$_$.o =
|
|
3995
|
-
_.$_$.p =
|
|
3996
|
-
_.$_$.q =
|
|
3997
|
-
_.$_$.r =
|
|
3998
|
-
_.$_$.s =
|
|
3999
|
-
_.$_$.t =
|
|
4000
|
-
_.$_$.u =
|
|
4001
|
-
_.$_$.v =
|
|
4002
|
-
_.$_$.w =
|
|
4003
|
-
_.$_$.x =
|
|
4004
|
-
_.$_$.y =
|
|
4005
|
-
_.$_$.z =
|
|
4006
|
-
_.$_$.a1 =
|
|
4007
|
-
_.$_$.b1 =
|
|
4008
|
-
_.$_$.c1 =
|
|
4009
|
-
_.$_$.d1 =
|
|
4010
|
-
_.$_$.e1 =
|
|
4011
|
-
_.$_$.f1 =
|
|
4012
|
-
_.$_$.g1 =
|
|
4013
|
-
_.$_$.h1 =
|
|
4014
|
-
_.$_$.i1 =
|
|
4015
|
-
_.$_$.j1 =
|
|
4016
|
-
_.$_$.k1 =
|
|
4017
|
-
_.$_$.l1 =
|
|
4018
|
-
_.$_$.m1 =
|
|
4019
|
-
_.$_$.n1 =
|
|
4020
|
-
_.$_$.o1 =
|
|
4021
|
-
_.$_$.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;
|
|
4022
4509
|
//endregion
|
|
4023
4510
|
return _;
|
|
4024
4511
|
}));
|