game_client_logic_deb 1.8.444 → 1.8.446
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +744 -660
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +7 -4
- package/Logic_Debertz-game_client.js +72 -70
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1098,9 +1098,9 @@
|
|
|
1098
1098
|
initMetadataForClass(PointsInteractorImpl, 'PointsInteractorImpl', VOID, VOID, [PointsInteractor]);
|
|
1099
1099
|
initMetadataForInterface(RatingCalculator, 'RatingCalculator');
|
|
1100
1100
|
initMetadataForClass(MonotonicRatingCalculatorImpl, 'MonotonicRatingCalculatorImpl', MonotonicRatingCalculatorImpl, VOID, [RatingCalculator]);
|
|
1101
|
-
function calculateRatingsForFinishedGame$default(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, $super) {
|
|
1101
|
+
function calculateRatingsForFinishedGame$default(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig, $super) {
|
|
1102
1102
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
1103
|
-
return $super === VOID ? this.
|
|
1103
|
+
return $super === VOID ? this.e8v(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig) : $super.e8v.call(this, allPlayers, config, winners, playerFinalPoints, new Duration(gameDuration), ratingConfig, leaguesConfig);
|
|
1104
1104
|
}
|
|
1105
1105
|
initMetadataForInterface(UserRatingInteractor, 'UserRatingInteractor');
|
|
1106
1106
|
initMetadataForClass(PlayerRatingOutputOrderComparator, 'PlayerRatingOutputOrderComparator', VOID, VOID, [Comparator]);
|
|
@@ -1177,7 +1177,7 @@
|
|
|
1177
1177
|
initMetadataForClass(StartGameToClientAction, 'StartGameToClientAction', VOID, ToClientAction, [ToClientAction, FirstToClientAction]);
|
|
1178
1178
|
initMetadataForClass(StartNewGameToClientAction, 'StartNewGameToClientAction', VOID, ToClientAction);
|
|
1179
1179
|
initMetadataForClass(ContinueGameToClientAction, 'ContinueGameToClientAction', VOID, ToClientAction, [ToClientAction, FirstToClientAction]);
|
|
1180
|
-
initMetadataForClass(FinishingGameToClientAction, 'FinishingGameToClientAction', VOID, ToClientAction);
|
|
1180
|
+
initMetadataForClass(FinishingGameToClientAction, 'FinishingGameToClientAction', VOID, ToClientAction, [ToClientAction, NotValidateIfGameFinished]);
|
|
1181
1181
|
initMetadataForClass(FinishGameToClientAction, 'FinishGameToClientAction', VOID, ToClientAction, [ToClientAction, NotValidateIfGameFinished]);
|
|
1182
1182
|
initMetadataForClass(RestartGameToClientAction, 'RestartGameToClientAction', VOID, ToClientAction);
|
|
1183
1183
|
initMetadataForClass(SceneToClientAction, 'SceneToClientAction', VOID, ToClientAction);
|
|
@@ -15986,7 +15986,7 @@
|
|
|
15986
15986
|
var tmp10_points = _this__u8e3s4.b7n_1;
|
|
15987
15987
|
var tmp11_timeoutTimeMillis = _this__u8e3s4.c7n_1;
|
|
15988
15988
|
var tmp3_safe_receiver = _this__u8e3s4.h7n_1;
|
|
15989
|
-
var tmp12_rules = tmp3_safe_receiver == null ? null :
|
|
15989
|
+
var tmp12_rules = tmp3_safe_receiver == null ? null : mapFromDto_64(tmp3_safe_receiver);
|
|
15990
15990
|
var tmp4_elvis_lhs = _this__u8e3s4.e7n_1;
|
|
15991
15991
|
var tmp13_isPrivate = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
15992
15992
|
var tmp14_rulesPreset = mapToRulesSetType(_this__u8e3s4.d7n_1);
|
|
@@ -15998,7 +15998,7 @@
|
|
|
15998
15998
|
}
|
|
15999
15999
|
function mapFromDto_12(_this__u8e3s4) {
|
|
16000
16000
|
_init_properties_ConfigDtoMappers_kt__5tbz05();
|
|
16001
|
-
var tmp =
|
|
16001
|
+
var tmp = mapFromDto_64(_this__u8e3s4.i7n_1);
|
|
16002
16002
|
var tmp_0 = mapToRulesSetType(_this__u8e3s4.j7n_1);
|
|
16003
16003
|
var tmp_1 = mapFromDto_13(_this__u8e3s4.k7n_1);
|
|
16004
16004
|
var tmp0_elvis_lhs = _this__u8e3s4.o7n_1;
|
|
@@ -16492,10 +16492,10 @@
|
|
|
16492
16492
|
function mapFromDto_26(_this__u8e3s4) {
|
|
16493
16493
|
var tmp = Companion_getInstance_3().nk(_this__u8e3s4.o7p_1);
|
|
16494
16494
|
var tmp0_safe_receiver = _this__u8e3s4.r7p_1;
|
|
16495
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null :
|
|
16495
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : mapFromDto_62(tmp0_safe_receiver);
|
|
16496
16496
|
var tmp_0 = tmp1_elvis_lhs == null ? Companion_instance_169.initial() : tmp1_elvis_lhs;
|
|
16497
16497
|
var tmp2_safe_receiver = _this__u8e3s4.s7p_1;
|
|
16498
|
-
return new GameInfo(tmp, _this__u8e3s4.p7p_1, tmp_0, _this__u8e3s4.q7p_1, tmp2_safe_receiver == null ? null :
|
|
16498
|
+
return new GameInfo(tmp, _this__u8e3s4.p7p_1, tmp_0, _this__u8e3s4.q7p_1, tmp2_safe_receiver == null ? null : mapFromDto_63(tmp2_safe_receiver));
|
|
16499
16499
|
}
|
|
16500
16500
|
function mapToDto_30(_this__u8e3s4) {
|
|
16501
16501
|
return new ClientGameInfoDto(_this__u8e3s4.t7p_1, mapToDto_66(_this__u8e3s4.u7p_1));
|
|
@@ -16510,7 +16510,7 @@
|
|
|
16510
16510
|
return new GameInfoDto(tmp1_createdAt, tmp2_gameNumber, tmp4_roundNumberTotal, tmp3_round, tmp5_previousRound);
|
|
16511
16511
|
}
|
|
16512
16512
|
function mapFromDto_27(_this__u8e3s4) {
|
|
16513
|
-
return new ClientGameInfo(_this__u8e3s4.x7p_1,
|
|
16513
|
+
return new ClientGameInfo(_this__u8e3s4.x7p_1, mapFromDto_62(_this__u8e3s4.y7p_1));
|
|
16514
16514
|
}
|
|
16515
16515
|
function mapToDto_32(_this__u8e3s4) {
|
|
16516
16516
|
var tmp3_round = _this__u8e3s4.round;
|
|
@@ -16610,7 +16610,7 @@
|
|
|
16610
16610
|
var tmp3_mode = tmp1_elvis_lhs == null ? RoomMode_DEFAULT_getInstance() : tmp1_elvis_lhs;
|
|
16611
16611
|
var tmp4_createdAt = _this__u8e3s4.g7q_1;
|
|
16612
16612
|
var tmp5_winners = _this__u8e3s4.d7q_1;
|
|
16613
|
-
var tmp6_config =
|
|
16613
|
+
var tmp6_config = mapFromDto_60(_this__u8e3s4.b7q_1);
|
|
16614
16614
|
// Inline function 'kotlin.collections.map' call
|
|
16615
16615
|
var this_0 = _this__u8e3s4.c7q_1;
|
|
16616
16616
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17012,7 +17012,7 @@
|
|
|
17012
17012
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
17013
17013
|
while (_iterator__ex2g4s.m()) {
|
|
17014
17014
|
var item = _iterator__ex2g4s.n();
|
|
17015
|
-
var tmp$ret$0 =
|
|
17015
|
+
var tmp$ret$0 = mapFromDto_83(item);
|
|
17016
17016
|
destination.j(tmp$ret$0);
|
|
17017
17017
|
}
|
|
17018
17018
|
tmp = destination;
|
|
@@ -17020,7 +17020,7 @@
|
|
|
17020
17020
|
var tmp1_elvis_lhs = tmp;
|
|
17021
17021
|
var tmp_0 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
17022
17022
|
var tmp2_safe_receiver = _this__u8e3s4.j7s_1;
|
|
17023
|
-
return new PlayerHistoryAnalytics(_this__u8e3s4.g7s_1, _this__u8e3s4.h7s_1, tmp_0, tmp2_safe_receiver == null ? null :
|
|
17023
|
+
return new PlayerHistoryAnalytics(_this__u8e3s4.g7s_1, _this__u8e3s4.h7s_1, tmp_0, tmp2_safe_receiver == null ? null : mapFromDto_74(tmp2_safe_receiver));
|
|
17024
17024
|
}
|
|
17025
17025
|
function mapFromDto_32(_this__u8e3s4) {
|
|
17026
17026
|
var tmp;
|
|
@@ -17172,7 +17172,7 @@
|
|
|
17172
17172
|
var _iterator__ex2g4s = this_0.l();
|
|
17173
17173
|
while (_iterator__ex2g4s.m()) {
|
|
17174
17174
|
var item = _iterator__ex2g4s.n();
|
|
17175
|
-
var tmp$ret$0 =
|
|
17175
|
+
var tmp$ret$0 = mapFromDto_61(item);
|
|
17176
17176
|
destination.j(tmp$ret$0);
|
|
17177
17177
|
}
|
|
17178
17178
|
return new PointsItem(destination, Companion_getInstance_3().nk(_this__u8e3s4.a7t_1));
|
|
@@ -17279,6 +17279,51 @@
|
|
|
17279
17279
|
}
|
|
17280
17280
|
return new LeaguesConfigDto(_this__u8e3s4.initialRating, _this__u8e3s4.minUserRating, _this__u8e3s4.maxUserRating, destination);
|
|
17281
17281
|
}
|
|
17282
|
+
function mapFromDto_45(_this__u8e3s4, defaultConfig) {
|
|
17283
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17284
|
+
var tmp0_elvis_lhs = _this__u8e3s4.b7l_1;
|
|
17285
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfig.initialRating : tmp0_elvis_lhs;
|
|
17286
|
+
var tmp1_elvis_lhs = _this__u8e3s4.c7l_1;
|
|
17287
|
+
var tmp_0 = tmp1_elvis_lhs == null ? defaultConfig.minUserRating : tmp1_elvis_lhs;
|
|
17288
|
+
var tmp2_elvis_lhs = _this__u8e3s4.d7l_1;
|
|
17289
|
+
var tmp_1 = tmp2_elvis_lhs == null ? defaultConfig.maxUserRating : tmp2_elvis_lhs;
|
|
17290
|
+
// Inline function 'kotlin.collections.map' call
|
|
17291
|
+
var this_0 = get_entries_0();
|
|
17292
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
17293
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
17294
|
+
var _iterator__ex2g4s = this_0.l();
|
|
17295
|
+
while (_iterator__ex2g4s.m()) {
|
|
17296
|
+
var item = _iterator__ex2g4s.n();
|
|
17297
|
+
var leagueString = enumToString(item, get_leagueMapping());
|
|
17298
|
+
var tmp0_safe_receiver = _this__u8e3s4.e7l_1;
|
|
17299
|
+
var tmp_2;
|
|
17300
|
+
if (tmp0_safe_receiver == null) {
|
|
17301
|
+
tmp_2 = null;
|
|
17302
|
+
} else {
|
|
17303
|
+
var tmp$ret$1;
|
|
17304
|
+
$l$block: {
|
|
17305
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
17306
|
+
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
17307
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
17308
|
+
var element = _iterator__ex2g4s_0.n();
|
|
17309
|
+
if (element.h7l_1 === leagueString) {
|
|
17310
|
+
tmp$ret$1 = element;
|
|
17311
|
+
break $l$block;
|
|
17312
|
+
}
|
|
17313
|
+
}
|
|
17314
|
+
tmp$ret$1 = null;
|
|
17315
|
+
}
|
|
17316
|
+
tmp_2 = tmp$ret$1;
|
|
17317
|
+
}
|
|
17318
|
+
var tmp1_safe_receiver = tmp_2;
|
|
17319
|
+
var tmp2_elvis_lhs_0 = tmp1_safe_receiver == null ? null : mapFromDto_46(tmp1_safe_receiver, defaultConfig);
|
|
17320
|
+
var leagueInfo = tmp2_elvis_lhs_0 == null ? defaultConfig.getLeagueInfo(item) : tmp2_elvis_lhs_0;
|
|
17321
|
+
destination.j(leagueInfo);
|
|
17322
|
+
}
|
|
17323
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
17324
|
+
var tmp$ret$5 = copyToArray(destination);
|
|
17325
|
+
return new LeaguesConfig(tmp, tmp_0, tmp_1, tmp$ret$5);
|
|
17326
|
+
}
|
|
17282
17327
|
function mapToLeague(_this__u8e3s4) {
|
|
17283
17328
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17284
17329
|
return toDomainEnum(_this__u8e3s4, get_leagueMapping());
|
|
@@ -17287,6 +17332,16 @@
|
|
|
17287
17332
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17288
17333
|
return new LeagueInfoDto(enumToString(_this__u8e3s4.league, get_leagueMapping()), _this__u8e3s4.minRating, _this__u8e3s4.maxRating, _this__u8e3s4.enabled);
|
|
17289
17334
|
}
|
|
17335
|
+
function mapFromDto_46(_this__u8e3s4, config) {
|
|
17336
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17337
|
+
var league = mapToLeague(_this__u8e3s4.h7l_1);
|
|
17338
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i7l_1;
|
|
17339
|
+
var tmp = tmp0_elvis_lhs == null ? config.getLeagueInfo(league).minRating : tmp0_elvis_lhs;
|
|
17340
|
+
var tmp1_elvis_lhs = _this__u8e3s4.j7l_1;
|
|
17341
|
+
var tmp_0 = tmp1_elvis_lhs == null ? config.getLeagueInfo(league).maxRating : tmp1_elvis_lhs;
|
|
17342
|
+
var tmp2_elvis_lhs = _this__u8e3s4.k7l_1;
|
|
17343
|
+
return new LeagueInfo(league, tmp, tmp_0, tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs);
|
|
17344
|
+
}
|
|
17290
17345
|
function mapToDto_50(_this__u8e3s4) {
|
|
17291
17346
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17292
17347
|
return enumToString(_this__u8e3s4, get_leagueMapping());
|
|
@@ -17343,38 +17398,38 @@
|
|
|
17343
17398
|
}
|
|
17344
17399
|
return tmp;
|
|
17345
17400
|
}
|
|
17346
|
-
function
|
|
17401
|
+
function mapFromDto_47(_this__u8e3s4, isNew) {
|
|
17347
17402
|
isNew = isNew === VOID ? false : isNew;
|
|
17348
17403
|
var tmp;
|
|
17349
17404
|
if (_this__u8e3s4 instanceof WhoShuffleCardsMessageDto) {
|
|
17350
|
-
tmp =
|
|
17405
|
+
tmp = mapFromDto_48(_this__u8e3s4, isNew);
|
|
17351
17406
|
} else {
|
|
17352
17407
|
if (_this__u8e3s4 instanceof PhraseMessageDto) {
|
|
17353
|
-
tmp =
|
|
17408
|
+
tmp = mapFromDto_49(_this__u8e3s4, isNew);
|
|
17354
17409
|
} else {
|
|
17355
17410
|
if (_this__u8e3s4 instanceof StickerMessageDto) {
|
|
17356
|
-
tmp =
|
|
17411
|
+
tmp = mapFromDto_50(_this__u8e3s4, isNew);
|
|
17357
17412
|
} else {
|
|
17358
17413
|
if (_this__u8e3s4 instanceof CombinationMessageDto) {
|
|
17359
|
-
tmp =
|
|
17414
|
+
tmp = mapFromDto_51(_this__u8e3s4, isNew);
|
|
17360
17415
|
} else {
|
|
17361
17416
|
if (_this__u8e3s4 instanceof PreviousRoundPointsMessageDto) {
|
|
17362
|
-
tmp =
|
|
17417
|
+
tmp = mapFromDto_52(_this__u8e3s4);
|
|
17363
17418
|
} else {
|
|
17364
17419
|
if (_this__u8e3s4 instanceof TextMessageDto) {
|
|
17365
|
-
tmp =
|
|
17420
|
+
tmp = mapFromDto_53(_this__u8e3s4, isNew);
|
|
17366
17421
|
} else {
|
|
17367
17422
|
if (_this__u8e3s4 instanceof WinnerCombinationsMessageDto) {
|
|
17368
|
-
tmp =
|
|
17423
|
+
tmp = mapFromDto_54(_this__u8e3s4, isNew);
|
|
17369
17424
|
} else {
|
|
17370
17425
|
if (_this__u8e3s4 instanceof ValidationMessageDto) {
|
|
17371
|
-
tmp =
|
|
17426
|
+
tmp = mapFromDto_55(_this__u8e3s4);
|
|
17372
17427
|
} else {
|
|
17373
17428
|
if (_this__u8e3s4 instanceof EventMessageDto) {
|
|
17374
|
-
tmp =
|
|
17429
|
+
tmp = mapFromDto_56(_this__u8e3s4, isNew);
|
|
17375
17430
|
} else {
|
|
17376
17431
|
if (_this__u8e3s4 instanceof RandomSignatureMessageDto) {
|
|
17377
|
-
tmp =
|
|
17432
|
+
tmp = mapFromDto_57(_this__u8e3s4, isNew);
|
|
17378
17433
|
} else {
|
|
17379
17434
|
if (_this__u8e3s4 instanceof FallbackMessageDto) {
|
|
17380
17435
|
tmp = Companion_instance_15.p6s();
|
|
@@ -17492,7 +17547,7 @@
|
|
|
17492
17547
|
var tmp2_createdAt = _this__u8e3s4.l6s_1.toString();
|
|
17493
17548
|
return new RandomSignatureMessageDto(tmp0_id, tmp2_createdAt, tmp1_randomData);
|
|
17494
17549
|
}
|
|
17495
|
-
function
|
|
17550
|
+
function mapFromDto_48(_this__u8e3s4, isNew) {
|
|
17496
17551
|
var tmp1_id = _this__u8e3s4.a7u_1;
|
|
17497
17552
|
var tmp0_safe_receiver = _this__u8e3s4.z7t_1;
|
|
17498
17553
|
var tmp2_trumpCard = tmp0_safe_receiver == null ? null : mapFromDto(tmp0_safe_receiver);
|
|
@@ -17500,7 +17555,7 @@
|
|
|
17500
17555
|
var tmp4_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.c7u_1);
|
|
17501
17556
|
return new WhoShuffleCardsMessage(tmp2_trumpCard, tmp1_id, tmp3_userInfo, isNew, tmp4_createdAt);
|
|
17502
17557
|
}
|
|
17503
|
-
function
|
|
17558
|
+
function mapFromDto_49(_this__u8e3s4, isNew) {
|
|
17504
17559
|
var tmp1_id = _this__u8e3s4.f7u_1;
|
|
17505
17560
|
var tmp0_elvis_lhs = _this__u8e3s4.e7u_1;
|
|
17506
17561
|
var tmp2_key = tmp0_elvis_lhs == null ? toString_0(_this__u8e3s4.d7u_1) : tmp0_elvis_lhs;
|
|
@@ -17508,14 +17563,14 @@
|
|
|
17508
17563
|
var tmp4_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.h7u_1);
|
|
17509
17564
|
return new PhraseMessage(tmp2_key, tmp1_id, tmp3_userInfo, isNew, tmp4_createdAt);
|
|
17510
17565
|
}
|
|
17511
|
-
function
|
|
17566
|
+
function mapFromDto_50(_this__u8e3s4, isNew) {
|
|
17512
17567
|
var tmp0_id = _this__u8e3s4.j7u_1;
|
|
17513
17568
|
var tmp1_url = _this__u8e3s4.i7u_1;
|
|
17514
17569
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.k7u_1);
|
|
17515
17570
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.l7u_1);
|
|
17516
17571
|
return new StickerMessage(tmp1_url, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17517
17572
|
}
|
|
17518
|
-
function
|
|
17573
|
+
function mapFromDto_51(_this__u8e3s4, isNew) {
|
|
17519
17574
|
var tmp0_id = _this__u8e3s4.m7u_1;
|
|
17520
17575
|
// Inline function 'kotlin.collections.map' call
|
|
17521
17576
|
var this_0 = _this__u8e3s4.o7u_1;
|
|
@@ -17531,7 +17586,7 @@
|
|
|
17531
17586
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.n7u_1);
|
|
17532
17587
|
return new AnnouncedCombinationMessage(destination, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17533
17588
|
}
|
|
17534
|
-
function
|
|
17589
|
+
function mapFromDto_52(_this__u8e3s4) {
|
|
17535
17590
|
var tmp2_id = _this__u8e3s4.q7u_1;
|
|
17536
17591
|
var tmp3_roundNumber = _this__u8e3s4.s7u_1;
|
|
17537
17592
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -17541,7 +17596,7 @@
|
|
|
17541
17596
|
var _iterator__ex2g4s = this_0.l();
|
|
17542
17597
|
while (_iterator__ex2g4s.m()) {
|
|
17543
17598
|
var item = _iterator__ex2g4s.n();
|
|
17544
|
-
var tmp$ret$0 =
|
|
17599
|
+
var tmp$ret$0 = mapFromDto_58(item);
|
|
17545
17600
|
destination.j(tmp$ret$0);
|
|
17546
17601
|
}
|
|
17547
17602
|
var tmp5_roundContractState = mapToRoundContractState(_this__u8e3s4.t7u_1);
|
|
@@ -17552,14 +17607,14 @@
|
|
|
17552
17607
|
var tmp8_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.r7u_1);
|
|
17553
17608
|
return new PreviousRoundPointsMessage(tmp3_roundNumber, destination, tmp5_roundContractState, tmp7_roundCommitted, tmp6_roundWinners, tmp2_id, VOID, tmp8_createdAt);
|
|
17554
17609
|
}
|
|
17555
|
-
function
|
|
17610
|
+
function mapFromDto_53(_this__u8e3s4, isNew) {
|
|
17556
17611
|
var tmp0_id = _this__u8e3s4.x7u_1;
|
|
17557
17612
|
var tmp1_message = _this__u8e3s4.z7u_1;
|
|
17558
17613
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.a7v_1);
|
|
17559
17614
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.y7u_1);
|
|
17560
17615
|
return new TextMessage(tmp1_message, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17561
17616
|
}
|
|
17562
|
-
function
|
|
17617
|
+
function mapFromDto_54(_this__u8e3s4, isNew) {
|
|
17563
17618
|
var tmp0_id = _this__u8e3s4.b7v_1;
|
|
17564
17619
|
// Inline function 'kotlin.collections.map' call
|
|
17565
17620
|
var this_0 = _this__u8e3s4.d7v_1;
|
|
@@ -17568,25 +17623,25 @@
|
|
|
17568
17623
|
var _iterator__ex2g4s = this_0.l();
|
|
17569
17624
|
while (_iterator__ex2g4s.m()) {
|
|
17570
17625
|
var item = _iterator__ex2g4s.n();
|
|
17571
|
-
var tmp$ret$0 =
|
|
17626
|
+
var tmp$ret$0 = mapFromDto_59(item);
|
|
17572
17627
|
destination.j(tmp$ret$0);
|
|
17573
17628
|
}
|
|
17574
17629
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.c7v_1);
|
|
17575
17630
|
return new WinnerCombinationsMessage(destination, tmp0_id, isNew, tmp2_createdAt);
|
|
17576
17631
|
}
|
|
17577
|
-
function
|
|
17632
|
+
function mapFromDto_55(_this__u8e3s4) {
|
|
17578
17633
|
var tmp0_id = _this__u8e3s4.e7v_1;
|
|
17579
17634
|
var tmp1_validationCode = _this__u8e3s4.g7v_1;
|
|
17580
17635
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.f7v_1);
|
|
17581
17636
|
return new ValidationMessage(tmp1_validationCode, tmp0_id, VOID, tmp2_createdAt);
|
|
17582
17637
|
}
|
|
17583
|
-
function
|
|
17638
|
+
function mapFromDto_56(_this__u8e3s4, isNew) {
|
|
17584
17639
|
var tmp0_id = _this__u8e3s4.h7v_1;
|
|
17585
17640
|
var tmp1_eventId = _this__u8e3s4.j7v_1;
|
|
17586
17641
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.i7v_1);
|
|
17587
17642
|
return new EventMessage(tmp1_eventId, tmp0_id, isNew, tmp2_createdAt);
|
|
17588
17643
|
}
|
|
17589
|
-
function
|
|
17644
|
+
function mapFromDto_57(_this__u8e3s4, isNew) {
|
|
17590
17645
|
var tmp0_id = _this__u8e3s4.k7v_1;
|
|
17591
17646
|
var tmp1_randomData = mapFromDto_14(_this__u8e3s4.m7v_1);
|
|
17592
17647
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.l7v_1);
|
|
@@ -17619,7 +17674,7 @@
|
|
|
17619
17674
|
}
|
|
17620
17675
|
return new WinnerCombinationViewModelDto(_this__u8e3s4.v6t_1, destination, mapToDto_0(_this__u8e3s4.x6t_1));
|
|
17621
17676
|
}
|
|
17622
|
-
function
|
|
17677
|
+
function mapFromDto_58(_this__u8e3s4) {
|
|
17623
17678
|
var tmp0_points = _this__u8e3s4.o7v_1;
|
|
17624
17679
|
// Inline function 'kotlin.collections.map' call
|
|
17625
17680
|
var this_0 = _this__u8e3s4.n7v_1;
|
|
@@ -17633,7 +17688,7 @@
|
|
|
17633
17688
|
}
|
|
17634
17689
|
return new PointItemViewModel(destination, tmp0_points);
|
|
17635
17690
|
}
|
|
17636
|
-
function
|
|
17691
|
+
function mapFromDto_59(_this__u8e3s4) {
|
|
17637
17692
|
// Inline function 'kotlin.collections.map' call
|
|
17638
17693
|
var this_0 = _this__u8e3s4.q7v_1;
|
|
17639
17694
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17707,7 +17762,7 @@
|
|
|
17707
17762
|
var tmp10_dealerStrategy = _this__u8e3s4.dealerStrategy;
|
|
17708
17763
|
return new RoomConfig(tmp3_players, tmp4_points, tmp5_timeoutTime, tmp2_rulesPreset, tmp6_isPrivate, tmp7_isChatEnabled, tmp1_rules, tmp9_isBotsEnabled, tmp10_dealerStrategy, tmp8_league);
|
|
17709
17764
|
}
|
|
17710
|
-
function
|
|
17765
|
+
function mapFromDto_60(_this__u8e3s4) {
|
|
17711
17766
|
var tmp2_players = _this__u8e3s4.w7v_1;
|
|
17712
17767
|
var tmp3_points = _this__u8e3s4.x7v_1;
|
|
17713
17768
|
var tmp4_timeoutTime = _this__u8e3s4.y7v_1;
|
|
@@ -17724,7 +17779,7 @@
|
|
|
17724
17779
|
}
|
|
17725
17780
|
function mapToConfigLite(_this__u8e3s4, mode) {
|
|
17726
17781
|
var tmp0_safe_receiver = _this__u8e3s4.rules;
|
|
17727
|
-
var tmp4_rules = tmp0_safe_receiver == null ? null :
|
|
17782
|
+
var tmp4_rules = tmp0_safe_receiver == null ? null : mapFromDto_64(tmp0_safe_receiver);
|
|
17728
17783
|
var tmp5_league = _this__u8e3s4.league;
|
|
17729
17784
|
var tmp6_rulesPreset = mapToRulesSetType(_this__u8e3s4.rulesPreset);
|
|
17730
17785
|
var tmp7_players = Companion_getInstance_166().create(_this__u8e3s4.players);
|
|
@@ -17741,14 +17796,14 @@
|
|
|
17741
17796
|
function mapToDto_65(_this__u8e3s4) {
|
|
17742
17797
|
return new PointItemDto(_this__u8e3s4.e7s_1, _this__u8e3s4.f7s_1);
|
|
17743
17798
|
}
|
|
17744
|
-
function
|
|
17799
|
+
function mapFromDto_61(_this__u8e3s4) {
|
|
17745
17800
|
return new PointItem(_this__u8e3s4.g7w_1, _this__u8e3s4.h7w_1);
|
|
17746
17801
|
}
|
|
17747
|
-
function
|
|
17802
|
+
function mapFromDto_62(_this__u8e3s4) {
|
|
17748
17803
|
var tmp0_elvis_lhs = _this__u8e3s4.i7w_1;
|
|
17749
17804
|
return new Round(tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, _this__u8e3s4.j7w_1, _this__u8e3s4.k7w_1);
|
|
17750
17805
|
}
|
|
17751
|
-
function
|
|
17806
|
+
function mapFromDto_63(_this__u8e3s4) {
|
|
17752
17807
|
// Inline function 'kotlin.collections.map' call
|
|
17753
17808
|
var this_0 = _this__u8e3s4.l7w_1;
|
|
17754
17809
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17769,7 +17824,7 @@
|
|
|
17769
17824
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
17770
17825
|
while (_iterator__ex2g4s_0.m()) {
|
|
17771
17826
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
17772
|
-
var tmp$ret$3 =
|
|
17827
|
+
var tmp$ret$3 = mapFromDto_61(item_0);
|
|
17773
17828
|
destination_0.j(tmp$ret$3);
|
|
17774
17829
|
}
|
|
17775
17830
|
return new PreviousRound(tmp, tmp_0, destination_0);
|
|
@@ -18130,7 +18185,7 @@
|
|
|
18130
18185
|
var tmp$ret$58 = tmp_48;
|
|
18131
18186
|
return new RulesDto(_this__u8e3s4.name, tmp_0, tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp_12, tmp_16, tmp_19, tmp_21, tmp_23, tmp_25, tmp_26, tmp_28, tmp_30, tmp_32, tmp_34, tmp_36, tmp_38, tmp_40, tmp_41, tmp_43, tmp_45, tmp_47, tmp$ret$58);
|
|
18132
18187
|
}
|
|
18133
|
-
function
|
|
18188
|
+
function mapFromDto_64(_this__u8e3s4) {
|
|
18134
18189
|
_init_properties_RulesMappers_kt__e4bhqd();
|
|
18135
18190
|
var tmp32_name = _this__u8e3s4.o69_1;
|
|
18136
18191
|
var tmp0_elvis_lhs = _this__u8e3s4.p69_1;
|
|
@@ -18317,11 +18372,11 @@
|
|
|
18317
18372
|
var tmp1_safe_receiver = _this__u8e3s4.u7w_1;
|
|
18318
18373
|
return new ClientSceneInfoDto(_this__u8e3s4.r7w_1, _this__u8e3s4.s7w_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_121(tmp1_safe_receiver));
|
|
18319
18374
|
}
|
|
18320
|
-
function
|
|
18375
|
+
function mapFromDto_65(_this__u8e3s4) {
|
|
18321
18376
|
var tmp0_safe_receiver = _this__u8e3s4.y7w_1;
|
|
18322
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
18377
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_96(tmp0_safe_receiver);
|
|
18323
18378
|
var tmp1_safe_receiver = _this__u8e3s4.z7w_1;
|
|
18324
|
-
return new SceneInfo(_this__u8e3s4.v7w_1, _this__u8e3s4.w7w_1, _this__u8e3s4.x7w_1, tmp, tmp1_safe_receiver == null ? null :
|
|
18379
|
+
return new SceneInfo(_this__u8e3s4.v7w_1, _this__u8e3s4.w7w_1, _this__u8e3s4.x7w_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_86(tmp1_safe_receiver));
|
|
18325
18380
|
}
|
|
18326
18381
|
function mapToDto_75(_this__u8e3s4) {
|
|
18327
18382
|
var tmp0_safe_receiver = _this__u8e3s4.d7x_1;
|
|
@@ -18329,19 +18384,19 @@
|
|
|
18329
18384
|
var tmp1_safe_receiver = _this__u8e3s4.e7x_1;
|
|
18330
18385
|
return new SceneInfoDto(_this__u8e3s4.a7x_1, _this__u8e3s4.b7x_1, _this__u8e3s4.c7x_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_118(tmp1_safe_receiver));
|
|
18331
18386
|
}
|
|
18332
|
-
function
|
|
18387
|
+
function mapFromDto_66(_this__u8e3s4) {
|
|
18333
18388
|
var tmp0_safe_receiver = _this__u8e3s4.h7x_1;
|
|
18334
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
18389
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
18335
18390
|
var tmp1_safe_receiver = _this__u8e3s4.i7x_1;
|
|
18336
|
-
return new ClientSceneInfo(_this__u8e3s4.f7x_1, _this__u8e3s4.g7x_1, tmp, tmp1_safe_receiver == null ? null :
|
|
18391
|
+
return new ClientSceneInfo(_this__u8e3s4.f7x_1, _this__u8e3s4.g7x_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_91(tmp1_safe_receiver));
|
|
18337
18392
|
}
|
|
18338
|
-
function
|
|
18393
|
+
function mapFromDto_67(_this__u8e3s4) {
|
|
18339
18394
|
return new Spectator(mapFromDto_0(_this__u8e3s4.j7x_1));
|
|
18340
18395
|
}
|
|
18341
18396
|
function mapToDto_76(_this__u8e3s4) {
|
|
18342
18397
|
return new SpectatorDto(mapToDto_0(_this__u8e3s4.x6x_1));
|
|
18343
18398
|
}
|
|
18344
|
-
function
|
|
18399
|
+
function mapFromDto_68(_this__u8e3s4) {
|
|
18345
18400
|
var tmp = mapFromDto_11(_this__u8e3s4.l7x_1);
|
|
18346
18401
|
// Inline function 'kotlin.collections.map' call
|
|
18347
18402
|
var this_0 = _this__u8e3s4.m7x_1;
|
|
@@ -18350,7 +18405,7 @@
|
|
|
18350
18405
|
var _iterator__ex2g4s = this_0.l();
|
|
18351
18406
|
while (_iterator__ex2g4s.m()) {
|
|
18352
18407
|
var item = _iterator__ex2g4s.n();
|
|
18353
|
-
var tmp$ret$0 =
|
|
18408
|
+
var tmp$ret$0 = mapFromDto_75(item);
|
|
18354
18409
|
destination.j(tmp$ret$0);
|
|
18355
18410
|
}
|
|
18356
18411
|
return new JassTableLite(_this__u8e3s4.k7x_1, tmp, destination, mapFromDto_26(_this__u8e3s4.n7x_1));
|
|
@@ -18463,7 +18518,7 @@
|
|
|
18463
18518
|
}
|
|
18464
18519
|
return new ClientJassTableDto(_this__u8e3s4.o7x_1, tmp_0, _this__u8e3s4.q7x_1, tmp_1, tmp_2, tmp_3, tmp_4, tmp_7, tmp_10, tmp_11, tmp_12, tmp_13, tmp_15);
|
|
18465
18520
|
}
|
|
18466
|
-
function
|
|
18521
|
+
function mapFromDto_69(_this__u8e3s4) {
|
|
18467
18522
|
var tmp = Companion_getInstance_3().nk(_this__u8e3s4.d7y_1);
|
|
18468
18523
|
var tmp_0 = mapFromDto_12(_this__u8e3s4.e7y_1);
|
|
18469
18524
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -18473,7 +18528,7 @@
|
|
|
18473
18528
|
var _iterator__ex2g4s = this_0.l();
|
|
18474
18529
|
while (_iterator__ex2g4s.m()) {
|
|
18475
18530
|
var item = _iterator__ex2g4s.n();
|
|
18476
|
-
var tmp$ret$0 =
|
|
18531
|
+
var tmp$ret$0 = mapFromDto_76(item);
|
|
18477
18532
|
destination.j(tmp$ret$0);
|
|
18478
18533
|
}
|
|
18479
18534
|
var tmp_1 = destination;
|
|
@@ -18488,14 +18543,14 @@
|
|
|
18488
18543
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
18489
18544
|
while (_iterator__ex2g4s_0.m()) {
|
|
18490
18545
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
18491
|
-
var tmp$ret$3 =
|
|
18546
|
+
var tmp$ret$3 = mapFromDto_67(item_0);
|
|
18492
18547
|
destination_0.j(tmp$ret$3);
|
|
18493
18548
|
}
|
|
18494
18549
|
tmp_2 = destination_0;
|
|
18495
18550
|
}
|
|
18496
18551
|
var tmp1_elvis_lhs = tmp_2;
|
|
18497
18552
|
var tmp_3 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
18498
|
-
var tmp_4 =
|
|
18553
|
+
var tmp_4 = mapFromDto_65(_this__u8e3s4.h7y_1);
|
|
18499
18554
|
var tmp2_safe_receiver = _this__u8e3s4.i7y_1;
|
|
18500
18555
|
var tmp_5;
|
|
18501
18556
|
if (tmp2_safe_receiver == null) {
|
|
@@ -18579,7 +18634,7 @@
|
|
|
18579
18634
|
var _iterator__ex2g4s_5 = tmp9_safe_receiver.l();
|
|
18580
18635
|
while (_iterator__ex2g4s_5.m()) {
|
|
18581
18636
|
var item_5 = _iterator__ex2g4s_5.n();
|
|
18582
|
-
var tmp$ret$20 =
|
|
18637
|
+
var tmp$ret$20 = mapFromDto_47(item_5);
|
|
18583
18638
|
destination_5.j(tmp$ret$20);
|
|
18584
18639
|
}
|
|
18585
18640
|
tmp_15 = destination_5;
|
|
@@ -18746,7 +18801,7 @@
|
|
|
18746
18801
|
}
|
|
18747
18802
|
return new JassTableDto(_this__u8e3s4.id, _this__u8e3s4.version, tmp, tmp_0, tmp_1, tmp_4, tmp_5, tmp_8, tmp_11, tmp_12, tmp_15, tmp_16, tmp_17, tmp_19);
|
|
18748
18803
|
}
|
|
18749
|
-
function
|
|
18804
|
+
function mapFromDto_70(_this__u8e3s4) {
|
|
18750
18805
|
var tmp0_elvis_lhs = _this__u8e3s4.q7y_1;
|
|
18751
18806
|
var tmp = tmp0_elvis_lhs == null ? _this__u8e3s4.p7y_1 : tmp0_elvis_lhs;
|
|
18752
18807
|
var tmp_0 = Companion_getInstance_3().qc(_this__u8e3s4.s7y_1);
|
|
@@ -18758,11 +18813,11 @@
|
|
|
18758
18813
|
var _iterator__ex2g4s = this_0.l();
|
|
18759
18814
|
while (_iterator__ex2g4s.m()) {
|
|
18760
18815
|
var item = _iterator__ex2g4s.n();
|
|
18761
|
-
var tmp$ret$0 =
|
|
18816
|
+
var tmp$ret$0 = mapFromDto_81(item);
|
|
18762
18817
|
destination.j(tmp$ret$0);
|
|
18763
18818
|
}
|
|
18764
18819
|
var tmp_2 = destination;
|
|
18765
|
-
var tmp_3 =
|
|
18820
|
+
var tmp_3 = mapFromDto_66(_this__u8e3s4.v7y_1);
|
|
18766
18821
|
var tmp1_safe_receiver = _this__u8e3s4.w7y_1;
|
|
18767
18822
|
var tmp_4;
|
|
18768
18823
|
if (tmp1_safe_receiver == null) {
|
|
@@ -18817,7 +18872,7 @@
|
|
|
18817
18872
|
var _iterator__ex2g4s_2 = tmp5_safe_receiver.l();
|
|
18818
18873
|
while (_iterator__ex2g4s_2.m()) {
|
|
18819
18874
|
var item_2 = _iterator__ex2g4s_2.n();
|
|
18820
|
-
var tmp$ret$11 =
|
|
18875
|
+
var tmp$ret$11 = mapFromDto_47(item_2);
|
|
18821
18876
|
destination_2.j(tmp$ret$11);
|
|
18822
18877
|
}
|
|
18823
18878
|
tmp_11 = destination_2;
|
|
@@ -19193,13 +19248,13 @@
|
|
|
19193
19248
|
}
|
|
19194
19249
|
return tmp;
|
|
19195
19250
|
}
|
|
19196
|
-
function
|
|
19251
|
+
function mapFromDto_71(_this__u8e3s4) {
|
|
19197
19252
|
var tmp;
|
|
19198
19253
|
if (_this__u8e3s4 instanceof RevengeRoomTransitionDto) {
|
|
19199
|
-
tmp =
|
|
19254
|
+
tmp = mapFromDto_72(_this__u8e3s4);
|
|
19200
19255
|
} else {
|
|
19201
19256
|
if (_this__u8e3s4 instanceof GameToRoomTransitionDto) {
|
|
19202
|
-
tmp =
|
|
19257
|
+
tmp = mapFromDto_73(_this__u8e3s4);
|
|
19203
19258
|
} else {
|
|
19204
19259
|
noWhenBranchMatchedException();
|
|
19205
19260
|
}
|
|
@@ -19212,10 +19267,10 @@
|
|
|
19212
19267
|
function mapToDto_103(_this__u8e3s4) {
|
|
19213
19268
|
return new GameToRoomTransitionDto(_this__u8e3s4.roomId, _this__u8e3s4.playerIds, _this__u8e3s4.z81_1);
|
|
19214
19269
|
}
|
|
19215
|
-
function
|
|
19270
|
+
function mapFromDto_72(_this__u8e3s4) {
|
|
19216
19271
|
return new RevengeRoomTransition(mapToRoomMode(_this__u8e3s4.e7f_1), _this__u8e3s4.f7f_1);
|
|
19217
19272
|
}
|
|
19218
|
-
function
|
|
19273
|
+
function mapFromDto_73(_this__u8e3s4) {
|
|
19219
19274
|
return new GameToRoomTransition(_this__u8e3s4.y7e_1, _this__u8e3s4.z7e_1, _this__u8e3s4.a7f_1);
|
|
19220
19275
|
}
|
|
19221
19276
|
function mapToDto_104(_this__u8e3s4) {
|
|
@@ -19223,7 +19278,7 @@
|
|
|
19223
19278
|
var tmp1_oldRating = _this__u8e3s4.oldRating;
|
|
19224
19279
|
return new AchievementsDto(tmp1_oldRating, tmp0_newRating);
|
|
19225
19280
|
}
|
|
19226
|
-
function
|
|
19281
|
+
function mapFromDto_74(_this__u8e3s4) {
|
|
19227
19282
|
var tmp0_newRating = _this__u8e3s4.b82_1;
|
|
19228
19283
|
var tmp1_oldRating = _this__u8e3s4.a82_1;
|
|
19229
19284
|
return new Achievements(tmp1_oldRating, tmp0_newRating);
|
|
@@ -19243,8 +19298,8 @@
|
|
|
19243
19298
|
var tmp4_points = _this__u8e3s4.points;
|
|
19244
19299
|
return new JassPlayer(tmp0_userInfo, tmp1_state, tmp3_cards, tmp2_options, VOID, tmp4_points);
|
|
19245
19300
|
}
|
|
19246
|
-
function
|
|
19247
|
-
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.c82_1),
|
|
19301
|
+
function mapFromDto_75(_this__u8e3s4) {
|
|
19302
|
+
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.c82_1), mapFromDto_77(_this__u8e3s4.d82_1), mapFromDto_78(_this__u8e3s4.e82_1));
|
|
19248
19303
|
}
|
|
19249
19304
|
function mapToDto_105(_this__u8e3s4) {
|
|
19250
19305
|
var tmp2_userInfo = mapToDto_0(_this__u8e3s4.b6v_1).c69();
|
|
@@ -19286,10 +19341,10 @@
|
|
|
19286
19341
|
var tmp7_amountOfCards = _this__u8e3s4.g6v_1;
|
|
19287
19342
|
return new ClientJassPlayerDto(tmp2_userInfo, tmp3_state, tmp4_options, tmp6_points, tmp5_cards, tmp7_amountOfCards);
|
|
19288
19343
|
}
|
|
19289
|
-
function
|
|
19344
|
+
function mapFromDto_76(_this__u8e3s4) {
|
|
19290
19345
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.f82_1);
|
|
19291
19346
|
var tmp3_state = mapFromDto_2(_this__u8e3s4.g82_1);
|
|
19292
|
-
var tmp4_options =
|
|
19347
|
+
var tmp4_options = mapFromDto_77(_this__u8e3s4.h82_1);
|
|
19293
19348
|
var tmp0_safe_receiver = _this__u8e3s4.i82_1;
|
|
19294
19349
|
var tmp;
|
|
19295
19350
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19308,8 +19363,8 @@
|
|
|
19308
19363
|
}
|
|
19309
19364
|
var tmp1_elvis_lhs = tmp;
|
|
19310
19365
|
var tmp5_cards = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
19311
|
-
var tmp6_hand =
|
|
19312
|
-
var tmp7_points =
|
|
19366
|
+
var tmp6_hand = mapFromDto_79(_this__u8e3s4.j82_1);
|
|
19367
|
+
var tmp7_points = mapFromDto_78(_this__u8e3s4.k82_1);
|
|
19313
19368
|
return new JassPlayer(tmp2_userInfo, tmp3_state, tmp5_cards, tmp4_options, tmp6_hand, tmp7_points);
|
|
19314
19369
|
}
|
|
19315
19370
|
function mapToDto_106(_this__u8e3s4) {
|
|
@@ -19343,7 +19398,7 @@
|
|
|
19343
19398
|
}
|
|
19344
19399
|
return new JassPlayerDto(tmp, tmp_0, tmp_1, tmp_3, mapToDto_110(_this__u8e3s4.o6v_1), mapToDto_109(_this__u8e3s4.p6v_1));
|
|
19345
19400
|
}
|
|
19346
|
-
function
|
|
19401
|
+
function mapFromDto_77(_this__u8e3s4) {
|
|
19347
19402
|
var tmp0_elvis_lhs = _this__u8e3s4.m82_1;
|
|
19348
19403
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
19349
19404
|
var tmp1_elvis_lhs = _this__u8e3s4.o82_1;
|
|
@@ -19369,7 +19424,7 @@
|
|
|
19369
19424
|
var tmp11_elvis_lhs = _this__u8e3s4.y82_1;
|
|
19370
19425
|
return new PlayerOptions(tmp, _this__u8e3s4.n82_1, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, _this__u8e3s4.l82_1, tmp_8, tmp_9, tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs);
|
|
19371
19426
|
}
|
|
19372
|
-
function
|
|
19427
|
+
function mapFromDto_78(_this__u8e3s4) {
|
|
19373
19428
|
var tmp0_safe_receiver = _this__u8e3s4.a83_1;
|
|
19374
19429
|
var tmp;
|
|
19375
19430
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19556,7 +19611,7 @@
|
|
|
19556
19611
|
var tmp$ret$11 = tmp_1;
|
|
19557
19612
|
return new PlayerPointsDto(_this__u8e3s4.f6x_1, tmp_0, tmp$ret$11);
|
|
19558
19613
|
}
|
|
19559
|
-
function
|
|
19614
|
+
function mapFromDto_79(_this__u8e3s4) {
|
|
19560
19615
|
var tmp0_elvis_lhs = _this__u8e3s4.g83_1;
|
|
19561
19616
|
var tmp12_hasNoTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
19562
19617
|
var tmp1_elvis_lhs = _this__u8e3s4.h83_1;
|
|
@@ -19580,7 +19635,7 @@
|
|
|
19580
19635
|
var _iterator__ex2g4s = tmp6_safe_receiver.l();
|
|
19581
19636
|
while (_iterator__ex2g4s.m()) {
|
|
19582
19637
|
var item = _iterator__ex2g4s.n();
|
|
19583
|
-
var tmp$ret$0 =
|
|
19638
|
+
var tmp$ret$0 = mapFromDto_80(item);
|
|
19584
19639
|
destination.j(tmp$ret$0);
|
|
19585
19640
|
}
|
|
19586
19641
|
tmp = destination;
|
|
@@ -19739,16 +19794,16 @@
|
|
|
19739
19794
|
var tmp8_sessionCombinationRecords = tmp_7;
|
|
19740
19795
|
return new PlayerHandDto(tmp5_averageLuckyFactor, tmp6_luckyFactors, tmp7_gameCombinationRecords, tmp8_sessionCombinationRecords, tmp0_hasNoTrump, tmp1_hasNoDiamond, tmp2_hasNoSpade, tmp3_hasNoHeart, tmp4_hasNoClub);
|
|
19741
19796
|
}
|
|
19742
|
-
function
|
|
19797
|
+
function mapFromDto_80(_this__u8e3s4) {
|
|
19743
19798
|
return new LuckyFactorRecord(_this__u8e3s4.l83_1, _this__u8e3s4.m83_1);
|
|
19744
19799
|
}
|
|
19745
19800
|
function mapToDto_111(_this__u8e3s4) {
|
|
19746
19801
|
return new LuckyFactorRecordDto(_this__u8e3s4.c6x_1, _this__u8e3s4.d6x_1);
|
|
19747
19802
|
}
|
|
19748
|
-
function
|
|
19803
|
+
function mapFromDto_81(_this__u8e3s4) {
|
|
19749
19804
|
var tmp1_userInfo = mapFromDto_0(_this__u8e3s4.n83_1);
|
|
19750
|
-
var tmp2_state =
|
|
19751
|
-
var tmp3_options =
|
|
19805
|
+
var tmp2_state = mapFromDto_82(_this__u8e3s4.o83_1);
|
|
19806
|
+
var tmp3_options = mapFromDto_77(_this__u8e3s4.p83_1);
|
|
19752
19807
|
var tmp0_safe_receiver = _this__u8e3s4.r83_1;
|
|
19753
19808
|
var tmp;
|
|
19754
19809
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19766,11 +19821,11 @@
|
|
|
19766
19821
|
tmp = destination;
|
|
19767
19822
|
}
|
|
19768
19823
|
var tmp4_cards = tmp;
|
|
19769
|
-
var tmp5_points =
|
|
19824
|
+
var tmp5_points = mapFromDto_78(_this__u8e3s4.q83_1);
|
|
19770
19825
|
var tmp6_amountOfCards = _this__u8e3s4.s83_1;
|
|
19771
19826
|
return new ClientJassPlayer(tmp1_userInfo, tmp2_state, tmp3_options, tmp5_points, tmp4_cards, tmp6_amountOfCards);
|
|
19772
19827
|
}
|
|
19773
|
-
function
|
|
19828
|
+
function mapFromDto_82(_this__u8e3s4) {
|
|
19774
19829
|
var tmp0_safe_receiver = _this__u8e3s4.u83_1;
|
|
19775
19830
|
var tmp;
|
|
19776
19831
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19802,7 +19857,7 @@
|
|
|
19802
19857
|
function mapToDto_112(_this__u8e3s4) {
|
|
19803
19858
|
return new CombinationAnalyticsDto(mapToDto_9(_this__u8e3s4.type), _this__u8e3s4.count, _this__u8e3s4.acceptedCounts);
|
|
19804
19859
|
}
|
|
19805
|
-
function
|
|
19860
|
+
function mapFromDto_83(_this__u8e3s4) {
|
|
19806
19861
|
return new CombinationAnalytics(mapToCombinationType(_this__u8e3s4.a84_1), _this__u8e3s4.b84_1, _this__u8e3s4.c84_1);
|
|
19807
19862
|
}
|
|
19808
19863
|
function get_roundContractStateMapping() {
|
|
@@ -19837,7 +19892,7 @@
|
|
|
19837
19892
|
}
|
|
19838
19893
|
return new PointsCellDto(destination, mapToDto_113(_this__u8e3s4.e72_1));
|
|
19839
19894
|
}
|
|
19840
|
-
function
|
|
19895
|
+
function mapFromDto_84(_this__u8e3s4) {
|
|
19841
19896
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
19842
19897
|
// Inline function 'kotlin.collections.map' call
|
|
19843
19898
|
var this_0 = _this__u8e3s4.d84_1;
|
|
@@ -19846,7 +19901,7 @@
|
|
|
19846
19901
|
var _iterator__ex2g4s = this_0.l();
|
|
19847
19902
|
while (_iterator__ex2g4s.m()) {
|
|
19848
19903
|
var item = _iterator__ex2g4s.n();
|
|
19849
|
-
var tmp$ret$0 =
|
|
19904
|
+
var tmp$ret$0 = mapFromDto_85(item);
|
|
19850
19905
|
destination.j(tmp$ret$0);
|
|
19851
19906
|
}
|
|
19852
19907
|
return new PointsCell(destination, mapToRoundContractState(_this__u8e3s4.e84_1));
|
|
@@ -19886,7 +19941,7 @@
|
|
|
19886
19941
|
}
|
|
19887
19942
|
return new PlayerPointsCellDto(_this__u8e3s4.g72_1, _this__u8e3s4.h72_1, _this__u8e3s4.i72_1, _this__u8e3s4.j72_1, _this__u8e3s4.k72_1, _this__u8e3s4.l72_1, VOID, VOID, tmp_0);
|
|
19888
19943
|
}
|
|
19889
|
-
function
|
|
19944
|
+
function mapFromDto_85(_this__u8e3s4) {
|
|
19890
19945
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
19891
19946
|
var tmp0_safe_receiver = _this__u8e3s4.n84_1;
|
|
19892
19947
|
var tmp;
|
|
@@ -19931,16 +19986,16 @@
|
|
|
19931
19986
|
}
|
|
19932
19987
|
return new CombinationActDataDto(_this__u8e3s4.x7a_1, destination);
|
|
19933
19988
|
}
|
|
19934
|
-
function
|
|
19989
|
+
function mapFromDto_86(_this__u8e3s4) {
|
|
19935
19990
|
var tmp;
|
|
19936
19991
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
19937
|
-
tmp =
|
|
19992
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
19938
19993
|
} else {
|
|
19939
19994
|
if (_this__u8e3s4 instanceof PlayersTurnActDataDto) {
|
|
19940
|
-
tmp =
|
|
19995
|
+
tmp = mapFromDto_88(_this__u8e3s4);
|
|
19941
19996
|
} else {
|
|
19942
19997
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
19943
|
-
tmp =
|
|
19998
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
19944
19999
|
} else {
|
|
19945
20000
|
throw new MechanicException("ActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
19946
20001
|
}
|
|
@@ -19974,7 +20029,7 @@
|
|
|
19974
20029
|
}
|
|
19975
20030
|
return tmp;
|
|
19976
20031
|
}
|
|
19977
|
-
function
|
|
20032
|
+
function mapFromDto_87(_this__u8e3s4) {
|
|
19978
20033
|
// Inline function 'kotlin.collections.map' call
|
|
19979
20034
|
var this_0 = _this__u8e3s4.p84_1;
|
|
19980
20035
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -19987,7 +20042,7 @@
|
|
|
19987
20042
|
}
|
|
19988
20043
|
return new CombinationActData(_this__u8e3s4.o84_1, destination);
|
|
19989
20044
|
}
|
|
19990
|
-
function
|
|
20045
|
+
function mapFromDto_88(_this__u8e3s4) {
|
|
19991
20046
|
var tmp0_safe_receiver = _this__u8e3s4.r84_1;
|
|
19992
20047
|
var tmp;
|
|
19993
20048
|
if (tmp0_safe_receiver == null) {
|
|
@@ -20033,9 +20088,9 @@
|
|
|
20033
20088
|
}
|
|
20034
20089
|
return new PlayersTurnActData(_this__u8e3s4.q84_1, tmp_1);
|
|
20035
20090
|
}
|
|
20036
|
-
function
|
|
20091
|
+
function mapFromDto_89(_this__u8e3s4) {
|
|
20037
20092
|
var tmp0_safe_receiver = _this__u8e3s4.t84_1;
|
|
20038
|
-
return new WaitingActData(_this__u8e3s4.s84_1, tmp0_safe_receiver == null ? null :
|
|
20093
|
+
return new WaitingActData(_this__u8e3s4.s84_1, tmp0_safe_receiver == null ? null : mapFromDto_90(tmp0_safe_receiver));
|
|
20039
20094
|
}
|
|
20040
20095
|
function mapToDto_120(_this__u8e3s4) {
|
|
20041
20096
|
var tmp0_safe_receiver = _this__u8e3s4.f7b_1;
|
|
@@ -20083,7 +20138,7 @@
|
|
|
20083
20138
|
}
|
|
20084
20139
|
return new PlayersTurnActDataDto(_this__u8e3s4.e7b_1, tmp_1);
|
|
20085
20140
|
}
|
|
20086
|
-
function
|
|
20141
|
+
function mapFromDto_90(_this__u8e3s4) {
|
|
20087
20142
|
var tmp;
|
|
20088
20143
|
if (_this__u8e3s4 instanceof CardDeckRequestDto) {
|
|
20089
20144
|
tmp = new CardDeckRequest(_this__u8e3s4.u84_1);
|
|
@@ -20128,16 +20183,16 @@
|
|
|
20128
20183
|
}
|
|
20129
20184
|
return new PlayersTurnClientActDataDto(_this__u8e3s4.g7b_1, tmp);
|
|
20130
20185
|
}
|
|
20131
|
-
function
|
|
20186
|
+
function mapFromDto_91(_this__u8e3s4) {
|
|
20132
20187
|
var tmp;
|
|
20133
20188
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
20134
|
-
tmp =
|
|
20189
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
20135
20190
|
} else {
|
|
20136
20191
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
20137
|
-
tmp =
|
|
20192
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
20138
20193
|
} else {
|
|
20139
20194
|
if (_this__u8e3s4 instanceof PlayersTurnClientActDataDto) {
|
|
20140
|
-
tmp =
|
|
20195
|
+
tmp = mapFromDto_92(_this__u8e3s4);
|
|
20141
20196
|
} else {
|
|
20142
20197
|
throw new MechanicException("ClientActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
20143
20198
|
}
|
|
@@ -20145,7 +20200,7 @@
|
|
|
20145
20200
|
}
|
|
20146
20201
|
return tmp;
|
|
20147
20202
|
}
|
|
20148
|
-
function
|
|
20203
|
+
function mapFromDto_92(_this__u8e3s4) {
|
|
20149
20204
|
var tmp0_safe_receiver = _this__u8e3s4.w84_1;
|
|
20150
20205
|
var tmp;
|
|
20151
20206
|
if (tmp0_safe_receiver == null) {
|
|
@@ -20240,22 +20295,22 @@
|
|
|
20240
20295
|
var tmp1_safe_receiver = _this__u8e3s4.t7b_1;
|
|
20241
20296
|
return new EarnPointsClientSceneDataDto(tmp, _this__u8e3s4.r7b_1, tmp_1, tmp1_safe_receiver == null ? null : mapToDto(tmp1_safe_receiver), _this__u8e3s4.u7b_1);
|
|
20242
20297
|
}
|
|
20243
|
-
function
|
|
20298
|
+
function mapFromDto_93(_this__u8e3s4) {
|
|
20244
20299
|
var tmp;
|
|
20245
20300
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
20246
|
-
tmp =
|
|
20301
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
20247
20302
|
} else {
|
|
20248
20303
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
20249
|
-
tmp =
|
|
20304
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
20250
20305
|
} else {
|
|
20251
20306
|
if (_this__u8e3s4 instanceof TradeClientSceneDataDto) {
|
|
20252
|
-
tmp =
|
|
20307
|
+
tmp = mapFromDto_94(_this__u8e3s4);
|
|
20253
20308
|
} else {
|
|
20254
20309
|
if (_this__u8e3s4 instanceof EarnPointsClientSceneDataDto) {
|
|
20255
|
-
tmp =
|
|
20310
|
+
tmp = mapFromDto_95(_this__u8e3s4);
|
|
20256
20311
|
} else {
|
|
20257
20312
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
20258
|
-
tmp =
|
|
20313
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
20259
20314
|
} else {
|
|
20260
20315
|
throw new MechanicException("Can't map this scene " + toString(_this__u8e3s4) + ' in ClientSceneDataDto.mapFromDto');
|
|
20261
20316
|
}
|
|
@@ -20265,7 +20320,7 @@
|
|
|
20265
20320
|
}
|
|
20266
20321
|
return tmp;
|
|
20267
20322
|
}
|
|
20268
|
-
function
|
|
20323
|
+
function mapFromDto_94(_this__u8e3s4) {
|
|
20269
20324
|
// Inline function 'kotlin.collections.map' call
|
|
20270
20325
|
var this_0 = _this__u8e3s4.x84_1;
|
|
20271
20326
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20281,7 +20336,7 @@
|
|
|
20281
20336
|
var tmp0_safe_receiver = _this__u8e3s4.c85_1;
|
|
20282
20337
|
return new TradeClientSceneData(tmp, _this__u8e3s4.y84_1, tmp_0, _this__u8e3s4.a85_1, tmp0_safe_receiver == null ? null : mapFromDto_14(tmp0_safe_receiver), _this__u8e3s4.b85_1);
|
|
20283
20338
|
}
|
|
20284
|
-
function
|
|
20339
|
+
function mapFromDto_95(_this__u8e3s4) {
|
|
20285
20340
|
// Inline function 'kotlin.collections.map' call
|
|
20286
20341
|
var this_0 = _this__u8e3s4.d85_1;
|
|
20287
20342
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20369,22 +20424,22 @@
|
|
|
20369
20424
|
}
|
|
20370
20425
|
return new CalcPointsSceneDataDto(_this__u8e3s4.v7b_1, _this__u8e3s4.w7b_1, _this__u8e3s4.x7b_1, tmp_1, _this__u8e3s4.z7b_1, tmp_2, tmp_3);
|
|
20371
20426
|
}
|
|
20372
|
-
function
|
|
20427
|
+
function mapFromDto_96(_this__u8e3s4) {
|
|
20373
20428
|
var tmp;
|
|
20374
20429
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
20375
|
-
tmp =
|
|
20430
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
20376
20431
|
} else {
|
|
20377
20432
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
20378
|
-
tmp =
|
|
20433
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
20379
20434
|
} else {
|
|
20380
20435
|
if (_this__u8e3s4 instanceof TradeSceneDataDto) {
|
|
20381
|
-
tmp =
|
|
20436
|
+
tmp = mapFromDto_99(_this__u8e3s4);
|
|
20382
20437
|
} else {
|
|
20383
20438
|
if (_this__u8e3s4 instanceof EarnPointsSceneDataDto) {
|
|
20384
|
-
tmp =
|
|
20439
|
+
tmp = mapFromDto_100(_this__u8e3s4);
|
|
20385
20440
|
} else {
|
|
20386
20441
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
20387
|
-
tmp =
|
|
20442
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
20388
20443
|
} else {
|
|
20389
20444
|
throw new MechanicException("Can't map this scene in SceneData.mapFromDto " + toString(_this__u8e3s4));
|
|
20390
20445
|
}
|
|
@@ -20419,13 +20474,13 @@
|
|
|
20419
20474
|
}
|
|
20420
20475
|
return tmp;
|
|
20421
20476
|
}
|
|
20422
|
-
function
|
|
20477
|
+
function mapFromDto_97(_this__u8e3s4) {
|
|
20423
20478
|
return WaitingSceneData_getInstance();
|
|
20424
20479
|
}
|
|
20425
|
-
function
|
|
20480
|
+
function mapFromDto_98(_this__u8e3s4) {
|
|
20426
20481
|
return new ChoosePartnerSceneData(_this__u8e3s4.i85_1);
|
|
20427
20482
|
}
|
|
20428
|
-
function
|
|
20483
|
+
function mapFromDto_99(_this__u8e3s4) {
|
|
20429
20484
|
// Inline function 'kotlin.collections.mapValues' call
|
|
20430
20485
|
var this_0 = _this__u8e3s4.j85_1;
|
|
20431
20486
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -20464,7 +20519,7 @@
|
|
|
20464
20519
|
var tmp5_randomData = tmp0_safe_receiver == null ? null : mapFromDto_14(tmp0_safe_receiver);
|
|
20465
20520
|
return new TradeSceneData(destination, tmp5_randomData, tmp2_trumpCard, destination_1, tmp4_whoShuffleCardsPlayerId);
|
|
20466
20521
|
}
|
|
20467
|
-
function
|
|
20522
|
+
function mapFromDto_100(_this__u8e3s4) {
|
|
20468
20523
|
// Inline function 'kotlin.collections.mapValues' call
|
|
20469
20524
|
var this_0 = _this__u8e3s4.o85_1;
|
|
20470
20525
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -20520,7 +20575,7 @@
|
|
|
20520
20575
|
var tmp1_safe_receiver = _this__u8e3s4.q85_1;
|
|
20521
20576
|
return new EarnPointsSceneData(tmp_0, tmp_3, tmp1_safe_receiver == null ? null : mapFromDto(tmp1_safe_receiver), _this__u8e3s4.r85_1);
|
|
20522
20577
|
}
|
|
20523
|
-
function
|
|
20578
|
+
function mapFromDto_101(_this__u8e3s4) {
|
|
20524
20579
|
// Inline function 'kotlin.collections.map' call
|
|
20525
20580
|
var this_0 = _this__u8e3s4.x85_1;
|
|
20526
20581
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20528,7 +20583,7 @@
|
|
|
20528
20583
|
var _iterator__ex2g4s = this_0.l();
|
|
20529
20584
|
while (_iterator__ex2g4s.m()) {
|
|
20530
20585
|
var item = _iterator__ex2g4s.n();
|
|
20531
|
-
var tmp$ret$0 =
|
|
20586
|
+
var tmp$ret$0 = mapFromDto_84(item);
|
|
20532
20587
|
destination.j(tmp$ret$0);
|
|
20533
20588
|
}
|
|
20534
20589
|
var tmp = destination;
|
|
@@ -20547,7 +20602,7 @@
|
|
|
20547
20602
|
var tmp_1 = element.w();
|
|
20548
20603
|
// Inline function 'kotlin.collections.component2' call
|
|
20549
20604
|
var value = element.x();
|
|
20550
|
-
var tmp$ret$5 =
|
|
20605
|
+
var tmp$ret$5 = mapFromDto_74(value);
|
|
20551
20606
|
destination_0.f2(tmp_1, tmp$ret$5);
|
|
20552
20607
|
}
|
|
20553
20608
|
tmp_0 = destination_0;
|
|
@@ -32706,8 +32761,8 @@
|
|
|
32706
32761
|
var tmp8_chatMessages = emptyList();
|
|
32707
32762
|
return new JassTable(roomId, version, createdAt, config, destination, tmp5_spectators, tmp1_sceneInfo, tmp2_cardsOnTable, tmp6_bribes, null, tmp4_requestedCardDecks, tmp3_gameInfo, tmp7_gameHistory, tmp8_chatMessages);
|
|
32708
32763
|
}
|
|
32709
|
-
function
|
|
32710
|
-
var tmp =
|
|
32764
|
+
function mapFromDto_102(_this__u8e3s4) {
|
|
32765
|
+
var tmp = mapFromDto_69(_this__u8e3s4.o8a_1);
|
|
32711
32766
|
// Inline function 'kotlin.collections.map' call
|
|
32712
32767
|
var this_0 = _this__u8e3s4.p8a_1;
|
|
32713
32768
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -40347,8 +40402,8 @@
|
|
|
40347
40402
|
function get_ratingModule() {
|
|
40348
40403
|
return Module_init_$Create$('Rating module', VOID, VOID, _get_ratingModule_$lambda_udzfl5);
|
|
40349
40404
|
}
|
|
40350
|
-
function getEngineGameModule(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig) {
|
|
40351
|
-
return Module_init_$Create$('Game engine Module', VOID, VOID, getEngineGameModule$lambda(engineBotConfig, dealerConfig, engineLogicConfig, ratingConfig));
|
|
40405
|
+
function getEngineGameModule(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig, leaguesConfig) {
|
|
40406
|
+
return Module_init_$Create$('Game engine Module', VOID, VOID, getEngineGameModule$lambda(engineBotConfig, dealerConfig, engineLogicConfig, ratingConfig, leaguesConfig));
|
|
40352
40407
|
}
|
|
40353
40408
|
function engineGameLogicModule() {
|
|
40354
40409
|
return Module_init_$Create$('Game logic Module', VOID, VOID, engineGameLogicModule$lambda);
|
|
@@ -40471,10 +40526,15 @@
|
|
|
40471
40526
|
return $ratingConfig;
|
|
40472
40527
|
};
|
|
40473
40528
|
}
|
|
40474
|
-
function getEngineGameModule$lambda$lambda_3($
|
|
40475
|
-
return
|
|
40529
|
+
function getEngineGameModule$lambda$lambda_3($leaguesConfig) {
|
|
40530
|
+
return function ($this$singleton) {
|
|
40531
|
+
return $leaguesConfig;
|
|
40532
|
+
};
|
|
40476
40533
|
}
|
|
40477
40534
|
function getEngineGameModule$lambda$lambda_4($this$provider) {
|
|
40535
|
+
return new ScenePositionProviderImpl();
|
|
40536
|
+
}
|
|
40537
|
+
function getEngineGameModule$lambda$lambda_5($this$provider) {
|
|
40478
40538
|
// Inline function 'org.kodein.di.instance' call
|
|
40479
40539
|
var tmp = $this$provider.y5y();
|
|
40480
40540
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40495,7 +40555,7 @@
|
|
|
40495
40555
|
var tmp$ret$5 = tmp_5.x5y(tmp$ret$4, null);
|
|
40496
40556
|
return new SceneRouterImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40497
40557
|
}
|
|
40498
|
-
function getEngineGameModule$lambda$
|
|
40558
|
+
function getEngineGameModule$lambda$lambda_6($this$provider) {
|
|
40499
40559
|
// Inline function 'org.kodein.di.instance' call
|
|
40500
40560
|
var tmp = $this$provider.y5y();
|
|
40501
40561
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40510,10 +40570,10 @@
|
|
|
40510
40570
|
var tmp$ret$3 = tmp_2.x5y(tmp$ret$2, null);
|
|
40511
40571
|
return new WinnerCombinationProviderImpl(tmp_1, tmp$ret$3);
|
|
40512
40572
|
}
|
|
40513
|
-
function getEngineGameModule$lambda$
|
|
40573
|
+
function getEngineGameModule$lambda$lambda_7($this$provider) {
|
|
40514
40574
|
return new PointWinnersProviderImpl();
|
|
40515
40575
|
}
|
|
40516
|
-
function getEngineGameModule$lambda$
|
|
40576
|
+
function getEngineGameModule$lambda$lambda_8($this$provider) {
|
|
40517
40577
|
// Inline function 'org.kodein.di.instance' call
|
|
40518
40578
|
var tmp = $this$provider.y5y();
|
|
40519
40579
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40522,7 +40582,7 @@
|
|
|
40522
40582
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40523
40583
|
return new PlayerTurnTagProvider(tmp$ret$1);
|
|
40524
40584
|
}
|
|
40525
|
-
function getEngineGameModule$lambda$
|
|
40585
|
+
function getEngineGameModule$lambda$lambda_9($this$singleton) {
|
|
40526
40586
|
// Inline function 'org.kodein.di.instance' call
|
|
40527
40587
|
var tmp = $this$singleton.y5y();
|
|
40528
40588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40531,10 +40591,10 @@
|
|
|
40531
40591
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40532
40592
|
return new MessageFactoryImpl(tmp$ret$1);
|
|
40533
40593
|
}
|
|
40534
|
-
function getEngineGameModule$lambda$
|
|
40594
|
+
function getEngineGameModule$lambda$lambda_10($this$singleton) {
|
|
40535
40595
|
return new FromClientEventsObserverImpl();
|
|
40536
40596
|
}
|
|
40537
|
-
function getEngineGameModule$lambda$
|
|
40597
|
+
function getEngineGameModule$lambda$lambda_11($this$provider) {
|
|
40538
40598
|
// Inline function 'org.kodein.di.instance' call
|
|
40539
40599
|
var tmp = $this$provider.y5y();
|
|
40540
40600
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40543,7 +40603,7 @@
|
|
|
40543
40603
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40544
40604
|
return new GameLifecycleInteractorImpl(tmp$ret$1);
|
|
40545
40605
|
}
|
|
40546
|
-
function getEngineGameModule$lambda$
|
|
40606
|
+
function getEngineGameModule$lambda$lambda_12($this$provider) {
|
|
40547
40607
|
// Inline function 'org.kodein.di.instance' call
|
|
40548
40608
|
var tmp = $this$provider.y5y();
|
|
40549
40609
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40552,7 +40612,7 @@
|
|
|
40552
40612
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40553
40613
|
return new LastCardInteractor(tmp$ret$1);
|
|
40554
40614
|
}
|
|
40555
|
-
function getEngineGameModule$lambda$
|
|
40615
|
+
function getEngineGameModule$lambda$lambda_13($this$provider) {
|
|
40556
40616
|
// Inline function 'org.kodein.di.instance' call
|
|
40557
40617
|
var tmp = $this$provider.y5y();
|
|
40558
40618
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40597,7 +40657,7 @@
|
|
|
40597
40657
|
var tmp6_dealerReducer = tmp_11.x5y(tmp$ret$12, null);
|
|
40598
40658
|
return new GameMechanicLogicInteractorImpl(tmp0_teamsLogicProvider, tmp1_combinationsInteractor, tmp5_playerTurnInteractor, tmp2_gameLogicProvider, tmp4_messageFactory, tmp6_dealerReducer, tmp3_logger);
|
|
40599
40659
|
}
|
|
40600
|
-
function getEngineGameModule$lambda$
|
|
40660
|
+
function getEngineGameModule$lambda$lambda_14($this$singleton) {
|
|
40601
40661
|
// Inline function 'org.kodein.di.instance' call
|
|
40602
40662
|
var tmp = $this$singleton.y5y();
|
|
40603
40663
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40618,7 +40678,7 @@
|
|
|
40618
40678
|
var tmp$ret$5 = tmp_5.x5y(tmp$ret$4, null);
|
|
40619
40679
|
return new DealerInteractorImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40620
40680
|
}
|
|
40621
|
-
function getEngineGameModule$lambda$
|
|
40681
|
+
function getEngineGameModule$lambda$lambda_15($this$singleton) {
|
|
40622
40682
|
// Inline function 'org.kodein.di.instance' call
|
|
40623
40683
|
var tmp = $this$singleton.y5y();
|
|
40624
40684
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40627,7 +40687,7 @@
|
|
|
40627
40687
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40628
40688
|
return new SceneValidationInteractorImpl(tmp$ret$1);
|
|
40629
40689
|
}
|
|
40630
|
-
function getEngineGameModule$lambda$
|
|
40690
|
+
function getEngineGameModule$lambda$lambda_16($this$singleton) {
|
|
40631
40691
|
// Inline function 'org.kodein.di.instance' call
|
|
40632
40692
|
var tmp = $this$singleton.y5y();
|
|
40633
40693
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40636,7 +40696,7 @@
|
|
|
40636
40696
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
40637
40697
|
return new DealerReducerImpl(tmp$ret$1, true);
|
|
40638
40698
|
}
|
|
40639
|
-
function getEngineGameModule$lambda$
|
|
40699
|
+
function getEngineGameModule$lambda$lambda_17($this$singleton) {
|
|
40640
40700
|
// Inline function 'org.kodein.di.instance' call
|
|
40641
40701
|
var tmp = $this$singleton.y5y();
|
|
40642
40702
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40663,7 +40723,7 @@
|
|
|
40663
40723
|
var tmp$ret$7 = tmp_8.x5y(tmp$ret$6, null);
|
|
40664
40724
|
return new PlayerOptionsInteractorImpl(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
40665
40725
|
}
|
|
40666
|
-
function getEngineGameModule$lambda$
|
|
40726
|
+
function getEngineGameModule$lambda$lambda_18($this$singleton) {
|
|
40667
40727
|
// Inline function 'org.kodein.di.instance' call
|
|
40668
40728
|
var tmp = $this$singleton.y5y();
|
|
40669
40729
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40678,7 +40738,7 @@
|
|
|
40678
40738
|
var tmp$ret$3 = tmp_2.x5y(tmp$ret$2, null);
|
|
40679
40739
|
return new PlayerTurnInteractorImpl(tmp_1, tmp$ret$3);
|
|
40680
40740
|
}
|
|
40681
|
-
function getEngineGameModule$lambda$
|
|
40741
|
+
function getEngineGameModule$lambda$lambda_19($this$singleton) {
|
|
40682
40742
|
// Inline function 'org.kodein.di.instance' call
|
|
40683
40743
|
var tmp = $this$singleton.y5y();
|
|
40684
40744
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40711,7 +40771,7 @@
|
|
|
40711
40771
|
var tmp4_teamsLogicProvider = tmp_7.x5y(tmp$ret$8, null);
|
|
40712
40772
|
return new CardsInteractorImpl(tmp0_gameLogicProvider, tmp4_teamsLogicProvider, tmp1_paramsProvider, tmp2_equalHandsDealerInteractor, tmp3_dealerConfig);
|
|
40713
40773
|
}
|
|
40714
|
-
function getEngineGameModule$lambda$
|
|
40774
|
+
function getEngineGameModule$lambda$lambda_20($this$singleton) {
|
|
40715
40775
|
// Inline function 'org.kodein.di.instance' call
|
|
40716
40776
|
var tmp = $this$singleton.y5y();
|
|
40717
40777
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40732,7 +40792,7 @@
|
|
|
40732
40792
|
var tmp$ret$5 = tmp_5.x5y(tmp$ret$4, null);
|
|
40733
40793
|
return new CombinationsInteractorImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40734
40794
|
}
|
|
40735
|
-
function getEngineGameModule$lambda$
|
|
40795
|
+
function getEngineGameModule$lambda$lambda_21($this$singleton) {
|
|
40736
40796
|
// Inline function 'org.kodein.di.instance' call
|
|
40737
40797
|
var tmp = $this$singleton.y5y();
|
|
40738
40798
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40765,7 +40825,7 @@
|
|
|
40765
40825
|
var tmp$ret$9 = tmp_11.x5y(tmp$ret$8, null);
|
|
40766
40826
|
return new EqualHandsDealerIntercatorImpl(tmp_1, tmp_4, tmp_7, tmp_10, tmp$ret$9);
|
|
40767
40827
|
}
|
|
40768
|
-
function getEngineGameModule$lambda$
|
|
40828
|
+
function getEngineGameModule$lambda$lambda_22($this$singleton) {
|
|
40769
40829
|
// Inline function 'org.kodein.di.instance' call
|
|
40770
40830
|
var tmp = $this$singleton.y5y();
|
|
40771
40831
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40792,7 +40852,7 @@
|
|
|
40792
40852
|
var tmp$ret$7 = tmp_8.x5y(tmp$ret$6, null);
|
|
40793
40853
|
return new PointsInteractorImpl(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
40794
40854
|
}
|
|
40795
|
-
function getEngineGameModule$lambda$
|
|
40855
|
+
function getEngineGameModule$lambda$lambda_23($this$provider) {
|
|
40796
40856
|
// Inline function 'org.kodein.di.instance' call
|
|
40797
40857
|
var tmp = $this$provider.y5y();
|
|
40798
40858
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40862,18 +40922,24 @@
|
|
|
40862
40922
|
// Inline function 'org.kodein.di.instance' call
|
|
40863
40923
|
var tmp_21 = $this$provider.y5y();
|
|
40864
40924
|
// Inline function 'org.kodein.type.generic' call
|
|
40865
|
-
var tmp_22 = typeToken(createKType(getKClass(
|
|
40925
|
+
var tmp_22 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
40866
40926
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
40867
|
-
var
|
|
40927
|
+
var tmp11_leaguesConfig = tmp_21.x5y(tmp$ret$22, null);
|
|
40868
40928
|
// Inline function 'org.kodein.di.instance' call
|
|
40869
40929
|
var tmp_23 = $this$provider.y5y();
|
|
40870
40930
|
// Inline function 'org.kodein.type.generic' call
|
|
40871
|
-
var tmp_24 = typeToken(createKType(getKClass(
|
|
40931
|
+
var tmp_24 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
40872
40932
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
40873
|
-
var
|
|
40874
|
-
|
|
40933
|
+
var tmp12_engineLogicConfig = tmp_23.x5y(tmp$ret$24, null);
|
|
40934
|
+
// Inline function 'org.kodein.di.instance' call
|
|
40935
|
+
var tmp_25 = $this$provider.y5y();
|
|
40936
|
+
// Inline function 'org.kodein.type.generic' call
|
|
40937
|
+
var tmp_26 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
40938
|
+
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
40939
|
+
var tmp13_idsProvider = tmp_25.x5y(tmp$ret$26, null);
|
|
40940
|
+
return new SceneFactory(tmp13_idsProvider, tmp1_dealerInteractor, tmp0_cardsInteractor, tmp2_pointsInteractor, tmp3_playerOptionsInteractor, tmp4_combinationsInteractor, tmp5_playerSceneReducer, tmp7_playerTurnInteractor, tmp9_userRatingInteractor, tmp8_randomPoolProvider, tmp10_dealerConfig, tmp11_leaguesConfig, tmp12_engineLogicConfig, tmp6_logger);
|
|
40875
40941
|
}
|
|
40876
|
-
function getEngineGameModule$lambda$
|
|
40942
|
+
function getEngineGameModule$lambda$lambda_24($this$provider) {
|
|
40877
40943
|
// Inline function 'org.kodein.di.instance' call
|
|
40878
40944
|
var tmp = $this$provider.y5y();
|
|
40879
40945
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40912,10 +40978,10 @@
|
|
|
40912
40978
|
var tmp5_gameHistoryReducer = tmp_9.x5y(tmp$ret$10, null);
|
|
40913
40979
|
return new SceneReducer(tmp0_playerSceneReducer, tmp1_playerTurnMechanicReducer, tmp2_tableLifecycleReducer, tmp5_gameHistoryReducer, tmp3_dealerReducer, tmp4_gameParamsProvider);
|
|
40914
40980
|
}
|
|
40915
|
-
function getEngineGameModule$lambda$
|
|
40981
|
+
function getEngineGameModule$lambda$lambda_25($this$provider) {
|
|
40916
40982
|
return new SceneActReducer();
|
|
40917
40983
|
}
|
|
40918
|
-
function getEngineGameModule$lambda$
|
|
40984
|
+
function getEngineGameModule$lambda$lambda_26($this$provider) {
|
|
40919
40985
|
// Inline function 'org.kodein.di.instance' call
|
|
40920
40986
|
var tmp = $this$provider.y5y();
|
|
40921
40987
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40942,7 +41008,7 @@
|
|
|
40942
41008
|
var tmp$ret$7 = tmp_8.x5y(tmp$ret$6, null);
|
|
40943
41009
|
return new GameHistoryReducer(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
40944
41010
|
}
|
|
40945
|
-
function getEngineGameModule$lambda$
|
|
41011
|
+
function getEngineGameModule$lambda$lambda_27($this$provider) {
|
|
40946
41012
|
// Inline function 'org.kodein.di.instance' call
|
|
40947
41013
|
var tmp = $this$provider.y5y();
|
|
40948
41014
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40957,7 +41023,7 @@
|
|
|
40957
41023
|
var tmp$ret$3 = tmp_2.x5y(tmp$ret$2, null);
|
|
40958
41024
|
return new TableLifecycleReducerImpl(tmp_1, tmp$ret$3);
|
|
40959
41025
|
}
|
|
40960
|
-
function getEngineGameModule$lambda$
|
|
41026
|
+
function getEngineGameModule$lambda$lambda_28($this$provider) {
|
|
40961
41027
|
// Inline function 'org.kodein.di.instance' call
|
|
40962
41028
|
var tmp = $this$provider.y5y();
|
|
40963
41029
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40978,7 +41044,7 @@
|
|
|
40978
41044
|
var tmp$ret$5 = tmp_5.x5y(tmp$ret$4, null);
|
|
40979
41045
|
return new PlayerTurnMechanicReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
40980
41046
|
}
|
|
40981
|
-
function getEngineGameModule$lambda$
|
|
41047
|
+
function getEngineGameModule$lambda$lambda_29($this$provider) {
|
|
40982
41048
|
// Inline function 'org.kodein.di.instance' call
|
|
40983
41049
|
var tmp = $this$provider.y5y();
|
|
40984
41050
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41005,7 +41071,7 @@
|
|
|
41005
41071
|
var tmp$ret$7 = tmp_8.x5y(tmp$ret$6, null);
|
|
41006
41072
|
return new PlayerHandReducer(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
41007
41073
|
}
|
|
41008
|
-
function getEngineGameModule$lambda$
|
|
41074
|
+
function getEngineGameModule$lambda$lambda_30($this$provider) {
|
|
41009
41075
|
// Inline function 'org.kodein.di.instance' call
|
|
41010
41076
|
var tmp = $this$provider.y5y();
|
|
41011
41077
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41014,10 +41080,10 @@
|
|
|
41014
41080
|
var tmp$ret$1 = tmp.x5y(tmp$ret$0, null);
|
|
41015
41081
|
return new PlayerSceneReducer(tmp$ret$1);
|
|
41016
41082
|
}
|
|
41017
|
-
function getEngineGameModule$lambda$
|
|
41083
|
+
function getEngineGameModule$lambda$lambda_31($this$provider) {
|
|
41018
41084
|
return new TeamsMechanicReducer();
|
|
41019
41085
|
}
|
|
41020
|
-
function getEngineGameModule$lambda$
|
|
41086
|
+
function getEngineGameModule$lambda$lambda_32($this$provider) {
|
|
41021
41087
|
// Inline function 'org.kodein.di.instance' call
|
|
41022
41088
|
var tmp = $this$provider.y5y();
|
|
41023
41089
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41050,7 +41116,7 @@
|
|
|
41050
41116
|
var tmp$ret$9 = tmp_11.x5y(tmp$ret$8, null);
|
|
41051
41117
|
return new CombinationsMechanicReducer(tmp_1, tmp_4, tmp_7, tmp_10, tmp$ret$9);
|
|
41052
41118
|
}
|
|
41053
|
-
function getEngineGameModule$lambda$
|
|
41119
|
+
function getEngineGameModule$lambda$lambda_33($this$provider) {
|
|
41054
41120
|
// Inline function 'org.kodein.di.instance' call
|
|
41055
41121
|
var tmp = $this$provider.y5y();
|
|
41056
41122
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41065,7 +41131,7 @@
|
|
|
41065
41131
|
var tmp$ret$3 = tmp_2.x5y(tmp$ret$2, null);
|
|
41066
41132
|
return new TradeMechanicReducer(tmp_1, tmp$ret$3);
|
|
41067
41133
|
}
|
|
41068
|
-
function getEngineGameModule$lambda$
|
|
41134
|
+
function getEngineGameModule$lambda$lambda_34($this$provider) {
|
|
41069
41135
|
// Inline function 'org.kodein.di.instance' call
|
|
41070
41136
|
var tmp = $this$provider.y5y();
|
|
41071
41137
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41110,7 +41176,7 @@
|
|
|
41110
41176
|
var tmp6_playerHandReducer = tmp_11.x5y(tmp$ret$12, null);
|
|
41111
41177
|
return new EarnPointsMechanicReducer(tmp0_combinationsMechanicReducer, tmp1_combinationsFactory, tmp2_combinationsInteractor, tmp3_dealerReducer, tmp5_gameHistoryReducer, tmp6_playerHandReducer, tmp4_logger);
|
|
41112
41178
|
}
|
|
41113
|
-
function getEngineGameModule$lambda$
|
|
41179
|
+
function getEngineGameModule$lambda$lambda_35($this$provider) {
|
|
41114
41180
|
// Inline function 'org.kodein.di.instance' call
|
|
41115
41181
|
var tmp = $this$provider.y5y();
|
|
41116
41182
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41173,7 +41239,7 @@
|
|
|
41173
41239
|
var tmp9_earnPointsMechanicReducer = tmp_17.x5y(tmp$ret$18, null);
|
|
41174
41240
|
return new MechanicReducers(tmp3_gameLifecycleReducer, tmp5_teamsMechanicReducer, tmp6_tradeMechanicReducer, tmp9_earnPointsMechanicReducer, tmp0_combinationsMechanicReducer, tmp8_playerTurnMechanicReducer, tmp4_sceneReducer, tmp7_sceneActReducer, tmp1_engineLogicConfig, tmp2_logger);
|
|
41175
41241
|
}
|
|
41176
|
-
function getEngineGameModule$lambda($engineBotConfig, $dealerConfig, $engineLogicConfig, $ratingConfig) {
|
|
41242
|
+
function getEngineGameModule$lambda($engineBotConfig, $dealerConfig, $engineLogicConfig, $ratingConfig, $leaguesConfig) {
|
|
41177
41243
|
return function ($this$Module) {
|
|
41178
41244
|
$this$Module.n5x(engineGameLogicModule());
|
|
41179
41245
|
$this$Module.n5x(engineGameBotModule());
|
|
@@ -41245,87 +41311,87 @@
|
|
|
41245
41311
|
tmp_19.j61(tmp$ret$15);
|
|
41246
41312
|
// Inline function 'org.kodein.di.bind' call
|
|
41247
41313
|
// Inline function 'org.kodein.type.generic' call
|
|
41248
|
-
var tmp_24 = typeToken(createKType(getKClass(
|
|
41314
|
+
var tmp_24 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
41249
41315
|
var tmp$ret$16 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
41250
41316
|
var tmp_25 = $this$Module.l5x(tmp$ret$16, null, null);
|
|
41251
|
-
// Inline function 'org.kodein.di.
|
|
41252
|
-
var creator_3 = getEngineGameModule$lambda$lambda_3;
|
|
41253
|
-
var tmp_26 = $this$Module.
|
|
41317
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41318
|
+
var creator_3 = getEngineGameModule$lambda$lambda_3($leaguesConfig);
|
|
41319
|
+
var tmp_26 = $this$Module.q5x();
|
|
41320
|
+
var tmp_27 = $this$Module.o5x();
|
|
41321
|
+
var tmp_28 = $this$Module.p5x();
|
|
41254
41322
|
// Inline function 'org.kodein.type.generic' call
|
|
41255
|
-
var
|
|
41256
|
-
var tmp$ret$18 = isInterface(
|
|
41257
|
-
var tmp$ret$19 = new
|
|
41323
|
+
var tmp_29 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
41324
|
+
var tmp$ret$18 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
41325
|
+
var tmp$ret$19 = new Singleton(tmp_26, tmp_27, tmp_28, tmp$ret$18, null, true, creator_3);
|
|
41258
41326
|
tmp_25.j61(tmp$ret$19);
|
|
41259
41327
|
// Inline function 'org.kodein.di.bind' call
|
|
41260
41328
|
// Inline function 'org.kodein.type.generic' call
|
|
41261
|
-
var
|
|
41262
|
-
var tmp$ret$20 = isInterface(
|
|
41263
|
-
var
|
|
41329
|
+
var tmp_30 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
41330
|
+
var tmp$ret$20 = isInterface(tmp_30, TypeToken) ? tmp_30 : THROW_CCE();
|
|
41331
|
+
var tmp_31 = $this$Module.l5x(tmp$ret$20, null, null);
|
|
41264
41332
|
// Inline function 'org.kodein.di.provider' call
|
|
41265
41333
|
var creator_4 = getEngineGameModule$lambda$lambda_4;
|
|
41266
|
-
var
|
|
41334
|
+
var tmp_32 = $this$Module.o5x();
|
|
41267
41335
|
// Inline function 'org.kodein.type.generic' call
|
|
41268
|
-
var
|
|
41269
|
-
var tmp$ret$22 = isInterface(
|
|
41270
|
-
var tmp$ret$23 = new Provider(
|
|
41271
|
-
|
|
41336
|
+
var tmp_33 = typeToken(createKType(getKClass(ScenePositionProviderImpl), arrayOf([]), false));
|
|
41337
|
+
var tmp$ret$22 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
41338
|
+
var tmp$ret$23 = new Provider(tmp_32, tmp$ret$22, creator_4);
|
|
41339
|
+
tmp_31.j61(tmp$ret$23);
|
|
41272
41340
|
// Inline function 'org.kodein.di.bind' call
|
|
41273
41341
|
// Inline function 'org.kodein.type.generic' call
|
|
41274
|
-
var
|
|
41275
|
-
var tmp$ret$24 = isInterface(
|
|
41276
|
-
var
|
|
41342
|
+
var tmp_34 = typeToken(createKType(getKClass(SceneRouter), arrayOf([]), false));
|
|
41343
|
+
var tmp$ret$24 = isInterface(tmp_34, TypeToken) ? tmp_34 : THROW_CCE();
|
|
41344
|
+
var tmp_35 = $this$Module.l5x(tmp$ret$24, null, null);
|
|
41277
41345
|
// Inline function 'org.kodein.di.provider' call
|
|
41278
41346
|
var creator_5 = getEngineGameModule$lambda$lambda_5;
|
|
41279
|
-
var
|
|
41347
|
+
var tmp_36 = $this$Module.o5x();
|
|
41280
41348
|
// Inline function 'org.kodein.type.generic' call
|
|
41281
|
-
var
|
|
41282
|
-
var tmp$ret$26 = isInterface(
|
|
41283
|
-
var tmp$ret$27 = new Provider(
|
|
41284
|
-
|
|
41349
|
+
var tmp_37 = typeToken(createKType(getKClass(SceneRouterImpl), arrayOf([]), false));
|
|
41350
|
+
var tmp$ret$26 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
41351
|
+
var tmp$ret$27 = new Provider(tmp_36, tmp$ret$26, creator_5);
|
|
41352
|
+
tmp_35.j61(tmp$ret$27);
|
|
41285
41353
|
// Inline function 'org.kodein.di.bind' call
|
|
41286
41354
|
// Inline function 'org.kodein.type.generic' call
|
|
41287
|
-
var
|
|
41288
|
-
var tmp$ret$28 = isInterface(
|
|
41289
|
-
var
|
|
41355
|
+
var tmp_38 = typeToken(createKType(getKClass(WinnerCombinationProvider), arrayOf([]), false));
|
|
41356
|
+
var tmp$ret$28 = isInterface(tmp_38, TypeToken) ? tmp_38 : THROW_CCE();
|
|
41357
|
+
var tmp_39 = $this$Module.l5x(tmp$ret$28, null, null);
|
|
41290
41358
|
// Inline function 'org.kodein.di.provider' call
|
|
41291
41359
|
var creator_6 = getEngineGameModule$lambda$lambda_6;
|
|
41292
|
-
var
|
|
41360
|
+
var tmp_40 = $this$Module.o5x();
|
|
41293
41361
|
// Inline function 'org.kodein.type.generic' call
|
|
41294
|
-
var
|
|
41295
|
-
var tmp$ret$30 = isInterface(
|
|
41296
|
-
var tmp$ret$31 = new Provider(
|
|
41297
|
-
|
|
41362
|
+
var tmp_41 = typeToken(createKType(getKClass(WinnerCombinationProviderImpl), arrayOf([]), false));
|
|
41363
|
+
var tmp$ret$30 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
41364
|
+
var tmp$ret$31 = new Provider(tmp_40, tmp$ret$30, creator_6);
|
|
41365
|
+
tmp_39.j61(tmp$ret$31);
|
|
41298
41366
|
// Inline function 'org.kodein.di.bind' call
|
|
41299
41367
|
// Inline function 'org.kodein.type.generic' call
|
|
41300
|
-
var
|
|
41301
|
-
var tmp$ret$32 = isInterface(
|
|
41302
|
-
var
|
|
41368
|
+
var tmp_42 = typeToken(createKType(getKClass(PointWinnersProvider), arrayOf([]), false));
|
|
41369
|
+
var tmp$ret$32 = isInterface(tmp_42, TypeToken) ? tmp_42 : THROW_CCE();
|
|
41370
|
+
var tmp_43 = $this$Module.l5x(tmp$ret$32, null, null);
|
|
41303
41371
|
// Inline function 'org.kodein.di.provider' call
|
|
41304
41372
|
var creator_7 = getEngineGameModule$lambda$lambda_7;
|
|
41305
|
-
var
|
|
41373
|
+
var tmp_44 = $this$Module.o5x();
|
|
41306
41374
|
// Inline function 'org.kodein.type.generic' call
|
|
41307
|
-
var
|
|
41308
|
-
var tmp$ret$34 = isInterface(
|
|
41309
|
-
var tmp$ret$35 = new Provider(
|
|
41310
|
-
|
|
41375
|
+
var tmp_45 = typeToken(createKType(getKClass(PointWinnersProviderImpl), arrayOf([]), false));
|
|
41376
|
+
var tmp$ret$34 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
41377
|
+
var tmp$ret$35 = new Provider(tmp_44, tmp$ret$34, creator_7);
|
|
41378
|
+
tmp_43.j61(tmp$ret$35);
|
|
41311
41379
|
// Inline function 'org.kodein.di.bind' call
|
|
41312
41380
|
// Inline function 'org.kodein.type.generic' call
|
|
41313
|
-
var
|
|
41314
|
-
var tmp$ret$36 = isInterface(
|
|
41315
|
-
var
|
|
41316
|
-
// Inline function 'org.kodein.di.
|
|
41381
|
+
var tmp_46 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
41382
|
+
var tmp$ret$36 = isInterface(tmp_46, TypeToken) ? tmp_46 : THROW_CCE();
|
|
41383
|
+
var tmp_47 = $this$Module.l5x(tmp$ret$36, null, null);
|
|
41384
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41317
41385
|
var creator_8 = getEngineGameModule$lambda$lambda_8;
|
|
41318
|
-
var
|
|
41319
|
-
var tmp_47 = $this$Module.o5x();
|
|
41320
|
-
var tmp_48 = $this$Module.p5x();
|
|
41386
|
+
var tmp_48 = $this$Module.o5x();
|
|
41321
41387
|
// Inline function 'org.kodein.type.generic' call
|
|
41322
|
-
var tmp_49 = typeToken(createKType(getKClass(
|
|
41388
|
+
var tmp_49 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
41323
41389
|
var tmp$ret$38 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
41324
|
-
var tmp$ret$39 = new
|
|
41325
|
-
|
|
41390
|
+
var tmp$ret$39 = new Provider(tmp_48, tmp$ret$38, creator_8);
|
|
41391
|
+
tmp_47.j61(tmp$ret$39);
|
|
41326
41392
|
// Inline function 'org.kodein.di.bind' call
|
|
41327
41393
|
// Inline function 'org.kodein.type.generic' call
|
|
41328
|
-
var tmp_50 = typeToken(createKType(getKClass(
|
|
41394
|
+
var tmp_50 = typeToken(createKType(getKClass(MessageFactory), arrayOf([]), false));
|
|
41329
41395
|
var tmp$ret$40 = isInterface(tmp_50, TypeToken) ? tmp_50 : THROW_CCE();
|
|
41330
41396
|
var tmp_51 = $this$Module.l5x(tmp$ret$40, null, null);
|
|
41331
41397
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41334,67 +41400,67 @@
|
|
|
41334
41400
|
var tmp_53 = $this$Module.o5x();
|
|
41335
41401
|
var tmp_54 = $this$Module.p5x();
|
|
41336
41402
|
// Inline function 'org.kodein.type.generic' call
|
|
41337
|
-
var tmp_55 = typeToken(createKType(getKClass(
|
|
41403
|
+
var tmp_55 = typeToken(createKType(getKClass(MessageFactoryImpl), arrayOf([]), false));
|
|
41338
41404
|
var tmp$ret$42 = isInterface(tmp_55, TypeToken) ? tmp_55 : THROW_CCE();
|
|
41339
41405
|
var tmp$ret$43 = new Singleton(tmp_52, tmp_53, tmp_54, tmp$ret$42, null, true, creator_9);
|
|
41340
41406
|
tmp_51.j61(tmp$ret$43);
|
|
41341
41407
|
// Inline function 'org.kodein.di.bind' call
|
|
41342
41408
|
// Inline function 'org.kodein.type.generic' call
|
|
41343
|
-
var tmp_56 = typeToken(createKType(getKClass(
|
|
41409
|
+
var tmp_56 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
41344
41410
|
var tmp$ret$44 = isInterface(tmp_56, TypeToken) ? tmp_56 : THROW_CCE();
|
|
41345
41411
|
var tmp_57 = $this$Module.l5x(tmp$ret$44, null, null);
|
|
41346
|
-
// Inline function 'org.kodein.di.
|
|
41412
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41347
41413
|
var creator_10 = getEngineGameModule$lambda$lambda_10;
|
|
41348
|
-
var tmp_58 = $this$Module.
|
|
41414
|
+
var tmp_58 = $this$Module.q5x();
|
|
41415
|
+
var tmp_59 = $this$Module.o5x();
|
|
41416
|
+
var tmp_60 = $this$Module.p5x();
|
|
41349
41417
|
// Inline function 'org.kodein.type.generic' call
|
|
41350
|
-
var
|
|
41351
|
-
var tmp$ret$46 = isInterface(
|
|
41352
|
-
var tmp$ret$47 = new
|
|
41418
|
+
var tmp_61 = typeToken(createKType(getKClass(FromClientEventsObserverImpl), arrayOf([]), false));
|
|
41419
|
+
var tmp$ret$46 = isInterface(tmp_61, TypeToken) ? tmp_61 : THROW_CCE();
|
|
41420
|
+
var tmp$ret$47 = new Singleton(tmp_58, tmp_59, tmp_60, tmp$ret$46, null, true, creator_10);
|
|
41353
41421
|
tmp_57.j61(tmp$ret$47);
|
|
41354
41422
|
// Inline function 'org.kodein.di.bind' call
|
|
41355
41423
|
// Inline function 'org.kodein.type.generic' call
|
|
41356
|
-
var
|
|
41357
|
-
var tmp$ret$48 = isInterface(
|
|
41358
|
-
var
|
|
41424
|
+
var tmp_62 = typeToken(createKType(getKClass(GameLifecycleInteractor), arrayOf([]), false));
|
|
41425
|
+
var tmp$ret$48 = isInterface(tmp_62, TypeToken) ? tmp_62 : THROW_CCE();
|
|
41426
|
+
var tmp_63 = $this$Module.l5x(tmp$ret$48, null, null);
|
|
41359
41427
|
// Inline function 'org.kodein.di.provider' call
|
|
41360
41428
|
var creator_11 = getEngineGameModule$lambda$lambda_11;
|
|
41361
|
-
var
|
|
41429
|
+
var tmp_64 = $this$Module.o5x();
|
|
41362
41430
|
// Inline function 'org.kodein.type.generic' call
|
|
41363
|
-
var
|
|
41364
|
-
var tmp$ret$50 = isInterface(
|
|
41365
|
-
var tmp$ret$51 = new Provider(
|
|
41366
|
-
|
|
41431
|
+
var tmp_65 = typeToken(createKType(getKClass(GameLifecycleInteractorImpl), arrayOf([]), false));
|
|
41432
|
+
var tmp$ret$50 = isInterface(tmp_65, TypeToken) ? tmp_65 : THROW_CCE();
|
|
41433
|
+
var tmp$ret$51 = new Provider(tmp_64, tmp$ret$50, creator_11);
|
|
41434
|
+
tmp_63.j61(tmp$ret$51);
|
|
41367
41435
|
// Inline function 'org.kodein.di.bind' call
|
|
41368
41436
|
// Inline function 'org.kodein.type.generic' call
|
|
41369
|
-
var
|
|
41370
|
-
var tmp$ret$52 = isInterface(
|
|
41371
|
-
var
|
|
41437
|
+
var tmp_66 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
41438
|
+
var tmp$ret$52 = isInterface(tmp_66, TypeToken) ? tmp_66 : THROW_CCE();
|
|
41439
|
+
var tmp_67 = $this$Module.l5x(tmp$ret$52, null, null);
|
|
41372
41440
|
// Inline function 'org.kodein.di.provider' call
|
|
41373
41441
|
var creator_12 = getEngineGameModule$lambda$lambda_12;
|
|
41374
|
-
var
|
|
41442
|
+
var tmp_68 = $this$Module.o5x();
|
|
41375
41443
|
// Inline function 'org.kodein.type.generic' call
|
|
41376
|
-
var
|
|
41377
|
-
var tmp$ret$54 = isInterface(
|
|
41378
|
-
var tmp$ret$55 = new Provider(
|
|
41379
|
-
|
|
41444
|
+
var tmp_69 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
41445
|
+
var tmp$ret$54 = isInterface(tmp_69, TypeToken) ? tmp_69 : THROW_CCE();
|
|
41446
|
+
var tmp$ret$55 = new Provider(tmp_68, tmp$ret$54, creator_12);
|
|
41447
|
+
tmp_67.j61(tmp$ret$55);
|
|
41380
41448
|
// Inline function 'org.kodein.di.bind' call
|
|
41381
41449
|
// Inline function 'org.kodein.type.generic' call
|
|
41382
|
-
var
|
|
41383
|
-
var tmp$ret$56 = isInterface(
|
|
41384
|
-
var
|
|
41385
|
-
// Inline function 'org.kodein.di.
|
|
41450
|
+
var tmp_70 = typeToken(createKType(getKClass(GameMechanicLogicInteractor), arrayOf([]), false));
|
|
41451
|
+
var tmp$ret$56 = isInterface(tmp_70, TypeToken) ? tmp_70 : THROW_CCE();
|
|
41452
|
+
var tmp_71 = $this$Module.l5x(tmp$ret$56, null, null);
|
|
41453
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41386
41454
|
var creator_13 = getEngineGameModule$lambda$lambda_13;
|
|
41387
|
-
var
|
|
41388
|
-
var tmp_71 = $this$Module.o5x();
|
|
41389
|
-
var tmp_72 = $this$Module.p5x();
|
|
41455
|
+
var tmp_72 = $this$Module.o5x();
|
|
41390
41456
|
// Inline function 'org.kodein.type.generic' call
|
|
41391
|
-
var tmp_73 = typeToken(createKType(getKClass(
|
|
41457
|
+
var tmp_73 = typeToken(createKType(getKClass(GameMechanicLogicInteractorImpl), arrayOf([]), false));
|
|
41392
41458
|
var tmp$ret$58 = isInterface(tmp_73, TypeToken) ? tmp_73 : THROW_CCE();
|
|
41393
|
-
var tmp$ret$59 = new
|
|
41394
|
-
|
|
41459
|
+
var tmp$ret$59 = new Provider(tmp_72, tmp$ret$58, creator_13);
|
|
41460
|
+
tmp_71.j61(tmp$ret$59);
|
|
41395
41461
|
// Inline function 'org.kodein.di.bind' call
|
|
41396
41462
|
// Inline function 'org.kodein.type.generic' call
|
|
41397
|
-
var tmp_74 = typeToken(createKType(getKClass(
|
|
41463
|
+
var tmp_74 = typeToken(createKType(getKClass(DealerInteractor), arrayOf([]), false));
|
|
41398
41464
|
var tmp$ret$60 = isInterface(tmp_74, TypeToken) ? tmp_74 : THROW_CCE();
|
|
41399
41465
|
var tmp_75 = $this$Module.l5x(tmp$ret$60, null, null);
|
|
41400
41466
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41403,13 +41469,13 @@
|
|
|
41403
41469
|
var tmp_77 = $this$Module.o5x();
|
|
41404
41470
|
var tmp_78 = $this$Module.p5x();
|
|
41405
41471
|
// Inline function 'org.kodein.type.generic' call
|
|
41406
|
-
var tmp_79 = typeToken(createKType(getKClass(
|
|
41472
|
+
var tmp_79 = typeToken(createKType(getKClass(DealerInteractorImpl), arrayOf([]), false));
|
|
41407
41473
|
var tmp$ret$62 = isInterface(tmp_79, TypeToken) ? tmp_79 : THROW_CCE();
|
|
41408
41474
|
var tmp$ret$63 = new Singleton(tmp_76, tmp_77, tmp_78, tmp$ret$62, null, true, creator_14);
|
|
41409
41475
|
tmp_75.j61(tmp$ret$63);
|
|
41410
41476
|
// Inline function 'org.kodein.di.bind' call
|
|
41411
41477
|
// Inline function 'org.kodein.type.generic' call
|
|
41412
|
-
var tmp_80 = typeToken(createKType(getKClass(
|
|
41478
|
+
var tmp_80 = typeToken(createKType(getKClass(SceneValidationInteractor), arrayOf([]), false));
|
|
41413
41479
|
var tmp$ret$64 = isInterface(tmp_80, TypeToken) ? tmp_80 : THROW_CCE();
|
|
41414
41480
|
var tmp_81 = $this$Module.l5x(tmp$ret$64, null, null);
|
|
41415
41481
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41418,13 +41484,13 @@
|
|
|
41418
41484
|
var tmp_83 = $this$Module.o5x();
|
|
41419
41485
|
var tmp_84 = $this$Module.p5x();
|
|
41420
41486
|
// Inline function 'org.kodein.type.generic' call
|
|
41421
|
-
var tmp_85 = typeToken(createKType(getKClass(
|
|
41487
|
+
var tmp_85 = typeToken(createKType(getKClass(SceneValidationInteractorImpl), arrayOf([]), false));
|
|
41422
41488
|
var tmp$ret$66 = isInterface(tmp_85, TypeToken) ? tmp_85 : THROW_CCE();
|
|
41423
41489
|
var tmp$ret$67 = new Singleton(tmp_82, tmp_83, tmp_84, tmp$ret$66, null, true, creator_15);
|
|
41424
41490
|
tmp_81.j61(tmp$ret$67);
|
|
41425
41491
|
// Inline function 'org.kodein.di.bind' call
|
|
41426
41492
|
// Inline function 'org.kodein.type.generic' call
|
|
41427
|
-
var tmp_86 = typeToken(createKType(getKClass(
|
|
41493
|
+
var tmp_86 = typeToken(createKType(getKClass(DealerReducer), arrayOf([]), false));
|
|
41428
41494
|
var tmp$ret$68 = isInterface(tmp_86, TypeToken) ? tmp_86 : THROW_CCE();
|
|
41429
41495
|
var tmp_87 = $this$Module.l5x(tmp$ret$68, null, null);
|
|
41430
41496
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41433,13 +41499,13 @@
|
|
|
41433
41499
|
var tmp_89 = $this$Module.o5x();
|
|
41434
41500
|
var tmp_90 = $this$Module.p5x();
|
|
41435
41501
|
// Inline function 'org.kodein.type.generic' call
|
|
41436
|
-
var tmp_91 = typeToken(createKType(getKClass(
|
|
41502
|
+
var tmp_91 = typeToken(createKType(getKClass(DealerReducerImpl), arrayOf([]), false));
|
|
41437
41503
|
var tmp$ret$70 = isInterface(tmp_91, TypeToken) ? tmp_91 : THROW_CCE();
|
|
41438
41504
|
var tmp$ret$71 = new Singleton(tmp_88, tmp_89, tmp_90, tmp$ret$70, null, true, creator_16);
|
|
41439
41505
|
tmp_87.j61(tmp$ret$71);
|
|
41440
41506
|
// Inline function 'org.kodein.di.bind' call
|
|
41441
41507
|
// Inline function 'org.kodein.type.generic' call
|
|
41442
|
-
var tmp_92 = typeToken(createKType(getKClass(
|
|
41508
|
+
var tmp_92 = typeToken(createKType(getKClass(PlayerOptionsInteractor), arrayOf([]), false));
|
|
41443
41509
|
var tmp$ret$72 = isInterface(tmp_92, TypeToken) ? tmp_92 : THROW_CCE();
|
|
41444
41510
|
var tmp_93 = $this$Module.l5x(tmp$ret$72, null, null);
|
|
41445
41511
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41448,13 +41514,13 @@
|
|
|
41448
41514
|
var tmp_95 = $this$Module.o5x();
|
|
41449
41515
|
var tmp_96 = $this$Module.p5x();
|
|
41450
41516
|
// Inline function 'org.kodein.type.generic' call
|
|
41451
|
-
var tmp_97 = typeToken(createKType(getKClass(
|
|
41517
|
+
var tmp_97 = typeToken(createKType(getKClass(PlayerOptionsInteractorImpl), arrayOf([]), false));
|
|
41452
41518
|
var tmp$ret$74 = isInterface(tmp_97, TypeToken) ? tmp_97 : THROW_CCE();
|
|
41453
41519
|
var tmp$ret$75 = new Singleton(tmp_94, tmp_95, tmp_96, tmp$ret$74, null, true, creator_17);
|
|
41454
41520
|
tmp_93.j61(tmp$ret$75);
|
|
41455
41521
|
// Inline function 'org.kodein.di.bind' call
|
|
41456
41522
|
// Inline function 'org.kodein.type.generic' call
|
|
41457
|
-
var tmp_98 = typeToken(createKType(getKClass(
|
|
41523
|
+
var tmp_98 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
41458
41524
|
var tmp$ret$76 = isInterface(tmp_98, TypeToken) ? tmp_98 : THROW_CCE();
|
|
41459
41525
|
var tmp_99 = $this$Module.l5x(tmp$ret$76, null, null);
|
|
41460
41526
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41463,13 +41529,13 @@
|
|
|
41463
41529
|
var tmp_101 = $this$Module.o5x();
|
|
41464
41530
|
var tmp_102 = $this$Module.p5x();
|
|
41465
41531
|
// Inline function 'org.kodein.type.generic' call
|
|
41466
|
-
var tmp_103 = typeToken(createKType(getKClass(
|
|
41532
|
+
var tmp_103 = typeToken(createKType(getKClass(PlayerTurnInteractorImpl), arrayOf([]), false));
|
|
41467
41533
|
var tmp$ret$78 = isInterface(tmp_103, TypeToken) ? tmp_103 : THROW_CCE();
|
|
41468
41534
|
var tmp$ret$79 = new Singleton(tmp_100, tmp_101, tmp_102, tmp$ret$78, null, true, creator_18);
|
|
41469
41535
|
tmp_99.j61(tmp$ret$79);
|
|
41470
41536
|
// Inline function 'org.kodein.di.bind' call
|
|
41471
41537
|
// Inline function 'org.kodein.type.generic' call
|
|
41472
|
-
var tmp_104 = typeToken(createKType(getKClass(
|
|
41538
|
+
var tmp_104 = typeToken(createKType(getKClass(CardsInteractor), arrayOf([]), false));
|
|
41473
41539
|
var tmp$ret$80 = isInterface(tmp_104, TypeToken) ? tmp_104 : THROW_CCE();
|
|
41474
41540
|
var tmp_105 = $this$Module.l5x(tmp$ret$80, null, null);
|
|
41475
41541
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41478,13 +41544,13 @@
|
|
|
41478
41544
|
var tmp_107 = $this$Module.o5x();
|
|
41479
41545
|
var tmp_108 = $this$Module.p5x();
|
|
41480
41546
|
// Inline function 'org.kodein.type.generic' call
|
|
41481
|
-
var tmp_109 = typeToken(createKType(getKClass(
|
|
41547
|
+
var tmp_109 = typeToken(createKType(getKClass(CardsInteractorImpl), arrayOf([]), false));
|
|
41482
41548
|
var tmp$ret$82 = isInterface(tmp_109, TypeToken) ? tmp_109 : THROW_CCE();
|
|
41483
41549
|
var tmp$ret$83 = new Singleton(tmp_106, tmp_107, tmp_108, tmp$ret$82, null, true, creator_19);
|
|
41484
41550
|
tmp_105.j61(tmp$ret$83);
|
|
41485
41551
|
// Inline function 'org.kodein.di.bind' call
|
|
41486
41552
|
// Inline function 'org.kodein.type.generic' call
|
|
41487
|
-
var tmp_110 = typeToken(createKType(getKClass(
|
|
41553
|
+
var tmp_110 = typeToken(createKType(getKClass(CombinationsInteractor), arrayOf([]), false));
|
|
41488
41554
|
var tmp$ret$84 = isInterface(tmp_110, TypeToken) ? tmp_110 : THROW_CCE();
|
|
41489
41555
|
var tmp_111 = $this$Module.l5x(tmp$ret$84, null, null);
|
|
41490
41556
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41493,13 +41559,13 @@
|
|
|
41493
41559
|
var tmp_113 = $this$Module.o5x();
|
|
41494
41560
|
var tmp_114 = $this$Module.p5x();
|
|
41495
41561
|
// Inline function 'org.kodein.type.generic' call
|
|
41496
|
-
var tmp_115 = typeToken(createKType(getKClass(
|
|
41562
|
+
var tmp_115 = typeToken(createKType(getKClass(CombinationsInteractorImpl), arrayOf([]), false));
|
|
41497
41563
|
var tmp$ret$86 = isInterface(tmp_115, TypeToken) ? tmp_115 : THROW_CCE();
|
|
41498
41564
|
var tmp$ret$87 = new Singleton(tmp_112, tmp_113, tmp_114, tmp$ret$86, null, true, creator_20);
|
|
41499
41565
|
tmp_111.j61(tmp$ret$87);
|
|
41500
41566
|
// Inline function 'org.kodein.di.bind' call
|
|
41501
41567
|
// Inline function 'org.kodein.type.generic' call
|
|
41502
|
-
var tmp_116 = typeToken(createKType(getKClass(
|
|
41568
|
+
var tmp_116 = typeToken(createKType(getKClass(EqualHandsDealerIntercator), arrayOf([]), false));
|
|
41503
41569
|
var tmp$ret$88 = isInterface(tmp_116, TypeToken) ? tmp_116 : THROW_CCE();
|
|
41504
41570
|
var tmp_117 = $this$Module.l5x(tmp$ret$88, null, null);
|
|
41505
41571
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41508,179 +41574,194 @@
|
|
|
41508
41574
|
var tmp_119 = $this$Module.o5x();
|
|
41509
41575
|
var tmp_120 = $this$Module.p5x();
|
|
41510
41576
|
// Inline function 'org.kodein.type.generic' call
|
|
41511
|
-
var tmp_121 = typeToken(createKType(getKClass(
|
|
41577
|
+
var tmp_121 = typeToken(createKType(getKClass(EqualHandsDealerIntercatorImpl), arrayOf([]), false));
|
|
41512
41578
|
var tmp$ret$90 = isInterface(tmp_121, TypeToken) ? tmp_121 : THROW_CCE();
|
|
41513
41579
|
var tmp$ret$91 = new Singleton(tmp_118, tmp_119, tmp_120, tmp$ret$90, null, true, creator_21);
|
|
41514
41580
|
tmp_117.j61(tmp$ret$91);
|
|
41515
41581
|
// Inline function 'org.kodein.di.bind' call
|
|
41516
41582
|
// Inline function 'org.kodein.type.generic' call
|
|
41517
|
-
var tmp_122 = typeToken(createKType(getKClass(
|
|
41583
|
+
var tmp_122 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
41518
41584
|
var tmp$ret$92 = isInterface(tmp_122, TypeToken) ? tmp_122 : THROW_CCE();
|
|
41519
41585
|
var tmp_123 = $this$Module.l5x(tmp$ret$92, null, null);
|
|
41520
|
-
// Inline function 'org.kodein.di.
|
|
41586
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41521
41587
|
var creator_22 = getEngineGameModule$lambda$lambda_22;
|
|
41522
|
-
var tmp_124 = $this$Module.
|
|
41588
|
+
var tmp_124 = $this$Module.q5x();
|
|
41589
|
+
var tmp_125 = $this$Module.o5x();
|
|
41590
|
+
var tmp_126 = $this$Module.p5x();
|
|
41523
41591
|
// Inline function 'org.kodein.type.generic' call
|
|
41524
|
-
var
|
|
41525
|
-
var tmp$ret$94 = isInterface(
|
|
41526
|
-
var tmp$ret$95 = new
|
|
41592
|
+
var tmp_127 = typeToken(createKType(getKClass(PointsInteractorImpl), arrayOf([]), false));
|
|
41593
|
+
var tmp$ret$94 = isInterface(tmp_127, TypeToken) ? tmp_127 : THROW_CCE();
|
|
41594
|
+
var tmp$ret$95 = new Singleton(tmp_124, tmp_125, tmp_126, tmp$ret$94, null, true, creator_22);
|
|
41527
41595
|
tmp_123.j61(tmp$ret$95);
|
|
41528
41596
|
// Inline function 'org.kodein.di.bind' call
|
|
41529
41597
|
// Inline function 'org.kodein.type.generic' call
|
|
41530
|
-
var
|
|
41531
|
-
var tmp$ret$96 = isInterface(
|
|
41532
|
-
var
|
|
41598
|
+
var tmp_128 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
41599
|
+
var tmp$ret$96 = isInterface(tmp_128, TypeToken) ? tmp_128 : THROW_CCE();
|
|
41600
|
+
var tmp_129 = $this$Module.l5x(tmp$ret$96, null, null);
|
|
41533
41601
|
// Inline function 'org.kodein.di.provider' call
|
|
41534
41602
|
var creator_23 = getEngineGameModule$lambda$lambda_23;
|
|
41535
|
-
var
|
|
41603
|
+
var tmp_130 = $this$Module.o5x();
|
|
41536
41604
|
// Inline function 'org.kodein.type.generic' call
|
|
41537
|
-
var
|
|
41538
|
-
var tmp$ret$98 = isInterface(
|
|
41539
|
-
var tmp$ret$99 = new Provider(
|
|
41540
|
-
|
|
41605
|
+
var tmp_131 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
41606
|
+
var tmp$ret$98 = isInterface(tmp_131, TypeToken) ? tmp_131 : THROW_CCE();
|
|
41607
|
+
var tmp$ret$99 = new Provider(tmp_130, tmp$ret$98, creator_23);
|
|
41608
|
+
tmp_129.j61(tmp$ret$99);
|
|
41541
41609
|
// Inline function 'org.kodein.di.bind' call
|
|
41542
41610
|
// Inline function 'org.kodein.type.generic' call
|
|
41543
|
-
var
|
|
41544
|
-
var tmp$ret$100 = isInterface(
|
|
41545
|
-
var
|
|
41611
|
+
var tmp_132 = typeToken(createKType(getKClass(SceneReducer), arrayOf([]), false));
|
|
41612
|
+
var tmp$ret$100 = isInterface(tmp_132, TypeToken) ? tmp_132 : THROW_CCE();
|
|
41613
|
+
var tmp_133 = $this$Module.l5x(tmp$ret$100, null, null);
|
|
41546
41614
|
// Inline function 'org.kodein.di.provider' call
|
|
41547
41615
|
var creator_24 = getEngineGameModule$lambda$lambda_24;
|
|
41548
|
-
var
|
|
41616
|
+
var tmp_134 = $this$Module.o5x();
|
|
41549
41617
|
// Inline function 'org.kodein.type.generic' call
|
|
41550
|
-
var
|
|
41551
|
-
var tmp$ret$102 = isInterface(
|
|
41552
|
-
var tmp$ret$103 = new Provider(
|
|
41553
|
-
|
|
41618
|
+
var tmp_135 = typeToken(createKType(getKClass(SceneReducer), arrayOf([]), false));
|
|
41619
|
+
var tmp$ret$102 = isInterface(tmp_135, TypeToken) ? tmp_135 : THROW_CCE();
|
|
41620
|
+
var tmp$ret$103 = new Provider(tmp_134, tmp$ret$102, creator_24);
|
|
41621
|
+
tmp_133.j61(tmp$ret$103);
|
|
41554
41622
|
// Inline function 'org.kodein.di.bind' call
|
|
41555
41623
|
// Inline function 'org.kodein.type.generic' call
|
|
41556
|
-
var
|
|
41557
|
-
var tmp$ret$104 = isInterface(
|
|
41558
|
-
var
|
|
41624
|
+
var tmp_136 = typeToken(createKType(getKClass(SceneActReducer), arrayOf([]), false));
|
|
41625
|
+
var tmp$ret$104 = isInterface(tmp_136, TypeToken) ? tmp_136 : THROW_CCE();
|
|
41626
|
+
var tmp_137 = $this$Module.l5x(tmp$ret$104, null, null);
|
|
41559
41627
|
// Inline function 'org.kodein.di.provider' call
|
|
41560
41628
|
var creator_25 = getEngineGameModule$lambda$lambda_25;
|
|
41561
|
-
var
|
|
41629
|
+
var tmp_138 = $this$Module.o5x();
|
|
41562
41630
|
// Inline function 'org.kodein.type.generic' call
|
|
41563
|
-
var
|
|
41564
|
-
var tmp$ret$106 = isInterface(
|
|
41565
|
-
var tmp$ret$107 = new Provider(
|
|
41566
|
-
|
|
41631
|
+
var tmp_139 = typeToken(createKType(getKClass(SceneActReducer), arrayOf([]), false));
|
|
41632
|
+
var tmp$ret$106 = isInterface(tmp_139, TypeToken) ? tmp_139 : THROW_CCE();
|
|
41633
|
+
var tmp$ret$107 = new Provider(tmp_138, tmp$ret$106, creator_25);
|
|
41634
|
+
tmp_137.j61(tmp$ret$107);
|
|
41567
41635
|
// Inline function 'org.kodein.di.bind' call
|
|
41568
41636
|
// Inline function 'org.kodein.type.generic' call
|
|
41569
|
-
var
|
|
41570
|
-
var tmp$ret$108 = isInterface(
|
|
41571
|
-
var
|
|
41637
|
+
var tmp_140 = typeToken(createKType(getKClass(GameHistoryReducer), arrayOf([]), false));
|
|
41638
|
+
var tmp$ret$108 = isInterface(tmp_140, TypeToken) ? tmp_140 : THROW_CCE();
|
|
41639
|
+
var tmp_141 = $this$Module.l5x(tmp$ret$108, null, null);
|
|
41572
41640
|
// Inline function 'org.kodein.di.provider' call
|
|
41573
41641
|
var creator_26 = getEngineGameModule$lambda$lambda_26;
|
|
41574
|
-
var
|
|
41642
|
+
var tmp_142 = $this$Module.o5x();
|
|
41575
41643
|
// Inline function 'org.kodein.type.generic' call
|
|
41576
|
-
var
|
|
41577
|
-
var tmp$ret$110 = isInterface(
|
|
41578
|
-
var tmp$ret$111 = new Provider(
|
|
41579
|
-
|
|
41644
|
+
var tmp_143 = typeToken(createKType(getKClass(GameHistoryReducer), arrayOf([]), false));
|
|
41645
|
+
var tmp$ret$110 = isInterface(tmp_143, TypeToken) ? tmp_143 : THROW_CCE();
|
|
41646
|
+
var tmp$ret$111 = new Provider(tmp_142, tmp$ret$110, creator_26);
|
|
41647
|
+
tmp_141.j61(tmp$ret$111);
|
|
41580
41648
|
// Inline function 'org.kodein.di.bind' call
|
|
41581
41649
|
// Inline function 'org.kodein.type.generic' call
|
|
41582
|
-
var
|
|
41583
|
-
var tmp$ret$112 = isInterface(
|
|
41584
|
-
var
|
|
41650
|
+
var tmp_144 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
41651
|
+
var tmp$ret$112 = isInterface(tmp_144, TypeToken) ? tmp_144 : THROW_CCE();
|
|
41652
|
+
var tmp_145 = $this$Module.l5x(tmp$ret$112, null, null);
|
|
41585
41653
|
// Inline function 'org.kodein.di.provider' call
|
|
41586
41654
|
var creator_27 = getEngineGameModule$lambda$lambda_27;
|
|
41587
|
-
var
|
|
41655
|
+
var tmp_146 = $this$Module.o5x();
|
|
41588
41656
|
// Inline function 'org.kodein.type.generic' call
|
|
41589
|
-
var
|
|
41590
|
-
var tmp$ret$114 = isInterface(
|
|
41591
|
-
var tmp$ret$115 = new Provider(
|
|
41592
|
-
|
|
41657
|
+
var tmp_147 = typeToken(createKType(getKClass(TableLifecycleReducerImpl), arrayOf([]), false));
|
|
41658
|
+
var tmp$ret$114 = isInterface(tmp_147, TypeToken) ? tmp_147 : THROW_CCE();
|
|
41659
|
+
var tmp$ret$115 = new Provider(tmp_146, tmp$ret$114, creator_27);
|
|
41660
|
+
tmp_145.j61(tmp$ret$115);
|
|
41593
41661
|
// Inline function 'org.kodein.di.bind' call
|
|
41594
41662
|
// Inline function 'org.kodein.type.generic' call
|
|
41595
|
-
var
|
|
41596
|
-
var tmp$ret$116 = isInterface(
|
|
41597
|
-
var
|
|
41663
|
+
var tmp_148 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
41664
|
+
var tmp$ret$116 = isInterface(tmp_148, TypeToken) ? tmp_148 : THROW_CCE();
|
|
41665
|
+
var tmp_149 = $this$Module.l5x(tmp$ret$116, null, null);
|
|
41598
41666
|
// Inline function 'org.kodein.di.provider' call
|
|
41599
41667
|
var creator_28 = getEngineGameModule$lambda$lambda_28;
|
|
41600
|
-
var
|
|
41668
|
+
var tmp_150 = $this$Module.o5x();
|
|
41601
41669
|
// Inline function 'org.kodein.type.generic' call
|
|
41602
|
-
var
|
|
41603
|
-
var tmp$ret$118 = isInterface(
|
|
41604
|
-
var tmp$ret$119 = new Provider(
|
|
41605
|
-
|
|
41670
|
+
var tmp_151 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
41671
|
+
var tmp$ret$118 = isInterface(tmp_151, TypeToken) ? tmp_151 : THROW_CCE();
|
|
41672
|
+
var tmp$ret$119 = new Provider(tmp_150, tmp$ret$118, creator_28);
|
|
41673
|
+
tmp_149.j61(tmp$ret$119);
|
|
41606
41674
|
// Inline function 'org.kodein.di.bind' call
|
|
41607
41675
|
// Inline function 'org.kodein.type.generic' call
|
|
41608
|
-
var
|
|
41609
|
-
var tmp$ret$120 = isInterface(
|
|
41610
|
-
var
|
|
41676
|
+
var tmp_152 = typeToken(createKType(getKClass(PlayerHandReducer), arrayOf([]), false));
|
|
41677
|
+
var tmp$ret$120 = isInterface(tmp_152, TypeToken) ? tmp_152 : THROW_CCE();
|
|
41678
|
+
var tmp_153 = $this$Module.l5x(tmp$ret$120, null, null);
|
|
41611
41679
|
// Inline function 'org.kodein.di.provider' call
|
|
41612
41680
|
var creator_29 = getEngineGameModule$lambda$lambda_29;
|
|
41613
|
-
var
|
|
41681
|
+
var tmp_154 = $this$Module.o5x();
|
|
41614
41682
|
// Inline function 'org.kodein.type.generic' call
|
|
41615
|
-
var
|
|
41616
|
-
var tmp$ret$122 = isInterface(
|
|
41617
|
-
var tmp$ret$123 = new Provider(
|
|
41618
|
-
|
|
41683
|
+
var tmp_155 = typeToken(createKType(getKClass(PlayerHandReducer), arrayOf([]), false));
|
|
41684
|
+
var tmp$ret$122 = isInterface(tmp_155, TypeToken) ? tmp_155 : THROW_CCE();
|
|
41685
|
+
var tmp$ret$123 = new Provider(tmp_154, tmp$ret$122, creator_29);
|
|
41686
|
+
tmp_153.j61(tmp$ret$123);
|
|
41619
41687
|
// Inline function 'org.kodein.di.bind' call
|
|
41620
41688
|
// Inline function 'org.kodein.type.generic' call
|
|
41621
|
-
var
|
|
41622
|
-
var tmp$ret$124 = isInterface(
|
|
41623
|
-
var
|
|
41689
|
+
var tmp_156 = typeToken(createKType(getKClass(PlayerSceneReducer), arrayOf([]), false));
|
|
41690
|
+
var tmp$ret$124 = isInterface(tmp_156, TypeToken) ? tmp_156 : THROW_CCE();
|
|
41691
|
+
var tmp_157 = $this$Module.l5x(tmp$ret$124, null, null);
|
|
41624
41692
|
// Inline function 'org.kodein.di.provider' call
|
|
41625
41693
|
var creator_30 = getEngineGameModule$lambda$lambda_30;
|
|
41626
|
-
var
|
|
41694
|
+
var tmp_158 = $this$Module.o5x();
|
|
41627
41695
|
// Inline function 'org.kodein.type.generic' call
|
|
41628
|
-
var
|
|
41629
|
-
var tmp$ret$126 = isInterface(
|
|
41630
|
-
var tmp$ret$127 = new Provider(
|
|
41631
|
-
|
|
41696
|
+
var tmp_159 = typeToken(createKType(getKClass(PlayerSceneReducer), arrayOf([]), false));
|
|
41697
|
+
var tmp$ret$126 = isInterface(tmp_159, TypeToken) ? tmp_159 : THROW_CCE();
|
|
41698
|
+
var tmp$ret$127 = new Provider(tmp_158, tmp$ret$126, creator_30);
|
|
41699
|
+
tmp_157.j61(tmp$ret$127);
|
|
41632
41700
|
// Inline function 'org.kodein.di.bind' call
|
|
41633
41701
|
// Inline function 'org.kodein.type.generic' call
|
|
41634
|
-
var
|
|
41635
|
-
var tmp$ret$128 = isInterface(
|
|
41636
|
-
var
|
|
41702
|
+
var tmp_160 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
41703
|
+
var tmp$ret$128 = isInterface(tmp_160, TypeToken) ? tmp_160 : THROW_CCE();
|
|
41704
|
+
var tmp_161 = $this$Module.l5x(tmp$ret$128, null, null);
|
|
41637
41705
|
// Inline function 'org.kodein.di.provider' call
|
|
41638
41706
|
var creator_31 = getEngineGameModule$lambda$lambda_31;
|
|
41639
|
-
var
|
|
41707
|
+
var tmp_162 = $this$Module.o5x();
|
|
41640
41708
|
// Inline function 'org.kodein.type.generic' call
|
|
41641
|
-
var
|
|
41642
|
-
var tmp$ret$130 = isInterface(
|
|
41643
|
-
var tmp$ret$131 = new Provider(
|
|
41644
|
-
|
|
41709
|
+
var tmp_163 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
41710
|
+
var tmp$ret$130 = isInterface(tmp_163, TypeToken) ? tmp_163 : THROW_CCE();
|
|
41711
|
+
var tmp$ret$131 = new Provider(tmp_162, tmp$ret$130, creator_31);
|
|
41712
|
+
tmp_161.j61(tmp$ret$131);
|
|
41645
41713
|
// Inline function 'org.kodein.di.bind' call
|
|
41646
41714
|
// Inline function 'org.kodein.type.generic' call
|
|
41647
|
-
var
|
|
41648
|
-
var tmp$ret$132 = isInterface(
|
|
41649
|
-
var
|
|
41715
|
+
var tmp_164 = typeToken(createKType(getKClass(CombinationsMechanicReducer), arrayOf([]), false));
|
|
41716
|
+
var tmp$ret$132 = isInterface(tmp_164, TypeToken) ? tmp_164 : THROW_CCE();
|
|
41717
|
+
var tmp_165 = $this$Module.l5x(tmp$ret$132, null, null);
|
|
41650
41718
|
// Inline function 'org.kodein.di.provider' call
|
|
41651
41719
|
var creator_32 = getEngineGameModule$lambda$lambda_32;
|
|
41652
|
-
var
|
|
41720
|
+
var tmp_166 = $this$Module.o5x();
|
|
41653
41721
|
// Inline function 'org.kodein.type.generic' call
|
|
41654
|
-
var
|
|
41655
|
-
var tmp$ret$134 = isInterface(
|
|
41656
|
-
var tmp$ret$135 = new Provider(
|
|
41657
|
-
|
|
41722
|
+
var tmp_167 = typeToken(createKType(getKClass(CombinationsMechanicReducer), arrayOf([]), false));
|
|
41723
|
+
var tmp$ret$134 = isInterface(tmp_167, TypeToken) ? tmp_167 : THROW_CCE();
|
|
41724
|
+
var tmp$ret$135 = new Provider(tmp_166, tmp$ret$134, creator_32);
|
|
41725
|
+
tmp_165.j61(tmp$ret$135);
|
|
41658
41726
|
// Inline function 'org.kodein.di.bind' call
|
|
41659
41727
|
// Inline function 'org.kodein.type.generic' call
|
|
41660
|
-
var
|
|
41661
|
-
var tmp$ret$136 = isInterface(
|
|
41662
|
-
var
|
|
41728
|
+
var tmp_168 = typeToken(createKType(getKClass(TradeMechanicReducer), arrayOf([]), false));
|
|
41729
|
+
var tmp$ret$136 = isInterface(tmp_168, TypeToken) ? tmp_168 : THROW_CCE();
|
|
41730
|
+
var tmp_169 = $this$Module.l5x(tmp$ret$136, null, null);
|
|
41663
41731
|
// Inline function 'org.kodein.di.provider' call
|
|
41664
41732
|
var creator_33 = getEngineGameModule$lambda$lambda_33;
|
|
41665
|
-
var
|
|
41733
|
+
var tmp_170 = $this$Module.o5x();
|
|
41666
41734
|
// Inline function 'org.kodein.type.generic' call
|
|
41667
|
-
var
|
|
41668
|
-
var tmp$ret$138 = isInterface(
|
|
41669
|
-
var tmp$ret$139 = new Provider(
|
|
41670
|
-
|
|
41735
|
+
var tmp_171 = typeToken(createKType(getKClass(TradeMechanicReducer), arrayOf([]), false));
|
|
41736
|
+
var tmp$ret$138 = isInterface(tmp_171, TypeToken) ? tmp_171 : THROW_CCE();
|
|
41737
|
+
var tmp$ret$139 = new Provider(tmp_170, tmp$ret$138, creator_33);
|
|
41738
|
+
tmp_169.j61(tmp$ret$139);
|
|
41671
41739
|
// Inline function 'org.kodein.di.bind' call
|
|
41672
41740
|
// Inline function 'org.kodein.type.generic' call
|
|
41673
|
-
var
|
|
41674
|
-
var tmp$ret$140 = isInterface(
|
|
41675
|
-
var
|
|
41741
|
+
var tmp_172 = typeToken(createKType(getKClass(EarnPointsMechanicReducer), arrayOf([]), false));
|
|
41742
|
+
var tmp$ret$140 = isInterface(tmp_172, TypeToken) ? tmp_172 : THROW_CCE();
|
|
41743
|
+
var tmp_173 = $this$Module.l5x(tmp$ret$140, null, null);
|
|
41676
41744
|
// Inline function 'org.kodein.di.provider' call
|
|
41677
41745
|
var creator_34 = getEngineGameModule$lambda$lambda_34;
|
|
41678
|
-
var
|
|
41746
|
+
var tmp_174 = $this$Module.o5x();
|
|
41747
|
+
// Inline function 'org.kodein.type.generic' call
|
|
41748
|
+
var tmp_175 = typeToken(createKType(getKClass(EarnPointsMechanicReducer), arrayOf([]), false));
|
|
41749
|
+
var tmp$ret$142 = isInterface(tmp_175, TypeToken) ? tmp_175 : THROW_CCE();
|
|
41750
|
+
var tmp$ret$143 = new Provider(tmp_174, tmp$ret$142, creator_34);
|
|
41751
|
+
tmp_173.j61(tmp$ret$143);
|
|
41752
|
+
// Inline function 'org.kodein.di.bind' call
|
|
41753
|
+
// Inline function 'org.kodein.type.generic' call
|
|
41754
|
+
var tmp_176 = typeToken(createKType(getKClass(MechanicReducers), arrayOf([]), false));
|
|
41755
|
+
var tmp$ret$144 = isInterface(tmp_176, TypeToken) ? tmp_176 : THROW_CCE();
|
|
41756
|
+
var tmp_177 = $this$Module.l5x(tmp$ret$144, null, null);
|
|
41757
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41758
|
+
var creator_35 = getEngineGameModule$lambda$lambda_35;
|
|
41759
|
+
var tmp_178 = $this$Module.o5x();
|
|
41679
41760
|
// Inline function 'org.kodein.type.generic' call
|
|
41680
|
-
var
|
|
41681
|
-
var tmp$ret$
|
|
41682
|
-
var tmp$ret$
|
|
41683
|
-
|
|
41761
|
+
var tmp_179 = typeToken(createKType(getKClass(MechanicReducers), arrayOf([]), false));
|
|
41762
|
+
var tmp$ret$146 = isInterface(tmp_179, TypeToken) ? tmp_179 : THROW_CCE();
|
|
41763
|
+
var tmp$ret$147 = new Provider(tmp_178, tmp$ret$146, creator_35);
|
|
41764
|
+
tmp_177.j61(tmp$ret$147);
|
|
41684
41765
|
return Unit_instance;
|
|
41685
41766
|
};
|
|
41686
41767
|
}
|
|
@@ -45918,10 +45999,9 @@
|
|
|
45918
45999
|
forceBotReplacement = forceBotReplacement === VOID ? false : forceBotReplacement;
|
|
45919
46000
|
return determineAgentType($this, player, gameDuration, forceBotReplacement);
|
|
45920
46001
|
}
|
|
45921
|
-
function applyLeagueRatingCap($this, results, league, ratingConfig) {
|
|
46002
|
+
function applyLeagueRatingCap($this, results, league, ratingConfig, leaguesConfig) {
|
|
45922
46003
|
if (!ratingConfig.applyLeagueRatingCap || league == null)
|
|
45923
46004
|
return results;
|
|
45924
|
-
var leaguesConfig = $this.e8v();
|
|
45925
46005
|
var leagueMaxRating = leaguesConfig.getLeagueInfo(league).maxRating;
|
|
45926
46006
|
// Inline function 'kotlin.collections.map' call
|
|
45927
46007
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -45938,49 +46018,42 @@
|
|
|
45938
46018
|
return destination;
|
|
45939
46019
|
}
|
|
45940
46020
|
function PlayerRatingOutputOrderComparator(players) {
|
|
45941
|
-
this.
|
|
46021
|
+
this.g8v_1 = new PlayerIdOrderComparator(players);
|
|
45942
46022
|
}
|
|
45943
|
-
protoOf(PlayerRatingOutputOrderComparator).
|
|
45944
|
-
return this.
|
|
46023
|
+
protoOf(PlayerRatingOutputOrderComparator).h8v = function (a, b) {
|
|
46024
|
+
return this.g8v_1.h65(a.q72_1, b.q72_1);
|
|
45945
46025
|
};
|
|
45946
46026
|
protoOf(PlayerRatingOutputOrderComparator).compare = function (a, b) {
|
|
45947
46027
|
var tmp = a instanceof PlayerRatingOutput ? a : THROW_CCE();
|
|
45948
|
-
return this.
|
|
46028
|
+
return this.h8v(tmp, b instanceof PlayerRatingOutput ? b : THROW_CCE());
|
|
45949
46029
|
};
|
|
45950
46030
|
function UserRatingInteractorImpl(ratingCalculator) {
|
|
45951
|
-
this.
|
|
46031
|
+
this.i8v_1 = ratingCalculator;
|
|
45952
46032
|
}
|
|
45953
|
-
protoOf(UserRatingInteractorImpl).c8v = function (league, rating) {
|
|
45954
|
-
var config = this.e8v();
|
|
46033
|
+
protoOf(UserRatingInteractorImpl).c8v = function (league, rating, leaguesConfig) {
|
|
45955
46034
|
var requestedLeagueIndex = get_entries_0().w1(league);
|
|
45956
|
-
var userLeague =
|
|
46035
|
+
var userLeague = leaguesConfig.getLeagueByRating(rating);
|
|
45957
46036
|
var userLeagueIndex = get_entries_0().w1(userLeague);
|
|
45958
46037
|
return userLeagueIndex >= requestedLeagueIndex;
|
|
45959
46038
|
};
|
|
45960
|
-
protoOf(UserRatingInteractorImpl).d8v = function (rating) {
|
|
45961
|
-
|
|
45962
|
-
return config.getLeagueByRating(rating);
|
|
46039
|
+
protoOf(UserRatingInteractorImpl).d8v = function (rating, leaguesConfig) {
|
|
46040
|
+
return leaguesConfig.getLeagueByRating(rating);
|
|
45963
46041
|
};
|
|
45964
|
-
protoOf(UserRatingInteractorImpl).
|
|
45965
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
45966
|
-
return defaultConfig;
|
|
45967
|
-
};
|
|
45968
|
-
protoOf(UserRatingInteractorImpl).k8v = function (ratingList, playersMode, pointsMode, ratingConfig, league) {
|
|
46042
|
+
protoOf(UserRatingInteractorImpl).j8v = function (ratingList, playersMode, pointsMode, ratingConfig, leaguesConfig, league) {
|
|
45969
46043
|
var maxScore = pointsMode.value;
|
|
45970
46044
|
var gameComplexityCoefficient = getGameComplexityFactor(this, playersMode, pointsMode);
|
|
45971
|
-
var leaguesConfig = this.e8v();
|
|
45972
46045
|
var tmp;
|
|
45973
46046
|
switch (playersMode.q2_1) {
|
|
45974
46047
|
case 0:
|
|
45975
46048
|
case 1:
|
|
45976
46049
|
case 2:
|
|
45977
|
-
var tmp1_$this = this.
|
|
46050
|
+
var tmp1_$this = this.i8v_1;
|
|
45978
46051
|
var tmp2_minUserRating = leaguesConfig.minUserRating;
|
|
45979
46052
|
var tmp3_maxUserRating = leaguesConfig.maxUserRating;
|
|
45980
46053
|
tmp = tmp1_$this.a8v(maxScore, tmp2_minUserRating, tmp3_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
45981
46054
|
break;
|
|
45982
46055
|
case 3:
|
|
45983
|
-
var tmp4_$this = this.
|
|
46056
|
+
var tmp4_$this = this.i8v_1;
|
|
45984
46057
|
var tmp5_minUserRating = leaguesConfig.minUserRating;
|
|
45985
46058
|
var tmp6_maxUserRating = leaguesConfig.maxUserRating;
|
|
45986
46059
|
tmp = tmp4_$this.b8v(maxScore, tmp5_minUserRating, tmp6_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
@@ -45990,7 +46063,7 @@
|
|
|
45990
46063
|
break;
|
|
45991
46064
|
}
|
|
45992
46065
|
var results = tmp;
|
|
45993
|
-
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig);
|
|
46066
|
+
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig, leaguesConfig);
|
|
45994
46067
|
// Inline function 'kotlin.collections.map' call
|
|
45995
46068
|
// Inline function 'kotlin.collections.mapTo' call
|
|
45996
46069
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(ratingList, 10));
|
|
@@ -46002,24 +46075,23 @@
|
|
|
46002
46075
|
}
|
|
46003
46076
|
return sortedWith(cappedResults, new PlayerRatingOutputOrderComparator(destination));
|
|
46004
46077
|
};
|
|
46005
|
-
protoOf(UserRatingInteractorImpl).
|
|
46078
|
+
protoOf(UserRatingInteractorImpl).e8v = function (allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig) {
|
|
46006
46079
|
// Inline function 'kotlin.collections.map' call
|
|
46007
46080
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46008
46081
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(allPlayers, 10));
|
|
46009
46082
|
var _iterator__ex2g4s = allPlayers.l();
|
|
46010
46083
|
while (_iterator__ex2g4s.m()) {
|
|
46011
46084
|
var item = _iterator__ex2g4s.n();
|
|
46012
|
-
var tmp$ret$0 = mapToRatingInput(item, winners.u1(item.playerId), determineAgentType$default(this, item, gameDuration), getValue(playerFinalPoints, item.playerId));
|
|
46085
|
+
var tmp$ret$0 = mapToRatingInput(item, winners.u1(item.playerId), determineAgentType$default(this, item, gameDuration), getValue(playerFinalPoints, item.playerId), leaguesConfig);
|
|
46013
46086
|
destination.j(tmp$ret$0);
|
|
46014
46087
|
}
|
|
46015
46088
|
var ratingList = destination;
|
|
46016
46089
|
var tmp0_pointsMode = config.pointsMode;
|
|
46017
46090
|
var tmp1_playersMode = config.playersMode;
|
|
46018
46091
|
var tmp2_league = config.league;
|
|
46019
|
-
return this.
|
|
46092
|
+
return this.j8v(ratingList, tmp1_playersMode, tmp0_pointsMode, ratingConfig, leaguesConfig, tmp2_league);
|
|
46020
46093
|
};
|
|
46021
46094
|
function mapToRatingInput(_this__u8e3s4, isWinner, agentType, finalGamePoints, leaguesConfig) {
|
|
46022
|
-
leaguesConfig = leaguesConfig === VOID ? Companion_instance_12.defaultConfig() : leaguesConfig;
|
|
46023
46095
|
var rating = _this__u8e3s4.k6v_1.getRatingOrDefault(leaguesConfig.initialRating);
|
|
46024
46096
|
var userStatsPayload = getUserProfilePayloadOrDefault(_this__u8e3s4.k6v_1);
|
|
46025
46097
|
var tmp0_playerId = _this__u8e3s4.playerId;
|
|
@@ -46030,8 +46102,8 @@
|
|
|
46030
46102
|
}
|
|
46031
46103
|
function getSceneActPlayerTurn($this, action, table) {
|
|
46032
46104
|
var tmp;
|
|
46033
|
-
if (action.
|
|
46034
|
-
var tmp0 = action.
|
|
46105
|
+
if (action.n8v_1 === 'WAITING_ACT') {
|
|
46106
|
+
var tmp0 = action.o8v_1;
|
|
46035
46107
|
var tmp$ret$0;
|
|
46036
46108
|
$l$block: {
|
|
46037
46109
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46045,7 +46117,7 @@
|
|
|
46045
46117
|
var tmp_0;
|
|
46046
46118
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46047
46119
|
if (!data.v7a_1.r()) {
|
|
46048
|
-
tmp_0 = PlayerTurnModel_init_$Create$($this.
|
|
46120
|
+
tmp_0 = PlayerTurnModel_init_$Create$($this.q8v_1.c8q(action.m8v_1, table.gameInfo.round), data.t7a());
|
|
46049
46121
|
} else {
|
|
46050
46122
|
tmp_0 = null;
|
|
46051
46123
|
}
|
|
@@ -46058,12 +46130,12 @@
|
|
|
46058
46130
|
return playerTurnModel;
|
|
46059
46131
|
}
|
|
46060
46132
|
var tmp_1;
|
|
46061
|
-
switch (action.
|
|
46133
|
+
switch (action.m8v_1) {
|
|
46062
46134
|
case 'TRADE':
|
|
46063
46135
|
var tmp_2;
|
|
46064
|
-
switch (action.
|
|
46136
|
+
switch (action.n8v_1) {
|
|
46065
46137
|
case 'COMBINATION':
|
|
46066
|
-
var tmp0_0 = action.
|
|
46138
|
+
var tmp0_0 = action.o8v_1;
|
|
46067
46139
|
var tmp$ret$2;
|
|
46068
46140
|
$l$block_0: {
|
|
46069
46141
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46079,7 +46151,7 @@
|
|
|
46079
46151
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46080
46152
|
|
|
46081
46153
|
if (!data_0.x7a_1.r()) {
|
|
46082
|
-
tmp_3 = PlayerTurnModel_init_$Create$($this.
|
|
46154
|
+
tmp_3 = PlayerTurnModel_init_$Create$($this.q8v_1.s8v('TRADE', table.gameInfo.round, data_0.z7a()), data_0.t7a());
|
|
46083
46155
|
} else {
|
|
46084
46156
|
tmp_3 = null;
|
|
46085
46157
|
}
|
|
@@ -46087,7 +46159,7 @@
|
|
|
46087
46159
|
tmp_2 = tmp_3;
|
|
46088
46160
|
break;
|
|
46089
46161
|
case 'PLAYER_TURN':
|
|
46090
|
-
var tmp0_1 = action.
|
|
46162
|
+
var tmp0_1 = action.o8v_1;
|
|
46091
46163
|
var tmp$ret$4;
|
|
46092
46164
|
$l$block_1: {
|
|
46093
46165
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46100,7 +46172,7 @@
|
|
|
46100
46172
|
|
|
46101
46173
|
var data_1 = tmp$ret$4;
|
|
46102
46174
|
var player = getPlayer(table.players, data_1.t7a());
|
|
46103
|
-
tmp_2 = PlayerTurnModel_init_$Create$($this.
|
|
46175
|
+
tmp_2 = PlayerTurnModel_init_$Create$($this.q8v_1.g8q(table.gameInfo.round, player), data_1.t7a());
|
|
46104
46176
|
break;
|
|
46105
46177
|
default:
|
|
46106
46178
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46110,9 +46182,9 @@
|
|
|
46110
46182
|
break;
|
|
46111
46183
|
case 'EARN_POINTS':
|
|
46112
46184
|
var tmp_4;
|
|
46113
|
-
switch (action.
|
|
46185
|
+
switch (action.n8v_1) {
|
|
46114
46186
|
case 'COMBINATION':
|
|
46115
|
-
var tmp0_2 = action.
|
|
46187
|
+
var tmp0_2 = action.o8v_1;
|
|
46116
46188
|
var tmp$ret$5;
|
|
46117
46189
|
$l$block_2: {
|
|
46118
46190
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46128,7 +46200,7 @@
|
|
|
46128
46200
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46129
46201
|
|
|
46130
46202
|
if (!data_2.x7a_1.r()) {
|
|
46131
|
-
tmp_5 = PlayerTurnModel_init_$Create$($this.
|
|
46203
|
+
tmp_5 = PlayerTurnModel_init_$Create$($this.q8v_1.s8v('EARN_POINTS', table.gameInfo.round, data_2.z7a()), data_2.t7a());
|
|
46132
46204
|
} else {
|
|
46133
46205
|
tmp_5 = null;
|
|
46134
46206
|
}
|
|
@@ -46136,7 +46208,7 @@
|
|
|
46136
46208
|
tmp_4 = tmp_5;
|
|
46137
46209
|
break;
|
|
46138
46210
|
case 'PLAYER_TURN':
|
|
46139
|
-
var tmp0_3 = action.
|
|
46211
|
+
var tmp0_3 = action.o8v_1;
|
|
46140
46212
|
var tmp$ret$7;
|
|
46141
46213
|
$l$block_3: {
|
|
46142
46214
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46149,7 +46221,7 @@
|
|
|
46149
46221
|
|
|
46150
46222
|
var data_3 = tmp$ret$7;
|
|
46151
46223
|
var nextPlayerTurn = getPlayer(table.players, data_3.t7a());
|
|
46152
|
-
tmp_4 = PlayerTurnModel_init_$Create$($this.
|
|
46224
|
+
tmp_4 = PlayerTurnModel_init_$Create$($this.q8v_1.h8q(table.gameInfo.round, VOID, table.cardsOnTable.o()), nextPlayerTurn.playerId);
|
|
46153
46225
|
break;
|
|
46154
46226
|
default:
|
|
46155
46227
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46164,7 +46236,7 @@
|
|
|
46164
46236
|
}
|
|
46165
46237
|
function getScenePlayerTurn($this, action, table) {
|
|
46166
46238
|
var tmp;
|
|
46167
|
-
switch (action.
|
|
46239
|
+
switch (action.u8v_1) {
|
|
46168
46240
|
case 'CHOOSE_PARTNER':
|
|
46169
46241
|
var tmp0 = action.sceneData;
|
|
46170
46242
|
var tmp$ret$0;
|
|
@@ -46178,13 +46250,13 @@
|
|
|
46178
46250
|
}
|
|
46179
46251
|
|
|
46180
46252
|
var data = tmp$ret$0;
|
|
46181
|
-
tmp = PlayerTurnModel_init_$Create$($this.
|
|
46253
|
+
tmp = PlayerTurnModel_init_$Create$($this.q8v_1.d8q(table.gameInfo.round), data.t7a());
|
|
46182
46254
|
break;
|
|
46183
46255
|
case 'TRADE':
|
|
46184
46256
|
case 'EARN_POINTS':
|
|
46185
46257
|
// Inline function 'kotlin.requireNotNull' call
|
|
46186
46258
|
|
|
46187
|
-
var tmp0_0 = action.
|
|
46259
|
+
var tmp0_0 = action.v8v_1;
|
|
46188
46260
|
var tmp$ret$2;
|
|
46189
46261
|
$l$block_0: {
|
|
46190
46262
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -46198,7 +46270,7 @@
|
|
|
46198
46270
|
}
|
|
46199
46271
|
|
|
46200
46272
|
var tmp$ret$3 = tmp$ret$2;
|
|
46201
|
-
var tmp1_action = new SceneActMechanicAction(action.
|
|
46273
|
+
var tmp1_action = new SceneActMechanicAction(action.u8v_1, tmp$ret$3, action.w8v_1);
|
|
46202
46274
|
tmp = getSceneActPlayerTurn($this, tmp1_action, table);
|
|
46203
46275
|
break;
|
|
46204
46276
|
case 'CALC_POINTS':
|
|
@@ -46214,7 +46286,7 @@
|
|
|
46214
46286
|
}
|
|
46215
46287
|
|
|
46216
46288
|
var data_0 = tmp$ret$4;
|
|
46217
|
-
tmp = new PlayerTurnModel($this.
|
|
46289
|
+
tmp = new PlayerTurnModel($this.q8v_1.e8q(table.gameInfo.round), data_0.v7b_1);
|
|
46218
46290
|
break;
|
|
46219
46291
|
default:
|
|
46220
46292
|
tmp = null;
|
|
@@ -46225,15 +46297,15 @@
|
|
|
46225
46297
|
function getSelectSuitPlayerTurn($this, action, table) {
|
|
46226
46298
|
var tmp;
|
|
46227
46299
|
var tmp_0;
|
|
46228
|
-
if (action.
|
|
46300
|
+
if (action.y8v_1 == null) {
|
|
46229
46301
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46230
|
-
tmp_0 = !action.
|
|
46302
|
+
tmp_0 = !action.b8w_1.r();
|
|
46231
46303
|
} else {
|
|
46232
46304
|
tmp_0 = false;
|
|
46233
46305
|
}
|
|
46234
46306
|
if (tmp_0) {
|
|
46235
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46236
|
-
var tmp0_$this = $this.
|
|
46307
|
+
var nextPlayerTurn = getPlayer(table.players, single(action.b8w_1));
|
|
46308
|
+
var tmp0_$this = $this.q8v_1;
|
|
46237
46309
|
var tmp1_round = table.gameInfo.round;
|
|
46238
46310
|
tmp = PlayerTurnModel_init_$Create$(tmp0_$this.g8q(tmp1_round, nextPlayerTurn), nextPlayerTurn.playerId);
|
|
46239
46311
|
} else {
|
|
@@ -46244,28 +46316,28 @@
|
|
|
46244
46316
|
function getPutCardPlayerTurn($this, action, table) {
|
|
46245
46317
|
var tmp;
|
|
46246
46318
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46247
|
-
if (!action.
|
|
46248
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46249
|
-
tmp = PlayerTurnModel_init_$Create$($this.
|
|
46319
|
+
if (!action.h8w_1.r()) {
|
|
46320
|
+
var nextPlayerTurn = getPlayer(table.players, single(action.h8w_1));
|
|
46321
|
+
tmp = PlayerTurnModel_init_$Create$($this.q8v_1.h8q(table.gameInfo.round, VOID, table.cardsOnTable.o()), nextPlayerTurn.playerId);
|
|
46250
46322
|
} else {
|
|
46251
46323
|
tmp = null;
|
|
46252
46324
|
}
|
|
46253
46325
|
return tmp;
|
|
46254
46326
|
}
|
|
46255
46327
|
function getPickUpBribePlayerTurn($this, action, table) {
|
|
46256
|
-
var nextPlayerTurn = getPlayer(table.players, action.
|
|
46328
|
+
var nextPlayerTurn = getPlayer(table.players, action.j8w_1);
|
|
46257
46329
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46258
46330
|
if (!nextPlayerTurn.m6v_1.r()) {
|
|
46259
|
-
var tmp0_$this = $this.
|
|
46260
|
-
var tmp1_numberOfBribe = action.
|
|
46331
|
+
var tmp0_$this = $this.q8v_1;
|
|
46332
|
+
var tmp1_numberOfBribe = action.k8w_1 + 1 | 0;
|
|
46261
46333
|
var tmp2_round = table.gameInfo.round;
|
|
46262
|
-
return PlayerTurnModel_init_$Create$(tmp0_$this.
|
|
46334
|
+
return PlayerTurnModel_init_$Create$(tmp0_$this.n8w(tmp2_round, tmp1_numberOfBribe, 0), action.j8w_1);
|
|
46263
46335
|
}
|
|
46264
46336
|
return null;
|
|
46265
46337
|
}
|
|
46266
46338
|
function PlayerTurnInteractorImpl(playerTurnTagProvider, logger) {
|
|
46267
|
-
this.
|
|
46268
|
-
this.
|
|
46339
|
+
this.q8v_1 = playerTurnTagProvider;
|
|
46340
|
+
this.r8v_1 = logger;
|
|
46269
46341
|
}
|
|
46270
46342
|
protoOf(PlayerTurnInteractorImpl).k8u = function (currentPlayerTurnId, players, rules) {
|
|
46271
46343
|
var tmp;
|
|
@@ -46276,7 +46348,7 @@
|
|
|
46276
46348
|
}
|
|
46277
46349
|
return tmp;
|
|
46278
46350
|
};
|
|
46279
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46351
|
+
protoOf(PlayerTurnInteractorImpl).k8v = function (action, table) {
|
|
46280
46352
|
var tmp;
|
|
46281
46353
|
if (action instanceof SceneMechanicAction) {
|
|
46282
46354
|
tmp = getScenePlayerTurn(this, action, table);
|
|
@@ -46301,7 +46373,7 @@
|
|
|
46301
46373
|
}
|
|
46302
46374
|
return tmp;
|
|
46303
46375
|
};
|
|
46304
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46376
|
+
protoOf(PlayerTurnInteractorImpl).l8v = function (player, action) {
|
|
46305
46377
|
var playerState = player.l6v_1;
|
|
46306
46378
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
46307
46379
|
var this_0 = playerState.r65_1;
|
|
@@ -46315,7 +46387,7 @@
|
|
|
46315
46387
|
function PlayerTurnTagProvider(logger) {
|
|
46316
46388
|
this.b8q_1 = logger;
|
|
46317
46389
|
}
|
|
46318
|
-
protoOf(PlayerTurnTagProvider).
|
|
46390
|
+
protoOf(PlayerTurnTagProvider).o8w = function (action, table) {
|
|
46319
46391
|
var tmp;
|
|
46320
46392
|
if (action instanceof RequestedCardDecksFromClientAction) {
|
|
46321
46393
|
tmp = this.c8q('WAITING', table.gameInfo.round);
|
|
@@ -46349,7 +46421,7 @@
|
|
|
46349
46421
|
}
|
|
46350
46422
|
return tmp;
|
|
46351
46423
|
};
|
|
46352
|
-
protoOf(PlayerTurnTagProvider).
|
|
46424
|
+
protoOf(PlayerTurnTagProvider).p8w = function (answerAction, table) {
|
|
46353
46425
|
var tmp;
|
|
46354
46426
|
if (answerAction instanceof SceneMechanicAction) {
|
|
46355
46427
|
tmp = this.c8q('WAITING', table.gameInfo.round);
|
|
@@ -46387,12 +46459,12 @@
|
|
|
46387
46459
|
protoOf(PlayerTurnTagProvider).g8q = function (round, player) {
|
|
46388
46460
|
return 'v5:TRADE:' + ('circle_' + player.n6v_1.b6w_1.f70_1 + ':') + ('round_' + round.roundNumber);
|
|
46389
46461
|
};
|
|
46390
|
-
protoOf(PlayerTurnTagProvider).
|
|
46462
|
+
protoOf(PlayerTurnTagProvider).n8w = function (round, numberOfBribe, cardNumber) {
|
|
46391
46463
|
return 'v5:EARN_POINTS:' + ('bribe_' + numberOfBribe + ':') + ('number_' + cardNumber + ':') + ('round_' + round.roundNumber);
|
|
46392
46464
|
};
|
|
46393
46465
|
protoOf(PlayerTurnTagProvider).h8q = function (round, numberOfBribe, cardNumber, $super) {
|
|
46394
46466
|
numberOfBribe = numberOfBribe === VOID ? round.nextBribeNumber : numberOfBribe;
|
|
46395
|
-
return $super === VOID ? this.
|
|
46467
|
+
return $super === VOID ? this.n8w(round, numberOfBribe, cardNumber) : $super.n8w.call(this, round, numberOfBribe, cardNumber);
|
|
46396
46468
|
};
|
|
46397
46469
|
protoOf(PlayerTurnTagProvider).e8q = function (round) {
|
|
46398
46470
|
return 'v5:CALC_POINTS:' + ('round_' + round.roundNumber);
|
|
@@ -46400,7 +46472,7 @@
|
|
|
46400
46472
|
protoOf(PlayerTurnTagProvider).c8q = function (sceneId, round) {
|
|
46401
46473
|
return 'v5:' + (sceneId + ':') + 'waiting:' + ('round_' + round.roundNumber);
|
|
46402
46474
|
};
|
|
46403
|
-
protoOf(PlayerTurnTagProvider).
|
|
46475
|
+
protoOf(PlayerTurnTagProvider).s8v = function (sceneId, round, type) {
|
|
46404
46476
|
return 'v5:' + (sceneId + ':') + 'COMBINATION:' + (type.toString() + ':') + ('round_' + round.roundNumber);
|
|
46405
46477
|
};
|
|
46406
46478
|
protoOf(PlayerTurnTagProvider).f8q = function (sceneInfo, round) {
|
|
@@ -46426,9 +46498,9 @@
|
|
|
46426
46498
|
this.b8q_1.w(VOID, "Can't find tag for COMBINATION_ACT " + sceneInfo.toString());
|
|
46427
46499
|
return null;
|
|
46428
46500
|
}
|
|
46429
|
-
return this.
|
|
46501
|
+
return this.s8v(sceneInfo.a7x_1, round, combinationType);
|
|
46430
46502
|
};
|
|
46431
|
-
protoOf(PlayerTurnTagProvider).
|
|
46503
|
+
protoOf(PlayerTurnTagProvider).q8w = function (tag, round) {
|
|
46432
46504
|
var versionName = Companion_instance_2.c64(tag);
|
|
46433
46505
|
if (versionName === 'v5') {
|
|
46434
46506
|
return tag;
|
|
@@ -46451,11 +46523,11 @@
|
|
|
46451
46523
|
return tmp.a9();
|
|
46452
46524
|
}
|
|
46453
46525
|
function generateRandomData($this, table, cardDeck, cardsInCycle) {
|
|
46454
|
-
if (!$this.
|
|
46526
|
+
if (!$this.m8x_1.shouldDisplayDealerStrategy) {
|
|
46455
46527
|
return null;
|
|
46456
46528
|
}
|
|
46457
|
-
var decksRecord = $this.
|
|
46458
|
-
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.
|
|
46529
|
+
var decksRecord = $this.l8x_1.getGame(table.gameId);
|
|
46530
|
+
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.m8x_1);
|
|
46459
46531
|
if (!(decksRecord == null)) {
|
|
46460
46532
|
var tmp0_id = decksRecord.poolId;
|
|
46461
46533
|
var tmp1_signature = decksRecord.signature;
|
|
@@ -46465,7 +46537,7 @@
|
|
|
46465
46537
|
var tmp3_safe_receiver = table.gameHistory.metadata;
|
|
46466
46538
|
var previousRandomData = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.randomData;
|
|
46467
46539
|
var tmp5_elvis_lhs = previousRandomData == null ? null : previousRandomData.id;
|
|
46468
|
-
var tmp9_id = tmp5_elvis_lhs == null ? $this.
|
|
46540
|
+
var tmp9_id = tmp5_elvis_lhs == null ? $this.c8x_1.x6b() : tmp5_elvis_lhs;
|
|
46469
46541
|
var tmp10_signature = previousRandomData == null ? null : previousRandomData.signature;
|
|
46470
46542
|
var tmp8_elvis_lhs = previousRandomData == null ? null : previousRandomData.indexes;
|
|
46471
46543
|
var tmp11_indexes = tmp8_elvis_lhs == null ? emptyList() : tmp8_elvis_lhs;
|
|
@@ -46570,13 +46642,13 @@
|
|
|
46570
46642
|
}
|
|
46571
46643
|
function createEarnPointsData($this, table) {
|
|
46572
46644
|
var cardDeck = table.requireCardDeck;
|
|
46573
|
-
var tmp0_$this = $this.
|
|
46645
|
+
var tmp0_$this = $this.e8x_1;
|
|
46574
46646
|
var tmp1_cards = cardDeck.w7l_1;
|
|
46575
46647
|
var tmp2_trumpCard = cardDeck.x7l_1;
|
|
46576
46648
|
var tmp3_players = table.players;
|
|
46577
46649
|
var tmp4_selectedTrump = table.gameInfo.round.selectedTrump;
|
|
46578
46650
|
var tmp5_config = table.config;
|
|
46579
|
-
var tmp6_cardsInCycle = $this.
|
|
46651
|
+
var tmp6_cardsInCycle = $this.m8x_1.cardsInCycle;
|
|
46580
46652
|
var secondRoundCards = tmp0_$this.e8r(tmp1_cards, tmp2_trumpCard, tmp4_selectedTrump, tmp3_players, tmp5_config, tmp6_cardsInCycle);
|
|
46581
46653
|
// Inline function 'kotlin.collections.associate' call
|
|
46582
46654
|
var this_0 = table.players;
|
|
@@ -46591,7 +46663,7 @@
|
|
|
46591
46663
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46592
46664
|
}
|
|
46593
46665
|
var allPlayersCards = destination;
|
|
46594
|
-
var combinations = $this.
|
|
46666
|
+
var combinations = $this.h8x_1.q8q(allPlayersCards, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
46595
46667
|
// Inline function 'kotlin.collections.mapValues' call
|
|
46596
46668
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
46597
46669
|
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(combinations.o()));
|
|
@@ -46613,10 +46685,10 @@
|
|
|
46613
46685
|
}
|
|
46614
46686
|
destination_0.f2(tmp, destination_1);
|
|
46615
46687
|
}
|
|
46616
|
-
return new EarnPointsSceneData(secondRoundCards.o8r_1, destination_0, secondRoundCards.q8r_1, $this.
|
|
46688
|
+
return new EarnPointsSceneData(secondRoundCards.o8r_1, destination_0, secondRoundCards.q8r_1, $this.g8x_1.m8u(table.players, table.config.rules).playerId);
|
|
46617
46689
|
}
|
|
46618
46690
|
function createCalcPointsData($this, table) {
|
|
46619
|
-
var calculatedPoints = $this.
|
|
46691
|
+
var calculatedPoints = $this.f8x_1.t8u(table.players, table.config, table.gameInfo.round);
|
|
46620
46692
|
var tmp;
|
|
46621
46693
|
if (!(calculatedPoints.a72_1 == null) && $this.o8x_1.updateRating) {
|
|
46622
46694
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -46648,7 +46720,7 @@
|
|
|
46648
46720
|
var pair = to(tmp_0, getPlayer(tmp$ret$1.d72_1, element.playerId).l72_1);
|
|
46649
46721
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46650
46722
|
}
|
|
46651
|
-
tmp = $this.
|
|
46723
|
+
tmp = $this.k8x_1.f8v(table.players, table.config, calculatedPoints.a72_1, destination, table.gameDuration, VOID, $this.n8x_1);
|
|
46652
46724
|
} else {
|
|
46653
46725
|
tmp = null;
|
|
46654
46726
|
}
|
|
@@ -46763,8 +46835,8 @@
|
|
|
46763
46835
|
};
|
|
46764
46836
|
function $createTradeSceneDataCOROUTINE$(_this__u8e3s4, table, resultContinuation) {
|
|
46765
46837
|
CoroutineImpl.call(this, resultContinuation);
|
|
46766
|
-
this.
|
|
46767
|
-
this.
|
|
46838
|
+
this.z8w_1 = _this__u8e3s4;
|
|
46839
|
+
this.a8x_1 = table;
|
|
46768
46840
|
}
|
|
46769
46841
|
protoOf($createTradeSceneDataCOROUTINE$).a9 = function () {
|
|
46770
46842
|
var suspendResult = this.u8_1;
|
|
@@ -46774,14 +46846,14 @@
|
|
|
46774
46846
|
switch (tmp) {
|
|
46775
46847
|
case 0:
|
|
46776
46848
|
this.t8_1 = 2;
|
|
46777
|
-
this.
|
|
46778
|
-
var tmp1_$this = this.
|
|
46779
|
-
var tmp2_dealerStrategy = this.
|
|
46780
|
-
var tmp0_safe_receiver = firstOrNull(this.
|
|
46849
|
+
this.b8x_1 = this.z8w_1.g8x_1.l8u(this.a8x_1.players, this.a8x_1.gameInfo.round, this.a8x_1.config);
|
|
46850
|
+
var tmp1_$this = this.z8w_1.d8x_1;
|
|
46851
|
+
var tmp2_dealerStrategy = this.a8x_1.config.getDealerStrategyOrDefault(this.z8w_1.m8x_1);
|
|
46852
|
+
var tmp0_safe_receiver = firstOrNull(this.a8x_1.requestedCardDecks);
|
|
46781
46853
|
var tmp3_requestedCards = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m7p();
|
|
46782
|
-
var tmp4_previousRound = this.
|
|
46783
|
-
var tmp5_approximateRoundCountForGame = getApproximateRoundsForGame(this.
|
|
46784
|
-
var this_0 = this.
|
|
46854
|
+
var tmp4_previousRound = this.a8x_1.gameInfo.w7p_1;
|
|
46855
|
+
var tmp5_approximateRoundCountForGame = getApproximateRoundsForGame(this.z8w_1, this.a8x_1.config.playersMode, this.a8x_1.config.pointsMode);
|
|
46856
|
+
var this_0 = this.a8x_1.players;
|
|
46785
46857
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
46786
46858
|
var _iterator__ex2g4s = this_0.l();
|
|
46787
46859
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -46789,7 +46861,7 @@
|
|
|
46789
46861
|
destination.j(new UserInfoData(item.playerId, item.k6v_1.name));
|
|
46790
46862
|
}
|
|
46791
46863
|
|
|
46792
|
-
var tmp6_userData = new CardDeckRequestUserData(destination, this.
|
|
46864
|
+
var tmp6_userData = new CardDeckRequestUserData(destination, this.a8x_1.gameId);
|
|
46793
46865
|
this.s8_1 = 1;
|
|
46794
46866
|
suspendResult = tmp1_$this.t8r(tmp4_previousRound, tmp5_approximateRoundCountForGame, tmp6_userData, tmp2_dealerStrategy, tmp3_requestedCards, this);
|
|
46795
46867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -46799,22 +46871,22 @@
|
|
|
46799
46871
|
continue $sm;
|
|
46800
46872
|
case 1:
|
|
46801
46873
|
var cardsInTheCardDeck = suspendResult;
|
|
46802
|
-
var this_1 = this.
|
|
46874
|
+
var this_1 = this.a8x_1.players;
|
|
46803
46875
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
46804
46876
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
46805
46877
|
while (_iterator__ex2g4s_0.m()) {
|
|
46806
46878
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
46807
|
-
destination_0.j(this.
|
|
46879
|
+
destination_0.j(this.z8w_1.i8x_1.d8y(item_0, emptyList(), this.b8x_1.playerId));
|
|
46808
46880
|
}
|
|
46809
46881
|
|
|
46810
46882
|
var players = destination_0;
|
|
46811
|
-
var cardsInCycle = this.
|
|
46812
|
-
var firstRoundCards = this.
|
|
46883
|
+
var cardsInCycle = this.z8w_1.m8x_1.cardsInCycle;
|
|
46884
|
+
var firstRoundCards = this.z8w_1.e8x_1.d8r(cardsInTheCardDeck, players, this.a8x_1.config, cardsInCycle);
|
|
46813
46885
|
var tmp7_playersCards = firstRoundCards.l8r_1;
|
|
46814
46886
|
var tmp8_otherCards = firstRoundCards.m8r_1;
|
|
46815
46887
|
var tmp9_trumpCard = firstRoundCards.n8r_1;
|
|
46816
|
-
var tmp10_whoShuffleCardsPlayerId = this.
|
|
46817
|
-
var tmp11_randomData = generateRandomData(this.
|
|
46888
|
+
var tmp10_whoShuffleCardsPlayerId = this.b8x_1.playerId;
|
|
46889
|
+
var tmp11_randomData = generateRandomData(this.z8w_1, this.a8x_1, cardsInTheCardDeck, cardsInCycle);
|
|
46818
46890
|
return new TradeSceneData(tmp7_playersCards, tmp11_randomData, tmp9_trumpCard, tmp8_otherCards, tmp10_whoShuffleCardsPlayerId);
|
|
46819
46891
|
case 2:
|
|
46820
46892
|
throw this.v8_1;
|
|
@@ -46830,18 +46902,19 @@
|
|
|
46830
46902
|
}
|
|
46831
46903
|
while (true);
|
|
46832
46904
|
};
|
|
46833
|
-
function SceneFactory(idsProvider, dealerInteractor, cardsInteractor, pointsInteractor, playerOptionsInteractor, combinationsInteractor, playerSceneReducer, playerTurnInteractor, userRatingInteractor, randomPoolProvider, dealerConfig, engineLogicConfig, logger) {
|
|
46834
|
-
this.
|
|
46835
|
-
this.
|
|
46836
|
-
this.
|
|
46837
|
-
this.
|
|
46838
|
-
this.
|
|
46839
|
-
this.
|
|
46840
|
-
this.
|
|
46841
|
-
this.
|
|
46842
|
-
this.
|
|
46843
|
-
this.
|
|
46844
|
-
this.
|
|
46905
|
+
function SceneFactory(idsProvider, dealerInteractor, cardsInteractor, pointsInteractor, playerOptionsInteractor, combinationsInteractor, playerSceneReducer, playerTurnInteractor, userRatingInteractor, randomPoolProvider, dealerConfig, leaguesConfig, engineLogicConfig, logger) {
|
|
46906
|
+
this.c8x_1 = idsProvider;
|
|
46907
|
+
this.d8x_1 = dealerInteractor;
|
|
46908
|
+
this.e8x_1 = cardsInteractor;
|
|
46909
|
+
this.f8x_1 = pointsInteractor;
|
|
46910
|
+
this.g8x_1 = playerOptionsInteractor;
|
|
46911
|
+
this.h8x_1 = combinationsInteractor;
|
|
46912
|
+
this.i8x_1 = playerSceneReducer;
|
|
46913
|
+
this.j8x_1 = playerTurnInteractor;
|
|
46914
|
+
this.k8x_1 = userRatingInteractor;
|
|
46915
|
+
this.l8x_1 = randomPoolProvider;
|
|
46916
|
+
this.m8x_1 = dealerConfig;
|
|
46917
|
+
this.n8x_1 = leaguesConfig;
|
|
46845
46918
|
this.o8x_1 = engineLogicConfig;
|
|
46846
46919
|
this.p8x_1 = logger;
|
|
46847
46920
|
}
|
|
@@ -46873,7 +46946,7 @@
|
|
|
46873
46946
|
}
|
|
46874
46947
|
|
|
46875
46948
|
var tradeSceneData = tmp$ret$0;
|
|
46876
|
-
tmp_0 = PlayersTurnActData_init_$Create$(this.
|
|
46949
|
+
tmp_0 = PlayersTurnActData_init_$Create$(this.j8x_1.k8u(tradeSceneData.k7c_1, table.players, table.config.rules), null);
|
|
46877
46950
|
break;
|
|
46878
46951
|
case 'EARN_POINTS':
|
|
46879
46952
|
var tmp$ret$1;
|
|
@@ -46919,7 +46992,7 @@
|
|
|
46919
46992
|
}
|
|
46920
46993
|
var previousCombinations = sortByPriority(destination);
|
|
46921
46994
|
// Inline function 'kotlin.collections.map' call
|
|
46922
|
-
var this_1 = this.
|
|
46995
|
+
var this_1 = this.h8x_1.r8q(playerId, player.m6v_1, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
46923
46996
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46924
46997
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
46925
46998
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
@@ -48363,21 +48436,21 @@
|
|
|
48363
48436
|
return new StartNewGameMechanicAction(tmp1_previousGameId, tmp0_gameId, tmp2_aid);
|
|
48364
48437
|
}
|
|
48365
48438
|
function mapFromClientDto_2(_this__u8e3s4, payload) {
|
|
48366
|
-
return new ContinueGameMechanicAction(mapFromClient_0(
|
|
48439
|
+
return new ContinueGameMechanicAction(mapFromClient_0(mapFromDto_70(_this__u8e3s4.w7f_1), payload), _this__u8e3s4.x7f_1, _this__u8e3s4.y7f_1, _this__u8e3s4.z7f_1);
|
|
48367
48440
|
}
|
|
48368
48441
|
function mapFromClientDto_3(_this__u8e3s4) {
|
|
48369
48442
|
var tmp = mapFromDto_1(_this__u8e3s4.o7g_1);
|
|
48370
48443
|
var tmp0_elvis_lhs = _this__u8e3s4.q7g_1;
|
|
48371
48444
|
var tmp_0 = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48372
48445
|
var tmp1_safe_receiver = _this__u8e3s4.p7g_1;
|
|
48373
|
-
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null :
|
|
48446
|
+
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver), VOID, VOID, VOID, _this__u8e3s4.r7g_1);
|
|
48374
48447
|
}
|
|
48375
48448
|
function mapFromClientDto_4(_this__u8e3s4) {
|
|
48376
48449
|
var tmp2_reason = mapFromDto_1(_this__u8e3s4.h7g_1);
|
|
48377
48450
|
var tmp0_elvis_lhs = _this__u8e3s4.j7g_1;
|
|
48378
48451
|
var tmp3_isGameFinished = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48379
48452
|
var tmp1_safe_receiver = _this__u8e3s4.i7g_1;
|
|
48380
|
-
var tmp4_transition = tmp1_safe_receiver == null ? null :
|
|
48453
|
+
var tmp4_transition = tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver);
|
|
48381
48454
|
var tmp5_aid = _this__u8e3s4.k7g_1;
|
|
48382
48455
|
return new FinishGameMechanicAction(tmp2_reason, tmp3_isGameFinished, tmp5_aid, tmp4_transition);
|
|
48383
48456
|
}
|
|
@@ -48388,18 +48461,18 @@
|
|
|
48388
48461
|
var tmp4_currentTurnPlayerId = _this__u8e3s4.r7i_1;
|
|
48389
48462
|
var tmp5_sceneId = _this__u8e3s4.s7i_1;
|
|
48390
48463
|
var tmp0_safe_receiver = _this__u8e3s4.u7i_1;
|
|
48391
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48464
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
48392
48465
|
var tmp6_sceneData = tmp1_safe_receiver == null ? null : mapFromClientData_1(tmp1_safe_receiver, payload);
|
|
48393
48466
|
var tmp7_actId = _this__u8e3s4.t7i_1;
|
|
48394
48467
|
var tmp2_safe_receiver = _this__u8e3s4.v7i_1;
|
|
48395
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null :
|
|
48468
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : mapFromDto_91(tmp2_safe_receiver);
|
|
48396
48469
|
var tmp8_actData = tmp3_safe_receiver == null ? null : mapFromClientData(tmp3_safe_receiver, payload);
|
|
48397
48470
|
var tmp9_aid = _this__u8e3s4.w7i_1;
|
|
48398
48471
|
return new SceneMechanicAction(tmp4_currentTurnPlayerId, tmp5_sceneId, tmp7_actId, tmp6_sceneData, tmp8_actData, tmp9_aid);
|
|
48399
48472
|
}
|
|
48400
48473
|
function mapFromClientDto_7(_this__u8e3s4, payload) {
|
|
48401
48474
|
var tmp0_safe_receiver = _this__u8e3s4.l7i_1;
|
|
48402
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48475
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_91(tmp0_safe_receiver);
|
|
48403
48476
|
return new SceneActMechanicAction(_this__u8e3s4.j7i_1, _this__u8e3s4.k7i_1, tmp1_safe_receiver == null ? null : mapFromClientData(tmp1_safe_receiver, payload), _this__u8e3s4.m7i_1);
|
|
48404
48477
|
}
|
|
48405
48478
|
function mapFromClientDto_8(_this__u8e3s4) {
|
|
@@ -48506,7 +48579,7 @@
|
|
|
48506
48579
|
return new WinnerCombinationsMechanicAction(destination, _this__u8e3s4.o7k_1);
|
|
48507
48580
|
}
|
|
48508
48581
|
function mapFromClientDto_17(_this__u8e3s4) {
|
|
48509
|
-
return new MessageMechanicAction(
|
|
48582
|
+
return new MessageMechanicAction(mapFromDto_47(_this__u8e3s4.w7g_1, true), _this__u8e3s4.x7g_1);
|
|
48510
48583
|
}
|
|
48511
48584
|
function mapFromClientDto_18(_this__u8e3s4) {
|
|
48512
48585
|
var tmp0_elvis_lhs = _this__u8e3s4.j7h_1;
|
|
@@ -49718,40 +49791,40 @@
|
|
|
49718
49791
|
actData = actData === VOID ? null : actData;
|
|
49719
49792
|
aid = aid === VOID ? null : aid;
|
|
49720
49793
|
MechanicAction.call(this);
|
|
49721
|
-
this.
|
|
49722
|
-
this.
|
|
49723
|
-
this.
|
|
49794
|
+
this.t8v_1 = currentTurnPlayerId;
|
|
49795
|
+
this.u8v_1 = sceneId;
|
|
49796
|
+
this.v8v_1 = actId;
|
|
49724
49797
|
this.sceneData = sceneData;
|
|
49725
|
-
this.
|
|
49726
|
-
this.
|
|
49798
|
+
this.w8v_1 = actData;
|
|
49799
|
+
this.x8v_1 = aid;
|
|
49727
49800
|
}
|
|
49728
49801
|
protoOf(SceneMechanicAction).s91 = function () {
|
|
49729
|
-
return this.
|
|
49802
|
+
return this.t8v_1;
|
|
49730
49803
|
};
|
|
49731
49804
|
protoOf(SceneMechanicAction).p7b = function () {
|
|
49732
|
-
return this.
|
|
49805
|
+
return this.u8v_1;
|
|
49733
49806
|
};
|
|
49734
49807
|
protoOf(SceneMechanicAction).r7a = function () {
|
|
49735
|
-
return this.
|
|
49808
|
+
return this.v8v_1;
|
|
49736
49809
|
};
|
|
49737
49810
|
protoOf(SceneMechanicAction).t91 = function () {
|
|
49738
49811
|
return this.sceneData;
|
|
49739
49812
|
};
|
|
49740
49813
|
protoOf(SceneMechanicAction).r91 = function () {
|
|
49741
|
-
return this.
|
|
49814
|
+
return this.w8v_1;
|
|
49742
49815
|
};
|
|
49743
49816
|
protoOf(SceneMechanicAction).p8z = function () {
|
|
49744
|
-
return this.
|
|
49817
|
+
return this.x8v_1;
|
|
49745
49818
|
};
|
|
49746
49819
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
49747
|
-
return this.
|
|
49820
|
+
return this.u8v_1 === 'WAITING';
|
|
49748
49821
|
};
|
|
49749
49822
|
protoOf(SceneMechanicAction).toString = function () {
|
|
49750
|
-
var tmp = "sceneId='" + this.
|
|
49823
|
+
var tmp = "sceneId='" + this.u8v_1 + "'";
|
|
49751
49824
|
// Inline function 'kotlin.takeIf' call
|
|
49752
|
-
var this_0 = 'actId=' + this.
|
|
49825
|
+
var this_0 = 'actId=' + this.v8v_1;
|
|
49753
49826
|
var tmp_0;
|
|
49754
|
-
if (!(this.
|
|
49827
|
+
if (!(this.v8v_1 == null)) {
|
|
49755
49828
|
tmp_0 = this_0;
|
|
49756
49829
|
} else {
|
|
49757
49830
|
tmp_0 = null;
|
|
@@ -49767,18 +49840,18 @@
|
|
|
49767
49840
|
}
|
|
49768
49841
|
var tmp_3 = tmp_2;
|
|
49769
49842
|
// Inline function 'kotlin.takeIf' call
|
|
49770
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
49843
|
+
var this_2 = 'actData=' + toString_0(this.w8v_1);
|
|
49771
49844
|
var tmp_4;
|
|
49772
|
-
if (!(this.
|
|
49845
|
+
if (!(this.w8v_1 == null)) {
|
|
49773
49846
|
tmp_4 = this_2;
|
|
49774
49847
|
} else {
|
|
49775
49848
|
tmp_4 = null;
|
|
49776
49849
|
}
|
|
49777
49850
|
var tmp_5 = tmp_4;
|
|
49778
49851
|
// Inline function 'kotlin.takeIf' call
|
|
49779
|
-
var this_3 = 'aid=' + this.
|
|
49852
|
+
var this_3 = 'aid=' + this.x8v_1;
|
|
49780
49853
|
var tmp_6;
|
|
49781
|
-
if (!(this.
|
|
49854
|
+
if (!(this.x8v_1 == null)) {
|
|
49782
49855
|
tmp_6 = this_3;
|
|
49783
49856
|
} else {
|
|
49784
49857
|
tmp_6 = null;
|
|
@@ -49791,15 +49864,15 @@
|
|
|
49791
49864
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
49792
49865
|
return this.sceneData.s7a();
|
|
49793
49866
|
}
|
|
49794
|
-
var tmp_0 = this.
|
|
49867
|
+
var tmp_0 = this.w8v_1;
|
|
49795
49868
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
49796
|
-
return this.
|
|
49869
|
+
return this.w8v_1.s7a();
|
|
49797
49870
|
}
|
|
49798
49871
|
return emptyList();
|
|
49799
49872
|
};
|
|
49800
49873
|
protoOf(SceneMechanicAction).g64 = function () {
|
|
49801
49874
|
// Inline function 'kotlin.requireNotNull' call
|
|
49802
|
-
var tmp0 = this.
|
|
49875
|
+
var tmp0 = this.t8v_1;
|
|
49803
49876
|
var tmp$ret$1;
|
|
49804
49877
|
$l$block: {
|
|
49805
49878
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -49814,42 +49887,42 @@
|
|
|
49814
49887
|
return tmp$ret$1;
|
|
49815
49888
|
};
|
|
49816
49889
|
protoOf(SceneMechanicAction).oe = function () {
|
|
49817
|
-
return this.
|
|
49890
|
+
return this.t8v_1;
|
|
49818
49891
|
};
|
|
49819
49892
|
protoOf(SceneMechanicAction).pe = function () {
|
|
49820
|
-
return this.
|
|
49893
|
+
return this.u8v_1;
|
|
49821
49894
|
};
|
|
49822
49895
|
protoOf(SceneMechanicAction).yl = function () {
|
|
49823
|
-
return this.
|
|
49896
|
+
return this.v8v_1;
|
|
49824
49897
|
};
|
|
49825
49898
|
protoOf(SceneMechanicAction).n53 = function () {
|
|
49826
49899
|
return this.sceneData;
|
|
49827
49900
|
};
|
|
49828
49901
|
protoOf(SceneMechanicAction).a65 = function () {
|
|
49829
|
-
return this.
|
|
49902
|
+
return this.w8v_1;
|
|
49830
49903
|
};
|
|
49831
49904
|
protoOf(SceneMechanicAction).b65 = function () {
|
|
49832
|
-
return this.
|
|
49905
|
+
return this.x8v_1;
|
|
49833
49906
|
};
|
|
49834
49907
|
protoOf(SceneMechanicAction).v91 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
49835
49908
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
49836
49909
|
};
|
|
49837
49910
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
49838
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
49839
|
-
sceneId = sceneId === VOID ? this.
|
|
49840
|
-
actId = actId === VOID ? this.
|
|
49911
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.t8v_1 : currentTurnPlayerId;
|
|
49912
|
+
sceneId = sceneId === VOID ? this.u8v_1 : sceneId;
|
|
49913
|
+
actId = actId === VOID ? this.v8v_1 : actId;
|
|
49841
49914
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
49842
|
-
actData = actData === VOID ? this.
|
|
49843
|
-
aid = aid === VOID ? this.
|
|
49915
|
+
actData = actData === VOID ? this.w8v_1 : actData;
|
|
49916
|
+
aid = aid === VOID ? this.x8v_1 : aid;
|
|
49844
49917
|
return $super === VOID ? this.v91(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.v91.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
49845
49918
|
};
|
|
49846
49919
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
49847
|
-
var result = this.
|
|
49848
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
49849
|
-
result = imul(result, 31) + (this.
|
|
49920
|
+
var result = this.t8v_1 == null ? 0 : getStringHashCode(this.t8v_1);
|
|
49921
|
+
result = imul(result, 31) + getStringHashCode(this.u8v_1) | 0;
|
|
49922
|
+
result = imul(result, 31) + (this.v8v_1 == null ? 0 : getStringHashCode(this.v8v_1)) | 0;
|
|
49850
49923
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
49851
|
-
result = imul(result, 31) + (this.
|
|
49852
|
-
result = imul(result, 31) + (this.
|
|
49924
|
+
result = imul(result, 31) + (this.w8v_1 == null ? 0 : hashCode(this.w8v_1)) | 0;
|
|
49925
|
+
result = imul(result, 31) + (this.x8v_1 == null ? 0 : getStringHashCode(this.x8v_1)) | 0;
|
|
49853
49926
|
return result;
|
|
49854
49927
|
};
|
|
49855
49928
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -49857,17 +49930,17 @@
|
|
|
49857
49930
|
return true;
|
|
49858
49931
|
if (!(other instanceof SceneMechanicAction))
|
|
49859
49932
|
return false;
|
|
49860
|
-
if (!(this.
|
|
49933
|
+
if (!(this.t8v_1 == other.t8v_1))
|
|
49861
49934
|
return false;
|
|
49862
|
-
if (!(this.
|
|
49935
|
+
if (!(this.u8v_1 === other.u8v_1))
|
|
49863
49936
|
return false;
|
|
49864
|
-
if (!(this.
|
|
49937
|
+
if (!(this.v8v_1 == other.v8v_1))
|
|
49865
49938
|
return false;
|
|
49866
49939
|
if (!equals(this.sceneData, other.sceneData))
|
|
49867
49940
|
return false;
|
|
49868
|
-
if (!equals(this.
|
|
49941
|
+
if (!equals(this.w8v_1, other.w8v_1))
|
|
49869
49942
|
return false;
|
|
49870
|
-
if (!(this.
|
|
49943
|
+
if (!(this.x8v_1 == other.x8v_1))
|
|
49871
49944
|
return false;
|
|
49872
49945
|
return true;
|
|
49873
49946
|
};
|
|
@@ -50231,38 +50304,38 @@
|
|
|
50231
50304
|
actData = actData === VOID ? null : actData;
|
|
50232
50305
|
aid = aid === VOID ? null : aid;
|
|
50233
50306
|
MechanicAction.call(this);
|
|
50234
|
-
this.
|
|
50235
|
-
this.
|
|
50236
|
-
this.
|
|
50237
|
-
this.
|
|
50307
|
+
this.m8v_1 = sceneId;
|
|
50308
|
+
this.n8v_1 = actId;
|
|
50309
|
+
this.o8v_1 = actData;
|
|
50310
|
+
this.p8v_1 = aid;
|
|
50238
50311
|
}
|
|
50239
50312
|
protoOf(SceneActMechanicAction).p7b = function () {
|
|
50240
|
-
return this.
|
|
50313
|
+
return this.m8v_1;
|
|
50241
50314
|
};
|
|
50242
50315
|
protoOf(SceneActMechanicAction).r7a = function () {
|
|
50243
|
-
return this.
|
|
50316
|
+
return this.n8v_1;
|
|
50244
50317
|
};
|
|
50245
50318
|
protoOf(SceneActMechanicAction).r91 = function () {
|
|
50246
|
-
return this.
|
|
50319
|
+
return this.o8v_1;
|
|
50247
50320
|
};
|
|
50248
50321
|
protoOf(SceneActMechanicAction).p8z = function () {
|
|
50249
|
-
return this.
|
|
50322
|
+
return this.p8v_1;
|
|
50250
50323
|
};
|
|
50251
50324
|
protoOf(SceneActMechanicAction).u91 = function () {
|
|
50252
|
-
var tmp = this.
|
|
50325
|
+
var tmp = this.o8v_1;
|
|
50253
50326
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
50254
|
-
return this.
|
|
50327
|
+
return this.o8v_1.s7a();
|
|
50255
50328
|
}
|
|
50256
50329
|
return emptyList();
|
|
50257
50330
|
};
|
|
50258
50331
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
50259
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
50332
|
+
return 'SceneActMechanicAction(sceneId=' + this.m8v_1 + ', actId=' + this.n8v_1 + ', actData=' + toString_0(this.o8v_1) + ', aid=' + this.p8v_1 + ')';
|
|
50260
50333
|
};
|
|
50261
50334
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
50262
|
-
var result = getStringHashCode(this.
|
|
50263
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
50264
|
-
result = imul(result, 31) + (this.
|
|
50265
|
-
result = imul(result, 31) + (this.
|
|
50335
|
+
var result = getStringHashCode(this.m8v_1);
|
|
50336
|
+
result = imul(result, 31) + getStringHashCode(this.n8v_1) | 0;
|
|
50337
|
+
result = imul(result, 31) + (this.o8v_1 == null ? 0 : hashCode(this.o8v_1)) | 0;
|
|
50338
|
+
result = imul(result, 31) + (this.p8v_1 == null ? 0 : getStringHashCode(this.p8v_1)) | 0;
|
|
50266
50339
|
return result;
|
|
50267
50340
|
};
|
|
50268
50341
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -50270,13 +50343,13 @@
|
|
|
50270
50343
|
return true;
|
|
50271
50344
|
if (!(other instanceof SceneActMechanicAction))
|
|
50272
50345
|
return false;
|
|
50273
|
-
if (!(this.
|
|
50346
|
+
if (!(this.m8v_1 === other.m8v_1))
|
|
50274
50347
|
return false;
|
|
50275
|
-
if (!(this.
|
|
50348
|
+
if (!(this.n8v_1 === other.n8v_1))
|
|
50276
50349
|
return false;
|
|
50277
|
-
if (!equals(this.
|
|
50350
|
+
if (!equals(this.o8v_1, other.o8v_1))
|
|
50278
50351
|
return false;
|
|
50279
|
-
if (!(this.
|
|
50352
|
+
if (!(this.p8v_1 == other.p8v_1))
|
|
50280
50353
|
return false;
|
|
50281
50354
|
return true;
|
|
50282
50355
|
};
|
|
@@ -50321,36 +50394,36 @@
|
|
|
50321
50394
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
50322
50395
|
aid = aid === VOID ? null : aid;
|
|
50323
50396
|
MechanicAction.call(this);
|
|
50324
|
-
this.
|
|
50325
|
-
this.
|
|
50326
|
-
this.
|
|
50327
|
-
this.
|
|
50328
|
-
this.
|
|
50397
|
+
this.y8v_1 = suit;
|
|
50398
|
+
this.z8v_1 = restartRound;
|
|
50399
|
+
this.a8w_1 = currentTurnPlayerId;
|
|
50400
|
+
this.b8w_1 = nextTurnPlayerIds;
|
|
50401
|
+
this.c8w_1 = aid;
|
|
50329
50402
|
}
|
|
50330
50403
|
protoOf(SuitChoiceMechanicAction).s91 = function () {
|
|
50331
|
-
return this.
|
|
50404
|
+
return this.a8w_1;
|
|
50332
50405
|
};
|
|
50333
50406
|
protoOf(SuitChoiceMechanicAction).u91 = function () {
|
|
50334
|
-
return this.
|
|
50407
|
+
return this.b8w_1;
|
|
50335
50408
|
};
|
|
50336
50409
|
protoOf(SuitChoiceMechanicAction).p8z = function () {
|
|
50337
|
-
return this.
|
|
50410
|
+
return this.c8w_1;
|
|
50338
50411
|
};
|
|
50339
50412
|
protoOf(SuitChoiceMechanicAction).g64 = function () {
|
|
50340
|
-
return this.
|
|
50413
|
+
return this.a8w_1;
|
|
50341
50414
|
};
|
|
50342
50415
|
protoOf(SuitChoiceMechanicAction).a92 = function (sceneId) {
|
|
50343
50416
|
return 'TRADE' === sceneId;
|
|
50344
50417
|
};
|
|
50345
50418
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
50346
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
50419
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.y8v_1) + ', restartRound=' + this.z8v_1 + ', currentTurnPlayerId=' + this.a8w_1 + ', nextTurnPlayerIds=' + toString(this.b8w_1) + ', aid=' + this.c8w_1 + ')';
|
|
50347
50420
|
};
|
|
50348
50421
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
50349
|
-
var result = this.
|
|
50350
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
50351
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
50352
|
-
result = imul(result, 31) + hashCode(this.
|
|
50353
|
-
result = imul(result, 31) + (this.
|
|
50422
|
+
var result = this.y8v_1 == null ? 0 : this.y8v_1.hashCode();
|
|
50423
|
+
result = imul(result, 31) + getBooleanHashCode(this.z8v_1) | 0;
|
|
50424
|
+
result = imul(result, 31) + getStringHashCode(this.a8w_1) | 0;
|
|
50425
|
+
result = imul(result, 31) + hashCode(this.b8w_1) | 0;
|
|
50426
|
+
result = imul(result, 31) + (this.c8w_1 == null ? 0 : getStringHashCode(this.c8w_1)) | 0;
|
|
50354
50427
|
return result;
|
|
50355
50428
|
};
|
|
50356
50429
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -50358,15 +50431,15 @@
|
|
|
50358
50431
|
return true;
|
|
50359
50432
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
50360
50433
|
return false;
|
|
50361
|
-
if (!equals(this.
|
|
50434
|
+
if (!equals(this.y8v_1, other.y8v_1))
|
|
50362
50435
|
return false;
|
|
50363
|
-
if (!(this.
|
|
50436
|
+
if (!(this.z8v_1 === other.z8v_1))
|
|
50364
50437
|
return false;
|
|
50365
|
-
if (!(this.
|
|
50438
|
+
if (!(this.a8w_1 === other.a8w_1))
|
|
50366
50439
|
return false;
|
|
50367
|
-
if (!equals(this.
|
|
50440
|
+
if (!equals(this.b8w_1, other.b8w_1))
|
|
50368
50441
|
return false;
|
|
50369
|
-
if (!(this.
|
|
50442
|
+
if (!(this.c8w_1 == other.c8w_1))
|
|
50370
50443
|
return false;
|
|
50371
50444
|
return true;
|
|
50372
50445
|
};
|
|
@@ -50456,45 +50529,45 @@
|
|
|
50456
50529
|
combinations = combinations === VOID ? null : combinations;
|
|
50457
50530
|
aid = aid === VOID ? null : aid;
|
|
50458
50531
|
MechanicAction.call(this);
|
|
50459
|
-
this.
|
|
50460
|
-
this.
|
|
50461
|
-
this.
|
|
50462
|
-
this.
|
|
50463
|
-
this.
|
|
50464
|
-
this.
|
|
50532
|
+
this.d8w_1 = card;
|
|
50533
|
+
this.e8w_1 = combinations;
|
|
50534
|
+
this.f8w_1 = canNextPlayerTakeAllCards;
|
|
50535
|
+
this.g8w_1 = currentTurnPlayerId;
|
|
50536
|
+
this.h8w_1 = nextTurnPlayerIds;
|
|
50537
|
+
this.i8w_1 = aid;
|
|
50465
50538
|
}
|
|
50466
50539
|
protoOf(PutCardMechanicAction).s91 = function () {
|
|
50467
|
-
return this.
|
|
50540
|
+
return this.g8w_1;
|
|
50468
50541
|
};
|
|
50469
50542
|
protoOf(PutCardMechanicAction).u91 = function () {
|
|
50470
|
-
return this.
|
|
50543
|
+
return this.h8w_1;
|
|
50471
50544
|
};
|
|
50472
50545
|
protoOf(PutCardMechanicAction).p8z = function () {
|
|
50473
|
-
return this.
|
|
50546
|
+
return this.i8w_1;
|
|
50474
50547
|
};
|
|
50475
50548
|
protoOf(PutCardMechanicAction).a92 = function (sceneId) {
|
|
50476
50549
|
return 'EARN_POINTS' === sceneId;
|
|
50477
50550
|
};
|
|
50478
50551
|
protoOf(PutCardMechanicAction).g64 = function () {
|
|
50479
|
-
return this.
|
|
50552
|
+
return this.g8w_1;
|
|
50480
50553
|
};
|
|
50481
50554
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
50482
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
50555
|
+
var tmp = "currentTurnPlayerId='" + this.g8w_1 + "'";
|
|
50483
50556
|
// Inline function 'kotlin.takeIf' call
|
|
50484
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
50557
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.h8w_1);
|
|
50485
50558
|
var tmp_0;
|
|
50486
50559
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
50487
|
-
if (!this.
|
|
50560
|
+
if (!this.h8w_1.r()) {
|
|
50488
50561
|
tmp_0 = this_0;
|
|
50489
50562
|
} else {
|
|
50490
50563
|
tmp_0 = null;
|
|
50491
50564
|
}
|
|
50492
50565
|
var tmp_1 = tmp_0;
|
|
50493
|
-
var tmp_2 = 'card=' + this.
|
|
50566
|
+
var tmp_2 = 'card=' + this.d8w_1.toString();
|
|
50494
50567
|
// Inline function 'kotlin.takeIf' call
|
|
50495
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
50568
|
+
var this_1 = 'combinations=' + toString_0(this.e8w_1);
|
|
50496
50569
|
var tmp_3;
|
|
50497
|
-
var tmp0_safe_receiver = this.
|
|
50570
|
+
var tmp0_safe_receiver = this.e8w_1;
|
|
50498
50571
|
var tmp_4;
|
|
50499
50572
|
if (tmp0_safe_receiver == null) {
|
|
50500
50573
|
tmp_4 = null;
|
|
@@ -50509,9 +50582,9 @@
|
|
|
50509
50582
|
}
|
|
50510
50583
|
var tmp_5 = tmp_3;
|
|
50511
50584
|
// Inline function 'kotlin.takeIf' call
|
|
50512
|
-
var this_2 = 'aid=' + this.
|
|
50585
|
+
var this_2 = 'aid=' + this.i8w_1;
|
|
50513
50586
|
var tmp_6;
|
|
50514
|
-
if (!(this.
|
|
50587
|
+
if (!(this.i8w_1 == null)) {
|
|
50515
50588
|
tmp_6 = this_2;
|
|
50516
50589
|
} else {
|
|
50517
50590
|
tmp_6 = null;
|
|
@@ -50520,12 +50593,12 @@
|
|
|
50520
50593
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
50521
50594
|
};
|
|
50522
50595
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
50523
|
-
var result = this.
|
|
50524
|
-
result = imul(result, 31) + (this.
|
|
50525
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
50526
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
50527
|
-
result = imul(result, 31) + hashCode(this.
|
|
50528
|
-
result = imul(result, 31) + (this.
|
|
50596
|
+
var result = this.d8w_1.hashCode();
|
|
50597
|
+
result = imul(result, 31) + (this.e8w_1 == null ? 0 : hashCode(this.e8w_1)) | 0;
|
|
50598
|
+
result = imul(result, 31) + getBooleanHashCode(this.f8w_1) | 0;
|
|
50599
|
+
result = imul(result, 31) + getStringHashCode(this.g8w_1) | 0;
|
|
50600
|
+
result = imul(result, 31) + hashCode(this.h8w_1) | 0;
|
|
50601
|
+
result = imul(result, 31) + (this.i8w_1 == null ? 0 : getStringHashCode(this.i8w_1)) | 0;
|
|
50529
50602
|
return result;
|
|
50530
50603
|
};
|
|
50531
50604
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -50533,33 +50606,33 @@
|
|
|
50533
50606
|
return true;
|
|
50534
50607
|
if (!(other instanceof PutCardMechanicAction))
|
|
50535
50608
|
return false;
|
|
50536
|
-
if (!this.
|
|
50609
|
+
if (!this.d8w_1.equals(other.d8w_1))
|
|
50537
50610
|
return false;
|
|
50538
|
-
if (!equals(this.
|
|
50611
|
+
if (!equals(this.e8w_1, other.e8w_1))
|
|
50539
50612
|
return false;
|
|
50540
|
-
if (!(this.
|
|
50613
|
+
if (!(this.f8w_1 === other.f8w_1))
|
|
50541
50614
|
return false;
|
|
50542
|
-
if (!(this.
|
|
50615
|
+
if (!(this.g8w_1 === other.g8w_1))
|
|
50543
50616
|
return false;
|
|
50544
|
-
if (!equals(this.
|
|
50617
|
+
if (!equals(this.h8w_1, other.h8w_1))
|
|
50545
50618
|
return false;
|
|
50546
|
-
if (!(this.
|
|
50619
|
+
if (!(this.i8w_1 == other.i8w_1))
|
|
50547
50620
|
return false;
|
|
50548
50621
|
return true;
|
|
50549
50622
|
};
|
|
50550
50623
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
50551
50624
|
aid = aid === VOID ? null : aid;
|
|
50552
50625
|
MechanicAction.call(this);
|
|
50553
|
-
this.
|
|
50554
|
-
this.
|
|
50555
|
-
this.
|
|
50556
|
-
this.
|
|
50626
|
+
this.j8w_1 = whoGotBribePlayerId;
|
|
50627
|
+
this.k8w_1 = numberOfBribe;
|
|
50628
|
+
this.l8w_1 = canNextPlayerTakeAllCards;
|
|
50629
|
+
this.m8w_1 = aid;
|
|
50557
50630
|
}
|
|
50558
50631
|
protoOf(PickUpBribeMechanicAction).p8z = function () {
|
|
50559
|
-
return this.
|
|
50632
|
+
return this.m8w_1;
|
|
50560
50633
|
};
|
|
50561
50634
|
protoOf(PickUpBribeMechanicAction).u91 = function () {
|
|
50562
|
-
return listOf(this.
|
|
50635
|
+
return listOf(this.j8w_1);
|
|
50563
50636
|
};
|
|
50564
50637
|
protoOf(PickUpBribeMechanicAction).a92 = function (sceneId) {
|
|
50565
50638
|
return 'EARN_POINTS' === sceneId;
|
|
@@ -50568,13 +50641,13 @@
|
|
|
50568
50641
|
return true;
|
|
50569
50642
|
};
|
|
50570
50643
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
50571
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
50644
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.j8w_1 + ', numberOfBribe=' + this.k8w_1 + ', canNextPlayerTakeAllCards=' + this.l8w_1 + ', aid=' + this.m8w_1 + ')';
|
|
50572
50645
|
};
|
|
50573
50646
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
50574
|
-
var result = getStringHashCode(this.
|
|
50575
|
-
result = imul(result, 31) + this.
|
|
50576
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
50577
|
-
result = imul(result, 31) + (this.
|
|
50647
|
+
var result = getStringHashCode(this.j8w_1);
|
|
50648
|
+
result = imul(result, 31) + this.k8w_1 | 0;
|
|
50649
|
+
result = imul(result, 31) + getBooleanHashCode(this.l8w_1) | 0;
|
|
50650
|
+
result = imul(result, 31) + (this.m8w_1 == null ? 0 : getStringHashCode(this.m8w_1)) | 0;
|
|
50578
50651
|
return result;
|
|
50579
50652
|
};
|
|
50580
50653
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -50582,13 +50655,13 @@
|
|
|
50582
50655
|
return true;
|
|
50583
50656
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
50584
50657
|
return false;
|
|
50658
|
+
if (!(this.j8w_1 === other.j8w_1))
|
|
50659
|
+
return false;
|
|
50585
50660
|
if (!(this.k8w_1 === other.k8w_1))
|
|
50586
50661
|
return false;
|
|
50587
50662
|
if (!(this.l8w_1 === other.l8w_1))
|
|
50588
50663
|
return false;
|
|
50589
|
-
if (!(this.m8w_1
|
|
50590
|
-
return false;
|
|
50591
|
-
if (!(this.n8w_1 == other.n8w_1))
|
|
50664
|
+
if (!(this.m8w_1 == other.m8w_1))
|
|
50592
50665
|
return false;
|
|
50593
50666
|
return true;
|
|
50594
50667
|
};
|
|
@@ -51842,11 +51915,11 @@
|
|
|
51842
51915
|
if (action_0 instanceof SuitChoiceFromClientAction) {
|
|
51843
51916
|
var mechanicAction = this.o96_1.x8t(action_0, table.players, table.config);
|
|
51844
51917
|
var tmp_2;
|
|
51845
|
-
if (mechanicAction.
|
|
51918
|
+
if (mechanicAction.y8v_1 == null) {
|
|
51846
51919
|
tmp_2 = null;
|
|
51847
51920
|
} else {
|
|
51848
51921
|
// Inline function 'kotlin.let' call
|
|
51849
|
-
tmp_2 = new TrumpMechanicAction(mechanicAction.
|
|
51922
|
+
tmp_2 = new TrumpMechanicAction(mechanicAction.y8v_1);
|
|
51850
51923
|
}
|
|
51851
51924
|
tmp_1 = listOfNotNull([mechanicAction, tmp_2]);
|
|
51852
51925
|
} else {
|
|
@@ -52025,17 +52098,17 @@
|
|
|
52025
52098
|
}
|
|
52026
52099
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
52027
52100
|
if (shouldGenerateRandomMessage()) {
|
|
52028
|
-
handleRandomMessage(store, action_0.
|
|
52101
|
+
handleRandomMessage(store, action_0.g8w_1, this.e97_1, this.f97_1, this.g97_1, 'card played');
|
|
52029
52102
|
}
|
|
52030
52103
|
} else {
|
|
52031
52104
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
52032
52105
|
if (shouldGenerateRandomMessage()) {
|
|
52033
|
-
handleRandomMessage(store, action_0.
|
|
52106
|
+
handleRandomMessage(store, action_0.a8w_1, this.e97_1, this.f97_1, this.g97_1, 'suit chosen');
|
|
52034
52107
|
}
|
|
52035
52108
|
} else {
|
|
52036
52109
|
if (action_0 instanceof SceneMechanicAction) {
|
|
52037
52110
|
if (shouldGenerateRandomMessage()) {
|
|
52038
|
-
var tmp1_safe_receiver = action_0.
|
|
52111
|
+
var tmp1_safe_receiver = action_0.t8v_1;
|
|
52039
52112
|
if (tmp1_safe_receiver == null)
|
|
52040
52113
|
null;
|
|
52041
52114
|
else {
|
|
@@ -52408,7 +52481,7 @@
|
|
|
52408
52481
|
} else {
|
|
52409
52482
|
if (action_0 instanceof SceneMechanicAction) {
|
|
52410
52483
|
var table_0 = store.state.z6m();
|
|
52411
|
-
var tmp1_subject = action_0.
|
|
52484
|
+
var tmp1_subject = action_0.u8v_1;
|
|
52412
52485
|
if (tmp1_subject === this.a99_1.j8y(table_0.config, table_0.gameHistory.isFirstRound, table_0.gameInfo.p8e())) {
|
|
52413
52486
|
var tmp = store.dispatch;
|
|
52414
52487
|
var tmp2_id = table_0.id;
|
|
@@ -53228,7 +53301,7 @@
|
|
|
53228
53301
|
} else {
|
|
53229
53302
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
53230
53303
|
var tmp_3;
|
|
53231
|
-
if (action_0.
|
|
53304
|
+
if (action_0.z8v_1) {
|
|
53232
53305
|
tmp_3 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
53233
53306
|
} else {
|
|
53234
53307
|
tmp_3 = null;
|
|
@@ -53254,7 +53327,7 @@
|
|
|
53254
53327
|
} else {
|
|
53255
53328
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
53256
53329
|
var table = state.z6m();
|
|
53257
|
-
var player = getPlayer(table.players, action_0.
|
|
53330
|
+
var player = getPlayer(table.players, action_0.j8w_1);
|
|
53258
53331
|
var tmp_4;
|
|
53259
53332
|
if (player.f65() === 0) {
|
|
53260
53333
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -53525,7 +53598,7 @@
|
|
|
53525
53598
|
var startTimerForPlayers = destination;
|
|
53526
53599
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
53527
53600
|
if (!startTimerForPlayers.r()) {
|
|
53528
|
-
var playerTurnModel = this.r9c_1.
|
|
53601
|
+
var playerTurnModel = this.r9c_1.k8v(action_0, table);
|
|
53529
53602
|
if (!(playerTurnModel == null)) {
|
|
53530
53603
|
// Inline function 'kotlin.collections.map' call
|
|
53531
53604
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -53924,14 +53997,14 @@
|
|
|
53924
53997
|
var tmp$ret$0 = item.b7a_1;
|
|
53925
53998
|
destination_0.j(tmp$ret$0);
|
|
53926
53999
|
}
|
|
53927
|
-
if (destination_0.u1(action_0.
|
|
54000
|
+
if (destination_0.u1(action_0.d8w_1)) {
|
|
53928
54001
|
destination.j(element);
|
|
53929
54002
|
}
|
|
53930
54003
|
}
|
|
53931
54004
|
var bribes = destination;
|
|
53932
54005
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
53933
54006
|
if (!bribes.r()) {
|
|
53934
|
-
this.p9d_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.
|
|
54007
|
+
this.p9d_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.d8w_1.toString() + ', bribes = ' + toString(bribes));
|
|
53935
54008
|
}
|
|
53936
54009
|
}
|
|
53937
54010
|
next(action_0);
|
|
@@ -53953,7 +54026,7 @@
|
|
|
53953
54026
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
53954
54027
|
var state = store.state;
|
|
53955
54028
|
if (state.b6n()) {
|
|
53956
|
-
if (get_isSceneWithCards(action_0.
|
|
54029
|
+
if (get_isSceneWithCards(action_0.u8v_1)) {
|
|
53957
54030
|
var scenePayload = action_0.sceneData;
|
|
53958
54031
|
var tmp;
|
|
53959
54032
|
if (scenePayload instanceof TradeSceneData) {
|
|
@@ -54358,7 +54431,7 @@
|
|
|
54358
54431
|
var state = store.state;
|
|
54359
54432
|
if (state.b6n()) {
|
|
54360
54433
|
var sceneInfo = state.z6m().sceneInfo;
|
|
54361
|
-
if (!get_isWaitingScene(sceneInfo.a7x_1) && Companion_instance_5.i6n(sceneInfo.a7x_1, action_0.
|
|
54434
|
+
if (!get_isWaitingScene(sceneInfo.a7x_1) && Companion_instance_5.i6n(sceneInfo.a7x_1, action_0.u8v_1) && equals(sceneInfo.d7x_1, action_0.sceneData)) {
|
|
54362
54435
|
this.t9d_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
54363
54436
|
}
|
|
54364
54437
|
}
|
|
@@ -54378,7 +54451,7 @@
|
|
|
54378
54451
|
var state = store.state;
|
|
54379
54452
|
if (state.b6n()) {
|
|
54380
54453
|
var sceneInfo = state.z6m().sceneInfo;
|
|
54381
|
-
if (Companion_instance_5.i6n(sceneInfo.a7x_1, action_0.
|
|
54454
|
+
if (Companion_instance_5.i6n(sceneInfo.a7x_1, action_0.m8v_1) && sceneInfo.c7x_1 === action_0.n8v_1 && equals(sceneInfo.e7x_1, action_0.o8v_1)) {
|
|
54382
54455
|
this.u9d_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
54383
54456
|
}
|
|
54384
54457
|
}
|
|
@@ -54619,12 +54692,12 @@
|
|
|
54619
54692
|
};
|
|
54620
54693
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
54621
54694
|
return function () {
|
|
54622
|
-
return this$0.m95_1.
|
|
54695
|
+
return this$0.m95_1.o8w($action, $table);
|
|
54623
54696
|
};
|
|
54624
54697
|
}
|
|
54625
54698
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
54626
54699
|
return function () {
|
|
54627
|
-
return this$0.m95_1.
|
|
54700
|
+
return this$0.m95_1.p8w($action, $table);
|
|
54628
54701
|
};
|
|
54629
54702
|
}
|
|
54630
54703
|
function isWrongPlayerTurn($this, store, playersWithTurn, player, action) {
|
|
@@ -54665,7 +54738,7 @@
|
|
|
54665
54738
|
tmp = null;
|
|
54666
54739
|
} else {
|
|
54667
54740
|
// Inline function 'kotlin.let' call
|
|
54668
|
-
tmp = $this.m95_1.
|
|
54741
|
+
tmp = $this.m95_1.q8w(tmp1_safe_receiver, store.state.z6m().gameInfo.round);
|
|
54669
54742
|
}
|
|
54670
54743
|
var receivedTag = tmp;
|
|
54671
54744
|
if (!(receivedTag == null) && !Companion_instance_2.b64(receivedTag, 'v5')) {
|
|
@@ -55046,13 +55119,13 @@
|
|
|
55046
55119
|
};
|
|
55047
55120
|
function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
|
|
55048
55121
|
return function (tbl) {
|
|
55049
|
-
return this$0.t94_1.p9e(tbl, $action.
|
|
55122
|
+
return this$0.t94_1.p9e(tbl, $action.u8v_1, $action.sceneData, $action.v8v_1, $action.w8v_1);
|
|
55050
55123
|
};
|
|
55051
55124
|
}
|
|
55052
55125
|
function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
|
|
55053
55126
|
return function (tbl) {
|
|
55054
55127
|
var tmp;
|
|
55055
|
-
if ($action.
|
|
55128
|
+
if ($action.v8v_1 == null) {
|
|
55056
55129
|
tmp = tbl;
|
|
55057
55130
|
} else {
|
|
55058
55131
|
tmp = this$0.u94_1.q9e(tbl, $action);
|
|
@@ -56109,7 +56182,7 @@
|
|
|
56109
56182
|
protoOf(TradeMechanicReducer).r9f = function (state, action) {
|
|
56110
56183
|
var table = state.z6m();
|
|
56111
56184
|
// Inline function 'kotlin.with' call
|
|
56112
|
-
var player = getPlayer(table.players, action.
|
|
56185
|
+
var player = getPlayer(table.players, action.a8w_1);
|
|
56113
56186
|
// Inline function 'kotlin.let' call
|
|
56114
56187
|
var it = player.n6v_1.n70();
|
|
56115
56188
|
var tmp;
|
|
@@ -56121,7 +56194,7 @@
|
|
|
56121
56194
|
}
|
|
56122
56195
|
var newNumberOfCircle = tmp;
|
|
56123
56196
|
var tmp_0;
|
|
56124
|
-
if (action.
|
|
56197
|
+
if (action.y8v_1 == null) {
|
|
56125
56198
|
tmp_0 = state.b8z(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.g6w(VOID, VOID, VOID, player.n6v_1.h70(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newNumberOfCircle)), get_byIdPlayerPredicate()(player.playerId))));
|
|
56126
56199
|
} else {
|
|
56127
56200
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -56131,7 +56204,7 @@
|
|
|
56131
56204
|
var _iterator__ex2g4s = this_0.l();
|
|
56132
56205
|
while (_iterator__ex2g4s.m()) {
|
|
56133
56206
|
var item = _iterator__ex2g4s.n();
|
|
56134
|
-
var isPlayerChoseSuit = action.
|
|
56207
|
+
var isPlayerChoseSuit = action.a8w_1 === item.playerId;
|
|
56135
56208
|
var tmp_1;
|
|
56136
56209
|
if (isPlayerChoseSuit) {
|
|
56137
56210
|
tmp_1 = newNumberOfCircle;
|
|
@@ -56144,7 +56217,7 @@
|
|
|
56144
56217
|
var tmp_2 = destination;
|
|
56145
56218
|
var tmp0_$this = this.p9f_1;
|
|
56146
56219
|
var tmp1_playerId = player.playerId;
|
|
56147
|
-
var tmp2_suit = action.
|
|
56220
|
+
var tmp2_suit = action.y8v_1;
|
|
56148
56221
|
var tmp3_gameHistory = table.gameHistory;
|
|
56149
56222
|
var tmp4_players = table.players;
|
|
56150
56223
|
var tmp5_playersMode = table.config.playersMode;
|
|
@@ -56581,17 +56654,17 @@
|
|
|
56581
56654
|
}
|
|
56582
56655
|
protoOf(EarnPointsMechanicReducer).m9f = function (state, action) {
|
|
56583
56656
|
var table = state.z6m();
|
|
56584
|
-
var player = getPlayer(table.players, action.
|
|
56585
|
-
var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.
|
|
56657
|
+
var player = getPlayer(table.players, action.g8w_1);
|
|
56658
|
+
var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.g8w_1, table.cardsOnTable.o(), action.d8w_1));
|
|
56586
56659
|
var tmp2_$this = state.z6m();
|
|
56587
56660
|
var tmp;
|
|
56588
|
-
if (action.
|
|
56589
|
-
tmp = action.
|
|
56661
|
+
if (action.h8w_1.u1(player.playerId)) {
|
|
56662
|
+
tmp = action.f8w_1;
|
|
56590
56663
|
} else {
|
|
56591
56664
|
tmp = false;
|
|
56592
56665
|
}
|
|
56593
|
-
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.
|
|
56594
|
-
var tmp0_safe_receiver = action.
|
|
56666
|
+
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.d8w_1, cardsOnTheTable, action.e8w_1, tmp), get_byIdPlayerPredicate()(player.playerId));
|
|
56667
|
+
var tmp0_safe_receiver = action.e8w_1;
|
|
56595
56668
|
var tmp_0;
|
|
56596
56669
|
if (tmp0_safe_receiver == null) {
|
|
56597
56670
|
tmp_0 = null;
|
|
@@ -56640,7 +56713,7 @@
|
|
|
56640
56713
|
if (!(toSet(destination_0).o() === 1)) {
|
|
56641
56714
|
this.j9f_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
|
|
56642
56715
|
}
|
|
56643
|
-
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.
|
|
56716
|
+
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.j8w_1, players, config);
|
|
56644
56717
|
var bribe = new Bribe(cardsOnTable);
|
|
56645
56718
|
var tmp0_bribes = plus_0(table.bribes, bribe);
|
|
56646
56719
|
var tmp1_cardsOnTable = emptyList();
|
|
@@ -56652,16 +56725,16 @@
|
|
|
56652
56725
|
var item_1 = _iterator__ex2g4s_1.n();
|
|
56653
56726
|
var tmp = getValue(playersCombinations, item_1.playerId);
|
|
56654
56727
|
var tmp_0;
|
|
56655
|
-
if (action.
|
|
56656
|
-
tmp_0 = action.
|
|
56728
|
+
if (action.j8w_1 === item_1.playerId) {
|
|
56729
|
+
tmp_0 = action.l8w_1;
|
|
56657
56730
|
} else {
|
|
56658
56731
|
tmp_0 = false;
|
|
56659
56732
|
}
|
|
56660
|
-
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.
|
|
56733
|
+
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.j8w_1, cardsOnTable, tmp, tmp_0);
|
|
56661
56734
|
destination_1.j(tmp$ret$6);
|
|
56662
56735
|
}
|
|
56663
|
-
var tmp3_gameInfo = table.gameInfo.r8e(VOID, VOID, table.gameInfo.round.copy(VOID, action.
|
|
56664
|
-
var tmp4_gameHistory = this.h9f_1.d9h(action.
|
|
56736
|
+
var tmp3_gameInfo = table.gameInfo.r8e(VOID, VOID, table.gameInfo.round.copy(VOID, action.k8w_1));
|
|
56737
|
+
var tmp4_gameHistory = this.h9f_1.d9h(action.j8w_1, bribe, action.k8w_1, playersCombinations, table.gameHistory);
|
|
56665
56738
|
return state.b8z(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
|
|
56666
56739
|
};
|
|
56667
56740
|
protoOf(EarnPointsMechanicReducer).k9f = function (state, action) {
|
|
@@ -57167,7 +57240,7 @@
|
|
|
57167
57240
|
tmp$ret$0 = state;
|
|
57168
57241
|
break $l$block;
|
|
57169
57242
|
}
|
|
57170
|
-
var turnModel = this.m9h_1.
|
|
57243
|
+
var turnModel = this.m9h_1.l8v(player, tmp2);
|
|
57171
57244
|
var tmp;
|
|
57172
57245
|
if (turnModel == null) {
|
|
57173
57246
|
this.n9h_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -57204,7 +57277,7 @@
|
|
|
57204
57277
|
tmp$ret$0 = state;
|
|
57205
57278
|
break $l$block;
|
|
57206
57279
|
}
|
|
57207
|
-
var turnModel = this.q9h_1.
|
|
57280
|
+
var turnModel = this.q9h_1.l8v(player, tmp2);
|
|
57208
57281
|
var tmp;
|
|
57209
57282
|
if (turnModel == null) {
|
|
57210
57283
|
this.r9h_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -57235,7 +57308,7 @@
|
|
|
57235
57308
|
var tmp$ret$0;
|
|
57236
57309
|
$l$block: {
|
|
57237
57310
|
var table = state.z6m();
|
|
57238
|
-
var tmp0_elvis_lhs = this.t9h_1.
|
|
57311
|
+
var tmp0_elvis_lhs = this.t9h_1.k8v(tmp2, table);
|
|
57239
57312
|
var tmp;
|
|
57240
57313
|
if (tmp0_elvis_lhs == null) {
|
|
57241
57314
|
tmp$ret$0 = state;
|
|
@@ -59146,7 +59219,7 @@
|
|
|
59146
59219
|
var this_2 = serializer(this_1, createKType(getKClass(GameTransitionDto), arrayOf([]), false));
|
|
59147
59220
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
59148
59221
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
59149
|
-
return
|
|
59222
|
+
return mapFromDto_71(tmp$ret$2);
|
|
59150
59223
|
};
|
|
59151
59224
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
59152
59225
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -59157,7 +59230,7 @@
|
|
|
59157
59230
|
var this_2 = serializer(this_1, createKType(getKClass(TableStateWithActionsDto), arrayOf([]), false));
|
|
59158
59231
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
59159
59232
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
59160
|
-
return
|
|
59233
|
+
return mapFromDto_102(tmp$ret$2);
|
|
59161
59234
|
};
|
|
59162
59235
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
59163
59236
|
var tmp0 = this.e9k_1;
|
|
@@ -59171,7 +59244,7 @@
|
|
|
59171
59244
|
return tmp0.fp(tmp$ret$1, value);
|
|
59172
59245
|
};
|
|
59173
59246
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
59174
|
-
return
|
|
59247
|
+
return mapFromDto_68(this.f9k_1.r8m(json));
|
|
59175
59248
|
};
|
|
59176
59249
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
59177
59250
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -59191,7 +59264,7 @@
|
|
|
59191
59264
|
this.g9k_1 = json;
|
|
59192
59265
|
this.h9k_1 = userRatingInteractor;
|
|
59193
59266
|
}
|
|
59194
|
-
protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
|
|
59267
|
+
protoOf(RatingHelperImpl).getBotRatingRange = function (league, leaguesConfig) {
|
|
59195
59268
|
var maxRatingFactor = 0.3;
|
|
59196
59269
|
var tmp;
|
|
59197
59270
|
if (league == null) {
|
|
@@ -59200,9 +59273,8 @@
|
|
|
59200
59273
|
tmp = this.mapToLeague(league);
|
|
59201
59274
|
}
|
|
59202
59275
|
var targetLeague = tmp;
|
|
59203
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
59204
59276
|
var minRating = targetLeague.getMinRating();
|
|
59205
|
-
var maxRating = targetLeague.getMaxRating(
|
|
59277
|
+
var maxRating = targetLeague.getMaxRating(leaguesConfig.maxUserRating);
|
|
59206
59278
|
if (targetLeague.equals(League_BEGINNER_getInstance())) {
|
|
59207
59279
|
var minRatingStartLimit = 800;
|
|
59208
59280
|
return new BotRatingRange(minRatingStartLimit, maxRating);
|
|
@@ -59216,19 +59288,19 @@
|
|
|
59216
59288
|
var tmp$ret$1 = name.toUpperCase();
|
|
59217
59289
|
return valueOf_0(tmp$ret$1);
|
|
59218
59290
|
};
|
|
59219
|
-
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
59220
|
-
return this.h9k_1.c8v(league, rating);
|
|
59291
|
+
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating, leaguesConfig) {
|
|
59292
|
+
return this.h9k_1.c8v(league, rating, leaguesConfig);
|
|
59221
59293
|
};
|
|
59222
|
-
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
59223
|
-
return this.h9k_1.d8v(rating);
|
|
59294
|
+
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating, leaguesConfig) {
|
|
59295
|
+
return this.h9k_1.d8v(rating, leaguesConfig);
|
|
59224
59296
|
};
|
|
59225
59297
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
59226
|
-
return
|
|
59298
|
+
return Companion_instance_12.defaultConfig();
|
|
59227
59299
|
};
|
|
59228
59300
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
59229
59301
|
var tmp0 = this.g9k_1;
|
|
59230
59302
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
59231
|
-
var value = mapToDto_48(
|
|
59303
|
+
var value = mapToDto_48(Companion_instance_12.defaultConfig());
|
|
59232
59304
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
59233
59305
|
var this_0 = tmp0.es();
|
|
59234
59306
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -59236,6 +59308,17 @@
|
|
|
59236
59308
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
59237
59309
|
return tmp0.fp(tmp$ret$1, value);
|
|
59238
59310
|
};
|
|
59311
|
+
protoOf(RatingHelperImpl).decodeLeaguesConfig = function (json) {
|
|
59312
|
+
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
59313
|
+
var this_0 = this.g9k_1;
|
|
59314
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
59315
|
+
var this_1 = this_0.es();
|
|
59316
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
59317
|
+
var this_2 = serializer(this_1, createKType(getKClass(LeaguesConfigDto), arrayOf([]), false));
|
|
59318
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
59319
|
+
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
59320
|
+
return mapFromDto_45(tmp$ret$2, Companion_instance_12.defaultConfig());
|
|
59321
|
+
};
|
|
59239
59322
|
function engineHelpersModule() {
|
|
59240
59323
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
59241
59324
|
}
|
|
@@ -60137,7 +60220,7 @@
|
|
|
60137
60220
|
return this.g64();
|
|
60138
60221
|
});
|
|
60139
60222
|
protoOf(PlayerOptionsInteractorImpl).o8u = getWhoWonCardsLot$default;
|
|
60140
|
-
protoOf(UserRatingInteractorImpl).
|
|
60223
|
+
protoOf(UserRatingInteractorImpl).f8v = calculateRatingsForFinishedGame$default;
|
|
60141
60224
|
protoOf(SceneRouterImpl).r8y = moveActNext$default;
|
|
60142
60225
|
defineProp(protoOf(AppState), 'isTableExists', protoOf(AppState).b6n);
|
|
60143
60226
|
defineProp(protoOf(AppState), 'table', protoOf(AppState).z6m);
|
|
@@ -61378,11 +61461,12 @@
|
|
|
61378
61461
|
_.$_$.b5 = GameLifecycleState_FINISHED_getInstance;
|
|
61379
61462
|
_.$_$.c5 = GameLifecycleState_FINISHING_getInstance;
|
|
61380
61463
|
_.$_$.d5 = PlayerTurnTimerTag_init_$Create$;
|
|
61381
|
-
_.$_$.e5 =
|
|
61382
|
-
_.$_$.f5 =
|
|
61383
|
-
_.$_$.g5 =
|
|
61384
|
-
_.$_$.h5 =
|
|
61385
|
-
_.$_$.i5 =
|
|
61464
|
+
_.$_$.e5 = Companion_instance_12;
|
|
61465
|
+
_.$_$.f5 = Companion_instance_156;
|
|
61466
|
+
_.$_$.g5 = Companion_instance_157;
|
|
61467
|
+
_.$_$.h5 = Companion_instance_176;
|
|
61468
|
+
_.$_$.i5 = Companion_instance_178;
|
|
61469
|
+
_.$_$.j5 = Companion_instance_179;
|
|
61386
61470
|
//endregion
|
|
61387
61471
|
return _;
|
|
61388
61472
|
}));
|