raspberry_games_server_game_logic 1.8.443 → 1.8.445
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 +2 -2
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +903 -813
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +7 -4
- package/Logic_Debertz-game_server.js +1020 -1051
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -1118,13 +1118,13 @@
|
|
|
1118
1118
|
initMetadataForClass(PointsInteractorImpl, 'PointsInteractorImpl', VOID, VOID, [PointsInteractor]);
|
|
1119
1119
|
initMetadataForInterface(RatingCalculator, 'RatingCalculator');
|
|
1120
1120
|
initMetadataForClass(MonotonicRatingCalculatorImpl, 'MonotonicRatingCalculatorImpl', MonotonicRatingCalculatorImpl, VOID, [RatingCalculator]);
|
|
1121
|
-
function calculatePlayerLeftRating$default(leavingPlayer, allPlayers, config, gameDuration, isGameFinished, ratingConfig, $super) {
|
|
1121
|
+
function calculatePlayerLeftRating$default(leavingPlayer, allPlayers, config, gameDuration, isGameFinished, ratingConfig, leaguesConfig, $super) {
|
|
1122
1122
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
1123
|
-
return $super === VOID ? this.
|
|
1123
|
+
return $super === VOID ? this.r8z(leavingPlayer, allPlayers, config, gameDuration, isGameFinished, ratingConfig, leaguesConfig) : $super.r8z.call(this, leavingPlayer, allPlayers, config, new Duration(gameDuration), isGameFinished, ratingConfig, leaguesConfig);
|
|
1124
1124
|
}
|
|
1125
|
-
function calculateRatingsForFinishedGame$default(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, $super) {
|
|
1125
|
+
function calculateRatingsForFinishedGame$default(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig, $super) {
|
|
1126
1126
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
1127
|
-
return $super === VOID ? this.
|
|
1127
|
+
return $super === VOID ? this.t8z(allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig) : $super.t8z.call(this, allPlayers, config, winners, playerFinalPoints, new Duration(gameDuration), ratingConfig, leaguesConfig);
|
|
1128
1128
|
}
|
|
1129
1129
|
initMetadataForInterface(UserRatingInteractor, 'UserRatingInteractor');
|
|
1130
1130
|
initMetadataForClass(PlayerRatingOutputOrderComparator, 'PlayerRatingOutputOrderComparator', VOID, VOID, [Comparator]);
|
|
@@ -16094,7 +16094,7 @@
|
|
|
16094
16094
|
var tmp10_points = _this__u8e3s4.s7r_1;
|
|
16095
16095
|
var tmp11_timeoutTimeMillis = _this__u8e3s4.t7r_1;
|
|
16096
16096
|
var tmp3_safe_receiver = _this__u8e3s4.y7r_1;
|
|
16097
|
-
var tmp12_rules = tmp3_safe_receiver == null ? null :
|
|
16097
|
+
var tmp12_rules = tmp3_safe_receiver == null ? null : mapFromDto_64(tmp3_safe_receiver);
|
|
16098
16098
|
var tmp4_elvis_lhs = _this__u8e3s4.v7r_1;
|
|
16099
16099
|
var tmp13_isPrivate = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
|
|
16100
16100
|
var tmp14_rulesPreset = mapToRulesSetType(_this__u8e3s4.u7r_1);
|
|
@@ -16106,7 +16106,7 @@
|
|
|
16106
16106
|
}
|
|
16107
16107
|
function mapFromDto_12(_this__u8e3s4) {
|
|
16108
16108
|
_init_properties_ConfigDtoMappers_kt__5tbz05();
|
|
16109
|
-
var tmp =
|
|
16109
|
+
var tmp = mapFromDto_64(_this__u8e3s4.z7r_1);
|
|
16110
16110
|
var tmp_0 = mapToRulesSetType(_this__u8e3s4.a7s_1);
|
|
16111
16111
|
var tmp_1 = mapFromDto_13(_this__u8e3s4.b7s_1);
|
|
16112
16112
|
var tmp0_elvis_lhs = _this__u8e3s4.f7s_1;
|
|
@@ -16600,10 +16600,10 @@
|
|
|
16600
16600
|
function mapFromDto_26(_this__u8e3s4) {
|
|
16601
16601
|
var tmp = Companion_getInstance_3().nk(_this__u8e3s4.f7u_1);
|
|
16602
16602
|
var tmp0_safe_receiver = _this__u8e3s4.i7u_1;
|
|
16603
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null :
|
|
16603
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : mapFromDto_62(tmp0_safe_receiver);
|
|
16604
16604
|
var tmp_0 = tmp1_elvis_lhs == null ? Companion_instance_169.initial() : tmp1_elvis_lhs;
|
|
16605
16605
|
var tmp2_safe_receiver = _this__u8e3s4.j7u_1;
|
|
16606
|
-
return new GameInfo(tmp, _this__u8e3s4.g7u_1, tmp_0, _this__u8e3s4.h7u_1, tmp2_safe_receiver == null ? null :
|
|
16606
|
+
return new GameInfo(tmp, _this__u8e3s4.g7u_1, tmp_0, _this__u8e3s4.h7u_1, tmp2_safe_receiver == null ? null : mapFromDto_63(tmp2_safe_receiver));
|
|
16607
16607
|
}
|
|
16608
16608
|
function mapToDto_30(_this__u8e3s4) {
|
|
16609
16609
|
return new ClientGameInfoDto(_this__u8e3s4.k7u_1, mapToDto_66(_this__u8e3s4.l7u_1));
|
|
@@ -16618,7 +16618,7 @@
|
|
|
16618
16618
|
return new GameInfoDto(tmp1_createdAt, tmp2_gameNumber, tmp4_roundNumberTotal, tmp3_round, tmp5_previousRound);
|
|
16619
16619
|
}
|
|
16620
16620
|
function mapFromDto_27(_this__u8e3s4) {
|
|
16621
|
-
return new ClientGameInfo(_this__u8e3s4.o7u_1,
|
|
16621
|
+
return new ClientGameInfo(_this__u8e3s4.o7u_1, mapFromDto_62(_this__u8e3s4.p7u_1));
|
|
16622
16622
|
}
|
|
16623
16623
|
function mapToDto_32(_this__u8e3s4) {
|
|
16624
16624
|
var tmp3_round = _this__u8e3s4.round;
|
|
@@ -16718,7 +16718,7 @@
|
|
|
16718
16718
|
var tmp3_mode = tmp1_elvis_lhs == null ? RoomMode_DEFAULT_getInstance() : tmp1_elvis_lhs;
|
|
16719
16719
|
var tmp4_createdAt = _this__u8e3s4.x7u_1;
|
|
16720
16720
|
var tmp5_winners = _this__u8e3s4.u7u_1;
|
|
16721
|
-
var tmp6_config =
|
|
16721
|
+
var tmp6_config = mapFromDto_60(_this__u8e3s4.s7u_1);
|
|
16722
16722
|
// Inline function 'kotlin.collections.map' call
|
|
16723
16723
|
var this_0 = _this__u8e3s4.t7u_1;
|
|
16724
16724
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17120,7 +17120,7 @@
|
|
|
17120
17120
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
17121
17121
|
while (_iterator__ex2g4s.m()) {
|
|
17122
17122
|
var item = _iterator__ex2g4s.n();
|
|
17123
|
-
var tmp$ret$0 =
|
|
17123
|
+
var tmp$ret$0 = mapFromDto_83(item);
|
|
17124
17124
|
destination.j(tmp$ret$0);
|
|
17125
17125
|
}
|
|
17126
17126
|
tmp = destination;
|
|
@@ -17128,7 +17128,7 @@
|
|
|
17128
17128
|
var tmp1_elvis_lhs = tmp;
|
|
17129
17129
|
var tmp_0 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
17130
17130
|
var tmp2_safe_receiver = _this__u8e3s4.a7x_1;
|
|
17131
|
-
return new PlayerHistoryAnalytics(_this__u8e3s4.x7w_1, _this__u8e3s4.y7w_1, tmp_0, tmp2_safe_receiver == null ? null :
|
|
17131
|
+
return new PlayerHistoryAnalytics(_this__u8e3s4.x7w_1, _this__u8e3s4.y7w_1, tmp_0, tmp2_safe_receiver == null ? null : mapFromDto_74(tmp2_safe_receiver));
|
|
17132
17132
|
}
|
|
17133
17133
|
function mapFromDto_32(_this__u8e3s4) {
|
|
17134
17134
|
var tmp;
|
|
@@ -17280,7 +17280,7 @@
|
|
|
17280
17280
|
var _iterator__ex2g4s = this_0.l();
|
|
17281
17281
|
while (_iterator__ex2g4s.m()) {
|
|
17282
17282
|
var item = _iterator__ex2g4s.n();
|
|
17283
|
-
var tmp$ret$0 =
|
|
17283
|
+
var tmp$ret$0 = mapFromDto_61(item);
|
|
17284
17284
|
destination.j(tmp$ret$0);
|
|
17285
17285
|
}
|
|
17286
17286
|
return new PointsItem(destination, Companion_getInstance_3().nk(_this__u8e3s4.r7x_1));
|
|
@@ -17387,6 +17387,51 @@
|
|
|
17387
17387
|
}
|
|
17388
17388
|
return new LeaguesConfigDto(_this__u8e3s4.initialRating, _this__u8e3s4.minUserRating, _this__u8e3s4.maxUserRating, destination);
|
|
17389
17389
|
}
|
|
17390
|
+
function mapFromDto_45(_this__u8e3s4, defaultConfig) {
|
|
17391
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17392
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s7p_1;
|
|
17393
|
+
var tmp = tmp0_elvis_lhs == null ? defaultConfig.initialRating : tmp0_elvis_lhs;
|
|
17394
|
+
var tmp1_elvis_lhs = _this__u8e3s4.t7p_1;
|
|
17395
|
+
var tmp_0 = tmp1_elvis_lhs == null ? defaultConfig.minUserRating : tmp1_elvis_lhs;
|
|
17396
|
+
var tmp2_elvis_lhs = _this__u8e3s4.u7p_1;
|
|
17397
|
+
var tmp_1 = tmp2_elvis_lhs == null ? defaultConfig.maxUserRating : tmp2_elvis_lhs;
|
|
17398
|
+
// Inline function 'kotlin.collections.map' call
|
|
17399
|
+
var this_0 = get_entries_0();
|
|
17400
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
17401
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
17402
|
+
var _iterator__ex2g4s = this_0.l();
|
|
17403
|
+
while (_iterator__ex2g4s.m()) {
|
|
17404
|
+
var item = _iterator__ex2g4s.n();
|
|
17405
|
+
var leagueString = enumToString(item, get_leagueMapping());
|
|
17406
|
+
var tmp0_safe_receiver = _this__u8e3s4.v7p_1;
|
|
17407
|
+
var tmp_2;
|
|
17408
|
+
if (tmp0_safe_receiver == null) {
|
|
17409
|
+
tmp_2 = null;
|
|
17410
|
+
} else {
|
|
17411
|
+
var tmp$ret$1;
|
|
17412
|
+
$l$block: {
|
|
17413
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
17414
|
+
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
17415
|
+
while (_iterator__ex2g4s_0.m()) {
|
|
17416
|
+
var element = _iterator__ex2g4s_0.n();
|
|
17417
|
+
if (element.y7p_1 === leagueString) {
|
|
17418
|
+
tmp$ret$1 = element;
|
|
17419
|
+
break $l$block;
|
|
17420
|
+
}
|
|
17421
|
+
}
|
|
17422
|
+
tmp$ret$1 = null;
|
|
17423
|
+
}
|
|
17424
|
+
tmp_2 = tmp$ret$1;
|
|
17425
|
+
}
|
|
17426
|
+
var tmp1_safe_receiver = tmp_2;
|
|
17427
|
+
var tmp2_elvis_lhs_0 = tmp1_safe_receiver == null ? null : mapFromDto_46(tmp1_safe_receiver, defaultConfig);
|
|
17428
|
+
var leagueInfo = tmp2_elvis_lhs_0 == null ? defaultConfig.getLeagueInfo(item) : tmp2_elvis_lhs_0;
|
|
17429
|
+
destination.j(leagueInfo);
|
|
17430
|
+
}
|
|
17431
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
17432
|
+
var tmp$ret$5 = copyToArray(destination);
|
|
17433
|
+
return new LeaguesConfig(tmp, tmp_0, tmp_1, tmp$ret$5);
|
|
17434
|
+
}
|
|
17390
17435
|
function mapToLeague(_this__u8e3s4) {
|
|
17391
17436
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17392
17437
|
return toDomainEnum(_this__u8e3s4, get_leagueMapping());
|
|
@@ -17395,6 +17440,16 @@
|
|
|
17395
17440
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17396
17441
|
return new LeagueInfoDto(enumToString(_this__u8e3s4.league, get_leagueMapping()), _this__u8e3s4.minRating, _this__u8e3s4.maxRating, _this__u8e3s4.enabled);
|
|
17397
17442
|
}
|
|
17443
|
+
function mapFromDto_46(_this__u8e3s4, config) {
|
|
17444
|
+
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17445
|
+
var league = mapToLeague(_this__u8e3s4.y7p_1);
|
|
17446
|
+
var tmp0_elvis_lhs = _this__u8e3s4.z7p_1;
|
|
17447
|
+
var tmp = tmp0_elvis_lhs == null ? config.getLeagueInfo(league).minRating : tmp0_elvis_lhs;
|
|
17448
|
+
var tmp1_elvis_lhs = _this__u8e3s4.a7q_1;
|
|
17449
|
+
var tmp_0 = tmp1_elvis_lhs == null ? config.getLeagueInfo(league).maxRating : tmp1_elvis_lhs;
|
|
17450
|
+
var tmp2_elvis_lhs = _this__u8e3s4.b7q_1;
|
|
17451
|
+
return new LeagueInfo(league, tmp, tmp_0, tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs);
|
|
17452
|
+
}
|
|
17398
17453
|
function mapToDto_50(_this__u8e3s4) {
|
|
17399
17454
|
_init_properties_LeaguesDtoMappers_kt__44r8or();
|
|
17400
17455
|
return enumToString(_this__u8e3s4, get_leagueMapping());
|
|
@@ -17451,38 +17506,38 @@
|
|
|
17451
17506
|
}
|
|
17452
17507
|
return tmp;
|
|
17453
17508
|
}
|
|
17454
|
-
function
|
|
17509
|
+
function mapFromDto_47(_this__u8e3s4, isNew) {
|
|
17455
17510
|
isNew = isNew === VOID ? false : isNew;
|
|
17456
17511
|
var tmp;
|
|
17457
17512
|
if (_this__u8e3s4 instanceof WhoShuffleCardsMessageDto) {
|
|
17458
|
-
tmp =
|
|
17513
|
+
tmp = mapFromDto_48(_this__u8e3s4, isNew);
|
|
17459
17514
|
} else {
|
|
17460
17515
|
if (_this__u8e3s4 instanceof PhraseMessageDto) {
|
|
17461
|
-
tmp =
|
|
17516
|
+
tmp = mapFromDto_49(_this__u8e3s4, isNew);
|
|
17462
17517
|
} else {
|
|
17463
17518
|
if (_this__u8e3s4 instanceof StickerMessageDto) {
|
|
17464
|
-
tmp =
|
|
17519
|
+
tmp = mapFromDto_50(_this__u8e3s4, isNew);
|
|
17465
17520
|
} else {
|
|
17466
17521
|
if (_this__u8e3s4 instanceof CombinationMessageDto) {
|
|
17467
|
-
tmp =
|
|
17522
|
+
tmp = mapFromDto_51(_this__u8e3s4, isNew);
|
|
17468
17523
|
} else {
|
|
17469
17524
|
if (_this__u8e3s4 instanceof PreviousRoundPointsMessageDto) {
|
|
17470
|
-
tmp =
|
|
17525
|
+
tmp = mapFromDto_52(_this__u8e3s4);
|
|
17471
17526
|
} else {
|
|
17472
17527
|
if (_this__u8e3s4 instanceof TextMessageDto) {
|
|
17473
|
-
tmp =
|
|
17528
|
+
tmp = mapFromDto_53(_this__u8e3s4, isNew);
|
|
17474
17529
|
} else {
|
|
17475
17530
|
if (_this__u8e3s4 instanceof WinnerCombinationsMessageDto) {
|
|
17476
|
-
tmp =
|
|
17531
|
+
tmp = mapFromDto_54(_this__u8e3s4, isNew);
|
|
17477
17532
|
} else {
|
|
17478
17533
|
if (_this__u8e3s4 instanceof ValidationMessageDto) {
|
|
17479
|
-
tmp =
|
|
17534
|
+
tmp = mapFromDto_55(_this__u8e3s4);
|
|
17480
17535
|
} else {
|
|
17481
17536
|
if (_this__u8e3s4 instanceof EventMessageDto) {
|
|
17482
|
-
tmp =
|
|
17537
|
+
tmp = mapFromDto_56(_this__u8e3s4, isNew);
|
|
17483
17538
|
} else {
|
|
17484
17539
|
if (_this__u8e3s4 instanceof RandomSignatureMessageDto) {
|
|
17485
|
-
tmp =
|
|
17540
|
+
tmp = mapFromDto_57(_this__u8e3s4, isNew);
|
|
17486
17541
|
} else {
|
|
17487
17542
|
if (_this__u8e3s4 instanceof FallbackMessageDto) {
|
|
17488
17543
|
tmp = Companion_instance_15.t6x();
|
|
@@ -17600,7 +17655,7 @@
|
|
|
17600
17655
|
var tmp2_createdAt = _this__u8e3s4.r6x_1.toString();
|
|
17601
17656
|
return new RandomSignatureMessageDto(tmp0_id, tmp2_createdAt, tmp1_randomData);
|
|
17602
17657
|
}
|
|
17603
|
-
function
|
|
17658
|
+
function mapFromDto_48(_this__u8e3s4, isNew) {
|
|
17604
17659
|
var tmp1_id = _this__u8e3s4.r7y_1;
|
|
17605
17660
|
var tmp0_safe_receiver = _this__u8e3s4.q7y_1;
|
|
17606
17661
|
var tmp2_trumpCard = tmp0_safe_receiver == null ? null : mapFromDto(tmp0_safe_receiver);
|
|
@@ -17608,7 +17663,7 @@
|
|
|
17608
17663
|
var tmp4_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.t7y_1);
|
|
17609
17664
|
return new WhoShuffleCardsMessage(tmp2_trumpCard, tmp1_id, tmp3_userInfo, isNew, tmp4_createdAt);
|
|
17610
17665
|
}
|
|
17611
|
-
function
|
|
17666
|
+
function mapFromDto_49(_this__u8e3s4, isNew) {
|
|
17612
17667
|
var tmp1_id = _this__u8e3s4.w7y_1;
|
|
17613
17668
|
var tmp0_elvis_lhs = _this__u8e3s4.v7y_1;
|
|
17614
17669
|
var tmp2_key = tmp0_elvis_lhs == null ? toString_0(_this__u8e3s4.u7y_1) : tmp0_elvis_lhs;
|
|
@@ -17616,14 +17671,14 @@
|
|
|
17616
17671
|
var tmp4_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.y7y_1);
|
|
17617
17672
|
return new PhraseMessage(tmp2_key, tmp1_id, tmp3_userInfo, isNew, tmp4_createdAt);
|
|
17618
17673
|
}
|
|
17619
|
-
function
|
|
17674
|
+
function mapFromDto_50(_this__u8e3s4, isNew) {
|
|
17620
17675
|
var tmp0_id = _this__u8e3s4.a7z_1;
|
|
17621
17676
|
var tmp1_url = _this__u8e3s4.z7y_1;
|
|
17622
17677
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.b7z_1);
|
|
17623
17678
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.c7z_1);
|
|
17624
17679
|
return new StickerMessage(tmp1_url, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17625
17680
|
}
|
|
17626
|
-
function
|
|
17681
|
+
function mapFromDto_51(_this__u8e3s4, isNew) {
|
|
17627
17682
|
var tmp0_id = _this__u8e3s4.d7z_1;
|
|
17628
17683
|
// Inline function 'kotlin.collections.map' call
|
|
17629
17684
|
var this_0 = _this__u8e3s4.f7z_1;
|
|
@@ -17639,7 +17694,7 @@
|
|
|
17639
17694
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.e7z_1);
|
|
17640
17695
|
return new AnnouncedCombinationMessage(destination, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17641
17696
|
}
|
|
17642
|
-
function
|
|
17697
|
+
function mapFromDto_52(_this__u8e3s4) {
|
|
17643
17698
|
var tmp2_id = _this__u8e3s4.h7z_1;
|
|
17644
17699
|
var tmp3_roundNumber = _this__u8e3s4.j7z_1;
|
|
17645
17700
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -17649,7 +17704,7 @@
|
|
|
17649
17704
|
var _iterator__ex2g4s = this_0.l();
|
|
17650
17705
|
while (_iterator__ex2g4s.m()) {
|
|
17651
17706
|
var item = _iterator__ex2g4s.n();
|
|
17652
|
-
var tmp$ret$0 =
|
|
17707
|
+
var tmp$ret$0 = mapFromDto_58(item);
|
|
17653
17708
|
destination.j(tmp$ret$0);
|
|
17654
17709
|
}
|
|
17655
17710
|
var tmp5_roundContractState = mapToRoundContractState(_this__u8e3s4.k7z_1);
|
|
@@ -17660,14 +17715,14 @@
|
|
|
17660
17715
|
var tmp8_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.i7z_1);
|
|
17661
17716
|
return new PreviousRoundPointsMessage(tmp3_roundNumber, destination, tmp5_roundContractState, tmp7_roundCommitted, tmp6_roundWinners, tmp2_id, VOID, tmp8_createdAt);
|
|
17662
17717
|
}
|
|
17663
|
-
function
|
|
17718
|
+
function mapFromDto_53(_this__u8e3s4, isNew) {
|
|
17664
17719
|
var tmp0_id = _this__u8e3s4.o7z_1;
|
|
17665
17720
|
var tmp1_message = _this__u8e3s4.q7z_1;
|
|
17666
17721
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.r7z_1);
|
|
17667
17722
|
var tmp3_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.p7z_1);
|
|
17668
17723
|
return new TextMessage(tmp1_message, tmp0_id, tmp2_userInfo, isNew, tmp3_createdAt);
|
|
17669
17724
|
}
|
|
17670
|
-
function
|
|
17725
|
+
function mapFromDto_54(_this__u8e3s4, isNew) {
|
|
17671
17726
|
var tmp0_id = _this__u8e3s4.s7z_1;
|
|
17672
17727
|
// Inline function 'kotlin.collections.map' call
|
|
17673
17728
|
var this_0 = _this__u8e3s4.u7z_1;
|
|
@@ -17676,25 +17731,25 @@
|
|
|
17676
17731
|
var _iterator__ex2g4s = this_0.l();
|
|
17677
17732
|
while (_iterator__ex2g4s.m()) {
|
|
17678
17733
|
var item = _iterator__ex2g4s.n();
|
|
17679
|
-
var tmp$ret$0 =
|
|
17734
|
+
var tmp$ret$0 = mapFromDto_59(item);
|
|
17680
17735
|
destination.j(tmp$ret$0);
|
|
17681
17736
|
}
|
|
17682
17737
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.t7z_1);
|
|
17683
17738
|
return new WinnerCombinationsMessage(destination, tmp0_id, isNew, tmp2_createdAt);
|
|
17684
17739
|
}
|
|
17685
|
-
function
|
|
17740
|
+
function mapFromDto_55(_this__u8e3s4) {
|
|
17686
17741
|
var tmp0_id = _this__u8e3s4.v7z_1;
|
|
17687
17742
|
var tmp1_validationCode = _this__u8e3s4.x7z_1;
|
|
17688
17743
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.w7z_1);
|
|
17689
17744
|
return new ValidationMessage(tmp1_validationCode, tmp0_id, VOID, tmp2_createdAt);
|
|
17690
17745
|
}
|
|
17691
|
-
function
|
|
17746
|
+
function mapFromDto_56(_this__u8e3s4, isNew) {
|
|
17692
17747
|
var tmp0_id = _this__u8e3s4.y7z_1;
|
|
17693
17748
|
var tmp1_eventId = _this__u8e3s4.a80_1;
|
|
17694
17749
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.z7z_1);
|
|
17695
17750
|
return new EventMessage(tmp1_eventId, tmp0_id, isNew, tmp2_createdAt);
|
|
17696
17751
|
}
|
|
17697
|
-
function
|
|
17752
|
+
function mapFromDto_57(_this__u8e3s4, isNew) {
|
|
17698
17753
|
var tmp0_id = _this__u8e3s4.b80_1;
|
|
17699
17754
|
var tmp1_randomData = mapFromDto_14(_this__u8e3s4.d80_1);
|
|
17700
17755
|
var tmp2_createdAt = Companion_getInstance_3().nk(_this__u8e3s4.c80_1);
|
|
@@ -17727,7 +17782,7 @@
|
|
|
17727
17782
|
}
|
|
17728
17783
|
return new WinnerCombinationViewModelDto(_this__u8e3s4.r6y_1, destination, mapToDto_0(_this__u8e3s4.t6y_1));
|
|
17729
17784
|
}
|
|
17730
|
-
function
|
|
17785
|
+
function mapFromDto_58(_this__u8e3s4) {
|
|
17731
17786
|
var tmp0_points = _this__u8e3s4.f80_1;
|
|
17732
17787
|
// Inline function 'kotlin.collections.map' call
|
|
17733
17788
|
var this_0 = _this__u8e3s4.e80_1;
|
|
@@ -17741,7 +17796,7 @@
|
|
|
17741
17796
|
}
|
|
17742
17797
|
return new PointItemViewModel(destination, tmp0_points);
|
|
17743
17798
|
}
|
|
17744
|
-
function
|
|
17799
|
+
function mapFromDto_59(_this__u8e3s4) {
|
|
17745
17800
|
// Inline function 'kotlin.collections.map' call
|
|
17746
17801
|
var this_0 = _this__u8e3s4.h80_1;
|
|
17747
17802
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17815,7 +17870,7 @@
|
|
|
17815
17870
|
var tmp10_dealerStrategy = _this__u8e3s4.dealerStrategy;
|
|
17816
17871
|
return new RoomConfig(tmp3_players, tmp4_points, tmp5_timeoutTime, tmp2_rulesPreset, tmp6_isPrivate, tmp7_isChatEnabled, tmp1_rules, tmp9_isBotsEnabled, tmp10_dealerStrategy, tmp8_league);
|
|
17817
17872
|
}
|
|
17818
|
-
function
|
|
17873
|
+
function mapFromDto_60(_this__u8e3s4) {
|
|
17819
17874
|
var tmp2_players = _this__u8e3s4.n80_1;
|
|
17820
17875
|
var tmp3_points = _this__u8e3s4.o80_1;
|
|
17821
17876
|
var tmp4_timeoutTime = _this__u8e3s4.p80_1;
|
|
@@ -17832,7 +17887,7 @@
|
|
|
17832
17887
|
}
|
|
17833
17888
|
function mapToConfigLite(_this__u8e3s4, mode) {
|
|
17834
17889
|
var tmp0_safe_receiver = _this__u8e3s4.rules;
|
|
17835
|
-
var tmp4_rules = tmp0_safe_receiver == null ? null :
|
|
17890
|
+
var tmp4_rules = tmp0_safe_receiver == null ? null : mapFromDto_64(tmp0_safe_receiver);
|
|
17836
17891
|
var tmp5_league = _this__u8e3s4.league;
|
|
17837
17892
|
var tmp6_rulesPreset = mapToRulesSetType(_this__u8e3s4.rulesPreset);
|
|
17838
17893
|
var tmp7_players = Companion_getInstance_166().create(_this__u8e3s4.players);
|
|
@@ -17849,14 +17904,14 @@
|
|
|
17849
17904
|
function mapToDto_65(_this__u8e3s4) {
|
|
17850
17905
|
return new PointItemDto(_this__u8e3s4.v7w_1, _this__u8e3s4.w7w_1);
|
|
17851
17906
|
}
|
|
17852
|
-
function
|
|
17907
|
+
function mapFromDto_61(_this__u8e3s4) {
|
|
17853
17908
|
return new PointItem(_this__u8e3s4.x80_1, _this__u8e3s4.y80_1);
|
|
17854
17909
|
}
|
|
17855
|
-
function
|
|
17910
|
+
function mapFromDto_62(_this__u8e3s4) {
|
|
17856
17911
|
var tmp0_elvis_lhs = _this__u8e3s4.z80_1;
|
|
17857
17912
|
return new Round(tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, _this__u8e3s4.a81_1, _this__u8e3s4.b81_1);
|
|
17858
17913
|
}
|
|
17859
|
-
function
|
|
17914
|
+
function mapFromDto_63(_this__u8e3s4) {
|
|
17860
17915
|
// Inline function 'kotlin.collections.map' call
|
|
17861
17916
|
var this_0 = _this__u8e3s4.c81_1;
|
|
17862
17917
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -17877,7 +17932,7 @@
|
|
|
17877
17932
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
17878
17933
|
while (_iterator__ex2g4s_0.m()) {
|
|
17879
17934
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
17880
|
-
var tmp$ret$3 =
|
|
17935
|
+
var tmp$ret$3 = mapFromDto_61(item_0);
|
|
17881
17936
|
destination_0.j(tmp$ret$3);
|
|
17882
17937
|
}
|
|
17883
17938
|
return new PreviousRound(tmp, tmp_0, destination_0);
|
|
@@ -18238,7 +18293,7 @@
|
|
|
18238
18293
|
var tmp$ret$58 = tmp_48;
|
|
18239
18294
|
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);
|
|
18240
18295
|
}
|
|
18241
|
-
function
|
|
18296
|
+
function mapFromDto_64(_this__u8e3s4) {
|
|
18242
18297
|
_init_properties_RulesMappers_kt__e4bhqd();
|
|
18243
18298
|
var tmp32_name = _this__u8e3s4.i6b_1;
|
|
18244
18299
|
var tmp0_elvis_lhs = _this__u8e3s4.j6b_1;
|
|
@@ -18425,11 +18480,11 @@
|
|
|
18425
18480
|
var tmp1_safe_receiver = _this__u8e3s4.l81_1;
|
|
18426
18481
|
return new ClientSceneInfoDto(_this__u8e3s4.i81_1, _this__u8e3s4.j81_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_121(tmp1_safe_receiver));
|
|
18427
18482
|
}
|
|
18428
|
-
function
|
|
18483
|
+
function mapFromDto_65(_this__u8e3s4) {
|
|
18429
18484
|
var tmp0_safe_receiver = _this__u8e3s4.p81_1;
|
|
18430
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
18485
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_96(tmp0_safe_receiver);
|
|
18431
18486
|
var tmp1_safe_receiver = _this__u8e3s4.q81_1;
|
|
18432
|
-
return new SceneInfo(_this__u8e3s4.m81_1, _this__u8e3s4.n81_1, _this__u8e3s4.o81_1, tmp, tmp1_safe_receiver == null ? null :
|
|
18487
|
+
return new SceneInfo(_this__u8e3s4.m81_1, _this__u8e3s4.n81_1, _this__u8e3s4.o81_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_86(tmp1_safe_receiver));
|
|
18433
18488
|
}
|
|
18434
18489
|
function mapToDto_75(_this__u8e3s4) {
|
|
18435
18490
|
var tmp0_safe_receiver = _this__u8e3s4.u81_1;
|
|
@@ -18437,19 +18492,19 @@
|
|
|
18437
18492
|
var tmp1_safe_receiver = _this__u8e3s4.v81_1;
|
|
18438
18493
|
return new SceneInfoDto(_this__u8e3s4.r81_1, _this__u8e3s4.s81_1, _this__u8e3s4.t81_1, tmp, tmp1_safe_receiver == null ? null : mapToDto_118(tmp1_safe_receiver));
|
|
18439
18494
|
}
|
|
18440
|
-
function
|
|
18495
|
+
function mapFromDto_66(_this__u8e3s4) {
|
|
18441
18496
|
var tmp0_safe_receiver = _this__u8e3s4.y81_1;
|
|
18442
|
-
var tmp = tmp0_safe_receiver == null ? null :
|
|
18497
|
+
var tmp = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
18443
18498
|
var tmp1_safe_receiver = _this__u8e3s4.z81_1;
|
|
18444
|
-
return new ClientSceneInfo(_this__u8e3s4.w81_1, _this__u8e3s4.x81_1, tmp, tmp1_safe_receiver == null ? null :
|
|
18499
|
+
return new ClientSceneInfo(_this__u8e3s4.w81_1, _this__u8e3s4.x81_1, tmp, tmp1_safe_receiver == null ? null : mapFromDto_91(tmp1_safe_receiver));
|
|
18445
18500
|
}
|
|
18446
|
-
function
|
|
18501
|
+
function mapFromDto_67(_this__u8e3s4) {
|
|
18447
18502
|
return new Spectator(mapFromDto_0(_this__u8e3s4.a82_1));
|
|
18448
18503
|
}
|
|
18449
18504
|
function mapToDto_76(_this__u8e3s4) {
|
|
18450
18505
|
return new SpectatorDto(mapToDto_0(_this__u8e3s4.j72_1));
|
|
18451
18506
|
}
|
|
18452
|
-
function
|
|
18507
|
+
function mapFromDto_68(_this__u8e3s4) {
|
|
18453
18508
|
var tmp = mapFromDto_11(_this__u8e3s4.c82_1);
|
|
18454
18509
|
// Inline function 'kotlin.collections.map' call
|
|
18455
18510
|
var this_0 = _this__u8e3s4.d82_1;
|
|
@@ -18458,7 +18513,7 @@
|
|
|
18458
18513
|
var _iterator__ex2g4s = this_0.l();
|
|
18459
18514
|
while (_iterator__ex2g4s.m()) {
|
|
18460
18515
|
var item = _iterator__ex2g4s.n();
|
|
18461
|
-
var tmp$ret$0 =
|
|
18516
|
+
var tmp$ret$0 = mapFromDto_75(item);
|
|
18462
18517
|
destination.j(tmp$ret$0);
|
|
18463
18518
|
}
|
|
18464
18519
|
return new JassTableLite(_this__u8e3s4.b82_1, tmp, destination, mapFromDto_26(_this__u8e3s4.e82_1));
|
|
@@ -18571,7 +18626,7 @@
|
|
|
18571
18626
|
}
|
|
18572
18627
|
return new ClientJassTableDto(_this__u8e3s4.f82_1, tmp_0, _this__u8e3s4.h82_1, tmp_1, tmp_2, tmp_3, tmp_4, tmp_7, tmp_10, tmp_11, tmp_12, tmp_13, tmp_15);
|
|
18573
18628
|
}
|
|
18574
|
-
function
|
|
18629
|
+
function mapFromDto_69(_this__u8e3s4) {
|
|
18575
18630
|
var tmp = Companion_getInstance_3().nk(_this__u8e3s4.u82_1);
|
|
18576
18631
|
var tmp_0 = mapFromDto_12(_this__u8e3s4.v82_1);
|
|
18577
18632
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -18581,7 +18636,7 @@
|
|
|
18581
18636
|
var _iterator__ex2g4s = this_0.l();
|
|
18582
18637
|
while (_iterator__ex2g4s.m()) {
|
|
18583
18638
|
var item = _iterator__ex2g4s.n();
|
|
18584
|
-
var tmp$ret$0 =
|
|
18639
|
+
var tmp$ret$0 = mapFromDto_76(item);
|
|
18585
18640
|
destination.j(tmp$ret$0);
|
|
18586
18641
|
}
|
|
18587
18642
|
var tmp_1 = destination;
|
|
@@ -18596,14 +18651,14 @@
|
|
|
18596
18651
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver.l();
|
|
18597
18652
|
while (_iterator__ex2g4s_0.m()) {
|
|
18598
18653
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
18599
|
-
var tmp$ret$3 =
|
|
18654
|
+
var tmp$ret$3 = mapFromDto_67(item_0);
|
|
18600
18655
|
destination_0.j(tmp$ret$3);
|
|
18601
18656
|
}
|
|
18602
18657
|
tmp_2 = destination_0;
|
|
18603
18658
|
}
|
|
18604
18659
|
var tmp1_elvis_lhs = tmp_2;
|
|
18605
18660
|
var tmp_3 = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
18606
|
-
var tmp_4 =
|
|
18661
|
+
var tmp_4 = mapFromDto_65(_this__u8e3s4.y82_1);
|
|
18607
18662
|
var tmp2_safe_receiver = _this__u8e3s4.z82_1;
|
|
18608
18663
|
var tmp_5;
|
|
18609
18664
|
if (tmp2_safe_receiver == null) {
|
|
@@ -18687,7 +18742,7 @@
|
|
|
18687
18742
|
var _iterator__ex2g4s_5 = tmp9_safe_receiver.l();
|
|
18688
18743
|
while (_iterator__ex2g4s_5.m()) {
|
|
18689
18744
|
var item_5 = _iterator__ex2g4s_5.n();
|
|
18690
|
-
var tmp$ret$20 =
|
|
18745
|
+
var tmp$ret$20 = mapFromDto_47(item_5);
|
|
18691
18746
|
destination_5.j(tmp$ret$20);
|
|
18692
18747
|
}
|
|
18693
18748
|
tmp_15 = destination_5;
|
|
@@ -18854,7 +18909,7 @@
|
|
|
18854
18909
|
}
|
|
18855
18910
|
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);
|
|
18856
18911
|
}
|
|
18857
|
-
function
|
|
18912
|
+
function mapFromDto_70(_this__u8e3s4) {
|
|
18858
18913
|
var tmp0_elvis_lhs = _this__u8e3s4.h83_1;
|
|
18859
18914
|
var tmp = tmp0_elvis_lhs == null ? _this__u8e3s4.g83_1 : tmp0_elvis_lhs;
|
|
18860
18915
|
var tmp_0 = Companion_getInstance_3().qc(_this__u8e3s4.j83_1);
|
|
@@ -18866,11 +18921,11 @@
|
|
|
18866
18921
|
var _iterator__ex2g4s = this_0.l();
|
|
18867
18922
|
while (_iterator__ex2g4s.m()) {
|
|
18868
18923
|
var item = _iterator__ex2g4s.n();
|
|
18869
|
-
var tmp$ret$0 =
|
|
18924
|
+
var tmp$ret$0 = mapFromDto_81(item);
|
|
18870
18925
|
destination.j(tmp$ret$0);
|
|
18871
18926
|
}
|
|
18872
18927
|
var tmp_2 = destination;
|
|
18873
|
-
var tmp_3 =
|
|
18928
|
+
var tmp_3 = mapFromDto_66(_this__u8e3s4.m83_1);
|
|
18874
18929
|
var tmp1_safe_receiver = _this__u8e3s4.n83_1;
|
|
18875
18930
|
var tmp_4;
|
|
18876
18931
|
if (tmp1_safe_receiver == null) {
|
|
@@ -18925,7 +18980,7 @@
|
|
|
18925
18980
|
var _iterator__ex2g4s_2 = tmp5_safe_receiver.l();
|
|
18926
18981
|
while (_iterator__ex2g4s_2.m()) {
|
|
18927
18982
|
var item_2 = _iterator__ex2g4s_2.n();
|
|
18928
|
-
var tmp$ret$11 =
|
|
18983
|
+
var tmp$ret$11 = mapFromDto_47(item_2);
|
|
18929
18984
|
destination_2.j(tmp$ret$11);
|
|
18930
18985
|
}
|
|
18931
18986
|
tmp_11 = destination_2;
|
|
@@ -19301,13 +19356,13 @@
|
|
|
19301
19356
|
}
|
|
19302
19357
|
return tmp;
|
|
19303
19358
|
}
|
|
19304
|
-
function
|
|
19359
|
+
function mapFromDto_71(_this__u8e3s4) {
|
|
19305
19360
|
var tmp;
|
|
19306
19361
|
if (_this__u8e3s4 instanceof RevengeRoomTransitionDto) {
|
|
19307
|
-
tmp =
|
|
19362
|
+
tmp = mapFromDto_72(_this__u8e3s4);
|
|
19308
19363
|
} else {
|
|
19309
19364
|
if (_this__u8e3s4 instanceof GameToRoomTransitionDto) {
|
|
19310
|
-
tmp =
|
|
19365
|
+
tmp = mapFromDto_73(_this__u8e3s4);
|
|
19311
19366
|
} else {
|
|
19312
19367
|
noWhenBranchMatchedException();
|
|
19313
19368
|
}
|
|
@@ -19320,10 +19375,10 @@
|
|
|
19320
19375
|
function mapToDto_103(_this__u8e3s4) {
|
|
19321
19376
|
return new GameToRoomTransitionDto(_this__u8e3s4.roomId, _this__u8e3s4.playerIds, _this__u8e3s4.q86_1);
|
|
19322
19377
|
}
|
|
19323
|
-
function
|
|
19378
|
+
function mapFromDto_72(_this__u8e3s4) {
|
|
19324
19379
|
return new RevengeRoomTransition(mapToRoomMode(_this__u8e3s4.v7j_1), _this__u8e3s4.w7j_1);
|
|
19325
19380
|
}
|
|
19326
|
-
function
|
|
19381
|
+
function mapFromDto_73(_this__u8e3s4) {
|
|
19327
19382
|
return new GameToRoomTransition(_this__u8e3s4.p7j_1, _this__u8e3s4.q7j_1, _this__u8e3s4.r7j_1);
|
|
19328
19383
|
}
|
|
19329
19384
|
function mapToDto_104(_this__u8e3s4) {
|
|
@@ -19331,7 +19386,7 @@
|
|
|
19331
19386
|
var tmp1_oldRating = _this__u8e3s4.oldRating;
|
|
19332
19387
|
return new AchievementsDto(tmp1_oldRating, tmp0_newRating);
|
|
19333
19388
|
}
|
|
19334
|
-
function
|
|
19389
|
+
function mapFromDto_74(_this__u8e3s4) {
|
|
19335
19390
|
var tmp0_newRating = _this__u8e3s4.s86_1;
|
|
19336
19391
|
var tmp1_oldRating = _this__u8e3s4.r86_1;
|
|
19337
19392
|
return new Achievements(tmp1_oldRating, tmp0_newRating);
|
|
@@ -19351,8 +19406,8 @@
|
|
|
19351
19406
|
var tmp4_points = _this__u8e3s4.points;
|
|
19352
19407
|
return new JassPlayer(tmp0_userInfo, tmp1_state, tmp3_cards, tmp2_options, VOID, tmp4_points);
|
|
19353
19408
|
}
|
|
19354
|
-
function
|
|
19355
|
-
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.t86_1),
|
|
19409
|
+
function mapFromDto_75(_this__u8e3s4) {
|
|
19410
|
+
return new JassPlayerLite(mapFromDto_0(_this__u8e3s4.t86_1), mapFromDto_77(_this__u8e3s4.u86_1), mapFromDto_78(_this__u8e3s4.v86_1));
|
|
19356
19411
|
}
|
|
19357
19412
|
function mapToDto_105(_this__u8e3s4) {
|
|
19358
19413
|
var tmp2_userInfo = mapToDto_0(_this__u8e3s4.t6z_1).w6a();
|
|
@@ -19394,10 +19449,10 @@
|
|
|
19394
19449
|
var tmp7_amountOfCards = _this__u8e3s4.y6z_1;
|
|
19395
19450
|
return new ClientJassPlayerDto(tmp2_userInfo, tmp3_state, tmp4_options, tmp6_points, tmp5_cards, tmp7_amountOfCards);
|
|
19396
19451
|
}
|
|
19397
|
-
function
|
|
19452
|
+
function mapFromDto_76(_this__u8e3s4) {
|
|
19398
19453
|
var tmp2_userInfo = mapFromDto_0(_this__u8e3s4.w86_1);
|
|
19399
19454
|
var tmp3_state = mapFromDto_2(_this__u8e3s4.x86_1);
|
|
19400
|
-
var tmp4_options =
|
|
19455
|
+
var tmp4_options = mapFromDto_77(_this__u8e3s4.y86_1);
|
|
19401
19456
|
var tmp0_safe_receiver = _this__u8e3s4.z86_1;
|
|
19402
19457
|
var tmp;
|
|
19403
19458
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19416,8 +19471,8 @@
|
|
|
19416
19471
|
}
|
|
19417
19472
|
var tmp1_elvis_lhs = tmp;
|
|
19418
19473
|
var tmp5_cards = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
19419
|
-
var tmp6_hand =
|
|
19420
|
-
var tmp7_points =
|
|
19474
|
+
var tmp6_hand = mapFromDto_79(_this__u8e3s4.a87_1);
|
|
19475
|
+
var tmp7_points = mapFromDto_78(_this__u8e3s4.b87_1);
|
|
19421
19476
|
return new JassPlayer(tmp2_userInfo, tmp3_state, tmp5_cards, tmp4_options, tmp6_hand, tmp7_points);
|
|
19422
19477
|
}
|
|
19423
19478
|
function mapToDto_106(_this__u8e3s4) {
|
|
@@ -19451,7 +19506,7 @@
|
|
|
19451
19506
|
}
|
|
19452
19507
|
return new JassPlayerDto(tmp, tmp_0, tmp_1, tmp_3, mapToDto_110(_this__u8e3s4.t6v_1), mapToDto_109(_this__u8e3s4.u6v_1));
|
|
19453
19508
|
}
|
|
19454
|
-
function
|
|
19509
|
+
function mapFromDto_77(_this__u8e3s4) {
|
|
19455
19510
|
var tmp0_elvis_lhs = _this__u8e3s4.d87_1;
|
|
19456
19511
|
var tmp = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
19457
19512
|
var tmp1_elvis_lhs = _this__u8e3s4.f87_1;
|
|
@@ -19477,7 +19532,7 @@
|
|
|
19477
19532
|
var tmp11_elvis_lhs = _this__u8e3s4.p87_1;
|
|
19478
19533
|
return new PlayerOptions(tmp, _this__u8e3s4.e87_1, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, _this__u8e3s4.c87_1, tmp_8, tmp_9, tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs);
|
|
19479
19534
|
}
|
|
19480
|
-
function
|
|
19535
|
+
function mapFromDto_78(_this__u8e3s4) {
|
|
19481
19536
|
var tmp0_safe_receiver = _this__u8e3s4.r87_1;
|
|
19482
19537
|
var tmp;
|
|
19483
19538
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19664,7 +19719,7 @@
|
|
|
19664
19719
|
var tmp$ret$11 = tmp_1;
|
|
19665
19720
|
return new PlayerPointsDto(_this__u8e3s4.l71_1, tmp_0, tmp$ret$11);
|
|
19666
19721
|
}
|
|
19667
|
-
function
|
|
19722
|
+
function mapFromDto_79(_this__u8e3s4) {
|
|
19668
19723
|
var tmp0_elvis_lhs = _this__u8e3s4.x87_1;
|
|
19669
19724
|
var tmp12_hasNoTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
19670
19725
|
var tmp1_elvis_lhs = _this__u8e3s4.y87_1;
|
|
@@ -19688,7 +19743,7 @@
|
|
|
19688
19743
|
var _iterator__ex2g4s = tmp6_safe_receiver.l();
|
|
19689
19744
|
while (_iterator__ex2g4s.m()) {
|
|
19690
19745
|
var item = _iterator__ex2g4s.n();
|
|
19691
|
-
var tmp$ret$0 =
|
|
19746
|
+
var tmp$ret$0 = mapFromDto_80(item);
|
|
19692
19747
|
destination.j(tmp$ret$0);
|
|
19693
19748
|
}
|
|
19694
19749
|
tmp = destination;
|
|
@@ -19847,16 +19902,16 @@
|
|
|
19847
19902
|
var tmp8_sessionCombinationRecords = tmp_7;
|
|
19848
19903
|
return new PlayerHandDto(tmp5_averageLuckyFactor, tmp6_luckyFactors, tmp7_gameCombinationRecords, tmp8_sessionCombinationRecords, tmp0_hasNoTrump, tmp1_hasNoDiamond, tmp2_hasNoSpade, tmp3_hasNoHeart, tmp4_hasNoClub);
|
|
19849
19904
|
}
|
|
19850
|
-
function
|
|
19905
|
+
function mapFromDto_80(_this__u8e3s4) {
|
|
19851
19906
|
return new LuckyFactorRecord(_this__u8e3s4.c88_1, _this__u8e3s4.d88_1);
|
|
19852
19907
|
}
|
|
19853
19908
|
function mapToDto_111(_this__u8e3s4) {
|
|
19854
19909
|
return new LuckyFactorRecordDto(_this__u8e3s4.i71_1, _this__u8e3s4.j71_1);
|
|
19855
19910
|
}
|
|
19856
|
-
function
|
|
19911
|
+
function mapFromDto_81(_this__u8e3s4) {
|
|
19857
19912
|
var tmp1_userInfo = mapFromDto_0(_this__u8e3s4.e88_1);
|
|
19858
|
-
var tmp2_state =
|
|
19859
|
-
var tmp3_options =
|
|
19913
|
+
var tmp2_state = mapFromDto_82(_this__u8e3s4.f88_1);
|
|
19914
|
+
var tmp3_options = mapFromDto_77(_this__u8e3s4.g88_1);
|
|
19860
19915
|
var tmp0_safe_receiver = _this__u8e3s4.i88_1;
|
|
19861
19916
|
var tmp;
|
|
19862
19917
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19874,11 +19929,11 @@
|
|
|
19874
19929
|
tmp = destination;
|
|
19875
19930
|
}
|
|
19876
19931
|
var tmp4_cards = tmp;
|
|
19877
|
-
var tmp5_points =
|
|
19932
|
+
var tmp5_points = mapFromDto_78(_this__u8e3s4.h88_1);
|
|
19878
19933
|
var tmp6_amountOfCards = _this__u8e3s4.j88_1;
|
|
19879
19934
|
return new ClientJassPlayer(tmp1_userInfo, tmp2_state, tmp3_options, tmp5_points, tmp4_cards, tmp6_amountOfCards);
|
|
19880
19935
|
}
|
|
19881
|
-
function
|
|
19936
|
+
function mapFromDto_82(_this__u8e3s4) {
|
|
19882
19937
|
var tmp0_safe_receiver = _this__u8e3s4.l88_1;
|
|
19883
19938
|
var tmp;
|
|
19884
19939
|
if (tmp0_safe_receiver == null) {
|
|
@@ -19910,7 +19965,7 @@
|
|
|
19910
19965
|
function mapToDto_112(_this__u8e3s4) {
|
|
19911
19966
|
return new CombinationAnalyticsDto(mapToDto_9(_this__u8e3s4.type), _this__u8e3s4.count, _this__u8e3s4.acceptedCounts);
|
|
19912
19967
|
}
|
|
19913
|
-
function
|
|
19968
|
+
function mapFromDto_83(_this__u8e3s4) {
|
|
19914
19969
|
return new CombinationAnalytics(mapToCombinationType(_this__u8e3s4.r88_1), _this__u8e3s4.s88_1, _this__u8e3s4.t88_1);
|
|
19915
19970
|
}
|
|
19916
19971
|
function get_roundContractStateMapping() {
|
|
@@ -19945,7 +20000,7 @@
|
|
|
19945
20000
|
}
|
|
19946
20001
|
return new PointsCellDto(destination, mapToDto_113(_this__u8e3s4.n76_1));
|
|
19947
20002
|
}
|
|
19948
|
-
function
|
|
20003
|
+
function mapFromDto_84(_this__u8e3s4) {
|
|
19949
20004
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
19950
20005
|
// Inline function 'kotlin.collections.map' call
|
|
19951
20006
|
var this_0 = _this__u8e3s4.u88_1;
|
|
@@ -19954,7 +20009,7 @@
|
|
|
19954
20009
|
var _iterator__ex2g4s = this_0.l();
|
|
19955
20010
|
while (_iterator__ex2g4s.m()) {
|
|
19956
20011
|
var item = _iterator__ex2g4s.n();
|
|
19957
|
-
var tmp$ret$0 =
|
|
20012
|
+
var tmp$ret$0 = mapFromDto_85(item);
|
|
19958
20013
|
destination.j(tmp$ret$0);
|
|
19959
20014
|
}
|
|
19960
20015
|
return new PointsCell(destination, mapToRoundContractState(_this__u8e3s4.v88_1));
|
|
@@ -19994,7 +20049,7 @@
|
|
|
19994
20049
|
}
|
|
19995
20050
|
return new PlayerPointsCellDto(_this__u8e3s4.p76_1, _this__u8e3s4.q76_1, _this__u8e3s4.r76_1, _this__u8e3s4.s76_1, _this__u8e3s4.t76_1, _this__u8e3s4.u76_1, VOID, VOID, tmp_0);
|
|
19996
20051
|
}
|
|
19997
|
-
function
|
|
20052
|
+
function mapFromDto_85(_this__u8e3s4) {
|
|
19998
20053
|
_init_properties_PointsDtoMappers_kt__ukmlli();
|
|
19999
20054
|
var tmp0_safe_receiver = _this__u8e3s4.e89_1;
|
|
20000
20055
|
var tmp;
|
|
@@ -20039,16 +20094,16 @@
|
|
|
20039
20094
|
}
|
|
20040
20095
|
return new CombinationActDataDto(_this__u8e3s4.i7f_1, destination);
|
|
20041
20096
|
}
|
|
20042
|
-
function
|
|
20097
|
+
function mapFromDto_86(_this__u8e3s4) {
|
|
20043
20098
|
var tmp;
|
|
20044
20099
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
20045
|
-
tmp =
|
|
20100
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
20046
20101
|
} else {
|
|
20047
20102
|
if (_this__u8e3s4 instanceof PlayersTurnActDataDto) {
|
|
20048
|
-
tmp =
|
|
20103
|
+
tmp = mapFromDto_88(_this__u8e3s4);
|
|
20049
20104
|
} else {
|
|
20050
20105
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
20051
|
-
tmp =
|
|
20106
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
20052
20107
|
} else {
|
|
20053
20108
|
throw new MechanicException("ActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
20054
20109
|
}
|
|
@@ -20082,7 +20137,7 @@
|
|
|
20082
20137
|
}
|
|
20083
20138
|
return tmp;
|
|
20084
20139
|
}
|
|
20085
|
-
function
|
|
20140
|
+
function mapFromDto_87(_this__u8e3s4) {
|
|
20086
20141
|
// Inline function 'kotlin.collections.map' call
|
|
20087
20142
|
var this_0 = _this__u8e3s4.g89_1;
|
|
20088
20143
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20095,7 +20150,7 @@
|
|
|
20095
20150
|
}
|
|
20096
20151
|
return new CombinationActData(_this__u8e3s4.f89_1, destination);
|
|
20097
20152
|
}
|
|
20098
|
-
function
|
|
20153
|
+
function mapFromDto_88(_this__u8e3s4) {
|
|
20099
20154
|
var tmp0_safe_receiver = _this__u8e3s4.i89_1;
|
|
20100
20155
|
var tmp;
|
|
20101
20156
|
if (tmp0_safe_receiver == null) {
|
|
@@ -20141,9 +20196,9 @@
|
|
|
20141
20196
|
}
|
|
20142
20197
|
return new PlayersTurnActData(_this__u8e3s4.h89_1, tmp_1);
|
|
20143
20198
|
}
|
|
20144
|
-
function
|
|
20199
|
+
function mapFromDto_89(_this__u8e3s4) {
|
|
20145
20200
|
var tmp0_safe_receiver = _this__u8e3s4.k89_1;
|
|
20146
|
-
return new WaitingActData(_this__u8e3s4.j89_1, tmp0_safe_receiver == null ? null :
|
|
20201
|
+
return new WaitingActData(_this__u8e3s4.j89_1, tmp0_safe_receiver == null ? null : mapFromDto_90(tmp0_safe_receiver));
|
|
20147
20202
|
}
|
|
20148
20203
|
function mapToDto_120(_this__u8e3s4) {
|
|
20149
20204
|
var tmp0_safe_receiver = _this__u8e3s4.q7f_1;
|
|
@@ -20191,7 +20246,7 @@
|
|
|
20191
20246
|
}
|
|
20192
20247
|
return new PlayersTurnActDataDto(_this__u8e3s4.p7f_1, tmp_1);
|
|
20193
20248
|
}
|
|
20194
|
-
function
|
|
20249
|
+
function mapFromDto_90(_this__u8e3s4) {
|
|
20195
20250
|
var tmp;
|
|
20196
20251
|
if (_this__u8e3s4 instanceof CardDeckRequestDto) {
|
|
20197
20252
|
tmp = new CardDeckRequest(_this__u8e3s4.l89_1);
|
|
@@ -20236,16 +20291,16 @@
|
|
|
20236
20291
|
}
|
|
20237
20292
|
return new PlayersTurnClientActDataDto(_this__u8e3s4.r7f_1, tmp);
|
|
20238
20293
|
}
|
|
20239
|
-
function
|
|
20294
|
+
function mapFromDto_91(_this__u8e3s4) {
|
|
20240
20295
|
var tmp;
|
|
20241
20296
|
if (_this__u8e3s4 instanceof WaitingActDataDto) {
|
|
20242
|
-
tmp =
|
|
20297
|
+
tmp = mapFromDto_89(_this__u8e3s4);
|
|
20243
20298
|
} else {
|
|
20244
20299
|
if (_this__u8e3s4 instanceof CombinationActDataDto) {
|
|
20245
|
-
tmp =
|
|
20300
|
+
tmp = mapFromDto_87(_this__u8e3s4);
|
|
20246
20301
|
} else {
|
|
20247
20302
|
if (_this__u8e3s4 instanceof PlayersTurnClientActDataDto) {
|
|
20248
|
-
tmp =
|
|
20303
|
+
tmp = mapFromDto_92(_this__u8e3s4);
|
|
20249
20304
|
} else {
|
|
20250
20305
|
throw new MechanicException("ClientActDataDto: Can't support this act " + toString(_this__u8e3s4));
|
|
20251
20306
|
}
|
|
@@ -20253,7 +20308,7 @@
|
|
|
20253
20308
|
}
|
|
20254
20309
|
return tmp;
|
|
20255
20310
|
}
|
|
20256
|
-
function
|
|
20311
|
+
function mapFromDto_92(_this__u8e3s4) {
|
|
20257
20312
|
var tmp0_safe_receiver = _this__u8e3s4.n89_1;
|
|
20258
20313
|
var tmp;
|
|
20259
20314
|
if (tmp0_safe_receiver == null) {
|
|
@@ -20348,22 +20403,22 @@
|
|
|
20348
20403
|
var tmp1_safe_receiver = _this__u8e3s4.e7g_1;
|
|
20349
20404
|
return new EarnPointsClientSceneDataDto(tmp, _this__u8e3s4.c7g_1, tmp_1, tmp1_safe_receiver == null ? null : mapToDto(tmp1_safe_receiver), _this__u8e3s4.f7g_1);
|
|
20350
20405
|
}
|
|
20351
|
-
function
|
|
20406
|
+
function mapFromDto_93(_this__u8e3s4) {
|
|
20352
20407
|
var tmp;
|
|
20353
20408
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
20354
|
-
tmp =
|
|
20409
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
20355
20410
|
} else {
|
|
20356
20411
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
20357
|
-
tmp =
|
|
20412
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
20358
20413
|
} else {
|
|
20359
20414
|
if (_this__u8e3s4 instanceof TradeClientSceneDataDto) {
|
|
20360
|
-
tmp =
|
|
20415
|
+
tmp = mapFromDto_94(_this__u8e3s4);
|
|
20361
20416
|
} else {
|
|
20362
20417
|
if (_this__u8e3s4 instanceof EarnPointsClientSceneDataDto) {
|
|
20363
|
-
tmp =
|
|
20418
|
+
tmp = mapFromDto_95(_this__u8e3s4);
|
|
20364
20419
|
} else {
|
|
20365
20420
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
20366
|
-
tmp =
|
|
20421
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
20367
20422
|
} else {
|
|
20368
20423
|
throw new MechanicException("Can't map this scene " + toString(_this__u8e3s4) + ' in ClientSceneDataDto.mapFromDto');
|
|
20369
20424
|
}
|
|
@@ -20373,7 +20428,7 @@
|
|
|
20373
20428
|
}
|
|
20374
20429
|
return tmp;
|
|
20375
20430
|
}
|
|
20376
|
-
function
|
|
20431
|
+
function mapFromDto_94(_this__u8e3s4) {
|
|
20377
20432
|
// Inline function 'kotlin.collections.map' call
|
|
20378
20433
|
var this_0 = _this__u8e3s4.o89_1;
|
|
20379
20434
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20389,7 +20444,7 @@
|
|
|
20389
20444
|
var tmp0_safe_receiver = _this__u8e3s4.t89_1;
|
|
20390
20445
|
return new TradeClientSceneData(tmp, _this__u8e3s4.p89_1, tmp_0, _this__u8e3s4.r89_1, tmp0_safe_receiver == null ? null : mapFromDto_14(tmp0_safe_receiver), _this__u8e3s4.s89_1);
|
|
20391
20446
|
}
|
|
20392
|
-
function
|
|
20447
|
+
function mapFromDto_95(_this__u8e3s4) {
|
|
20393
20448
|
// Inline function 'kotlin.collections.map' call
|
|
20394
20449
|
var this_0 = _this__u8e3s4.u89_1;
|
|
20395
20450
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20477,22 +20532,22 @@
|
|
|
20477
20532
|
}
|
|
20478
20533
|
return new CalcPointsSceneDataDto(_this__u8e3s4.g7g_1, _this__u8e3s4.h7g_1, _this__u8e3s4.i7g_1, tmp_1, _this__u8e3s4.k7g_1, tmp_2, tmp_3);
|
|
20479
20534
|
}
|
|
20480
|
-
function
|
|
20535
|
+
function mapFromDto_96(_this__u8e3s4) {
|
|
20481
20536
|
var tmp;
|
|
20482
20537
|
if (_this__u8e3s4 instanceof WaitingSceneDataDto) {
|
|
20483
|
-
tmp =
|
|
20538
|
+
tmp = mapFromDto_97(_this__u8e3s4);
|
|
20484
20539
|
} else {
|
|
20485
20540
|
if (_this__u8e3s4 instanceof ChoosePartnerSceneDataDto) {
|
|
20486
|
-
tmp =
|
|
20541
|
+
tmp = mapFromDto_98(_this__u8e3s4);
|
|
20487
20542
|
} else {
|
|
20488
20543
|
if (_this__u8e3s4 instanceof TradeSceneDataDto) {
|
|
20489
|
-
tmp =
|
|
20544
|
+
tmp = mapFromDto_99(_this__u8e3s4);
|
|
20490
20545
|
} else {
|
|
20491
20546
|
if (_this__u8e3s4 instanceof EarnPointsSceneDataDto) {
|
|
20492
|
-
tmp =
|
|
20547
|
+
tmp = mapFromDto_100(_this__u8e3s4);
|
|
20493
20548
|
} else {
|
|
20494
20549
|
if (_this__u8e3s4 instanceof CalcPointsSceneDataDto) {
|
|
20495
|
-
tmp =
|
|
20550
|
+
tmp = mapFromDto_101(_this__u8e3s4);
|
|
20496
20551
|
} else {
|
|
20497
20552
|
throw new MechanicException("Can't map this scene in SceneData.mapFromDto " + toString(_this__u8e3s4));
|
|
20498
20553
|
}
|
|
@@ -20527,13 +20582,13 @@
|
|
|
20527
20582
|
}
|
|
20528
20583
|
return tmp;
|
|
20529
20584
|
}
|
|
20530
|
-
function
|
|
20585
|
+
function mapFromDto_97(_this__u8e3s4) {
|
|
20531
20586
|
return WaitingSceneData_getInstance();
|
|
20532
20587
|
}
|
|
20533
|
-
function
|
|
20588
|
+
function mapFromDto_98(_this__u8e3s4) {
|
|
20534
20589
|
return new ChoosePartnerSceneData(_this__u8e3s4.z89_1);
|
|
20535
20590
|
}
|
|
20536
|
-
function
|
|
20591
|
+
function mapFromDto_99(_this__u8e3s4) {
|
|
20537
20592
|
// Inline function 'kotlin.collections.mapValues' call
|
|
20538
20593
|
var this_0 = _this__u8e3s4.a8a_1;
|
|
20539
20594
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -20572,7 +20627,7 @@
|
|
|
20572
20627
|
var tmp5_randomData = tmp0_safe_receiver == null ? null : mapFromDto_14(tmp0_safe_receiver);
|
|
20573
20628
|
return new TradeSceneData(destination, tmp5_randomData, tmp2_trumpCard, destination_1, tmp4_whoShuffleCardsPlayerId);
|
|
20574
20629
|
}
|
|
20575
|
-
function
|
|
20630
|
+
function mapFromDto_100(_this__u8e3s4) {
|
|
20576
20631
|
// Inline function 'kotlin.collections.mapValues' call
|
|
20577
20632
|
var this_0 = _this__u8e3s4.f8a_1;
|
|
20578
20633
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
@@ -20628,7 +20683,7 @@
|
|
|
20628
20683
|
var tmp1_safe_receiver = _this__u8e3s4.h8a_1;
|
|
20629
20684
|
return new EarnPointsSceneData(tmp_0, tmp_3, tmp1_safe_receiver == null ? null : mapFromDto(tmp1_safe_receiver), _this__u8e3s4.i8a_1);
|
|
20630
20685
|
}
|
|
20631
|
-
function
|
|
20686
|
+
function mapFromDto_101(_this__u8e3s4) {
|
|
20632
20687
|
// Inline function 'kotlin.collections.map' call
|
|
20633
20688
|
var this_0 = _this__u8e3s4.o8a_1;
|
|
20634
20689
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -20636,7 +20691,7 @@
|
|
|
20636
20691
|
var _iterator__ex2g4s = this_0.l();
|
|
20637
20692
|
while (_iterator__ex2g4s.m()) {
|
|
20638
20693
|
var item = _iterator__ex2g4s.n();
|
|
20639
|
-
var tmp$ret$0 =
|
|
20694
|
+
var tmp$ret$0 = mapFromDto_84(item);
|
|
20640
20695
|
destination.j(tmp$ret$0);
|
|
20641
20696
|
}
|
|
20642
20697
|
var tmp = destination;
|
|
@@ -20655,7 +20710,7 @@
|
|
|
20655
20710
|
var tmp_1 = element.w();
|
|
20656
20711
|
// Inline function 'kotlin.collections.component2' call
|
|
20657
20712
|
var value = element.x();
|
|
20658
|
-
var tmp$ret$5 =
|
|
20713
|
+
var tmp$ret$5 = mapFromDto_74(value);
|
|
20659
20714
|
destination_0.f2(tmp_1, tmp$ret$5);
|
|
20660
20715
|
}
|
|
20661
20716
|
tmp_0 = destination_0;
|
|
@@ -32859,8 +32914,8 @@
|
|
|
32859
32914
|
var tmp8_chatMessages = emptyList();
|
|
32860
32915
|
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);
|
|
32861
32916
|
}
|
|
32862
|
-
function
|
|
32863
|
-
var tmp =
|
|
32917
|
+
function mapFromDto_102(_this__u8e3s4) {
|
|
32918
|
+
var tmp = mapFromDto_69(_this__u8e3s4.f8f_1);
|
|
32864
32919
|
// Inline function 'kotlin.collections.map' call
|
|
32865
32920
|
var this_0 = _this__u8e3s4.g8f_1;
|
|
32866
32921
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -40519,8 +40574,8 @@
|
|
|
40519
40574
|
function get_ratingModule() {
|
|
40520
40575
|
return Module_init_$Create$('Rating module', VOID, VOID, _get_ratingModule_$lambda_udzfl5);
|
|
40521
40576
|
}
|
|
40522
|
-
function getEngineGameModule(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig) {
|
|
40523
|
-
return Module_init_$Create$('Game engine Module', VOID, VOID, getEngineGameModule$lambda(engineBotConfig, dealerConfig, engineLogicConfig, ratingConfig));
|
|
40577
|
+
function getEngineGameModule(engineBotConfig, engineLogicConfig, dealerConfig, ratingConfig, leaguesConfig) {
|
|
40578
|
+
return Module_init_$Create$('Game engine Module', VOID, VOID, getEngineGameModule$lambda(engineBotConfig, dealerConfig, engineLogicConfig, ratingConfig, leaguesConfig));
|
|
40524
40579
|
}
|
|
40525
40580
|
function engineGameLogicModule() {
|
|
40526
40581
|
return Module_init_$Create$('Game logic Module', VOID, VOID, engineGameLogicModule$lambda);
|
|
@@ -40643,10 +40698,15 @@
|
|
|
40643
40698
|
return $ratingConfig;
|
|
40644
40699
|
};
|
|
40645
40700
|
}
|
|
40646
|
-
function getEngineGameModule$lambda$lambda_3($
|
|
40647
|
-
return
|
|
40701
|
+
function getEngineGameModule$lambda$lambda_3($leaguesConfig) {
|
|
40702
|
+
return function ($this$singleton) {
|
|
40703
|
+
return $leaguesConfig;
|
|
40704
|
+
};
|
|
40648
40705
|
}
|
|
40649
40706
|
function getEngineGameModule$lambda$lambda_4($this$provider) {
|
|
40707
|
+
return new ScenePositionProviderImpl();
|
|
40708
|
+
}
|
|
40709
|
+
function getEngineGameModule$lambda$lambda_5($this$provider) {
|
|
40650
40710
|
// Inline function 'org.kodein.di.instance' call
|
|
40651
40711
|
var tmp = $this$provider.s60();
|
|
40652
40712
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40667,7 +40727,7 @@
|
|
|
40667
40727
|
var tmp$ret$5 = tmp_5.r60(tmp$ret$4, null);
|
|
40668
40728
|
return new SceneRouterImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40669
40729
|
}
|
|
40670
|
-
function getEngineGameModule$lambda$
|
|
40730
|
+
function getEngineGameModule$lambda$lambda_6($this$provider) {
|
|
40671
40731
|
// Inline function 'org.kodein.di.instance' call
|
|
40672
40732
|
var tmp = $this$provider.s60();
|
|
40673
40733
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40682,10 +40742,10 @@
|
|
|
40682
40742
|
var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
|
|
40683
40743
|
return new WinnerCombinationProviderImpl(tmp_1, tmp$ret$3);
|
|
40684
40744
|
}
|
|
40685
|
-
function getEngineGameModule$lambda$
|
|
40745
|
+
function getEngineGameModule$lambda$lambda_7($this$provider) {
|
|
40686
40746
|
return new PointWinnersProviderImpl();
|
|
40687
40747
|
}
|
|
40688
|
-
function getEngineGameModule$lambda$
|
|
40748
|
+
function getEngineGameModule$lambda$lambda_8($this$provider) {
|
|
40689
40749
|
// Inline function 'org.kodein.di.instance' call
|
|
40690
40750
|
var tmp = $this$provider.s60();
|
|
40691
40751
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40694,7 +40754,7 @@
|
|
|
40694
40754
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40695
40755
|
return new PlayerTurnTagProvider(tmp$ret$1);
|
|
40696
40756
|
}
|
|
40697
|
-
function getEngineGameModule$lambda$
|
|
40757
|
+
function getEngineGameModule$lambda$lambda_9($this$singleton) {
|
|
40698
40758
|
// Inline function 'org.kodein.di.instance' call
|
|
40699
40759
|
var tmp = $this$singleton.s60();
|
|
40700
40760
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40703,10 +40763,10 @@
|
|
|
40703
40763
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40704
40764
|
return new MessageFactoryImpl(tmp$ret$1);
|
|
40705
40765
|
}
|
|
40706
|
-
function getEngineGameModule$lambda$
|
|
40766
|
+
function getEngineGameModule$lambda$lambda_10($this$singleton) {
|
|
40707
40767
|
return new FromClientEventsObserverImpl();
|
|
40708
40768
|
}
|
|
40709
|
-
function getEngineGameModule$lambda$
|
|
40769
|
+
function getEngineGameModule$lambda$lambda_11($this$provider) {
|
|
40710
40770
|
// Inline function 'org.kodein.di.instance' call
|
|
40711
40771
|
var tmp = $this$provider.s60();
|
|
40712
40772
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40715,7 +40775,7 @@
|
|
|
40715
40775
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40716
40776
|
return new GameLifecycleInteractorImpl(tmp$ret$1);
|
|
40717
40777
|
}
|
|
40718
|
-
function getEngineGameModule$lambda$
|
|
40778
|
+
function getEngineGameModule$lambda$lambda_12($this$provider) {
|
|
40719
40779
|
// Inline function 'org.kodein.di.instance' call
|
|
40720
40780
|
var tmp = $this$provider.s60();
|
|
40721
40781
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40724,7 +40784,7 @@
|
|
|
40724
40784
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40725
40785
|
return new LastCardInteractor(tmp$ret$1);
|
|
40726
40786
|
}
|
|
40727
|
-
function getEngineGameModule$lambda$
|
|
40787
|
+
function getEngineGameModule$lambda$lambda_13($this$provider) {
|
|
40728
40788
|
// Inline function 'org.kodein.di.instance' call
|
|
40729
40789
|
var tmp = $this$provider.s60();
|
|
40730
40790
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40769,7 +40829,7 @@
|
|
|
40769
40829
|
var tmp6_dealerReducer = tmp_11.r60(tmp$ret$12, null);
|
|
40770
40830
|
return new GameMechanicLogicInteractorImpl(tmp0_teamsLogicProvider, tmp1_combinationsInteractor, tmp5_playerTurnInteractor, tmp2_gameLogicProvider, tmp4_messageFactory, tmp6_dealerReducer, tmp3_logger);
|
|
40771
40831
|
}
|
|
40772
|
-
function getEngineGameModule$lambda$
|
|
40832
|
+
function getEngineGameModule$lambda$lambda_14($this$singleton) {
|
|
40773
40833
|
// Inline function 'org.kodein.di.instance' call
|
|
40774
40834
|
var tmp = $this$singleton.s60();
|
|
40775
40835
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40790,7 +40850,7 @@
|
|
|
40790
40850
|
var tmp$ret$5 = tmp_5.r60(tmp$ret$4, null);
|
|
40791
40851
|
return new DealerInteractorImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40792
40852
|
}
|
|
40793
|
-
function getEngineGameModule$lambda$
|
|
40853
|
+
function getEngineGameModule$lambda$lambda_15($this$singleton) {
|
|
40794
40854
|
// Inline function 'org.kodein.di.instance' call
|
|
40795
40855
|
var tmp = $this$singleton.s60();
|
|
40796
40856
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40799,7 +40859,7 @@
|
|
|
40799
40859
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40800
40860
|
return new SceneValidationInteractorImpl(tmp$ret$1);
|
|
40801
40861
|
}
|
|
40802
|
-
function getEngineGameModule$lambda$
|
|
40862
|
+
function getEngineGameModule$lambda$lambda_16($this$singleton) {
|
|
40803
40863
|
// Inline function 'org.kodein.di.instance' call
|
|
40804
40864
|
var tmp = $this$singleton.s60();
|
|
40805
40865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40808,7 +40868,7 @@
|
|
|
40808
40868
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
40809
40869
|
return new DealerReducerImpl(tmp$ret$1, true);
|
|
40810
40870
|
}
|
|
40811
|
-
function getEngineGameModule$lambda$
|
|
40871
|
+
function getEngineGameModule$lambda$lambda_17($this$singleton) {
|
|
40812
40872
|
// Inline function 'org.kodein.di.instance' call
|
|
40813
40873
|
var tmp = $this$singleton.s60();
|
|
40814
40874
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40835,7 +40895,7 @@
|
|
|
40835
40895
|
var tmp$ret$7 = tmp_8.r60(tmp$ret$6, null);
|
|
40836
40896
|
return new PlayerOptionsInteractorImpl(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
40837
40897
|
}
|
|
40838
|
-
function getEngineGameModule$lambda$
|
|
40898
|
+
function getEngineGameModule$lambda$lambda_18($this$singleton) {
|
|
40839
40899
|
// Inline function 'org.kodein.di.instance' call
|
|
40840
40900
|
var tmp = $this$singleton.s60();
|
|
40841
40901
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40850,7 +40910,7 @@
|
|
|
40850
40910
|
var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
|
|
40851
40911
|
return new PlayerTurnInteractorImpl(tmp_1, tmp$ret$3);
|
|
40852
40912
|
}
|
|
40853
|
-
function getEngineGameModule$lambda$
|
|
40913
|
+
function getEngineGameModule$lambda$lambda_19($this$singleton) {
|
|
40854
40914
|
// Inline function 'org.kodein.di.instance' call
|
|
40855
40915
|
var tmp = $this$singleton.s60();
|
|
40856
40916
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40883,7 +40943,7 @@
|
|
|
40883
40943
|
var tmp4_teamsLogicProvider = tmp_7.r60(tmp$ret$8, null);
|
|
40884
40944
|
return new CardsInteractorImpl(tmp0_gameLogicProvider, tmp4_teamsLogicProvider, tmp1_paramsProvider, tmp2_equalHandsDealerInteractor, tmp3_dealerConfig);
|
|
40885
40945
|
}
|
|
40886
|
-
function getEngineGameModule$lambda$
|
|
40946
|
+
function getEngineGameModule$lambda$lambda_20($this$singleton) {
|
|
40887
40947
|
// Inline function 'org.kodein.di.instance' call
|
|
40888
40948
|
var tmp = $this$singleton.s60();
|
|
40889
40949
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40904,7 +40964,7 @@
|
|
|
40904
40964
|
var tmp$ret$5 = tmp_5.r60(tmp$ret$4, null);
|
|
40905
40965
|
return new CombinationsInteractorImpl(tmp_1, tmp_4, tmp$ret$5);
|
|
40906
40966
|
}
|
|
40907
|
-
function getEngineGameModule$lambda$
|
|
40967
|
+
function getEngineGameModule$lambda$lambda_21($this$singleton) {
|
|
40908
40968
|
// Inline function 'org.kodein.di.instance' call
|
|
40909
40969
|
var tmp = $this$singleton.s60();
|
|
40910
40970
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40937,7 +40997,7 @@
|
|
|
40937
40997
|
var tmp$ret$9 = tmp_11.r60(tmp$ret$8, null);
|
|
40938
40998
|
return new EqualHandsDealerIntercatorImpl(tmp_1, tmp_4, tmp_7, tmp_10, tmp$ret$9);
|
|
40939
40999
|
}
|
|
40940
|
-
function getEngineGameModule$lambda$
|
|
41000
|
+
function getEngineGameModule$lambda$lambda_22($this$singleton) {
|
|
40941
41001
|
// Inline function 'org.kodein.di.instance' call
|
|
40942
41002
|
var tmp = $this$singleton.s60();
|
|
40943
41003
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -40964,7 +41024,7 @@
|
|
|
40964
41024
|
var tmp$ret$7 = tmp_8.r60(tmp$ret$6, null);
|
|
40965
41025
|
return new PointsInteractorImpl(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
40966
41026
|
}
|
|
40967
|
-
function getEngineGameModule$lambda$
|
|
41027
|
+
function getEngineGameModule$lambda$lambda_23($this$provider) {
|
|
40968
41028
|
// Inline function 'org.kodein.di.instance' call
|
|
40969
41029
|
var tmp = $this$provider.s60();
|
|
40970
41030
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41034,18 +41094,24 @@
|
|
|
41034
41094
|
// Inline function 'org.kodein.di.instance' call
|
|
41035
41095
|
var tmp_21 = $this$provider.s60();
|
|
41036
41096
|
// Inline function 'org.kodein.type.generic' call
|
|
41037
|
-
var tmp_22 = typeToken(createKType(getKClass(
|
|
41097
|
+
var tmp_22 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
41038
41098
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
41039
|
-
var
|
|
41099
|
+
var tmp11_leaguesConfig = tmp_21.r60(tmp$ret$22, null);
|
|
41040
41100
|
// Inline function 'org.kodein.di.instance' call
|
|
41041
41101
|
var tmp_23 = $this$provider.s60();
|
|
41042
41102
|
// Inline function 'org.kodein.type.generic' call
|
|
41043
|
-
var tmp_24 = typeToken(createKType(getKClass(
|
|
41103
|
+
var tmp_24 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
41044
41104
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
41045
|
-
var
|
|
41046
|
-
|
|
41105
|
+
var tmp12_engineLogicConfig = tmp_23.r60(tmp$ret$24, null);
|
|
41106
|
+
// Inline function 'org.kodein.di.instance' call
|
|
41107
|
+
var tmp_25 = $this$provider.s60();
|
|
41108
|
+
// Inline function 'org.kodein.type.generic' call
|
|
41109
|
+
var tmp_26 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
41110
|
+
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
41111
|
+
var tmp13_idsProvider = tmp_25.r60(tmp$ret$26, null);
|
|
41112
|
+
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);
|
|
41047
41113
|
}
|
|
41048
|
-
function getEngineGameModule$lambda$
|
|
41114
|
+
function getEngineGameModule$lambda$lambda_24($this$provider) {
|
|
41049
41115
|
// Inline function 'org.kodein.di.instance' call
|
|
41050
41116
|
var tmp = $this$provider.s60();
|
|
41051
41117
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41084,10 +41150,10 @@
|
|
|
41084
41150
|
var tmp5_gameHistoryReducer = tmp_9.r60(tmp$ret$10, null);
|
|
41085
41151
|
return new SceneReducer(tmp0_playerSceneReducer, tmp1_playerTurnMechanicReducer, tmp2_tableLifecycleReducer, tmp5_gameHistoryReducer, tmp3_dealerReducer, tmp4_gameParamsProvider);
|
|
41086
41152
|
}
|
|
41087
|
-
function getEngineGameModule$lambda$
|
|
41153
|
+
function getEngineGameModule$lambda$lambda_25($this$provider) {
|
|
41088
41154
|
return new SceneActReducer();
|
|
41089
41155
|
}
|
|
41090
|
-
function getEngineGameModule$lambda$
|
|
41156
|
+
function getEngineGameModule$lambda$lambda_26($this$provider) {
|
|
41091
41157
|
// Inline function 'org.kodein.di.instance' call
|
|
41092
41158
|
var tmp = $this$provider.s60();
|
|
41093
41159
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41114,7 +41180,7 @@
|
|
|
41114
41180
|
var tmp$ret$7 = tmp_8.r60(tmp$ret$6, null);
|
|
41115
41181
|
return new GameHistoryReducer(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
41116
41182
|
}
|
|
41117
|
-
function getEngineGameModule$lambda$
|
|
41183
|
+
function getEngineGameModule$lambda$lambda_27($this$provider) {
|
|
41118
41184
|
// Inline function 'org.kodein.di.instance' call
|
|
41119
41185
|
var tmp = $this$provider.s60();
|
|
41120
41186
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41129,7 +41195,7 @@
|
|
|
41129
41195
|
var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
|
|
41130
41196
|
return new TableLifecycleReducerImpl(tmp_1, tmp$ret$3);
|
|
41131
41197
|
}
|
|
41132
|
-
function getEngineGameModule$lambda$
|
|
41198
|
+
function getEngineGameModule$lambda$lambda_28($this$provider) {
|
|
41133
41199
|
// Inline function 'org.kodein.di.instance' call
|
|
41134
41200
|
var tmp = $this$provider.s60();
|
|
41135
41201
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41150,7 +41216,7 @@
|
|
|
41150
41216
|
var tmp$ret$5 = tmp_5.r60(tmp$ret$4, null);
|
|
41151
41217
|
return new PlayerTurnMechanicReducer(tmp_1, tmp_4, tmp$ret$5);
|
|
41152
41218
|
}
|
|
41153
|
-
function getEngineGameModule$lambda$
|
|
41219
|
+
function getEngineGameModule$lambda$lambda_29($this$provider) {
|
|
41154
41220
|
// Inline function 'org.kodein.di.instance' call
|
|
41155
41221
|
var tmp = $this$provider.s60();
|
|
41156
41222
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41177,7 +41243,7 @@
|
|
|
41177
41243
|
var tmp$ret$7 = tmp_8.r60(tmp$ret$6, null);
|
|
41178
41244
|
return new PlayerHandReducer(tmp_1, tmp_4, tmp_7, tmp$ret$7);
|
|
41179
41245
|
}
|
|
41180
|
-
function getEngineGameModule$lambda$
|
|
41246
|
+
function getEngineGameModule$lambda$lambda_30($this$provider) {
|
|
41181
41247
|
// Inline function 'org.kodein.di.instance' call
|
|
41182
41248
|
var tmp = $this$provider.s60();
|
|
41183
41249
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41186,10 +41252,10 @@
|
|
|
41186
41252
|
var tmp$ret$1 = tmp.r60(tmp$ret$0, null);
|
|
41187
41253
|
return new PlayerSceneReducer(tmp$ret$1);
|
|
41188
41254
|
}
|
|
41189
|
-
function getEngineGameModule$lambda$
|
|
41255
|
+
function getEngineGameModule$lambda$lambda_31($this$provider) {
|
|
41190
41256
|
return new TeamsMechanicReducer();
|
|
41191
41257
|
}
|
|
41192
|
-
function getEngineGameModule$lambda$
|
|
41258
|
+
function getEngineGameModule$lambda$lambda_32($this$provider) {
|
|
41193
41259
|
// Inline function 'org.kodein.di.instance' call
|
|
41194
41260
|
var tmp = $this$provider.s60();
|
|
41195
41261
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41222,7 +41288,7 @@
|
|
|
41222
41288
|
var tmp$ret$9 = tmp_11.r60(tmp$ret$8, null);
|
|
41223
41289
|
return new CombinationsMechanicReducer(tmp_1, tmp_4, tmp_7, tmp_10, tmp$ret$9);
|
|
41224
41290
|
}
|
|
41225
|
-
function getEngineGameModule$lambda$
|
|
41291
|
+
function getEngineGameModule$lambda$lambda_33($this$provider) {
|
|
41226
41292
|
// Inline function 'org.kodein.di.instance' call
|
|
41227
41293
|
var tmp = $this$provider.s60();
|
|
41228
41294
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41237,7 +41303,7 @@
|
|
|
41237
41303
|
var tmp$ret$3 = tmp_2.r60(tmp$ret$2, null);
|
|
41238
41304
|
return new TradeMechanicReducer(tmp_1, tmp$ret$3);
|
|
41239
41305
|
}
|
|
41240
|
-
function getEngineGameModule$lambda$
|
|
41306
|
+
function getEngineGameModule$lambda$lambda_34($this$provider) {
|
|
41241
41307
|
// Inline function 'org.kodein.di.instance' call
|
|
41242
41308
|
var tmp = $this$provider.s60();
|
|
41243
41309
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41282,7 +41348,7 @@
|
|
|
41282
41348
|
var tmp6_playerHandReducer = tmp_11.r60(tmp$ret$12, null);
|
|
41283
41349
|
return new EarnPointsMechanicReducer(tmp0_combinationsMechanicReducer, tmp1_combinationsFactory, tmp2_combinationsInteractor, tmp3_dealerReducer, tmp5_gameHistoryReducer, tmp6_playerHandReducer, tmp4_logger);
|
|
41284
41350
|
}
|
|
41285
|
-
function getEngineGameModule$lambda$
|
|
41351
|
+
function getEngineGameModule$lambda$lambda_35($this$provider) {
|
|
41286
41352
|
// Inline function 'org.kodein.di.instance' call
|
|
41287
41353
|
var tmp = $this$provider.s60();
|
|
41288
41354
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -41345,7 +41411,7 @@
|
|
|
41345
41411
|
var tmp9_earnPointsMechanicReducer = tmp_17.r60(tmp$ret$18, null);
|
|
41346
41412
|
return new MechanicReducers(tmp3_gameLifecycleReducer, tmp5_teamsMechanicReducer, tmp6_tradeMechanicReducer, tmp9_earnPointsMechanicReducer, tmp0_combinationsMechanicReducer, tmp8_playerTurnMechanicReducer, tmp4_sceneReducer, tmp7_sceneActReducer, tmp1_engineLogicConfig, tmp2_logger);
|
|
41347
41413
|
}
|
|
41348
|
-
function getEngineGameModule$lambda($engineBotConfig, $dealerConfig, $engineLogicConfig, $ratingConfig) {
|
|
41414
|
+
function getEngineGameModule$lambda($engineBotConfig, $dealerConfig, $engineLogicConfig, $ratingConfig, $leaguesConfig) {
|
|
41349
41415
|
return function ($this$Module) {
|
|
41350
41416
|
$this$Module.h5z(engineGameLogicModule());
|
|
41351
41417
|
$this$Module.h5z(engineGameBotModule());
|
|
@@ -41417,87 +41483,87 @@
|
|
|
41417
41483
|
tmp_19.d63(tmp$ret$15);
|
|
41418
41484
|
// Inline function 'org.kodein.di.bind' call
|
|
41419
41485
|
// Inline function 'org.kodein.type.generic' call
|
|
41420
|
-
var tmp_24 = typeToken(createKType(getKClass(
|
|
41486
|
+
var tmp_24 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
41421
41487
|
var tmp$ret$16 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
41422
41488
|
var tmp_25 = $this$Module.f5z(tmp$ret$16, null, null);
|
|
41423
|
-
// Inline function 'org.kodein.di.
|
|
41424
|
-
var creator_3 = getEngineGameModule$lambda$lambda_3;
|
|
41425
|
-
var tmp_26 = $this$Module.
|
|
41489
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41490
|
+
var creator_3 = getEngineGameModule$lambda$lambda_3($leaguesConfig);
|
|
41491
|
+
var tmp_26 = $this$Module.k5z();
|
|
41492
|
+
var tmp_27 = $this$Module.i5z();
|
|
41493
|
+
var tmp_28 = $this$Module.j5z();
|
|
41426
41494
|
// Inline function 'org.kodein.type.generic' call
|
|
41427
|
-
var
|
|
41428
|
-
var tmp$ret$18 = isInterface(
|
|
41429
|
-
var tmp$ret$19 = new
|
|
41495
|
+
var tmp_29 = typeToken(createKType(getKClass(LeaguesConfig), arrayOf([]), false));
|
|
41496
|
+
var tmp$ret$18 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
41497
|
+
var tmp$ret$19 = new Singleton(tmp_26, tmp_27, tmp_28, tmp$ret$18, null, true, creator_3);
|
|
41430
41498
|
tmp_25.d63(tmp$ret$19);
|
|
41431
41499
|
// Inline function 'org.kodein.di.bind' call
|
|
41432
41500
|
// Inline function 'org.kodein.type.generic' call
|
|
41433
|
-
var
|
|
41434
|
-
var tmp$ret$20 = isInterface(
|
|
41435
|
-
var
|
|
41501
|
+
var tmp_30 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
41502
|
+
var tmp$ret$20 = isInterface(tmp_30, TypeToken) ? tmp_30 : THROW_CCE();
|
|
41503
|
+
var tmp_31 = $this$Module.f5z(tmp$ret$20, null, null);
|
|
41436
41504
|
// Inline function 'org.kodein.di.provider' call
|
|
41437
41505
|
var creator_4 = getEngineGameModule$lambda$lambda_4;
|
|
41438
|
-
var
|
|
41506
|
+
var tmp_32 = $this$Module.i5z();
|
|
41439
41507
|
// Inline function 'org.kodein.type.generic' call
|
|
41440
|
-
var
|
|
41441
|
-
var tmp$ret$22 = isInterface(
|
|
41442
|
-
var tmp$ret$23 = new Provider(
|
|
41443
|
-
|
|
41508
|
+
var tmp_33 = typeToken(createKType(getKClass(ScenePositionProviderImpl), arrayOf([]), false));
|
|
41509
|
+
var tmp$ret$22 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
41510
|
+
var tmp$ret$23 = new Provider(tmp_32, tmp$ret$22, creator_4);
|
|
41511
|
+
tmp_31.d63(tmp$ret$23);
|
|
41444
41512
|
// Inline function 'org.kodein.di.bind' call
|
|
41445
41513
|
// Inline function 'org.kodein.type.generic' call
|
|
41446
|
-
var
|
|
41447
|
-
var tmp$ret$24 = isInterface(
|
|
41448
|
-
var
|
|
41514
|
+
var tmp_34 = typeToken(createKType(getKClass(SceneRouter), arrayOf([]), false));
|
|
41515
|
+
var tmp$ret$24 = isInterface(tmp_34, TypeToken) ? tmp_34 : THROW_CCE();
|
|
41516
|
+
var tmp_35 = $this$Module.f5z(tmp$ret$24, null, null);
|
|
41449
41517
|
// Inline function 'org.kodein.di.provider' call
|
|
41450
41518
|
var creator_5 = getEngineGameModule$lambda$lambda_5;
|
|
41451
|
-
var
|
|
41519
|
+
var tmp_36 = $this$Module.i5z();
|
|
41452
41520
|
// Inline function 'org.kodein.type.generic' call
|
|
41453
|
-
var
|
|
41454
|
-
var tmp$ret$26 = isInterface(
|
|
41455
|
-
var tmp$ret$27 = new Provider(
|
|
41456
|
-
|
|
41521
|
+
var tmp_37 = typeToken(createKType(getKClass(SceneRouterImpl), arrayOf([]), false));
|
|
41522
|
+
var tmp$ret$26 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
41523
|
+
var tmp$ret$27 = new Provider(tmp_36, tmp$ret$26, creator_5);
|
|
41524
|
+
tmp_35.d63(tmp$ret$27);
|
|
41457
41525
|
// Inline function 'org.kodein.di.bind' call
|
|
41458
41526
|
// Inline function 'org.kodein.type.generic' call
|
|
41459
|
-
var
|
|
41460
|
-
var tmp$ret$28 = isInterface(
|
|
41461
|
-
var
|
|
41527
|
+
var tmp_38 = typeToken(createKType(getKClass(WinnerCombinationProvider), arrayOf([]), false));
|
|
41528
|
+
var tmp$ret$28 = isInterface(tmp_38, TypeToken) ? tmp_38 : THROW_CCE();
|
|
41529
|
+
var tmp_39 = $this$Module.f5z(tmp$ret$28, null, null);
|
|
41462
41530
|
// Inline function 'org.kodein.di.provider' call
|
|
41463
41531
|
var creator_6 = getEngineGameModule$lambda$lambda_6;
|
|
41464
|
-
var
|
|
41532
|
+
var tmp_40 = $this$Module.i5z();
|
|
41465
41533
|
// Inline function 'org.kodein.type.generic' call
|
|
41466
|
-
var
|
|
41467
|
-
var tmp$ret$30 = isInterface(
|
|
41468
|
-
var tmp$ret$31 = new Provider(
|
|
41469
|
-
|
|
41534
|
+
var tmp_41 = typeToken(createKType(getKClass(WinnerCombinationProviderImpl), arrayOf([]), false));
|
|
41535
|
+
var tmp$ret$30 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
41536
|
+
var tmp$ret$31 = new Provider(tmp_40, tmp$ret$30, creator_6);
|
|
41537
|
+
tmp_39.d63(tmp$ret$31);
|
|
41470
41538
|
// Inline function 'org.kodein.di.bind' call
|
|
41471
41539
|
// Inline function 'org.kodein.type.generic' call
|
|
41472
|
-
var
|
|
41473
|
-
var tmp$ret$32 = isInterface(
|
|
41474
|
-
var
|
|
41540
|
+
var tmp_42 = typeToken(createKType(getKClass(PointWinnersProvider), arrayOf([]), false));
|
|
41541
|
+
var tmp$ret$32 = isInterface(tmp_42, TypeToken) ? tmp_42 : THROW_CCE();
|
|
41542
|
+
var tmp_43 = $this$Module.f5z(tmp$ret$32, null, null);
|
|
41475
41543
|
// Inline function 'org.kodein.di.provider' call
|
|
41476
41544
|
var creator_7 = getEngineGameModule$lambda$lambda_7;
|
|
41477
|
-
var
|
|
41545
|
+
var tmp_44 = $this$Module.i5z();
|
|
41478
41546
|
// Inline function 'org.kodein.type.generic' call
|
|
41479
|
-
var
|
|
41480
|
-
var tmp$ret$34 = isInterface(
|
|
41481
|
-
var tmp$ret$35 = new Provider(
|
|
41482
|
-
|
|
41547
|
+
var tmp_45 = typeToken(createKType(getKClass(PointWinnersProviderImpl), arrayOf([]), false));
|
|
41548
|
+
var tmp$ret$34 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
41549
|
+
var tmp$ret$35 = new Provider(tmp_44, tmp$ret$34, creator_7);
|
|
41550
|
+
tmp_43.d63(tmp$ret$35);
|
|
41483
41551
|
// Inline function 'org.kodein.di.bind' call
|
|
41484
41552
|
// Inline function 'org.kodein.type.generic' call
|
|
41485
|
-
var
|
|
41486
|
-
var tmp$ret$36 = isInterface(
|
|
41487
|
-
var
|
|
41488
|
-
// Inline function 'org.kodein.di.
|
|
41553
|
+
var tmp_46 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
41554
|
+
var tmp$ret$36 = isInterface(tmp_46, TypeToken) ? tmp_46 : THROW_CCE();
|
|
41555
|
+
var tmp_47 = $this$Module.f5z(tmp$ret$36, null, null);
|
|
41556
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41489
41557
|
var creator_8 = getEngineGameModule$lambda$lambda_8;
|
|
41490
|
-
var
|
|
41491
|
-
var tmp_47 = $this$Module.i5z();
|
|
41492
|
-
var tmp_48 = $this$Module.j5z();
|
|
41558
|
+
var tmp_48 = $this$Module.i5z();
|
|
41493
41559
|
// Inline function 'org.kodein.type.generic' call
|
|
41494
|
-
var tmp_49 = typeToken(createKType(getKClass(
|
|
41560
|
+
var tmp_49 = typeToken(createKType(getKClass(PlayerTurnTagProvider), arrayOf([]), false));
|
|
41495
41561
|
var tmp$ret$38 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
41496
|
-
var tmp$ret$39 = new
|
|
41497
|
-
|
|
41562
|
+
var tmp$ret$39 = new Provider(tmp_48, tmp$ret$38, creator_8);
|
|
41563
|
+
tmp_47.d63(tmp$ret$39);
|
|
41498
41564
|
// Inline function 'org.kodein.di.bind' call
|
|
41499
41565
|
// Inline function 'org.kodein.type.generic' call
|
|
41500
|
-
var tmp_50 = typeToken(createKType(getKClass(
|
|
41566
|
+
var tmp_50 = typeToken(createKType(getKClass(MessageFactory), arrayOf([]), false));
|
|
41501
41567
|
var tmp$ret$40 = isInterface(tmp_50, TypeToken) ? tmp_50 : THROW_CCE();
|
|
41502
41568
|
var tmp_51 = $this$Module.f5z(tmp$ret$40, null, null);
|
|
41503
41569
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41506,67 +41572,67 @@
|
|
|
41506
41572
|
var tmp_53 = $this$Module.i5z();
|
|
41507
41573
|
var tmp_54 = $this$Module.j5z();
|
|
41508
41574
|
// Inline function 'org.kodein.type.generic' call
|
|
41509
|
-
var tmp_55 = typeToken(createKType(getKClass(
|
|
41575
|
+
var tmp_55 = typeToken(createKType(getKClass(MessageFactoryImpl), arrayOf([]), false));
|
|
41510
41576
|
var tmp$ret$42 = isInterface(tmp_55, TypeToken) ? tmp_55 : THROW_CCE();
|
|
41511
41577
|
var tmp$ret$43 = new Singleton(tmp_52, tmp_53, tmp_54, tmp$ret$42, null, true, creator_9);
|
|
41512
41578
|
tmp_51.d63(tmp$ret$43);
|
|
41513
41579
|
// Inline function 'org.kodein.di.bind' call
|
|
41514
41580
|
// Inline function 'org.kodein.type.generic' call
|
|
41515
|
-
var tmp_56 = typeToken(createKType(getKClass(
|
|
41581
|
+
var tmp_56 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
41516
41582
|
var tmp$ret$44 = isInterface(tmp_56, TypeToken) ? tmp_56 : THROW_CCE();
|
|
41517
41583
|
var tmp_57 = $this$Module.f5z(tmp$ret$44, null, null);
|
|
41518
|
-
// Inline function 'org.kodein.di.
|
|
41584
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41519
41585
|
var creator_10 = getEngineGameModule$lambda$lambda_10;
|
|
41520
|
-
var tmp_58 = $this$Module.
|
|
41586
|
+
var tmp_58 = $this$Module.k5z();
|
|
41587
|
+
var tmp_59 = $this$Module.i5z();
|
|
41588
|
+
var tmp_60 = $this$Module.j5z();
|
|
41521
41589
|
// Inline function 'org.kodein.type.generic' call
|
|
41522
|
-
var
|
|
41523
|
-
var tmp$ret$46 = isInterface(
|
|
41524
|
-
var tmp$ret$47 = new
|
|
41590
|
+
var tmp_61 = typeToken(createKType(getKClass(FromClientEventsObserverImpl), arrayOf([]), false));
|
|
41591
|
+
var tmp$ret$46 = isInterface(tmp_61, TypeToken) ? tmp_61 : THROW_CCE();
|
|
41592
|
+
var tmp$ret$47 = new Singleton(tmp_58, tmp_59, tmp_60, tmp$ret$46, null, true, creator_10);
|
|
41525
41593
|
tmp_57.d63(tmp$ret$47);
|
|
41526
41594
|
// Inline function 'org.kodein.di.bind' call
|
|
41527
41595
|
// Inline function 'org.kodein.type.generic' call
|
|
41528
|
-
var
|
|
41529
|
-
var tmp$ret$48 = isInterface(
|
|
41530
|
-
var
|
|
41596
|
+
var tmp_62 = typeToken(createKType(getKClass(GameLifecycleInteractor), arrayOf([]), false));
|
|
41597
|
+
var tmp$ret$48 = isInterface(tmp_62, TypeToken) ? tmp_62 : THROW_CCE();
|
|
41598
|
+
var tmp_63 = $this$Module.f5z(tmp$ret$48, null, null);
|
|
41531
41599
|
// Inline function 'org.kodein.di.provider' call
|
|
41532
41600
|
var creator_11 = getEngineGameModule$lambda$lambda_11;
|
|
41533
|
-
var
|
|
41601
|
+
var tmp_64 = $this$Module.i5z();
|
|
41534
41602
|
// Inline function 'org.kodein.type.generic' call
|
|
41535
|
-
var
|
|
41536
|
-
var tmp$ret$50 = isInterface(
|
|
41537
|
-
var tmp$ret$51 = new Provider(
|
|
41538
|
-
|
|
41603
|
+
var tmp_65 = typeToken(createKType(getKClass(GameLifecycleInteractorImpl), arrayOf([]), false));
|
|
41604
|
+
var tmp$ret$50 = isInterface(tmp_65, TypeToken) ? tmp_65 : THROW_CCE();
|
|
41605
|
+
var tmp$ret$51 = new Provider(tmp_64, tmp$ret$50, creator_11);
|
|
41606
|
+
tmp_63.d63(tmp$ret$51);
|
|
41539
41607
|
// Inline function 'org.kodein.di.bind' call
|
|
41540
41608
|
// Inline function 'org.kodein.type.generic' call
|
|
41541
|
-
var
|
|
41542
|
-
var tmp$ret$52 = isInterface(
|
|
41543
|
-
var
|
|
41609
|
+
var tmp_66 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
41610
|
+
var tmp$ret$52 = isInterface(tmp_66, TypeToken) ? tmp_66 : THROW_CCE();
|
|
41611
|
+
var tmp_67 = $this$Module.f5z(tmp$ret$52, null, null);
|
|
41544
41612
|
// Inline function 'org.kodein.di.provider' call
|
|
41545
41613
|
var creator_12 = getEngineGameModule$lambda$lambda_12;
|
|
41546
|
-
var
|
|
41614
|
+
var tmp_68 = $this$Module.i5z();
|
|
41547
41615
|
// Inline function 'org.kodein.type.generic' call
|
|
41548
|
-
var
|
|
41549
|
-
var tmp$ret$54 = isInterface(
|
|
41550
|
-
var tmp$ret$55 = new Provider(
|
|
41551
|
-
|
|
41616
|
+
var tmp_69 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
41617
|
+
var tmp$ret$54 = isInterface(tmp_69, TypeToken) ? tmp_69 : THROW_CCE();
|
|
41618
|
+
var tmp$ret$55 = new Provider(tmp_68, tmp$ret$54, creator_12);
|
|
41619
|
+
tmp_67.d63(tmp$ret$55);
|
|
41552
41620
|
// Inline function 'org.kodein.di.bind' call
|
|
41553
41621
|
// Inline function 'org.kodein.type.generic' call
|
|
41554
|
-
var
|
|
41555
|
-
var tmp$ret$56 = isInterface(
|
|
41556
|
-
var
|
|
41557
|
-
// Inline function 'org.kodein.di.
|
|
41622
|
+
var tmp_70 = typeToken(createKType(getKClass(GameMechanicLogicInteractor), arrayOf([]), false));
|
|
41623
|
+
var tmp$ret$56 = isInterface(tmp_70, TypeToken) ? tmp_70 : THROW_CCE();
|
|
41624
|
+
var tmp_71 = $this$Module.f5z(tmp$ret$56, null, null);
|
|
41625
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41558
41626
|
var creator_13 = getEngineGameModule$lambda$lambda_13;
|
|
41559
|
-
var
|
|
41560
|
-
var tmp_71 = $this$Module.i5z();
|
|
41561
|
-
var tmp_72 = $this$Module.j5z();
|
|
41627
|
+
var tmp_72 = $this$Module.i5z();
|
|
41562
41628
|
// Inline function 'org.kodein.type.generic' call
|
|
41563
|
-
var tmp_73 = typeToken(createKType(getKClass(
|
|
41629
|
+
var tmp_73 = typeToken(createKType(getKClass(GameMechanicLogicInteractorImpl), arrayOf([]), false));
|
|
41564
41630
|
var tmp$ret$58 = isInterface(tmp_73, TypeToken) ? tmp_73 : THROW_CCE();
|
|
41565
|
-
var tmp$ret$59 = new
|
|
41566
|
-
|
|
41631
|
+
var tmp$ret$59 = new Provider(tmp_72, tmp$ret$58, creator_13);
|
|
41632
|
+
tmp_71.d63(tmp$ret$59);
|
|
41567
41633
|
// Inline function 'org.kodein.di.bind' call
|
|
41568
41634
|
// Inline function 'org.kodein.type.generic' call
|
|
41569
|
-
var tmp_74 = typeToken(createKType(getKClass(
|
|
41635
|
+
var tmp_74 = typeToken(createKType(getKClass(DealerInteractor), arrayOf([]), false));
|
|
41570
41636
|
var tmp$ret$60 = isInterface(tmp_74, TypeToken) ? tmp_74 : THROW_CCE();
|
|
41571
41637
|
var tmp_75 = $this$Module.f5z(tmp$ret$60, null, null);
|
|
41572
41638
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41575,13 +41641,13 @@
|
|
|
41575
41641
|
var tmp_77 = $this$Module.i5z();
|
|
41576
41642
|
var tmp_78 = $this$Module.j5z();
|
|
41577
41643
|
// Inline function 'org.kodein.type.generic' call
|
|
41578
|
-
var tmp_79 = typeToken(createKType(getKClass(
|
|
41644
|
+
var tmp_79 = typeToken(createKType(getKClass(DealerInteractorImpl), arrayOf([]), false));
|
|
41579
41645
|
var tmp$ret$62 = isInterface(tmp_79, TypeToken) ? tmp_79 : THROW_CCE();
|
|
41580
41646
|
var tmp$ret$63 = new Singleton(tmp_76, tmp_77, tmp_78, tmp$ret$62, null, true, creator_14);
|
|
41581
41647
|
tmp_75.d63(tmp$ret$63);
|
|
41582
41648
|
// Inline function 'org.kodein.di.bind' call
|
|
41583
41649
|
// Inline function 'org.kodein.type.generic' call
|
|
41584
|
-
var tmp_80 = typeToken(createKType(getKClass(
|
|
41650
|
+
var tmp_80 = typeToken(createKType(getKClass(SceneValidationInteractor), arrayOf([]), false));
|
|
41585
41651
|
var tmp$ret$64 = isInterface(tmp_80, TypeToken) ? tmp_80 : THROW_CCE();
|
|
41586
41652
|
var tmp_81 = $this$Module.f5z(tmp$ret$64, null, null);
|
|
41587
41653
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41590,13 +41656,13 @@
|
|
|
41590
41656
|
var tmp_83 = $this$Module.i5z();
|
|
41591
41657
|
var tmp_84 = $this$Module.j5z();
|
|
41592
41658
|
// Inline function 'org.kodein.type.generic' call
|
|
41593
|
-
var tmp_85 = typeToken(createKType(getKClass(
|
|
41659
|
+
var tmp_85 = typeToken(createKType(getKClass(SceneValidationInteractorImpl), arrayOf([]), false));
|
|
41594
41660
|
var tmp$ret$66 = isInterface(tmp_85, TypeToken) ? tmp_85 : THROW_CCE();
|
|
41595
41661
|
var tmp$ret$67 = new Singleton(tmp_82, tmp_83, tmp_84, tmp$ret$66, null, true, creator_15);
|
|
41596
41662
|
tmp_81.d63(tmp$ret$67);
|
|
41597
41663
|
// Inline function 'org.kodein.di.bind' call
|
|
41598
41664
|
// Inline function 'org.kodein.type.generic' call
|
|
41599
|
-
var tmp_86 = typeToken(createKType(getKClass(
|
|
41665
|
+
var tmp_86 = typeToken(createKType(getKClass(DealerReducer), arrayOf([]), false));
|
|
41600
41666
|
var tmp$ret$68 = isInterface(tmp_86, TypeToken) ? tmp_86 : THROW_CCE();
|
|
41601
41667
|
var tmp_87 = $this$Module.f5z(tmp$ret$68, null, null);
|
|
41602
41668
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41605,13 +41671,13 @@
|
|
|
41605
41671
|
var tmp_89 = $this$Module.i5z();
|
|
41606
41672
|
var tmp_90 = $this$Module.j5z();
|
|
41607
41673
|
// Inline function 'org.kodein.type.generic' call
|
|
41608
|
-
var tmp_91 = typeToken(createKType(getKClass(
|
|
41674
|
+
var tmp_91 = typeToken(createKType(getKClass(DealerReducerImpl), arrayOf([]), false));
|
|
41609
41675
|
var tmp$ret$70 = isInterface(tmp_91, TypeToken) ? tmp_91 : THROW_CCE();
|
|
41610
41676
|
var tmp$ret$71 = new Singleton(tmp_88, tmp_89, tmp_90, tmp$ret$70, null, true, creator_16);
|
|
41611
41677
|
tmp_87.d63(tmp$ret$71);
|
|
41612
41678
|
// Inline function 'org.kodein.di.bind' call
|
|
41613
41679
|
// Inline function 'org.kodein.type.generic' call
|
|
41614
|
-
var tmp_92 = typeToken(createKType(getKClass(
|
|
41680
|
+
var tmp_92 = typeToken(createKType(getKClass(PlayerOptionsInteractor), arrayOf([]), false));
|
|
41615
41681
|
var tmp$ret$72 = isInterface(tmp_92, TypeToken) ? tmp_92 : THROW_CCE();
|
|
41616
41682
|
var tmp_93 = $this$Module.f5z(tmp$ret$72, null, null);
|
|
41617
41683
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41620,13 +41686,13 @@
|
|
|
41620
41686
|
var tmp_95 = $this$Module.i5z();
|
|
41621
41687
|
var tmp_96 = $this$Module.j5z();
|
|
41622
41688
|
// Inline function 'org.kodein.type.generic' call
|
|
41623
|
-
var tmp_97 = typeToken(createKType(getKClass(
|
|
41689
|
+
var tmp_97 = typeToken(createKType(getKClass(PlayerOptionsInteractorImpl), arrayOf([]), false));
|
|
41624
41690
|
var tmp$ret$74 = isInterface(tmp_97, TypeToken) ? tmp_97 : THROW_CCE();
|
|
41625
41691
|
var tmp$ret$75 = new Singleton(tmp_94, tmp_95, tmp_96, tmp$ret$74, null, true, creator_17);
|
|
41626
41692
|
tmp_93.d63(tmp$ret$75);
|
|
41627
41693
|
// Inline function 'org.kodein.di.bind' call
|
|
41628
41694
|
// Inline function 'org.kodein.type.generic' call
|
|
41629
|
-
var tmp_98 = typeToken(createKType(getKClass(
|
|
41695
|
+
var tmp_98 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
41630
41696
|
var tmp$ret$76 = isInterface(tmp_98, TypeToken) ? tmp_98 : THROW_CCE();
|
|
41631
41697
|
var tmp_99 = $this$Module.f5z(tmp$ret$76, null, null);
|
|
41632
41698
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41635,13 +41701,13 @@
|
|
|
41635
41701
|
var tmp_101 = $this$Module.i5z();
|
|
41636
41702
|
var tmp_102 = $this$Module.j5z();
|
|
41637
41703
|
// Inline function 'org.kodein.type.generic' call
|
|
41638
|
-
var tmp_103 = typeToken(createKType(getKClass(
|
|
41704
|
+
var tmp_103 = typeToken(createKType(getKClass(PlayerTurnInteractorImpl), arrayOf([]), false));
|
|
41639
41705
|
var tmp$ret$78 = isInterface(tmp_103, TypeToken) ? tmp_103 : THROW_CCE();
|
|
41640
41706
|
var tmp$ret$79 = new Singleton(tmp_100, tmp_101, tmp_102, tmp$ret$78, null, true, creator_18);
|
|
41641
41707
|
tmp_99.d63(tmp$ret$79);
|
|
41642
41708
|
// Inline function 'org.kodein.di.bind' call
|
|
41643
41709
|
// Inline function 'org.kodein.type.generic' call
|
|
41644
|
-
var tmp_104 = typeToken(createKType(getKClass(
|
|
41710
|
+
var tmp_104 = typeToken(createKType(getKClass(CardsInteractor), arrayOf([]), false));
|
|
41645
41711
|
var tmp$ret$80 = isInterface(tmp_104, TypeToken) ? tmp_104 : THROW_CCE();
|
|
41646
41712
|
var tmp_105 = $this$Module.f5z(tmp$ret$80, null, null);
|
|
41647
41713
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41650,13 +41716,13 @@
|
|
|
41650
41716
|
var tmp_107 = $this$Module.i5z();
|
|
41651
41717
|
var tmp_108 = $this$Module.j5z();
|
|
41652
41718
|
// Inline function 'org.kodein.type.generic' call
|
|
41653
|
-
var tmp_109 = typeToken(createKType(getKClass(
|
|
41719
|
+
var tmp_109 = typeToken(createKType(getKClass(CardsInteractorImpl), arrayOf([]), false));
|
|
41654
41720
|
var tmp$ret$82 = isInterface(tmp_109, TypeToken) ? tmp_109 : THROW_CCE();
|
|
41655
41721
|
var tmp$ret$83 = new Singleton(tmp_106, tmp_107, tmp_108, tmp$ret$82, null, true, creator_19);
|
|
41656
41722
|
tmp_105.d63(tmp$ret$83);
|
|
41657
41723
|
// Inline function 'org.kodein.di.bind' call
|
|
41658
41724
|
// Inline function 'org.kodein.type.generic' call
|
|
41659
|
-
var tmp_110 = typeToken(createKType(getKClass(
|
|
41725
|
+
var tmp_110 = typeToken(createKType(getKClass(CombinationsInteractor), arrayOf([]), false));
|
|
41660
41726
|
var tmp$ret$84 = isInterface(tmp_110, TypeToken) ? tmp_110 : THROW_CCE();
|
|
41661
41727
|
var tmp_111 = $this$Module.f5z(tmp$ret$84, null, null);
|
|
41662
41728
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41665,13 +41731,13 @@
|
|
|
41665
41731
|
var tmp_113 = $this$Module.i5z();
|
|
41666
41732
|
var tmp_114 = $this$Module.j5z();
|
|
41667
41733
|
// Inline function 'org.kodein.type.generic' call
|
|
41668
|
-
var tmp_115 = typeToken(createKType(getKClass(
|
|
41734
|
+
var tmp_115 = typeToken(createKType(getKClass(CombinationsInteractorImpl), arrayOf([]), false));
|
|
41669
41735
|
var tmp$ret$86 = isInterface(tmp_115, TypeToken) ? tmp_115 : THROW_CCE();
|
|
41670
41736
|
var tmp$ret$87 = new Singleton(tmp_112, tmp_113, tmp_114, tmp$ret$86, null, true, creator_20);
|
|
41671
41737
|
tmp_111.d63(tmp$ret$87);
|
|
41672
41738
|
// Inline function 'org.kodein.di.bind' call
|
|
41673
41739
|
// Inline function 'org.kodein.type.generic' call
|
|
41674
|
-
var tmp_116 = typeToken(createKType(getKClass(
|
|
41740
|
+
var tmp_116 = typeToken(createKType(getKClass(EqualHandsDealerIntercator), arrayOf([]), false));
|
|
41675
41741
|
var tmp$ret$88 = isInterface(tmp_116, TypeToken) ? tmp_116 : THROW_CCE();
|
|
41676
41742
|
var tmp_117 = $this$Module.f5z(tmp$ret$88, null, null);
|
|
41677
41743
|
// Inline function 'org.kodein.di.singleton' call
|
|
@@ -41680,179 +41746,194 @@
|
|
|
41680
41746
|
var tmp_119 = $this$Module.i5z();
|
|
41681
41747
|
var tmp_120 = $this$Module.j5z();
|
|
41682
41748
|
// Inline function 'org.kodein.type.generic' call
|
|
41683
|
-
var tmp_121 = typeToken(createKType(getKClass(
|
|
41749
|
+
var tmp_121 = typeToken(createKType(getKClass(EqualHandsDealerIntercatorImpl), arrayOf([]), false));
|
|
41684
41750
|
var tmp$ret$90 = isInterface(tmp_121, TypeToken) ? tmp_121 : THROW_CCE();
|
|
41685
41751
|
var tmp$ret$91 = new Singleton(tmp_118, tmp_119, tmp_120, tmp$ret$90, null, true, creator_21);
|
|
41686
41752
|
tmp_117.d63(tmp$ret$91);
|
|
41687
41753
|
// Inline function 'org.kodein.di.bind' call
|
|
41688
41754
|
// Inline function 'org.kodein.type.generic' call
|
|
41689
|
-
var tmp_122 = typeToken(createKType(getKClass(
|
|
41755
|
+
var tmp_122 = typeToken(createKType(getKClass(PointsInteractor), arrayOf([]), false));
|
|
41690
41756
|
var tmp$ret$92 = isInterface(tmp_122, TypeToken) ? tmp_122 : THROW_CCE();
|
|
41691
41757
|
var tmp_123 = $this$Module.f5z(tmp$ret$92, null, null);
|
|
41692
|
-
// Inline function 'org.kodein.di.
|
|
41758
|
+
// Inline function 'org.kodein.di.singleton' call
|
|
41693
41759
|
var creator_22 = getEngineGameModule$lambda$lambda_22;
|
|
41694
|
-
var tmp_124 = $this$Module.
|
|
41760
|
+
var tmp_124 = $this$Module.k5z();
|
|
41761
|
+
var tmp_125 = $this$Module.i5z();
|
|
41762
|
+
var tmp_126 = $this$Module.j5z();
|
|
41695
41763
|
// Inline function 'org.kodein.type.generic' call
|
|
41696
|
-
var
|
|
41697
|
-
var tmp$ret$94 = isInterface(
|
|
41698
|
-
var tmp$ret$95 = new
|
|
41764
|
+
var tmp_127 = typeToken(createKType(getKClass(PointsInteractorImpl), arrayOf([]), false));
|
|
41765
|
+
var tmp$ret$94 = isInterface(tmp_127, TypeToken) ? tmp_127 : THROW_CCE();
|
|
41766
|
+
var tmp$ret$95 = new Singleton(tmp_124, tmp_125, tmp_126, tmp$ret$94, null, true, creator_22);
|
|
41699
41767
|
tmp_123.d63(tmp$ret$95);
|
|
41700
41768
|
// Inline function 'org.kodein.di.bind' call
|
|
41701
41769
|
// Inline function 'org.kodein.type.generic' call
|
|
41702
|
-
var
|
|
41703
|
-
var tmp$ret$96 = isInterface(
|
|
41704
|
-
var
|
|
41770
|
+
var tmp_128 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
41771
|
+
var tmp$ret$96 = isInterface(tmp_128, TypeToken) ? tmp_128 : THROW_CCE();
|
|
41772
|
+
var tmp_129 = $this$Module.f5z(tmp$ret$96, null, null);
|
|
41705
41773
|
// Inline function 'org.kodein.di.provider' call
|
|
41706
41774
|
var creator_23 = getEngineGameModule$lambda$lambda_23;
|
|
41707
|
-
var
|
|
41775
|
+
var tmp_130 = $this$Module.i5z();
|
|
41708
41776
|
// Inline function 'org.kodein.type.generic' call
|
|
41709
|
-
var
|
|
41710
|
-
var tmp$ret$98 = isInterface(
|
|
41711
|
-
var tmp$ret$99 = new Provider(
|
|
41712
|
-
|
|
41777
|
+
var tmp_131 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
41778
|
+
var tmp$ret$98 = isInterface(tmp_131, TypeToken) ? tmp_131 : THROW_CCE();
|
|
41779
|
+
var tmp$ret$99 = new Provider(tmp_130, tmp$ret$98, creator_23);
|
|
41780
|
+
tmp_129.d63(tmp$ret$99);
|
|
41713
41781
|
// Inline function 'org.kodein.di.bind' call
|
|
41714
41782
|
// Inline function 'org.kodein.type.generic' call
|
|
41715
|
-
var
|
|
41716
|
-
var tmp$ret$100 = isInterface(
|
|
41717
|
-
var
|
|
41783
|
+
var tmp_132 = typeToken(createKType(getKClass(SceneReducer), arrayOf([]), false));
|
|
41784
|
+
var tmp$ret$100 = isInterface(tmp_132, TypeToken) ? tmp_132 : THROW_CCE();
|
|
41785
|
+
var tmp_133 = $this$Module.f5z(tmp$ret$100, null, null);
|
|
41718
41786
|
// Inline function 'org.kodein.di.provider' call
|
|
41719
41787
|
var creator_24 = getEngineGameModule$lambda$lambda_24;
|
|
41720
|
-
var
|
|
41788
|
+
var tmp_134 = $this$Module.i5z();
|
|
41721
41789
|
// Inline function 'org.kodein.type.generic' call
|
|
41722
|
-
var
|
|
41723
|
-
var tmp$ret$102 = isInterface(
|
|
41724
|
-
var tmp$ret$103 = new Provider(
|
|
41725
|
-
|
|
41790
|
+
var tmp_135 = typeToken(createKType(getKClass(SceneReducer), arrayOf([]), false));
|
|
41791
|
+
var tmp$ret$102 = isInterface(tmp_135, TypeToken) ? tmp_135 : THROW_CCE();
|
|
41792
|
+
var tmp$ret$103 = new Provider(tmp_134, tmp$ret$102, creator_24);
|
|
41793
|
+
tmp_133.d63(tmp$ret$103);
|
|
41726
41794
|
// Inline function 'org.kodein.di.bind' call
|
|
41727
41795
|
// Inline function 'org.kodein.type.generic' call
|
|
41728
|
-
var
|
|
41729
|
-
var tmp$ret$104 = isInterface(
|
|
41730
|
-
var
|
|
41796
|
+
var tmp_136 = typeToken(createKType(getKClass(SceneActReducer), arrayOf([]), false));
|
|
41797
|
+
var tmp$ret$104 = isInterface(tmp_136, TypeToken) ? tmp_136 : THROW_CCE();
|
|
41798
|
+
var tmp_137 = $this$Module.f5z(tmp$ret$104, null, null);
|
|
41731
41799
|
// Inline function 'org.kodein.di.provider' call
|
|
41732
41800
|
var creator_25 = getEngineGameModule$lambda$lambda_25;
|
|
41733
|
-
var
|
|
41801
|
+
var tmp_138 = $this$Module.i5z();
|
|
41734
41802
|
// Inline function 'org.kodein.type.generic' call
|
|
41735
|
-
var
|
|
41736
|
-
var tmp$ret$106 = isInterface(
|
|
41737
|
-
var tmp$ret$107 = new Provider(
|
|
41738
|
-
|
|
41803
|
+
var tmp_139 = typeToken(createKType(getKClass(SceneActReducer), arrayOf([]), false));
|
|
41804
|
+
var tmp$ret$106 = isInterface(tmp_139, TypeToken) ? tmp_139 : THROW_CCE();
|
|
41805
|
+
var tmp$ret$107 = new Provider(tmp_138, tmp$ret$106, creator_25);
|
|
41806
|
+
tmp_137.d63(tmp$ret$107);
|
|
41739
41807
|
// Inline function 'org.kodein.di.bind' call
|
|
41740
41808
|
// Inline function 'org.kodein.type.generic' call
|
|
41741
|
-
var
|
|
41742
|
-
var tmp$ret$108 = isInterface(
|
|
41743
|
-
var
|
|
41809
|
+
var tmp_140 = typeToken(createKType(getKClass(GameHistoryReducer), arrayOf([]), false));
|
|
41810
|
+
var tmp$ret$108 = isInterface(tmp_140, TypeToken) ? tmp_140 : THROW_CCE();
|
|
41811
|
+
var tmp_141 = $this$Module.f5z(tmp$ret$108, null, null);
|
|
41744
41812
|
// Inline function 'org.kodein.di.provider' call
|
|
41745
41813
|
var creator_26 = getEngineGameModule$lambda$lambda_26;
|
|
41746
|
-
var
|
|
41814
|
+
var tmp_142 = $this$Module.i5z();
|
|
41747
41815
|
// Inline function 'org.kodein.type.generic' call
|
|
41748
|
-
var
|
|
41749
|
-
var tmp$ret$110 = isInterface(
|
|
41750
|
-
var tmp$ret$111 = new Provider(
|
|
41751
|
-
|
|
41816
|
+
var tmp_143 = typeToken(createKType(getKClass(GameHistoryReducer), arrayOf([]), false));
|
|
41817
|
+
var tmp$ret$110 = isInterface(tmp_143, TypeToken) ? tmp_143 : THROW_CCE();
|
|
41818
|
+
var tmp$ret$111 = new Provider(tmp_142, tmp$ret$110, creator_26);
|
|
41819
|
+
tmp_141.d63(tmp$ret$111);
|
|
41752
41820
|
// Inline function 'org.kodein.di.bind' call
|
|
41753
41821
|
// Inline function 'org.kodein.type.generic' call
|
|
41754
|
-
var
|
|
41755
|
-
var tmp$ret$112 = isInterface(
|
|
41756
|
-
var
|
|
41822
|
+
var tmp_144 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
|
|
41823
|
+
var tmp$ret$112 = isInterface(tmp_144, TypeToken) ? tmp_144 : THROW_CCE();
|
|
41824
|
+
var tmp_145 = $this$Module.f5z(tmp$ret$112, null, null);
|
|
41757
41825
|
// Inline function 'org.kodein.di.provider' call
|
|
41758
41826
|
var creator_27 = getEngineGameModule$lambda$lambda_27;
|
|
41759
|
-
var
|
|
41827
|
+
var tmp_146 = $this$Module.i5z();
|
|
41760
41828
|
// Inline function 'org.kodein.type.generic' call
|
|
41761
|
-
var
|
|
41762
|
-
var tmp$ret$114 = isInterface(
|
|
41763
|
-
var tmp$ret$115 = new Provider(
|
|
41764
|
-
|
|
41829
|
+
var tmp_147 = typeToken(createKType(getKClass(TableLifecycleReducerImpl), arrayOf([]), false));
|
|
41830
|
+
var tmp$ret$114 = isInterface(tmp_147, TypeToken) ? tmp_147 : THROW_CCE();
|
|
41831
|
+
var tmp$ret$115 = new Provider(tmp_146, tmp$ret$114, creator_27);
|
|
41832
|
+
tmp_145.d63(tmp$ret$115);
|
|
41765
41833
|
// Inline function 'org.kodein.di.bind' call
|
|
41766
41834
|
// Inline function 'org.kodein.type.generic' call
|
|
41767
|
-
var
|
|
41768
|
-
var tmp$ret$116 = isInterface(
|
|
41769
|
-
var
|
|
41835
|
+
var tmp_148 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
41836
|
+
var tmp$ret$116 = isInterface(tmp_148, TypeToken) ? tmp_148 : THROW_CCE();
|
|
41837
|
+
var tmp_149 = $this$Module.f5z(tmp$ret$116, null, null);
|
|
41770
41838
|
// Inline function 'org.kodein.di.provider' call
|
|
41771
41839
|
var creator_28 = getEngineGameModule$lambda$lambda_28;
|
|
41772
|
-
var
|
|
41840
|
+
var tmp_150 = $this$Module.i5z();
|
|
41773
41841
|
// Inline function 'org.kodein.type.generic' call
|
|
41774
|
-
var
|
|
41775
|
-
var tmp$ret$118 = isInterface(
|
|
41776
|
-
var tmp$ret$119 = new Provider(
|
|
41777
|
-
|
|
41842
|
+
var tmp_151 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
41843
|
+
var tmp$ret$118 = isInterface(tmp_151, TypeToken) ? tmp_151 : THROW_CCE();
|
|
41844
|
+
var tmp$ret$119 = new Provider(tmp_150, tmp$ret$118, creator_28);
|
|
41845
|
+
tmp_149.d63(tmp$ret$119);
|
|
41778
41846
|
// Inline function 'org.kodein.di.bind' call
|
|
41779
41847
|
// Inline function 'org.kodein.type.generic' call
|
|
41780
|
-
var
|
|
41781
|
-
var tmp$ret$120 = isInterface(
|
|
41782
|
-
var
|
|
41848
|
+
var tmp_152 = typeToken(createKType(getKClass(PlayerHandReducer), arrayOf([]), false));
|
|
41849
|
+
var tmp$ret$120 = isInterface(tmp_152, TypeToken) ? tmp_152 : THROW_CCE();
|
|
41850
|
+
var tmp_153 = $this$Module.f5z(tmp$ret$120, null, null);
|
|
41783
41851
|
// Inline function 'org.kodein.di.provider' call
|
|
41784
41852
|
var creator_29 = getEngineGameModule$lambda$lambda_29;
|
|
41785
|
-
var
|
|
41853
|
+
var tmp_154 = $this$Module.i5z();
|
|
41786
41854
|
// Inline function 'org.kodein.type.generic' call
|
|
41787
|
-
var
|
|
41788
|
-
var tmp$ret$122 = isInterface(
|
|
41789
|
-
var tmp$ret$123 = new Provider(
|
|
41790
|
-
|
|
41855
|
+
var tmp_155 = typeToken(createKType(getKClass(PlayerHandReducer), arrayOf([]), false));
|
|
41856
|
+
var tmp$ret$122 = isInterface(tmp_155, TypeToken) ? tmp_155 : THROW_CCE();
|
|
41857
|
+
var tmp$ret$123 = new Provider(tmp_154, tmp$ret$122, creator_29);
|
|
41858
|
+
tmp_153.d63(tmp$ret$123);
|
|
41791
41859
|
// Inline function 'org.kodein.di.bind' call
|
|
41792
41860
|
// Inline function 'org.kodein.type.generic' call
|
|
41793
|
-
var
|
|
41794
|
-
var tmp$ret$124 = isInterface(
|
|
41795
|
-
var
|
|
41861
|
+
var tmp_156 = typeToken(createKType(getKClass(PlayerSceneReducer), arrayOf([]), false));
|
|
41862
|
+
var tmp$ret$124 = isInterface(tmp_156, TypeToken) ? tmp_156 : THROW_CCE();
|
|
41863
|
+
var tmp_157 = $this$Module.f5z(tmp$ret$124, null, null);
|
|
41796
41864
|
// Inline function 'org.kodein.di.provider' call
|
|
41797
41865
|
var creator_30 = getEngineGameModule$lambda$lambda_30;
|
|
41798
|
-
var
|
|
41866
|
+
var tmp_158 = $this$Module.i5z();
|
|
41799
41867
|
// Inline function 'org.kodein.type.generic' call
|
|
41800
|
-
var
|
|
41801
|
-
var tmp$ret$126 = isInterface(
|
|
41802
|
-
var tmp$ret$127 = new Provider(
|
|
41803
|
-
|
|
41868
|
+
var tmp_159 = typeToken(createKType(getKClass(PlayerSceneReducer), arrayOf([]), false));
|
|
41869
|
+
var tmp$ret$126 = isInterface(tmp_159, TypeToken) ? tmp_159 : THROW_CCE();
|
|
41870
|
+
var tmp$ret$127 = new Provider(tmp_158, tmp$ret$126, creator_30);
|
|
41871
|
+
tmp_157.d63(tmp$ret$127);
|
|
41804
41872
|
// Inline function 'org.kodein.di.bind' call
|
|
41805
41873
|
// Inline function 'org.kodein.type.generic' call
|
|
41806
|
-
var
|
|
41807
|
-
var tmp$ret$128 = isInterface(
|
|
41808
|
-
var
|
|
41874
|
+
var tmp_160 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
41875
|
+
var tmp$ret$128 = isInterface(tmp_160, TypeToken) ? tmp_160 : THROW_CCE();
|
|
41876
|
+
var tmp_161 = $this$Module.f5z(tmp$ret$128, null, null);
|
|
41809
41877
|
// Inline function 'org.kodein.di.provider' call
|
|
41810
41878
|
var creator_31 = getEngineGameModule$lambda$lambda_31;
|
|
41811
|
-
var
|
|
41879
|
+
var tmp_162 = $this$Module.i5z();
|
|
41812
41880
|
// Inline function 'org.kodein.type.generic' call
|
|
41813
|
-
var
|
|
41814
|
-
var tmp$ret$130 = isInterface(
|
|
41815
|
-
var tmp$ret$131 = new Provider(
|
|
41816
|
-
|
|
41881
|
+
var tmp_163 = typeToken(createKType(getKClass(TeamsMechanicReducer), arrayOf([]), false));
|
|
41882
|
+
var tmp$ret$130 = isInterface(tmp_163, TypeToken) ? tmp_163 : THROW_CCE();
|
|
41883
|
+
var tmp$ret$131 = new Provider(tmp_162, tmp$ret$130, creator_31);
|
|
41884
|
+
tmp_161.d63(tmp$ret$131);
|
|
41817
41885
|
// Inline function 'org.kodein.di.bind' call
|
|
41818
41886
|
// Inline function 'org.kodein.type.generic' call
|
|
41819
|
-
var
|
|
41820
|
-
var tmp$ret$132 = isInterface(
|
|
41821
|
-
var
|
|
41887
|
+
var tmp_164 = typeToken(createKType(getKClass(CombinationsMechanicReducer), arrayOf([]), false));
|
|
41888
|
+
var tmp$ret$132 = isInterface(tmp_164, TypeToken) ? tmp_164 : THROW_CCE();
|
|
41889
|
+
var tmp_165 = $this$Module.f5z(tmp$ret$132, null, null);
|
|
41822
41890
|
// Inline function 'org.kodein.di.provider' call
|
|
41823
41891
|
var creator_32 = getEngineGameModule$lambda$lambda_32;
|
|
41824
|
-
var
|
|
41892
|
+
var tmp_166 = $this$Module.i5z();
|
|
41825
41893
|
// Inline function 'org.kodein.type.generic' call
|
|
41826
|
-
var
|
|
41827
|
-
var tmp$ret$134 = isInterface(
|
|
41828
|
-
var tmp$ret$135 = new Provider(
|
|
41829
|
-
|
|
41894
|
+
var tmp_167 = typeToken(createKType(getKClass(CombinationsMechanicReducer), arrayOf([]), false));
|
|
41895
|
+
var tmp$ret$134 = isInterface(tmp_167, TypeToken) ? tmp_167 : THROW_CCE();
|
|
41896
|
+
var tmp$ret$135 = new Provider(tmp_166, tmp$ret$134, creator_32);
|
|
41897
|
+
tmp_165.d63(tmp$ret$135);
|
|
41830
41898
|
// Inline function 'org.kodein.di.bind' call
|
|
41831
41899
|
// Inline function 'org.kodein.type.generic' call
|
|
41832
|
-
var
|
|
41833
|
-
var tmp$ret$136 = isInterface(
|
|
41834
|
-
var
|
|
41900
|
+
var tmp_168 = typeToken(createKType(getKClass(TradeMechanicReducer), arrayOf([]), false));
|
|
41901
|
+
var tmp$ret$136 = isInterface(tmp_168, TypeToken) ? tmp_168 : THROW_CCE();
|
|
41902
|
+
var tmp_169 = $this$Module.f5z(tmp$ret$136, null, null);
|
|
41835
41903
|
// Inline function 'org.kodein.di.provider' call
|
|
41836
41904
|
var creator_33 = getEngineGameModule$lambda$lambda_33;
|
|
41837
|
-
var
|
|
41905
|
+
var tmp_170 = $this$Module.i5z();
|
|
41838
41906
|
// Inline function 'org.kodein.type.generic' call
|
|
41839
|
-
var
|
|
41840
|
-
var tmp$ret$138 = isInterface(
|
|
41841
|
-
var tmp$ret$139 = new Provider(
|
|
41842
|
-
|
|
41907
|
+
var tmp_171 = typeToken(createKType(getKClass(TradeMechanicReducer), arrayOf([]), false));
|
|
41908
|
+
var tmp$ret$138 = isInterface(tmp_171, TypeToken) ? tmp_171 : THROW_CCE();
|
|
41909
|
+
var tmp$ret$139 = new Provider(tmp_170, tmp$ret$138, creator_33);
|
|
41910
|
+
tmp_169.d63(tmp$ret$139);
|
|
41843
41911
|
// Inline function 'org.kodein.di.bind' call
|
|
41844
41912
|
// Inline function 'org.kodein.type.generic' call
|
|
41845
|
-
var
|
|
41846
|
-
var tmp$ret$140 = isInterface(
|
|
41847
|
-
var
|
|
41913
|
+
var tmp_172 = typeToken(createKType(getKClass(EarnPointsMechanicReducer), arrayOf([]), false));
|
|
41914
|
+
var tmp$ret$140 = isInterface(tmp_172, TypeToken) ? tmp_172 : THROW_CCE();
|
|
41915
|
+
var tmp_173 = $this$Module.f5z(tmp$ret$140, null, null);
|
|
41848
41916
|
// Inline function 'org.kodein.di.provider' call
|
|
41849
41917
|
var creator_34 = getEngineGameModule$lambda$lambda_34;
|
|
41850
|
-
var
|
|
41918
|
+
var tmp_174 = $this$Module.i5z();
|
|
41851
41919
|
// Inline function 'org.kodein.type.generic' call
|
|
41852
|
-
var
|
|
41853
|
-
var tmp$ret$142 = isInterface(
|
|
41854
|
-
var tmp$ret$143 = new Provider(
|
|
41855
|
-
|
|
41920
|
+
var tmp_175 = typeToken(createKType(getKClass(EarnPointsMechanicReducer), arrayOf([]), false));
|
|
41921
|
+
var tmp$ret$142 = isInterface(tmp_175, TypeToken) ? tmp_175 : THROW_CCE();
|
|
41922
|
+
var tmp$ret$143 = new Provider(tmp_174, tmp$ret$142, creator_34);
|
|
41923
|
+
tmp_173.d63(tmp$ret$143);
|
|
41924
|
+
// Inline function 'org.kodein.di.bind' call
|
|
41925
|
+
// Inline function 'org.kodein.type.generic' call
|
|
41926
|
+
var tmp_176 = typeToken(createKType(getKClass(MechanicReducers), arrayOf([]), false));
|
|
41927
|
+
var tmp$ret$144 = isInterface(tmp_176, TypeToken) ? tmp_176 : THROW_CCE();
|
|
41928
|
+
var tmp_177 = $this$Module.f5z(tmp$ret$144, null, null);
|
|
41929
|
+
// Inline function 'org.kodein.di.provider' call
|
|
41930
|
+
var creator_35 = getEngineGameModule$lambda$lambda_35;
|
|
41931
|
+
var tmp_178 = $this$Module.i5z();
|
|
41932
|
+
// Inline function 'org.kodein.type.generic' call
|
|
41933
|
+
var tmp_179 = typeToken(createKType(getKClass(MechanicReducers), arrayOf([]), false));
|
|
41934
|
+
var tmp$ret$146 = isInterface(tmp_179, TypeToken) ? tmp_179 : THROW_CCE();
|
|
41935
|
+
var tmp$ret$147 = new Provider(tmp_178, tmp$ret$146, creator_35);
|
|
41936
|
+
tmp_177.d63(tmp$ret$147);
|
|
41856
41937
|
return Unit_instance;
|
|
41857
41938
|
};
|
|
41858
41939
|
}
|
|
@@ -43389,6 +43470,11 @@
|
|
|
43389
43470
|
function CardsInteractor() {
|
|
43390
43471
|
}
|
|
43391
43472
|
function distributeCardsByCycles($this, cardsInCycle, cards, players, playersCards) {
|
|
43473
|
+
// Inline function 'kotlin.require' call
|
|
43474
|
+
if (!(cardsInCycle > 0)) {
|
|
43475
|
+
var message = 'cardsInCycle must be positive, got: ' + cardsInCycle;
|
|
43476
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
43477
|
+
}
|
|
43392
43478
|
// Inline function 'kotlin.collections.maxOf' call
|
|
43393
43479
|
var iterator = players.l();
|
|
43394
43480
|
if (!iterator.m())
|
|
@@ -46117,10 +46203,9 @@
|
|
|
46117
46203
|
}
|
|
46118
46204
|
return destination;
|
|
46119
46205
|
}
|
|
46120
|
-
function applyLeagueRatingCap($this, results, league, ratingConfig) {
|
|
46206
|
+
function applyLeagueRatingCap($this, results, league, ratingConfig, leaguesConfig) {
|
|
46121
46207
|
if (!ratingConfig.applyLeagueRatingCap || league == null)
|
|
46122
46208
|
return results;
|
|
46123
|
-
var leaguesConfig = $this.r8z();
|
|
46124
46209
|
var leagueMaxRating = leaguesConfig.getLeagueInfo(league).maxRating;
|
|
46125
46210
|
// Inline function 'kotlin.collections.map' call
|
|
46126
46211
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -46137,26 +46222,26 @@
|
|
|
46137
46222
|
return destination;
|
|
46138
46223
|
}
|
|
46139
46224
|
function PlayerRatingOutputOrderComparator(players) {
|
|
46140
|
-
this.
|
|
46225
|
+
this.v8z_1 = new PlayerIdOrderComparator(players);
|
|
46141
46226
|
}
|
|
46142
|
-
protoOf(PlayerRatingOutputOrderComparator).
|
|
46143
|
-
return this.
|
|
46227
|
+
protoOf(PlayerRatingOutputOrderComparator).w8z = function (a, b) {
|
|
46228
|
+
return this.v8z_1.a67(a.b77_1, b.b77_1);
|
|
46144
46229
|
};
|
|
46145
46230
|
protoOf(PlayerRatingOutputOrderComparator).compare = function (a, b) {
|
|
46146
46231
|
var tmp = a instanceof PlayerRatingOutput ? a : THROW_CCE();
|
|
46147
|
-
return this.
|
|
46232
|
+
return this.w8z(tmp, b instanceof PlayerRatingOutput ? b : THROW_CCE());
|
|
46148
46233
|
};
|
|
46149
46234
|
function sam$kotlin_Comparator$0_9(function_0) {
|
|
46150
|
-
this.
|
|
46235
|
+
this.x8z_1 = function_0;
|
|
46151
46236
|
}
|
|
46152
46237
|
protoOf(sam$kotlin_Comparator$0_9).fc = function (a, b) {
|
|
46153
|
-
return this.
|
|
46238
|
+
return this.x8z_1(a, b);
|
|
46154
46239
|
};
|
|
46155
46240
|
protoOf(sam$kotlin_Comparator$0_9).compare = function (a, b) {
|
|
46156
46241
|
return this.fc(a, b);
|
|
46157
46242
|
};
|
|
46158
46243
|
protoOf(sam$kotlin_Comparator$0_9).b3 = function () {
|
|
46159
|
-
return this.
|
|
46244
|
+
return this.x8z_1;
|
|
46160
46245
|
};
|
|
46161
46246
|
protoOf(sam$kotlin_Comparator$0_9).equals = function (other) {
|
|
46162
46247
|
var tmp;
|
|
@@ -46183,39 +46268,32 @@
|
|
|
46183
46268
|
return compareValues(tmp, tmp$ret$1);
|
|
46184
46269
|
}
|
|
46185
46270
|
function UserRatingInteractorImpl(ratingCalculator) {
|
|
46186
|
-
this.
|
|
46271
|
+
this.y8z_1 = ratingCalculator;
|
|
46187
46272
|
}
|
|
46188
|
-
protoOf(UserRatingInteractorImpl).p8z = function (league, rating) {
|
|
46189
|
-
var config = this.r8z();
|
|
46273
|
+
protoOf(UserRatingInteractorImpl).p8z = function (league, rating, leaguesConfig) {
|
|
46190
46274
|
var requestedLeagueIndex = get_entries_0().w1(league);
|
|
46191
|
-
var userLeague =
|
|
46275
|
+
var userLeague = leaguesConfig.getLeagueByRating(rating);
|
|
46192
46276
|
var userLeagueIndex = get_entries_0().w1(userLeague);
|
|
46193
46277
|
return userLeagueIndex >= requestedLeagueIndex;
|
|
46194
46278
|
};
|
|
46195
|
-
protoOf(UserRatingInteractorImpl).q8z = function (rating) {
|
|
46196
|
-
|
|
46197
|
-
return config.getLeagueByRating(rating);
|
|
46279
|
+
protoOf(UserRatingInteractorImpl).q8z = function (rating, leaguesConfig) {
|
|
46280
|
+
return leaguesConfig.getLeagueByRating(rating);
|
|
46198
46281
|
};
|
|
46199
|
-
protoOf(UserRatingInteractorImpl).
|
|
46200
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
46201
|
-
return defaultConfig;
|
|
46202
|
-
};
|
|
46203
|
-
protoOf(UserRatingInteractorImpl).a90 = function (ratingList, playersMode, pointsMode, ratingConfig, league) {
|
|
46282
|
+
protoOf(UserRatingInteractorImpl).z8z = function (ratingList, playersMode, pointsMode, ratingConfig, leaguesConfig, league) {
|
|
46204
46283
|
var maxScore = pointsMode.value;
|
|
46205
46284
|
var gameComplexityCoefficient = getGameComplexityFactor(this, playersMode, pointsMode);
|
|
46206
|
-
var leaguesConfig = this.r8z();
|
|
46207
46285
|
var tmp;
|
|
46208
46286
|
switch (playersMode.q2_1) {
|
|
46209
46287
|
case 0:
|
|
46210
46288
|
case 1:
|
|
46211
46289
|
case 2:
|
|
46212
|
-
var tmp1_$this = this.
|
|
46290
|
+
var tmp1_$this = this.y8z_1;
|
|
46213
46291
|
var tmp2_minUserRating = leaguesConfig.minUserRating;
|
|
46214
46292
|
var tmp3_maxUserRating = leaguesConfig.maxUserRating;
|
|
46215
46293
|
tmp = tmp1_$this.n8z(maxScore, tmp2_minUserRating, tmp3_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
46216
46294
|
break;
|
|
46217
46295
|
case 3:
|
|
46218
|
-
var tmp4_$this = this.
|
|
46296
|
+
var tmp4_$this = this.y8z_1;
|
|
46219
46297
|
var tmp5_minUserRating = leaguesConfig.minUserRating;
|
|
46220
46298
|
var tmp6_maxUserRating = leaguesConfig.maxUserRating;
|
|
46221
46299
|
tmp = tmp4_$this.o8z(maxScore, tmp5_minUserRating, tmp6_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
@@ -46225,7 +46303,7 @@
|
|
|
46225
46303
|
break;
|
|
46226
46304
|
}
|
|
46227
46305
|
var results = tmp;
|
|
46228
|
-
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig);
|
|
46306
|
+
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig, leaguesConfig);
|
|
46229
46307
|
// Inline function 'kotlin.collections.map' call
|
|
46230
46308
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46231
46309
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(ratingList, 10));
|
|
@@ -46237,23 +46315,23 @@
|
|
|
46237
46315
|
}
|
|
46238
46316
|
return sortedWith(cappedResults, new PlayerRatingOutputOrderComparator(destination));
|
|
46239
46317
|
};
|
|
46240
|
-
protoOf(UserRatingInteractorImpl).
|
|
46318
|
+
protoOf(UserRatingInteractorImpl).t8z = function (allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig) {
|
|
46241
46319
|
// Inline function 'kotlin.collections.map' call
|
|
46242
46320
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46243
46321
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(allPlayers, 10));
|
|
46244
46322
|
var _iterator__ex2g4s = allPlayers.l();
|
|
46245
46323
|
while (_iterator__ex2g4s.m()) {
|
|
46246
46324
|
var item = _iterator__ex2g4s.n();
|
|
46247
|
-
var tmp$ret$0 = mapToRatingInput(item, winners.u1(item.playerId), determineAgentType$default(this, item, gameDuration), getValue(playerFinalPoints, item.playerId));
|
|
46325
|
+
var tmp$ret$0 = mapToRatingInput(item, winners.u1(item.playerId), determineAgentType$default(this, item, gameDuration), getValue(playerFinalPoints, item.playerId), leaguesConfig);
|
|
46248
46326
|
destination.j(tmp$ret$0);
|
|
46249
46327
|
}
|
|
46250
46328
|
var ratingList = destination;
|
|
46251
46329
|
var tmp0_pointsMode = config.pointsMode;
|
|
46252
46330
|
var tmp1_playersMode = config.playersMode;
|
|
46253
46331
|
var tmp2_league = config.league;
|
|
46254
|
-
return this.
|
|
46332
|
+
return this.z8z(ratingList, tmp1_playersMode, tmp0_pointsMode, ratingConfig, leaguesConfig, tmp2_league);
|
|
46255
46333
|
};
|
|
46256
|
-
protoOf(UserRatingInteractorImpl).
|
|
46334
|
+
protoOf(UserRatingInteractorImpl).r8z = function (leavingPlayer, allPlayers, config, gameDuration, isGameFinished, ratingConfig, leaguesConfig) {
|
|
46257
46335
|
var winnerIds = getWinnersOrFakeItWhenPlayerLeft(this, config, leavingPlayer, allPlayers, isGameFinished);
|
|
46258
46336
|
var playerFinalPoints = getGamePointsOrFakeItWhenPlayerLeft(this, config, leavingPlayer, allPlayers, isGameFinished, winnerIds);
|
|
46259
46337
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -46264,11 +46342,11 @@
|
|
|
46264
46342
|
var item = _iterator__ex2g4s.n();
|
|
46265
46343
|
var isLeavingPlayer = item.playerId === leavingPlayer.playerId;
|
|
46266
46344
|
var isWinner = winnerIds.u1(item.playerId);
|
|
46267
|
-
var tmp$ret$0 = mapToRatingInput(item, isWinner, determineAgentType(this, item, gameDuration, isLeavingPlayer && !isGameFinished), getValue(playerFinalPoints, item.playerId));
|
|
46345
|
+
var tmp$ret$0 = mapToRatingInput(item, isWinner, determineAgentType(this, item, gameDuration, isLeavingPlayer && !isGameFinished), getValue(playerFinalPoints, item.playerId), leaguesConfig);
|
|
46268
46346
|
destination.j(tmp$ret$0);
|
|
46269
46347
|
}
|
|
46270
46348
|
var ratingInputs = destination;
|
|
46271
|
-
var results = this.
|
|
46349
|
+
var results = this.z8z(ratingInputs, config.playersMode, config.pointsMode, ratingConfig, leaguesConfig, config.league);
|
|
46272
46350
|
var tmp$ret$4;
|
|
46273
46351
|
$l$block: {
|
|
46274
46352
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -46285,7 +46363,6 @@
|
|
|
46285
46363
|
return tmp$ret$4;
|
|
46286
46364
|
};
|
|
46287
46365
|
function mapToRatingInput(_this__u8e3s4, isWinner, agentType, finalGamePoints, leaguesConfig) {
|
|
46288
|
-
leaguesConfig = leaguesConfig === VOID ? Companion_instance_12.defaultConfig() : leaguesConfig;
|
|
46289
46366
|
var rating = _this__u8e3s4.p6v_1.getRatingOrDefault(leaguesConfig.initialRating);
|
|
46290
46367
|
var userStatsPayload = getUserProfilePayloadOrDefault(_this__u8e3s4.p6v_1);
|
|
46291
46368
|
var tmp0_playerId = _this__u8e3s4.playerId;
|
|
@@ -46296,8 +46373,8 @@
|
|
|
46296
46373
|
}
|
|
46297
46374
|
function getSceneActPlayerTurn($this, action, table) {
|
|
46298
46375
|
var tmp;
|
|
46299
|
-
if (action.
|
|
46300
|
-
var tmp0 = action.
|
|
46376
|
+
if (action.d90_1 === 'WAITING_ACT') {
|
|
46377
|
+
var tmp0 = action.e90_1;
|
|
46301
46378
|
var tmp$ret$0;
|
|
46302
46379
|
$l$block: {
|
|
46303
46380
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46311,7 +46388,7 @@
|
|
|
46311
46388
|
var tmp_0;
|
|
46312
46389
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46313
46390
|
if (!data.g7f_1.r()) {
|
|
46314
|
-
tmp_0 = PlayerTurnModel_init_$Create$($this.
|
|
46391
|
+
tmp_0 = PlayerTurnModel_init_$Create$($this.g90_1.o8u(action.c90_1, table.gameInfo.round), data.e7f());
|
|
46315
46392
|
} else {
|
|
46316
46393
|
tmp_0 = null;
|
|
46317
46394
|
}
|
|
@@ -46324,12 +46401,12 @@
|
|
|
46324
46401
|
return playerTurnModel;
|
|
46325
46402
|
}
|
|
46326
46403
|
var tmp_1;
|
|
46327
|
-
switch (action.
|
|
46404
|
+
switch (action.c90_1) {
|
|
46328
46405
|
case 'TRADE':
|
|
46329
46406
|
var tmp_2;
|
|
46330
|
-
switch (action.
|
|
46407
|
+
switch (action.d90_1) {
|
|
46331
46408
|
case 'COMBINATION':
|
|
46332
|
-
var tmp0_0 = action.
|
|
46409
|
+
var tmp0_0 = action.e90_1;
|
|
46333
46410
|
var tmp$ret$2;
|
|
46334
46411
|
$l$block_0: {
|
|
46335
46412
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46345,7 +46422,7 @@
|
|
|
46345
46422
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46346
46423
|
|
|
46347
46424
|
if (!data_0.i7f_1.r()) {
|
|
46348
|
-
tmp_3 = PlayerTurnModel_init_$Create$($this.
|
|
46425
|
+
tmp_3 = PlayerTurnModel_init_$Create$($this.g90_1.i90('TRADE', table.gameInfo.round, data_0.k7f()), data_0.e7f());
|
|
46349
46426
|
} else {
|
|
46350
46427
|
tmp_3 = null;
|
|
46351
46428
|
}
|
|
@@ -46353,7 +46430,7 @@
|
|
|
46353
46430
|
tmp_2 = tmp_3;
|
|
46354
46431
|
break;
|
|
46355
46432
|
case 'PLAYER_TURN':
|
|
46356
|
-
var tmp0_1 = action.
|
|
46433
|
+
var tmp0_1 = action.e90_1;
|
|
46357
46434
|
var tmp$ret$4;
|
|
46358
46435
|
$l$block_1: {
|
|
46359
46436
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46366,7 +46443,7 @@
|
|
|
46366
46443
|
|
|
46367
46444
|
var data_1 = tmp$ret$4;
|
|
46368
46445
|
var player = getPlayer(table.players, data_1.e7f());
|
|
46369
|
-
tmp_2 = PlayerTurnModel_init_$Create$($this.
|
|
46446
|
+
tmp_2 = PlayerTurnModel_init_$Create$($this.g90_1.s8u(table.gameInfo.round, player), data_1.e7f());
|
|
46370
46447
|
break;
|
|
46371
46448
|
default:
|
|
46372
46449
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46376,9 +46453,9 @@
|
|
|
46376
46453
|
break;
|
|
46377
46454
|
case 'EARN_POINTS':
|
|
46378
46455
|
var tmp_4;
|
|
46379
|
-
switch (action.
|
|
46456
|
+
switch (action.d90_1) {
|
|
46380
46457
|
case 'COMBINATION':
|
|
46381
|
-
var tmp0_2 = action.
|
|
46458
|
+
var tmp0_2 = action.e90_1;
|
|
46382
46459
|
var tmp$ret$5;
|
|
46383
46460
|
$l$block_2: {
|
|
46384
46461
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46394,7 +46471,7 @@
|
|
|
46394
46471
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46395
46472
|
|
|
46396
46473
|
if (!data_2.i7f_1.r()) {
|
|
46397
|
-
tmp_5 = PlayerTurnModel_init_$Create$($this.
|
|
46474
|
+
tmp_5 = PlayerTurnModel_init_$Create$($this.g90_1.i90('EARN_POINTS', table.gameInfo.round, data_2.k7f()), data_2.e7f());
|
|
46398
46475
|
} else {
|
|
46399
46476
|
tmp_5 = null;
|
|
46400
46477
|
}
|
|
@@ -46402,7 +46479,7 @@
|
|
|
46402
46479
|
tmp_4 = tmp_5;
|
|
46403
46480
|
break;
|
|
46404
46481
|
case 'PLAYER_TURN':
|
|
46405
|
-
var tmp0_3 = action.
|
|
46482
|
+
var tmp0_3 = action.e90_1;
|
|
46406
46483
|
var tmp$ret$7;
|
|
46407
46484
|
$l$block_3: {
|
|
46408
46485
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46415,7 +46492,7 @@
|
|
|
46415
46492
|
|
|
46416
46493
|
var data_3 = tmp$ret$7;
|
|
46417
46494
|
var nextPlayerTurn = getPlayer(table.players, data_3.e7f());
|
|
46418
|
-
tmp_4 = PlayerTurnModel_init_$Create$($this.
|
|
46495
|
+
tmp_4 = PlayerTurnModel_init_$Create$($this.g90_1.t8u(table.gameInfo.round, VOID, table.cardsOnTable.o()), nextPlayerTurn.playerId);
|
|
46419
46496
|
break;
|
|
46420
46497
|
default:
|
|
46421
46498
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46430,7 +46507,7 @@
|
|
|
46430
46507
|
}
|
|
46431
46508
|
function getScenePlayerTurn($this, action, table) {
|
|
46432
46509
|
var tmp;
|
|
46433
|
-
switch (action.
|
|
46510
|
+
switch (action.k90_1) {
|
|
46434
46511
|
case 'CHOOSE_PARTNER':
|
|
46435
46512
|
var tmp0 = action.sceneData;
|
|
46436
46513
|
var tmp$ret$0;
|
|
@@ -46444,13 +46521,13 @@
|
|
|
46444
46521
|
}
|
|
46445
46522
|
|
|
46446
46523
|
var data = tmp$ret$0;
|
|
46447
|
-
tmp = PlayerTurnModel_init_$Create$($this.
|
|
46524
|
+
tmp = PlayerTurnModel_init_$Create$($this.g90_1.p8u(table.gameInfo.round), data.e7f());
|
|
46448
46525
|
break;
|
|
46449
46526
|
case 'TRADE':
|
|
46450
46527
|
case 'EARN_POINTS':
|
|
46451
46528
|
// Inline function 'kotlin.requireNotNull' call
|
|
46452
46529
|
|
|
46453
|
-
var tmp0_0 = action.
|
|
46530
|
+
var tmp0_0 = action.l90_1;
|
|
46454
46531
|
var tmp$ret$2;
|
|
46455
46532
|
$l$block_0: {
|
|
46456
46533
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -46464,7 +46541,7 @@
|
|
|
46464
46541
|
}
|
|
46465
46542
|
|
|
46466
46543
|
var tmp$ret$3 = tmp$ret$2;
|
|
46467
|
-
var tmp1_action = new SceneActMechanicAction(action.
|
|
46544
|
+
var tmp1_action = new SceneActMechanicAction(action.k90_1, tmp$ret$3, action.m90_1);
|
|
46468
46545
|
tmp = getSceneActPlayerTurn($this, tmp1_action, table);
|
|
46469
46546
|
break;
|
|
46470
46547
|
case 'CALC_POINTS':
|
|
@@ -46480,7 +46557,7 @@
|
|
|
46480
46557
|
}
|
|
46481
46558
|
|
|
46482
46559
|
var data_0 = tmp$ret$4;
|
|
46483
|
-
tmp = new PlayerTurnModel($this.
|
|
46560
|
+
tmp = new PlayerTurnModel($this.g90_1.q8u(table.gameInfo.round), data_0.g7g_1);
|
|
46484
46561
|
break;
|
|
46485
46562
|
default:
|
|
46486
46563
|
tmp = null;
|
|
@@ -46491,15 +46568,15 @@
|
|
|
46491
46568
|
function getSelectSuitPlayerTurn($this, action, table) {
|
|
46492
46569
|
var tmp;
|
|
46493
46570
|
var tmp_0;
|
|
46494
|
-
if (action.
|
|
46571
|
+
if (action.o90_1 == null) {
|
|
46495
46572
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46496
|
-
tmp_0 = !action.
|
|
46573
|
+
tmp_0 = !action.r90_1.r();
|
|
46497
46574
|
} else {
|
|
46498
46575
|
tmp_0 = false;
|
|
46499
46576
|
}
|
|
46500
46577
|
if (tmp_0) {
|
|
46501
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46502
|
-
var tmp0_$this = $this.
|
|
46578
|
+
var nextPlayerTurn = getPlayer(table.players, single(action.r90_1));
|
|
46579
|
+
var tmp0_$this = $this.g90_1;
|
|
46503
46580
|
var tmp1_round = table.gameInfo.round;
|
|
46504
46581
|
tmp = PlayerTurnModel_init_$Create$(tmp0_$this.s8u(tmp1_round, nextPlayerTurn), nextPlayerTurn.playerId);
|
|
46505
46582
|
} else {
|
|
@@ -46510,28 +46587,28 @@
|
|
|
46510
46587
|
function getPutCardPlayerTurn($this, action, table) {
|
|
46511
46588
|
var tmp;
|
|
46512
46589
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46513
|
-
if (!action.
|
|
46514
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46515
|
-
tmp = PlayerTurnModel_init_$Create$($this.
|
|
46590
|
+
if (!action.x90_1.r()) {
|
|
46591
|
+
var nextPlayerTurn = getPlayer(table.players, single(action.x90_1));
|
|
46592
|
+
tmp = PlayerTurnModel_init_$Create$($this.g90_1.t8u(table.gameInfo.round, VOID, table.cardsOnTable.o()), nextPlayerTurn.playerId);
|
|
46516
46593
|
} else {
|
|
46517
46594
|
tmp = null;
|
|
46518
46595
|
}
|
|
46519
46596
|
return tmp;
|
|
46520
46597
|
}
|
|
46521
46598
|
function getPickUpBribePlayerTurn($this, action, table) {
|
|
46522
|
-
var nextPlayerTurn = getPlayer(table.players, action.
|
|
46599
|
+
var nextPlayerTurn = getPlayer(table.players, action.z90_1);
|
|
46523
46600
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46524
46601
|
if (!nextPlayerTurn.r6v_1.r()) {
|
|
46525
|
-
var tmp0_$this = $this.
|
|
46526
|
-
var tmp1_numberOfBribe = action.
|
|
46602
|
+
var tmp0_$this = $this.g90_1;
|
|
46603
|
+
var tmp1_numberOfBribe = action.a91_1 + 1 | 0;
|
|
46527
46604
|
var tmp2_round = table.gameInfo.round;
|
|
46528
|
-
return PlayerTurnModel_init_$Create$(tmp0_$this.
|
|
46605
|
+
return PlayerTurnModel_init_$Create$(tmp0_$this.d91(tmp2_round, tmp1_numberOfBribe, 0), action.z90_1);
|
|
46529
46606
|
}
|
|
46530
46607
|
return null;
|
|
46531
46608
|
}
|
|
46532
46609
|
function PlayerTurnInteractorImpl(playerTurnTagProvider, logger) {
|
|
46533
|
-
this.
|
|
46534
|
-
this.
|
|
46610
|
+
this.g90_1 = playerTurnTagProvider;
|
|
46611
|
+
this.h90_1 = logger;
|
|
46535
46612
|
}
|
|
46536
46613
|
protoOf(PlayerTurnInteractorImpl).x8y = function (currentPlayerTurnId, players, rules) {
|
|
46537
46614
|
var tmp;
|
|
@@ -46542,7 +46619,7 @@
|
|
|
46542
46619
|
}
|
|
46543
46620
|
return tmp;
|
|
46544
46621
|
};
|
|
46545
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46622
|
+
protoOf(PlayerTurnInteractorImpl).a90 = function (action, table) {
|
|
46546
46623
|
var tmp;
|
|
46547
46624
|
if (action instanceof SceneMechanicAction) {
|
|
46548
46625
|
tmp = getScenePlayerTurn(this, action, table);
|
|
@@ -46567,7 +46644,7 @@
|
|
|
46567
46644
|
}
|
|
46568
46645
|
return tmp;
|
|
46569
46646
|
};
|
|
46570
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46647
|
+
protoOf(PlayerTurnInteractorImpl).b90 = function (player, action) {
|
|
46571
46648
|
var playerState = player.q6v_1;
|
|
46572
46649
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
46573
46650
|
var this_0 = playerState.k67_1;
|
|
@@ -46581,7 +46658,7 @@
|
|
|
46581
46658
|
function PlayerTurnTagProvider(logger) {
|
|
46582
46659
|
this.n8u_1 = logger;
|
|
46583
46660
|
}
|
|
46584
|
-
protoOf(PlayerTurnTagProvider).
|
|
46661
|
+
protoOf(PlayerTurnTagProvider).e91 = function (action, table) {
|
|
46585
46662
|
var tmp;
|
|
46586
46663
|
if (action instanceof RequestedCardDecksFromClientAction) {
|
|
46587
46664
|
tmp = this.o8u('WAITING', table.gameInfo.round);
|
|
@@ -46615,7 +46692,7 @@
|
|
|
46615
46692
|
}
|
|
46616
46693
|
return tmp;
|
|
46617
46694
|
};
|
|
46618
|
-
protoOf(PlayerTurnTagProvider).
|
|
46695
|
+
protoOf(PlayerTurnTagProvider).f91 = function (answerAction, table) {
|
|
46619
46696
|
var tmp;
|
|
46620
46697
|
if (answerAction instanceof SceneMechanicAction) {
|
|
46621
46698
|
tmp = this.o8u('WAITING', table.gameInfo.round);
|
|
@@ -46653,12 +46730,12 @@
|
|
|
46653
46730
|
protoOf(PlayerTurnTagProvider).s8u = function (round, player) {
|
|
46654
46731
|
return 'v5:TRADE:' + ('circle_' + player.s6v_1.n70_1.p74_1 + ':') + ('round_' + round.roundNumber);
|
|
46655
46732
|
};
|
|
46656
|
-
protoOf(PlayerTurnTagProvider).
|
|
46733
|
+
protoOf(PlayerTurnTagProvider).d91 = function (round, numberOfBribe, cardNumber) {
|
|
46657
46734
|
return 'v5:EARN_POINTS:' + ('bribe_' + numberOfBribe + ':') + ('number_' + cardNumber + ':') + ('round_' + round.roundNumber);
|
|
46658
46735
|
};
|
|
46659
46736
|
protoOf(PlayerTurnTagProvider).t8u = function (round, numberOfBribe, cardNumber, $super) {
|
|
46660
46737
|
numberOfBribe = numberOfBribe === VOID ? round.nextBribeNumber : numberOfBribe;
|
|
46661
|
-
return $super === VOID ? this.
|
|
46738
|
+
return $super === VOID ? this.d91(round, numberOfBribe, cardNumber) : $super.d91.call(this, round, numberOfBribe, cardNumber);
|
|
46662
46739
|
};
|
|
46663
46740
|
protoOf(PlayerTurnTagProvider).q8u = function (round) {
|
|
46664
46741
|
return 'v5:CALC_POINTS:' + ('round_' + round.roundNumber);
|
|
@@ -46666,7 +46743,7 @@
|
|
|
46666
46743
|
protoOf(PlayerTurnTagProvider).o8u = function (sceneId, round) {
|
|
46667
46744
|
return 'v5:' + (sceneId + ':') + 'waiting:' + ('round_' + round.roundNumber);
|
|
46668
46745
|
};
|
|
46669
|
-
protoOf(PlayerTurnTagProvider).
|
|
46746
|
+
protoOf(PlayerTurnTagProvider).i90 = function (sceneId, round, type) {
|
|
46670
46747
|
return 'v5:' + (sceneId + ':') + 'COMBINATION:' + (type.toString() + ':') + ('round_' + round.roundNumber);
|
|
46671
46748
|
};
|
|
46672
46749
|
protoOf(PlayerTurnTagProvider).r8u = function (sceneInfo, round) {
|
|
@@ -46692,9 +46769,9 @@
|
|
|
46692
46769
|
this.n8u_1.w(VOID, "Can't find tag for COMBINATION_ACT " + sceneInfo.toString());
|
|
46693
46770
|
return null;
|
|
46694
46771
|
}
|
|
46695
|
-
return this.
|
|
46772
|
+
return this.i90(sceneInfo.r81_1, round, combinationType);
|
|
46696
46773
|
};
|
|
46697
|
-
protoOf(PlayerTurnTagProvider).
|
|
46774
|
+
protoOf(PlayerTurnTagProvider).g91 = function (tag, round) {
|
|
46698
46775
|
var versionName = Companion_instance_2.v65(tag);
|
|
46699
46776
|
if (versionName === 'v5') {
|
|
46700
46777
|
return tag;
|
|
@@ -46717,11 +46794,11 @@
|
|
|
46717
46794
|
return tmp.a9();
|
|
46718
46795
|
}
|
|
46719
46796
|
function generateRandomData($this, table, cardDeck, cardsInCycle) {
|
|
46720
|
-
if (!$this.
|
|
46797
|
+
if (!$this.c92_1.shouldDisplayDealerStrategy) {
|
|
46721
46798
|
return null;
|
|
46722
46799
|
}
|
|
46723
|
-
var decksRecord = $this.
|
|
46724
|
-
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.
|
|
46800
|
+
var decksRecord = $this.b92_1.getGame(table.gameId);
|
|
46801
|
+
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.c92_1);
|
|
46725
46802
|
if (!(decksRecord == null)) {
|
|
46726
46803
|
var tmp0_id = decksRecord.poolId;
|
|
46727
46804
|
var tmp1_signature = decksRecord.signature;
|
|
@@ -46731,7 +46808,7 @@
|
|
|
46731
46808
|
var tmp3_safe_receiver = table.gameHistory.metadata;
|
|
46732
46809
|
var previousRandomData = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.randomData;
|
|
46733
46810
|
var tmp5_elvis_lhs = previousRandomData == null ? null : previousRandomData.id;
|
|
46734
|
-
var tmp9_id = tmp5_elvis_lhs == null ? $this.
|
|
46811
|
+
var tmp9_id = tmp5_elvis_lhs == null ? $this.s91_1.h6e() : tmp5_elvis_lhs;
|
|
46735
46812
|
var tmp10_signature = previousRandomData == null ? null : previousRandomData.signature;
|
|
46736
46813
|
var tmp8_elvis_lhs = previousRandomData == null ? null : previousRandomData.indexes;
|
|
46737
46814
|
var tmp11_indexes = tmp8_elvis_lhs == null ? emptyList() : tmp8_elvis_lhs;
|
|
@@ -46836,13 +46913,13 @@
|
|
|
46836
46913
|
}
|
|
46837
46914
|
function createEarnPointsData($this, table) {
|
|
46838
46915
|
var cardDeck = table.requireCardDeck;
|
|
46839
|
-
var tmp0_$this = $this.
|
|
46916
|
+
var tmp0_$this = $this.u91_1;
|
|
46840
46917
|
var tmp1_cards = cardDeck.n7q_1;
|
|
46841
46918
|
var tmp2_trumpCard = cardDeck.o7q_1;
|
|
46842
46919
|
var tmp3_players = table.players;
|
|
46843
46920
|
var tmp4_selectedTrump = table.gameInfo.round.selectedTrump;
|
|
46844
46921
|
var tmp5_config = table.config;
|
|
46845
|
-
var tmp6_cardsInCycle = $this.
|
|
46922
|
+
var tmp6_cardsInCycle = $this.c92_1.cardsInCycle;
|
|
46846
46923
|
var secondRoundCards = tmp0_$this.q8v(tmp1_cards, tmp2_trumpCard, tmp4_selectedTrump, tmp3_players, tmp5_config, tmp6_cardsInCycle);
|
|
46847
46924
|
// Inline function 'kotlin.collections.associate' call
|
|
46848
46925
|
var this_0 = table.players;
|
|
@@ -46857,7 +46934,7 @@
|
|
|
46857
46934
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46858
46935
|
}
|
|
46859
46936
|
var allPlayersCards = destination;
|
|
46860
|
-
var combinations = $this.
|
|
46937
|
+
var combinations = $this.x91_1.c8v(allPlayersCards, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
46861
46938
|
// Inline function 'kotlin.collections.mapValues' call
|
|
46862
46939
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
46863
46940
|
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(combinations.o()));
|
|
@@ -46879,10 +46956,10 @@
|
|
|
46879
46956
|
}
|
|
46880
46957
|
destination_0.f2(tmp, destination_1);
|
|
46881
46958
|
}
|
|
46882
|
-
return new EarnPointsSceneData(secondRoundCards.a8w_1, destination_0, secondRoundCards.c8w_1, $this.
|
|
46959
|
+
return new EarnPointsSceneData(secondRoundCards.a8w_1, destination_0, secondRoundCards.c8w_1, $this.w91_1.z8y(table.players, table.config.rules).playerId);
|
|
46883
46960
|
}
|
|
46884
46961
|
function createCalcPointsData($this, table) {
|
|
46885
|
-
var calculatedPoints = $this.
|
|
46962
|
+
var calculatedPoints = $this.v91_1.g8z(table.players, table.config, table.gameInfo.round);
|
|
46886
46963
|
var tmp;
|
|
46887
46964
|
if (!(calculatedPoints.j76_1 == null) && $this.e92_1.updateRating) {
|
|
46888
46965
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -46914,7 +46991,7 @@
|
|
|
46914
46991
|
var pair = to(tmp_0, getPlayer(tmp$ret$1.m76_1, element.playerId).u76_1);
|
|
46915
46992
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46916
46993
|
}
|
|
46917
|
-
tmp = $this.
|
|
46994
|
+
tmp = $this.a92_1.u8z(table.players, table.config, calculatedPoints.j76_1, destination, table.gameDuration, VOID, $this.d92_1);
|
|
46918
46995
|
} else {
|
|
46919
46996
|
tmp = null;
|
|
46920
46997
|
}
|
|
@@ -47029,8 +47106,8 @@
|
|
|
47029
47106
|
};
|
|
47030
47107
|
function $createTradeSceneDataCOROUTINE$(_this__u8e3s4, table, resultContinuation) {
|
|
47031
47108
|
CoroutineImpl.call(this, resultContinuation);
|
|
47032
|
-
this.
|
|
47033
|
-
this.
|
|
47109
|
+
this.p91_1 = _this__u8e3s4;
|
|
47110
|
+
this.q91_1 = table;
|
|
47034
47111
|
}
|
|
47035
47112
|
protoOf($createTradeSceneDataCOROUTINE$).a9 = function () {
|
|
47036
47113
|
var suspendResult = this.u8_1;
|
|
@@ -47040,14 +47117,14 @@
|
|
|
47040
47117
|
switch (tmp) {
|
|
47041
47118
|
case 0:
|
|
47042
47119
|
this.t8_1 = 2;
|
|
47043
|
-
this.
|
|
47044
|
-
var tmp1_$this = this.
|
|
47045
|
-
var tmp2_dealerStrategy = this.
|
|
47046
|
-
var tmp0_safe_receiver = firstOrNull(this.
|
|
47120
|
+
this.r91_1 = this.p91_1.w91_1.y8y(this.q91_1.players, this.q91_1.gameInfo.round, this.q91_1.config);
|
|
47121
|
+
var tmp1_$this = this.p91_1.t91_1;
|
|
47122
|
+
var tmp2_dealerStrategy = this.q91_1.config.getDealerStrategyOrDefault(this.p91_1.c92_1);
|
|
47123
|
+
var tmp0_safe_receiver = firstOrNull(this.q91_1.requestedCardDecks);
|
|
47047
47124
|
var tmp3_requestedCards = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d7u();
|
|
47048
|
-
var tmp4_previousRound = this.
|
|
47049
|
-
var tmp5_approximateRoundCountForGame = getApproximateRoundsForGame(this.
|
|
47050
|
-
var this_0 = this.
|
|
47125
|
+
var tmp4_previousRound = this.q91_1.gameInfo.n7u_1;
|
|
47126
|
+
var tmp5_approximateRoundCountForGame = getApproximateRoundsForGame(this.p91_1, this.q91_1.config.playersMode, this.q91_1.config.pointsMode);
|
|
47127
|
+
var this_0 = this.q91_1.players;
|
|
47051
47128
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
47052
47129
|
var _iterator__ex2g4s = this_0.l();
|
|
47053
47130
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -47055,7 +47132,7 @@
|
|
|
47055
47132
|
destination.j(new UserInfoData(item.playerId, item.p6v_1.name));
|
|
47056
47133
|
}
|
|
47057
47134
|
|
|
47058
|
-
var tmp6_userData = new CardDeckRequestUserData(destination, this.
|
|
47135
|
+
var tmp6_userData = new CardDeckRequestUserData(destination, this.q91_1.gameId);
|
|
47059
47136
|
this.s8_1 = 1;
|
|
47060
47137
|
suspendResult = tmp1_$this.f8w(tmp4_previousRound, tmp5_approximateRoundCountForGame, tmp6_userData, tmp2_dealerStrategy, tmp3_requestedCards, this);
|
|
47061
47138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -47065,22 +47142,22 @@
|
|
|
47065
47142
|
continue $sm;
|
|
47066
47143
|
case 1:
|
|
47067
47144
|
var cardsInTheCardDeck = suspendResult;
|
|
47068
|
-
var this_1 = this.
|
|
47145
|
+
var this_1 = this.q91_1.players;
|
|
47069
47146
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
47070
47147
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
47071
47148
|
while (_iterator__ex2g4s_0.m()) {
|
|
47072
47149
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
47073
|
-
destination_0.j(this.
|
|
47150
|
+
destination_0.j(this.p91_1.y91_1.t92(item_0, emptyList(), this.r91_1.playerId));
|
|
47074
47151
|
}
|
|
47075
47152
|
|
|
47076
47153
|
var players = destination_0;
|
|
47077
|
-
var cardsInCycle = this.
|
|
47078
|
-
var firstRoundCards = this.
|
|
47154
|
+
var cardsInCycle = this.p91_1.c92_1.cardsInCycle;
|
|
47155
|
+
var firstRoundCards = this.p91_1.u91_1.p8v(cardsInTheCardDeck, players, this.q91_1.config, cardsInCycle);
|
|
47079
47156
|
var tmp7_playersCards = firstRoundCards.x8v_1;
|
|
47080
47157
|
var tmp8_otherCards = firstRoundCards.y8v_1;
|
|
47081
47158
|
var tmp9_trumpCard = firstRoundCards.z8v_1;
|
|
47082
|
-
var tmp10_whoShuffleCardsPlayerId = this.
|
|
47083
|
-
var tmp11_randomData = generateRandomData(this.
|
|
47159
|
+
var tmp10_whoShuffleCardsPlayerId = this.r91_1.playerId;
|
|
47160
|
+
var tmp11_randomData = generateRandomData(this.p91_1, this.q91_1, cardsInTheCardDeck, cardsInCycle);
|
|
47084
47161
|
return new TradeSceneData(tmp7_playersCards, tmp11_randomData, tmp9_trumpCard, tmp8_otherCards, tmp10_whoShuffleCardsPlayerId);
|
|
47085
47162
|
case 2:
|
|
47086
47163
|
throw this.v8_1;
|
|
@@ -47096,18 +47173,19 @@
|
|
|
47096
47173
|
}
|
|
47097
47174
|
while (true);
|
|
47098
47175
|
};
|
|
47099
|
-
function SceneFactory(idsProvider, dealerInteractor, cardsInteractor, pointsInteractor, playerOptionsInteractor, combinationsInteractor, playerSceneReducer, playerTurnInteractor, userRatingInteractor, randomPoolProvider, dealerConfig, engineLogicConfig, logger) {
|
|
47100
|
-
this.
|
|
47101
|
-
this.
|
|
47102
|
-
this.
|
|
47103
|
-
this.
|
|
47104
|
-
this.
|
|
47105
|
-
this.
|
|
47106
|
-
this.
|
|
47107
|
-
this.
|
|
47108
|
-
this.
|
|
47109
|
-
this.
|
|
47110
|
-
this.
|
|
47176
|
+
function SceneFactory(idsProvider, dealerInteractor, cardsInteractor, pointsInteractor, playerOptionsInteractor, combinationsInteractor, playerSceneReducer, playerTurnInteractor, userRatingInteractor, randomPoolProvider, dealerConfig, leaguesConfig, engineLogicConfig, logger) {
|
|
47177
|
+
this.s91_1 = idsProvider;
|
|
47178
|
+
this.t91_1 = dealerInteractor;
|
|
47179
|
+
this.u91_1 = cardsInteractor;
|
|
47180
|
+
this.v91_1 = pointsInteractor;
|
|
47181
|
+
this.w91_1 = playerOptionsInteractor;
|
|
47182
|
+
this.x91_1 = combinationsInteractor;
|
|
47183
|
+
this.y91_1 = playerSceneReducer;
|
|
47184
|
+
this.z91_1 = playerTurnInteractor;
|
|
47185
|
+
this.a92_1 = userRatingInteractor;
|
|
47186
|
+
this.b92_1 = randomPoolProvider;
|
|
47187
|
+
this.c92_1 = dealerConfig;
|
|
47188
|
+
this.d92_1 = leaguesConfig;
|
|
47111
47189
|
this.e92_1 = engineLogicConfig;
|
|
47112
47190
|
this.f92_1 = logger;
|
|
47113
47191
|
}
|
|
@@ -47139,7 +47217,7 @@
|
|
|
47139
47217
|
}
|
|
47140
47218
|
|
|
47141
47219
|
var tradeSceneData = tmp$ret$0;
|
|
47142
|
-
tmp_0 = PlayersTurnActData_init_$Create$(this.
|
|
47220
|
+
tmp_0 = PlayersTurnActData_init_$Create$(this.z91_1.x8y(tradeSceneData.v7g_1, table.players, table.config.rules), null);
|
|
47143
47221
|
break;
|
|
47144
47222
|
case 'EARN_POINTS':
|
|
47145
47223
|
var tmp$ret$1;
|
|
@@ -47185,7 +47263,7 @@
|
|
|
47185
47263
|
}
|
|
47186
47264
|
var previousCombinations = sortByPriority(destination);
|
|
47187
47265
|
// Inline function 'kotlin.collections.map' call
|
|
47188
|
-
var this_1 = this.
|
|
47266
|
+
var this_1 = this.x91_1.d8v(playerId, player.r6v_1, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
47189
47267
|
// Inline function 'kotlin.collections.mapTo' call
|
|
47190
47268
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
47191
47269
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
@@ -48629,21 +48707,21 @@
|
|
|
48629
48707
|
return new StartNewGameMechanicAction(tmp1_previousGameId, tmp0_gameId, tmp2_aid);
|
|
48630
48708
|
}
|
|
48631
48709
|
function mapFromClientDto_2(_this__u8e3s4, payload) {
|
|
48632
|
-
return new ContinueGameMechanicAction(mapFromClient_0(
|
|
48710
|
+
return new ContinueGameMechanicAction(mapFromClient_0(mapFromDto_70(_this__u8e3s4.n7k_1), payload), _this__u8e3s4.o7k_1, _this__u8e3s4.p7k_1, _this__u8e3s4.q7k_1);
|
|
48633
48711
|
}
|
|
48634
48712
|
function mapFromClientDto_3(_this__u8e3s4) {
|
|
48635
48713
|
var tmp = mapFromDto_1(_this__u8e3s4.f7l_1);
|
|
48636
48714
|
var tmp0_elvis_lhs = _this__u8e3s4.h7l_1;
|
|
48637
48715
|
var tmp_0 = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48638
48716
|
var tmp1_safe_receiver = _this__u8e3s4.g7l_1;
|
|
48639
|
-
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null :
|
|
48717
|
+
return new FinishingGameMechanicAction(tmp, tmp_0, tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver), VOID, VOID, VOID, _this__u8e3s4.i7l_1);
|
|
48640
48718
|
}
|
|
48641
48719
|
function mapFromClientDto_4(_this__u8e3s4) {
|
|
48642
48720
|
var tmp2_reason = mapFromDto_1(_this__u8e3s4.y7k_1);
|
|
48643
48721
|
var tmp0_elvis_lhs = _this__u8e3s4.a7l_1;
|
|
48644
48722
|
var tmp3_isGameFinished = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48645
48723
|
var tmp1_safe_receiver = _this__u8e3s4.z7k_1;
|
|
48646
|
-
var tmp4_transition = tmp1_safe_receiver == null ? null :
|
|
48724
|
+
var tmp4_transition = tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver);
|
|
48647
48725
|
var tmp5_aid = _this__u8e3s4.b7l_1;
|
|
48648
48726
|
return new FinishGameMechanicAction(tmp2_reason, tmp3_isGameFinished, tmp5_aid, tmp4_transition);
|
|
48649
48727
|
}
|
|
@@ -48654,18 +48732,18 @@
|
|
|
48654
48732
|
var tmp4_currentTurnPlayerId = _this__u8e3s4.i7n_1;
|
|
48655
48733
|
var tmp5_sceneId = _this__u8e3s4.j7n_1;
|
|
48656
48734
|
var tmp0_safe_receiver = _this__u8e3s4.l7n_1;
|
|
48657
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48735
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
48658
48736
|
var tmp6_sceneData = tmp1_safe_receiver == null ? null : mapFromClientData_1(tmp1_safe_receiver, payload);
|
|
48659
48737
|
var tmp7_actId = _this__u8e3s4.k7n_1;
|
|
48660
48738
|
var tmp2_safe_receiver = _this__u8e3s4.m7n_1;
|
|
48661
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null :
|
|
48739
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : mapFromDto_91(tmp2_safe_receiver);
|
|
48662
48740
|
var tmp8_actData = tmp3_safe_receiver == null ? null : mapFromClientData(tmp3_safe_receiver, payload);
|
|
48663
48741
|
var tmp9_aid = _this__u8e3s4.n7n_1;
|
|
48664
48742
|
return new SceneMechanicAction(tmp4_currentTurnPlayerId, tmp5_sceneId, tmp7_actId, tmp6_sceneData, tmp8_actData, tmp9_aid);
|
|
48665
48743
|
}
|
|
48666
48744
|
function mapFromClientDto_7(_this__u8e3s4, payload) {
|
|
48667
48745
|
var tmp0_safe_receiver = _this__u8e3s4.c7n_1;
|
|
48668
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48746
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_91(tmp0_safe_receiver);
|
|
48669
48747
|
return new SceneActMechanicAction(_this__u8e3s4.a7n_1, _this__u8e3s4.b7n_1, tmp1_safe_receiver == null ? null : mapFromClientData(tmp1_safe_receiver, payload), _this__u8e3s4.d7n_1);
|
|
48670
48748
|
}
|
|
48671
48749
|
function mapFromClientDto_8(_this__u8e3s4) {
|
|
@@ -48772,7 +48850,7 @@
|
|
|
48772
48850
|
return new WinnerCombinationsMechanicAction(destination, _this__u8e3s4.f7p_1);
|
|
48773
48851
|
}
|
|
48774
48852
|
function mapFromClientDto_17(_this__u8e3s4) {
|
|
48775
|
-
return new MessageMechanicAction(
|
|
48853
|
+
return new MessageMechanicAction(mapFromDto_47(_this__u8e3s4.n7l_1, true), _this__u8e3s4.o7l_1);
|
|
48776
48854
|
}
|
|
48777
48855
|
function mapFromClientDto_18(_this__u8e3s4) {
|
|
48778
48856
|
var tmp0_elvis_lhs = _this__u8e3s4.a7m_1;
|
|
@@ -48827,21 +48905,21 @@
|
|
|
48827
48905
|
return new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload);
|
|
48828
48906
|
}
|
|
48829
48907
|
function mapToClient_13(_this__u8e3s4, payload) {
|
|
48830
|
-
var tmp2_currentTurnPlayerId = _this__u8e3s4.
|
|
48908
|
+
var tmp2_currentTurnPlayerId = _this__u8e3s4.j90_1;
|
|
48831
48909
|
var tmp3_deliveryPayload = mapToActionDeliveryPayload(payload);
|
|
48832
|
-
var tmp4_sceneId = _this__u8e3s4.
|
|
48910
|
+
var tmp4_sceneId = _this__u8e3s4.k90_1;
|
|
48833
48911
|
var tmp0_safe_receiver = _this__u8e3s4.sceneData;
|
|
48834
48912
|
var tmp5_clientScenePayload = tmp0_safe_receiver == null ? null : mapToClientData_1(tmp0_safe_receiver, payload);
|
|
48835
|
-
var tmp6_actId = _this__u8e3s4.
|
|
48836
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
48913
|
+
var tmp6_actId = _this__u8e3s4.l90_1;
|
|
48914
|
+
var tmp1_safe_receiver = _this__u8e3s4.m90_1;
|
|
48837
48915
|
var tmp7_clientActPayload = tmp1_safe_receiver == null ? null : mapToClientData(tmp1_safe_receiver, payload);
|
|
48838
48916
|
return new SceneToClientAction(tmp2_currentTurnPlayerId, tmp4_sceneId, tmp6_actId, tmp5_clientScenePayload, tmp7_clientActPayload, tmp3_deliveryPayload);
|
|
48839
48917
|
}
|
|
48840
48918
|
function mapToClient_14(_this__u8e3s4, payload) {
|
|
48841
48919
|
var tmp1_deliveryPayload = mapToActionDeliveryPayload(payload);
|
|
48842
|
-
var tmp2_sceneId = _this__u8e3s4.
|
|
48843
|
-
var tmp3_actId = _this__u8e3s4.
|
|
48844
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
48920
|
+
var tmp2_sceneId = _this__u8e3s4.c90_1;
|
|
48921
|
+
var tmp3_actId = _this__u8e3s4.d90_1;
|
|
48922
|
+
var tmp0_safe_receiver = _this__u8e3s4.e90_1;
|
|
48845
48923
|
var tmp4_clientActPayload = tmp0_safe_receiver == null ? null : mapToClientData(tmp0_safe_receiver, payload);
|
|
48846
48924
|
return new SceneActToClientAction(tmp2_sceneId, tmp3_actId, tmp4_clientActPayload, tmp1_deliveryPayload);
|
|
48847
48925
|
}
|
|
@@ -48869,10 +48947,10 @@
|
|
|
48869
48947
|
}
|
|
48870
48948
|
function mapToClient_17(_this__u8e3s4, payload) {
|
|
48871
48949
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48872
|
-
var tmp1_playerId = _this__u8e3s4.
|
|
48873
|
-
var tmp2_suit = _this__u8e3s4.
|
|
48874
|
-
var tmp3_nextTurnPlayerId = singleOrNull(_this__u8e3s4.
|
|
48875
|
-
var tmp4_restartRound = _this__u8e3s4.
|
|
48950
|
+
var tmp1_playerId = _this__u8e3s4.q90_1;
|
|
48951
|
+
var tmp2_suit = _this__u8e3s4.o90_1;
|
|
48952
|
+
var tmp3_nextTurnPlayerId = singleOrNull(_this__u8e3s4.r90_1);
|
|
48953
|
+
var tmp4_restartRound = _this__u8e3s4.p90_1;
|
|
48876
48954
|
return new SuitChoiceToClientAction(tmp1_playerId, tmp2_suit, tmp3_nextTurnPlayerId, tmp4_restartRound, tmp0_deliveryPayload);
|
|
48877
48955
|
}
|
|
48878
48956
|
function mapToClient_18(_this__u8e3s4, payload) {
|
|
@@ -48889,18 +48967,18 @@
|
|
|
48889
48967
|
}
|
|
48890
48968
|
function mapToClient_20(_this__u8e3s4, payload) {
|
|
48891
48969
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48892
|
-
var tmp1_playerId = _this__u8e3s4.
|
|
48893
|
-
var tmp2_card = _this__u8e3s4.
|
|
48894
|
-
var tmp3_combinations = _this__u8e3s4.
|
|
48895
|
-
var tmp4_canNextPlayerTakeAllCards = _this__u8e3s4.
|
|
48896
|
-
var tmp5_nextTurnPlayerId = singleOrNull(_this__u8e3s4.
|
|
48970
|
+
var tmp1_playerId = _this__u8e3s4.w90_1;
|
|
48971
|
+
var tmp2_card = _this__u8e3s4.t90_1;
|
|
48972
|
+
var tmp3_combinations = _this__u8e3s4.u90_1;
|
|
48973
|
+
var tmp4_canNextPlayerTakeAllCards = _this__u8e3s4.v90_1;
|
|
48974
|
+
var tmp5_nextTurnPlayerId = singleOrNull(_this__u8e3s4.x90_1);
|
|
48897
48975
|
return new PutCardToClientAction(tmp1_playerId, tmp2_card, tmp4_canNextPlayerTakeAllCards, tmp5_nextTurnPlayerId, tmp3_combinations, tmp0_deliveryPayload);
|
|
48898
48976
|
}
|
|
48899
48977
|
function mapToClient_21(_this__u8e3s4, payload) {
|
|
48900
48978
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48901
|
-
var tmp1_whoGotBribePlayerId = _this__u8e3s4.
|
|
48902
|
-
var tmp2_numberOfBribe = _this__u8e3s4.
|
|
48903
|
-
var tmp3_canNextPlayerTakeAllCards = _this__u8e3s4.
|
|
48979
|
+
var tmp1_whoGotBribePlayerId = _this__u8e3s4.z90_1;
|
|
48980
|
+
var tmp2_numberOfBribe = _this__u8e3s4.a91_1;
|
|
48981
|
+
var tmp3_canNextPlayerTakeAllCards = _this__u8e3s4.b91_1;
|
|
48904
48982
|
return new PickUpBribeToClientAction(tmp1_whoGotBribePlayerId, tmp2_numberOfBribe, tmp3_canNextPlayerTakeAllCards, tmp0_deliveryPayload);
|
|
48905
48983
|
}
|
|
48906
48984
|
function mapToClient_22(_this__u8e3s4, payload) {
|
|
@@ -51102,40 +51180,40 @@
|
|
|
51102
51180
|
actData = actData === VOID ? null : actData;
|
|
51103
51181
|
aid = aid === VOID ? null : aid;
|
|
51104
51182
|
MechanicAction.call(this);
|
|
51105
|
-
this.
|
|
51106
|
-
this.
|
|
51107
|
-
this.
|
|
51183
|
+
this.j90_1 = currentTurnPlayerId;
|
|
51184
|
+
this.k90_1 = sceneId;
|
|
51185
|
+
this.l90_1 = actId;
|
|
51108
51186
|
this.sceneData = sceneData;
|
|
51109
|
-
this.
|
|
51110
|
-
this.
|
|
51187
|
+
this.m90_1 = actData;
|
|
51188
|
+
this.n90_1 = aid;
|
|
51111
51189
|
}
|
|
51112
51190
|
protoOf(SceneMechanicAction).e97 = function () {
|
|
51113
|
-
return this.
|
|
51191
|
+
return this.j90_1;
|
|
51114
51192
|
};
|
|
51115
51193
|
protoOf(SceneMechanicAction).a7g = function () {
|
|
51116
|
-
return this.
|
|
51194
|
+
return this.k90_1;
|
|
51117
51195
|
};
|
|
51118
51196
|
protoOf(SceneMechanicAction).c7f = function () {
|
|
51119
|
-
return this.
|
|
51197
|
+
return this.l90_1;
|
|
51120
51198
|
};
|
|
51121
51199
|
protoOf(SceneMechanicAction).f97 = function () {
|
|
51122
51200
|
return this.sceneData;
|
|
51123
51201
|
};
|
|
51124
51202
|
protoOf(SceneMechanicAction).d97 = function () {
|
|
51125
|
-
return this.
|
|
51203
|
+
return this.m90_1;
|
|
51126
51204
|
};
|
|
51127
51205
|
protoOf(SceneMechanicAction).f94 = function () {
|
|
51128
|
-
return this.
|
|
51206
|
+
return this.n90_1;
|
|
51129
51207
|
};
|
|
51130
51208
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
51131
|
-
return this.
|
|
51209
|
+
return this.k90_1 === 'WAITING';
|
|
51132
51210
|
};
|
|
51133
51211
|
protoOf(SceneMechanicAction).toString = function () {
|
|
51134
|
-
var tmp = "sceneId='" + this.
|
|
51212
|
+
var tmp = "sceneId='" + this.k90_1 + "'";
|
|
51135
51213
|
// Inline function 'kotlin.takeIf' call
|
|
51136
|
-
var this_0 = 'actId=' + this.
|
|
51214
|
+
var this_0 = 'actId=' + this.l90_1;
|
|
51137
51215
|
var tmp_0;
|
|
51138
|
-
if (!(this.
|
|
51216
|
+
if (!(this.l90_1 == null)) {
|
|
51139
51217
|
tmp_0 = this_0;
|
|
51140
51218
|
} else {
|
|
51141
51219
|
tmp_0 = null;
|
|
@@ -51151,18 +51229,18 @@
|
|
|
51151
51229
|
}
|
|
51152
51230
|
var tmp_3 = tmp_2;
|
|
51153
51231
|
// Inline function 'kotlin.takeIf' call
|
|
51154
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
51232
|
+
var this_2 = 'actData=' + toString_0(this.m90_1);
|
|
51155
51233
|
var tmp_4;
|
|
51156
|
-
if (!(this.
|
|
51234
|
+
if (!(this.m90_1 == null)) {
|
|
51157
51235
|
tmp_4 = this_2;
|
|
51158
51236
|
} else {
|
|
51159
51237
|
tmp_4 = null;
|
|
51160
51238
|
}
|
|
51161
51239
|
var tmp_5 = tmp_4;
|
|
51162
51240
|
// Inline function 'kotlin.takeIf' call
|
|
51163
|
-
var this_3 = 'aid=' + this.
|
|
51241
|
+
var this_3 = 'aid=' + this.n90_1;
|
|
51164
51242
|
var tmp_6;
|
|
51165
|
-
if (!(this.
|
|
51243
|
+
if (!(this.n90_1 == null)) {
|
|
51166
51244
|
tmp_6 = this_3;
|
|
51167
51245
|
} else {
|
|
51168
51246
|
tmp_6 = null;
|
|
@@ -51175,15 +51253,15 @@
|
|
|
51175
51253
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
51176
51254
|
return this.sceneData.d7f();
|
|
51177
51255
|
}
|
|
51178
|
-
var tmp_0 = this.
|
|
51256
|
+
var tmp_0 = this.m90_1;
|
|
51179
51257
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
51180
|
-
return this.
|
|
51258
|
+
return this.m90_1.d7f();
|
|
51181
51259
|
}
|
|
51182
51260
|
return emptyList();
|
|
51183
51261
|
};
|
|
51184
51262
|
protoOf(SceneMechanicAction).z65 = function () {
|
|
51185
51263
|
// Inline function 'kotlin.requireNotNull' call
|
|
51186
|
-
var tmp0 = this.
|
|
51264
|
+
var tmp0 = this.j90_1;
|
|
51187
51265
|
var tmp$ret$1;
|
|
51188
51266
|
$l$block: {
|
|
51189
51267
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -51198,42 +51276,42 @@
|
|
|
51198
51276
|
return tmp$ret$1;
|
|
51199
51277
|
};
|
|
51200
51278
|
protoOf(SceneMechanicAction).oe = function () {
|
|
51201
|
-
return this.
|
|
51279
|
+
return this.j90_1;
|
|
51202
51280
|
};
|
|
51203
51281
|
protoOf(SceneMechanicAction).pe = function () {
|
|
51204
|
-
return this.
|
|
51282
|
+
return this.k90_1;
|
|
51205
51283
|
};
|
|
51206
51284
|
protoOf(SceneMechanicAction).yl = function () {
|
|
51207
|
-
return this.
|
|
51285
|
+
return this.l90_1;
|
|
51208
51286
|
};
|
|
51209
51287
|
protoOf(SceneMechanicAction).o54 = function () {
|
|
51210
51288
|
return this.sceneData;
|
|
51211
51289
|
};
|
|
51212
51290
|
protoOf(SceneMechanicAction).t66 = function () {
|
|
51213
|
-
return this.
|
|
51291
|
+
return this.m90_1;
|
|
51214
51292
|
};
|
|
51215
51293
|
protoOf(SceneMechanicAction).u66 = function () {
|
|
51216
|
-
return this.
|
|
51294
|
+
return this.n90_1;
|
|
51217
51295
|
};
|
|
51218
51296
|
protoOf(SceneMechanicAction).h97 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
51219
51297
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
51220
51298
|
};
|
|
51221
51299
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
51222
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
51223
|
-
sceneId = sceneId === VOID ? this.
|
|
51224
|
-
actId = actId === VOID ? this.
|
|
51300
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.j90_1 : currentTurnPlayerId;
|
|
51301
|
+
sceneId = sceneId === VOID ? this.k90_1 : sceneId;
|
|
51302
|
+
actId = actId === VOID ? this.l90_1 : actId;
|
|
51225
51303
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
51226
|
-
actData = actData === VOID ? this.
|
|
51227
|
-
aid = aid === VOID ? this.
|
|
51304
|
+
actData = actData === VOID ? this.m90_1 : actData;
|
|
51305
|
+
aid = aid === VOID ? this.n90_1 : aid;
|
|
51228
51306
|
return $super === VOID ? this.h97(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.h97.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
51229
51307
|
};
|
|
51230
51308
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
51231
|
-
var result = this.
|
|
51232
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51233
|
-
result = imul(result, 31) + (this.
|
|
51309
|
+
var result = this.j90_1 == null ? 0 : getStringHashCode(this.j90_1);
|
|
51310
|
+
result = imul(result, 31) + getStringHashCode(this.k90_1) | 0;
|
|
51311
|
+
result = imul(result, 31) + (this.l90_1 == null ? 0 : getStringHashCode(this.l90_1)) | 0;
|
|
51234
51312
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
51235
|
-
result = imul(result, 31) + (this.
|
|
51236
|
-
result = imul(result, 31) + (this.
|
|
51313
|
+
result = imul(result, 31) + (this.m90_1 == null ? 0 : hashCode(this.m90_1)) | 0;
|
|
51314
|
+
result = imul(result, 31) + (this.n90_1 == null ? 0 : getStringHashCode(this.n90_1)) | 0;
|
|
51237
51315
|
return result;
|
|
51238
51316
|
};
|
|
51239
51317
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -51241,17 +51319,17 @@
|
|
|
51241
51319
|
return true;
|
|
51242
51320
|
if (!(other instanceof SceneMechanicAction))
|
|
51243
51321
|
return false;
|
|
51244
|
-
if (!(this.
|
|
51322
|
+
if (!(this.j90_1 == other.j90_1))
|
|
51245
51323
|
return false;
|
|
51246
|
-
if (!(this.
|
|
51324
|
+
if (!(this.k90_1 === other.k90_1))
|
|
51247
51325
|
return false;
|
|
51248
|
-
if (!(this.
|
|
51326
|
+
if (!(this.l90_1 == other.l90_1))
|
|
51249
51327
|
return false;
|
|
51250
51328
|
if (!equals(this.sceneData, other.sceneData))
|
|
51251
51329
|
return false;
|
|
51252
|
-
if (!equals(this.
|
|
51330
|
+
if (!equals(this.m90_1, other.m90_1))
|
|
51253
51331
|
return false;
|
|
51254
|
-
if (!(this.
|
|
51332
|
+
if (!(this.n90_1 == other.n90_1))
|
|
51255
51333
|
return false;
|
|
51256
51334
|
return true;
|
|
51257
51335
|
};
|
|
@@ -51613,38 +51691,38 @@
|
|
|
51613
51691
|
actData = actData === VOID ? null : actData;
|
|
51614
51692
|
aid = aid === VOID ? null : aid;
|
|
51615
51693
|
MechanicAction.call(this);
|
|
51616
|
-
this.
|
|
51617
|
-
this.
|
|
51618
|
-
this.
|
|
51619
|
-
this.
|
|
51694
|
+
this.c90_1 = sceneId;
|
|
51695
|
+
this.d90_1 = actId;
|
|
51696
|
+
this.e90_1 = actData;
|
|
51697
|
+
this.f90_1 = aid;
|
|
51620
51698
|
}
|
|
51621
51699
|
protoOf(SceneActMechanicAction).a7g = function () {
|
|
51622
|
-
return this.
|
|
51700
|
+
return this.c90_1;
|
|
51623
51701
|
};
|
|
51624
51702
|
protoOf(SceneActMechanicAction).c7f = function () {
|
|
51625
|
-
return this.
|
|
51703
|
+
return this.d90_1;
|
|
51626
51704
|
};
|
|
51627
51705
|
protoOf(SceneActMechanicAction).d97 = function () {
|
|
51628
|
-
return this.
|
|
51706
|
+
return this.e90_1;
|
|
51629
51707
|
};
|
|
51630
51708
|
protoOf(SceneActMechanicAction).f94 = function () {
|
|
51631
|
-
return this.
|
|
51709
|
+
return this.f90_1;
|
|
51632
51710
|
};
|
|
51633
51711
|
protoOf(SceneActMechanicAction).g97 = function () {
|
|
51634
|
-
var tmp = this.
|
|
51712
|
+
var tmp = this.e90_1;
|
|
51635
51713
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
51636
|
-
return this.
|
|
51714
|
+
return this.e90_1.d7f();
|
|
51637
51715
|
}
|
|
51638
51716
|
return emptyList();
|
|
51639
51717
|
};
|
|
51640
51718
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
51641
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
51719
|
+
return 'SceneActMechanicAction(sceneId=' + this.c90_1 + ', actId=' + this.d90_1 + ', actData=' + toString_0(this.e90_1) + ', aid=' + this.f90_1 + ')';
|
|
51642
51720
|
};
|
|
51643
51721
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
51644
|
-
var result = getStringHashCode(this.
|
|
51645
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51646
|
-
result = imul(result, 31) + (this.
|
|
51647
|
-
result = imul(result, 31) + (this.
|
|
51722
|
+
var result = getStringHashCode(this.c90_1);
|
|
51723
|
+
result = imul(result, 31) + getStringHashCode(this.d90_1) | 0;
|
|
51724
|
+
result = imul(result, 31) + (this.e90_1 == null ? 0 : hashCode(this.e90_1)) | 0;
|
|
51725
|
+
result = imul(result, 31) + (this.f90_1 == null ? 0 : getStringHashCode(this.f90_1)) | 0;
|
|
51648
51726
|
return result;
|
|
51649
51727
|
};
|
|
51650
51728
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -51652,13 +51730,13 @@
|
|
|
51652
51730
|
return true;
|
|
51653
51731
|
if (!(other instanceof SceneActMechanicAction))
|
|
51654
51732
|
return false;
|
|
51655
|
-
if (!(this.
|
|
51733
|
+
if (!(this.c90_1 === other.c90_1))
|
|
51656
51734
|
return false;
|
|
51657
|
-
if (!(this.
|
|
51735
|
+
if (!(this.d90_1 === other.d90_1))
|
|
51658
51736
|
return false;
|
|
51659
|
-
if (!equals(this.
|
|
51737
|
+
if (!equals(this.e90_1, other.e90_1))
|
|
51660
51738
|
return false;
|
|
51661
|
-
if (!(this.
|
|
51739
|
+
if (!(this.f90_1 == other.f90_1))
|
|
51662
51740
|
return false;
|
|
51663
51741
|
return true;
|
|
51664
51742
|
};
|
|
@@ -51700,33 +51778,33 @@
|
|
|
51700
51778
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
51701
51779
|
aid = aid === VOID ? null : aid;
|
|
51702
51780
|
MechanicAction.call(this);
|
|
51703
|
-
this.
|
|
51704
|
-
this.
|
|
51705
|
-
this.
|
|
51706
|
-
this.
|
|
51707
|
-
this.
|
|
51781
|
+
this.o90_1 = suit;
|
|
51782
|
+
this.p90_1 = restartRound;
|
|
51783
|
+
this.q90_1 = currentTurnPlayerId;
|
|
51784
|
+
this.r90_1 = nextTurnPlayerIds;
|
|
51785
|
+
this.s90_1 = aid;
|
|
51708
51786
|
}
|
|
51709
51787
|
protoOf(SuitChoiceMechanicAction).e97 = function () {
|
|
51710
|
-
return this.
|
|
51788
|
+
return this.q90_1;
|
|
51711
51789
|
};
|
|
51712
51790
|
protoOf(SuitChoiceMechanicAction).g97 = function () {
|
|
51713
|
-
return this.
|
|
51791
|
+
return this.r90_1;
|
|
51714
51792
|
};
|
|
51715
51793
|
protoOf(SuitChoiceMechanicAction).f94 = function () {
|
|
51716
|
-
return this.
|
|
51794
|
+
return this.s90_1;
|
|
51717
51795
|
};
|
|
51718
51796
|
protoOf(SuitChoiceMechanicAction).z65 = function () {
|
|
51719
|
-
return this.
|
|
51797
|
+
return this.q90_1;
|
|
51720
51798
|
};
|
|
51721
51799
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
51722
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
51800
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.o90_1) + ', restartRound=' + this.p90_1 + ', currentTurnPlayerId=' + this.q90_1 + ', nextTurnPlayerIds=' + toString(this.r90_1) + ', aid=' + this.s90_1 + ')';
|
|
51723
51801
|
};
|
|
51724
51802
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
51725
|
-
var result = this.
|
|
51726
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51727
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51728
|
-
result = imul(result, 31) + hashCode(this.
|
|
51729
|
-
result = imul(result, 31) + (this.
|
|
51803
|
+
var result = this.o90_1 == null ? 0 : this.o90_1.hashCode();
|
|
51804
|
+
result = imul(result, 31) + getBooleanHashCode(this.p90_1) | 0;
|
|
51805
|
+
result = imul(result, 31) + getStringHashCode(this.q90_1) | 0;
|
|
51806
|
+
result = imul(result, 31) + hashCode(this.r90_1) | 0;
|
|
51807
|
+
result = imul(result, 31) + (this.s90_1 == null ? 0 : getStringHashCode(this.s90_1)) | 0;
|
|
51730
51808
|
return result;
|
|
51731
51809
|
};
|
|
51732
51810
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -51734,15 +51812,15 @@
|
|
|
51734
51812
|
return true;
|
|
51735
51813
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
51736
51814
|
return false;
|
|
51737
|
-
if (!equals(this.
|
|
51815
|
+
if (!equals(this.o90_1, other.o90_1))
|
|
51738
51816
|
return false;
|
|
51739
|
-
if (!(this.
|
|
51817
|
+
if (!(this.p90_1 === other.p90_1))
|
|
51740
51818
|
return false;
|
|
51741
|
-
if (!(this.
|
|
51819
|
+
if (!(this.q90_1 === other.q90_1))
|
|
51742
51820
|
return false;
|
|
51743
|
-
if (!equals(this.
|
|
51821
|
+
if (!equals(this.r90_1, other.r90_1))
|
|
51744
51822
|
return false;
|
|
51745
|
-
if (!(this.
|
|
51823
|
+
if (!(this.s90_1 == other.s90_1))
|
|
51746
51824
|
return false;
|
|
51747
51825
|
return true;
|
|
51748
51826
|
};
|
|
@@ -51823,42 +51901,42 @@
|
|
|
51823
51901
|
combinations = combinations === VOID ? null : combinations;
|
|
51824
51902
|
aid = aid === VOID ? null : aid;
|
|
51825
51903
|
MechanicAction.call(this);
|
|
51826
|
-
this.
|
|
51827
|
-
this.
|
|
51828
|
-
this.
|
|
51829
|
-
this.
|
|
51830
|
-
this.
|
|
51831
|
-
this.
|
|
51904
|
+
this.t90_1 = card;
|
|
51905
|
+
this.u90_1 = combinations;
|
|
51906
|
+
this.v90_1 = canNextPlayerTakeAllCards;
|
|
51907
|
+
this.w90_1 = currentTurnPlayerId;
|
|
51908
|
+
this.x90_1 = nextTurnPlayerIds;
|
|
51909
|
+
this.y90_1 = aid;
|
|
51832
51910
|
}
|
|
51833
51911
|
protoOf(PutCardMechanicAction).e97 = function () {
|
|
51834
|
-
return this.
|
|
51912
|
+
return this.w90_1;
|
|
51835
51913
|
};
|
|
51836
51914
|
protoOf(PutCardMechanicAction).g97 = function () {
|
|
51837
|
-
return this.
|
|
51915
|
+
return this.x90_1;
|
|
51838
51916
|
};
|
|
51839
51917
|
protoOf(PutCardMechanicAction).f94 = function () {
|
|
51840
|
-
return this.
|
|
51918
|
+
return this.y90_1;
|
|
51841
51919
|
};
|
|
51842
51920
|
protoOf(PutCardMechanicAction).z65 = function () {
|
|
51843
|
-
return this.
|
|
51921
|
+
return this.w90_1;
|
|
51844
51922
|
};
|
|
51845
51923
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
51846
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
51924
|
+
var tmp = "currentTurnPlayerId='" + this.w90_1 + "'";
|
|
51847
51925
|
// Inline function 'kotlin.takeIf' call
|
|
51848
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
51926
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.x90_1);
|
|
51849
51927
|
var tmp_0;
|
|
51850
51928
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
51851
|
-
if (!this.
|
|
51929
|
+
if (!this.x90_1.r()) {
|
|
51852
51930
|
tmp_0 = this_0;
|
|
51853
51931
|
} else {
|
|
51854
51932
|
tmp_0 = null;
|
|
51855
51933
|
}
|
|
51856
51934
|
var tmp_1 = tmp_0;
|
|
51857
|
-
var tmp_2 = 'card=' + this.
|
|
51935
|
+
var tmp_2 = 'card=' + this.t90_1.toString();
|
|
51858
51936
|
// Inline function 'kotlin.takeIf' call
|
|
51859
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
51937
|
+
var this_1 = 'combinations=' + toString_0(this.u90_1);
|
|
51860
51938
|
var tmp_3;
|
|
51861
|
-
var tmp0_safe_receiver = this.
|
|
51939
|
+
var tmp0_safe_receiver = this.u90_1;
|
|
51862
51940
|
var tmp_4;
|
|
51863
51941
|
if (tmp0_safe_receiver == null) {
|
|
51864
51942
|
tmp_4 = null;
|
|
@@ -51873,9 +51951,9 @@
|
|
|
51873
51951
|
}
|
|
51874
51952
|
var tmp_5 = tmp_3;
|
|
51875
51953
|
// Inline function 'kotlin.takeIf' call
|
|
51876
|
-
var this_2 = 'aid=' + this.
|
|
51954
|
+
var this_2 = 'aid=' + this.y90_1;
|
|
51877
51955
|
var tmp_6;
|
|
51878
|
-
if (!(this.
|
|
51956
|
+
if (!(this.y90_1 == null)) {
|
|
51879
51957
|
tmp_6 = this_2;
|
|
51880
51958
|
} else {
|
|
51881
51959
|
tmp_6 = null;
|
|
@@ -51884,12 +51962,12 @@
|
|
|
51884
51962
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
51885
51963
|
};
|
|
51886
51964
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
51887
|
-
var result = this.
|
|
51888
|
-
result = imul(result, 31) + (this.
|
|
51889
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51890
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51891
|
-
result = imul(result, 31) + hashCode(this.
|
|
51892
|
-
result = imul(result, 31) + (this.
|
|
51965
|
+
var result = this.t90_1.hashCode();
|
|
51966
|
+
result = imul(result, 31) + (this.u90_1 == null ? 0 : hashCode(this.u90_1)) | 0;
|
|
51967
|
+
result = imul(result, 31) + getBooleanHashCode(this.v90_1) | 0;
|
|
51968
|
+
result = imul(result, 31) + getStringHashCode(this.w90_1) | 0;
|
|
51969
|
+
result = imul(result, 31) + hashCode(this.x90_1) | 0;
|
|
51970
|
+
result = imul(result, 31) + (this.y90_1 == null ? 0 : getStringHashCode(this.y90_1)) | 0;
|
|
51893
51971
|
return result;
|
|
51894
51972
|
};
|
|
51895
51973
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -51897,45 +51975,45 @@
|
|
|
51897
51975
|
return true;
|
|
51898
51976
|
if (!(other instanceof PutCardMechanicAction))
|
|
51899
51977
|
return false;
|
|
51900
|
-
if (!this.
|
|
51978
|
+
if (!this.t90_1.equals(other.t90_1))
|
|
51901
51979
|
return false;
|
|
51902
|
-
if (!equals(this.
|
|
51980
|
+
if (!equals(this.u90_1, other.u90_1))
|
|
51903
51981
|
return false;
|
|
51904
|
-
if (!(this.
|
|
51982
|
+
if (!(this.v90_1 === other.v90_1))
|
|
51905
51983
|
return false;
|
|
51906
|
-
if (!(this.
|
|
51984
|
+
if (!(this.w90_1 === other.w90_1))
|
|
51907
51985
|
return false;
|
|
51908
|
-
if (!equals(this.
|
|
51986
|
+
if (!equals(this.x90_1, other.x90_1))
|
|
51909
51987
|
return false;
|
|
51910
|
-
if (!(this.
|
|
51988
|
+
if (!(this.y90_1 == other.y90_1))
|
|
51911
51989
|
return false;
|
|
51912
51990
|
return true;
|
|
51913
51991
|
};
|
|
51914
51992
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
51915
51993
|
aid = aid === VOID ? null : aid;
|
|
51916
51994
|
MechanicAction.call(this);
|
|
51917
|
-
this.
|
|
51918
|
-
this.
|
|
51919
|
-
this.
|
|
51920
|
-
this.
|
|
51995
|
+
this.z90_1 = whoGotBribePlayerId;
|
|
51996
|
+
this.a91_1 = numberOfBribe;
|
|
51997
|
+
this.b91_1 = canNextPlayerTakeAllCards;
|
|
51998
|
+
this.c91_1 = aid;
|
|
51921
51999
|
}
|
|
51922
52000
|
protoOf(PickUpBribeMechanicAction).f94 = function () {
|
|
51923
|
-
return this.
|
|
52001
|
+
return this.c91_1;
|
|
51924
52002
|
};
|
|
51925
52003
|
protoOf(PickUpBribeMechanicAction).g97 = function () {
|
|
51926
|
-
return listOf(this.
|
|
52004
|
+
return listOf(this.z90_1);
|
|
51927
52005
|
};
|
|
51928
52006
|
protoOf(PickUpBribeMechanicAction).x6f = function () {
|
|
51929
52007
|
return true;
|
|
51930
52008
|
};
|
|
51931
52009
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
51932
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
52010
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.z90_1 + ', numberOfBribe=' + this.a91_1 + ', canNextPlayerTakeAllCards=' + this.b91_1 + ', aid=' + this.c91_1 + ')';
|
|
51933
52011
|
};
|
|
51934
52012
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
51935
|
-
var result = getStringHashCode(this.
|
|
51936
|
-
result = imul(result, 31) + this.
|
|
51937
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51938
|
-
result = imul(result, 31) + (this.
|
|
52013
|
+
var result = getStringHashCode(this.z90_1);
|
|
52014
|
+
result = imul(result, 31) + this.a91_1 | 0;
|
|
52015
|
+
result = imul(result, 31) + getBooleanHashCode(this.b91_1) | 0;
|
|
52016
|
+
result = imul(result, 31) + (this.c91_1 == null ? 0 : getStringHashCode(this.c91_1)) | 0;
|
|
51939
52017
|
return result;
|
|
51940
52018
|
};
|
|
51941
52019
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -51943,13 +52021,13 @@
|
|
|
51943
52021
|
return true;
|
|
51944
52022
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
51945
52023
|
return false;
|
|
52024
|
+
if (!(this.z90_1 === other.z90_1))
|
|
52025
|
+
return false;
|
|
51946
52026
|
if (!(this.a91_1 === other.a91_1))
|
|
51947
52027
|
return false;
|
|
51948
52028
|
if (!(this.b91_1 === other.b91_1))
|
|
51949
52029
|
return false;
|
|
51950
|
-
if (!(this.c91_1
|
|
51951
|
-
return false;
|
|
51952
|
-
if (!(this.d91_1 == other.d91_1))
|
|
52030
|
+
if (!(this.c91_1 == other.c91_1))
|
|
51953
52031
|
return false;
|
|
51954
52032
|
return true;
|
|
51955
52033
|
};
|
|
@@ -53200,11 +53278,11 @@
|
|
|
53200
53278
|
if (action_0 instanceof SuitChoiceFromClientAction) {
|
|
53201
53279
|
var mechanicAction = this.h9b_1.k8y(action_0, table.players, table.config);
|
|
53202
53280
|
var tmp_2;
|
|
53203
|
-
if (mechanicAction.
|
|
53281
|
+
if (mechanicAction.o90_1 == null) {
|
|
53204
53282
|
tmp_2 = null;
|
|
53205
53283
|
} else {
|
|
53206
53284
|
// Inline function 'kotlin.let' call
|
|
53207
|
-
tmp_2 = new TrumpMechanicAction(mechanicAction.
|
|
53285
|
+
tmp_2 = new TrumpMechanicAction(mechanicAction.o90_1);
|
|
53208
53286
|
}
|
|
53209
53287
|
tmp_1 = listOfNotNull([mechanicAction, tmp_2]);
|
|
53210
53288
|
} else {
|
|
@@ -53383,17 +53461,17 @@
|
|
|
53383
53461
|
}
|
|
53384
53462
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
53385
53463
|
if (shouldGenerateRandomMessage()) {
|
|
53386
|
-
handleRandomMessage(store, action_0.
|
|
53464
|
+
handleRandomMessage(store, action_0.w90_1, this.x9b_1, this.y9b_1, this.z9b_1, 'card played');
|
|
53387
53465
|
}
|
|
53388
53466
|
} else {
|
|
53389
53467
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
53390
53468
|
if (shouldGenerateRandomMessage()) {
|
|
53391
|
-
handleRandomMessage(store, action_0.
|
|
53469
|
+
handleRandomMessage(store, action_0.q90_1, this.x9b_1, this.y9b_1, this.z9b_1, 'suit chosen');
|
|
53392
53470
|
}
|
|
53393
53471
|
} else {
|
|
53394
53472
|
if (action_0 instanceof SceneMechanicAction) {
|
|
53395
53473
|
if (shouldGenerateRandomMessage()) {
|
|
53396
|
-
var tmp1_safe_receiver = action_0.
|
|
53474
|
+
var tmp1_safe_receiver = action_0.j90_1;
|
|
53397
53475
|
if (tmp1_safe_receiver == null)
|
|
53398
53476
|
null;
|
|
53399
53477
|
else {
|
|
@@ -53870,7 +53948,7 @@
|
|
|
53870
53948
|
} else {
|
|
53871
53949
|
if (action_0 instanceof SceneMechanicAction) {
|
|
53872
53950
|
var table_0 = store.state.c6s();
|
|
53873
|
-
var tmp1_subject = action_0.
|
|
53951
|
+
var tmp1_subject = action_0.k90_1;
|
|
53874
53952
|
if (tmp1_subject === this.k9e_1.z92(table_0.config, table_0.gameHistory.isFirstRound, table_0.gameInfo.g8j())) {
|
|
53875
53953
|
var tmp = store.dispatch;
|
|
53876
53954
|
var tmp2_id = table_0.id;
|
|
@@ -54690,7 +54768,7 @@
|
|
|
54690
54768
|
} else {
|
|
54691
54769
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
54692
54770
|
var tmp_3;
|
|
54693
|
-
if (action_0.
|
|
54771
|
+
if (action_0.p90_1) {
|
|
54694
54772
|
tmp_3 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
54695
54773
|
} else {
|
|
54696
54774
|
tmp_3 = null;
|
|
@@ -54716,7 +54794,7 @@
|
|
|
54716
54794
|
} else {
|
|
54717
54795
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
54718
54796
|
var table = state.c6s();
|
|
54719
|
-
var player = getPlayer(table.players, action_0.
|
|
54797
|
+
var player = getPlayer(table.players, action_0.z90_1);
|
|
54720
54798
|
var tmp_4;
|
|
54721
54799
|
if (player.y66() === 0) {
|
|
54722
54800
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -54924,7 +55002,7 @@
|
|
|
54924
55002
|
var startTimerForPlayers = destination;
|
|
54925
55003
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
54926
55004
|
if (!startTimerForPlayers.r()) {
|
|
54927
|
-
var playerTurnModel = this.p9h_1.
|
|
55005
|
+
var playerTurnModel = this.p9h_1.a90(action_0, table);
|
|
54928
55006
|
if (!(playerTurnModel == null)) {
|
|
54929
55007
|
// Inline function 'kotlin.collections.map' call
|
|
54930
55008
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -55397,7 +55475,7 @@
|
|
|
55397
55475
|
protoOf(checkBotsMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
55398
55476
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
55399
55477
|
var state = store.state;
|
|
55400
|
-
if (state.e6s() && !(action_0.
|
|
55478
|
+
if (state.e6s() && !(action_0.k90_1 === 'WAITING')) {
|
|
55401
55479
|
var tmp0 = state.c6s().players;
|
|
55402
55480
|
var tmp$ret$0;
|
|
55403
55481
|
$l$block_0: {
|
|
@@ -55476,14 +55554,14 @@
|
|
|
55476
55554
|
var tmp$ret$0 = item.m7e_1;
|
|
55477
55555
|
destination_0.j(tmp$ret$0);
|
|
55478
55556
|
}
|
|
55479
|
-
if (destination_0.u1(action_0.
|
|
55557
|
+
if (destination_0.u1(action_0.t90_1)) {
|
|
55480
55558
|
destination.j(element);
|
|
55481
55559
|
}
|
|
55482
55560
|
}
|
|
55483
55561
|
var bribes = destination;
|
|
55484
55562
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
55485
55563
|
if (!bribes.r()) {
|
|
55486
|
-
this.d9j_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.
|
|
55564
|
+
this.d9j_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.t90_1.toString() + ', bribes = ' + toString(bribes));
|
|
55487
55565
|
}
|
|
55488
55566
|
}
|
|
55489
55567
|
next(action_0);
|
|
@@ -55505,7 +55583,7 @@
|
|
|
55505
55583
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
55506
55584
|
var state = store.state;
|
|
55507
55585
|
if (state.e6s()) {
|
|
55508
|
-
if (get_isSceneWithCards(action_0.
|
|
55586
|
+
if (get_isSceneWithCards(action_0.k90_1)) {
|
|
55509
55587
|
var scenePayload = action_0.sceneData;
|
|
55510
55588
|
var tmp;
|
|
55511
55589
|
if (scenePayload instanceof TradeSceneData) {
|
|
@@ -55910,7 +55988,7 @@
|
|
|
55910
55988
|
var state = store.state;
|
|
55911
55989
|
if (state.e6s()) {
|
|
55912
55990
|
var sceneInfo = state.c6s().sceneInfo;
|
|
55913
|
-
if (!get_isWaitingScene(sceneInfo.r81_1) && Companion_instance_5.l6s(sceneInfo.r81_1, action_0.
|
|
55991
|
+
if (!get_isWaitingScene(sceneInfo.r81_1) && Companion_instance_5.l6s(sceneInfo.r81_1, action_0.k90_1) && equals(sceneInfo.u81_1, action_0.sceneData)) {
|
|
55914
55992
|
this.h9j_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
55915
55993
|
}
|
|
55916
55994
|
}
|
|
@@ -55930,7 +56008,7 @@
|
|
|
55930
56008
|
var state = store.state;
|
|
55931
56009
|
if (state.e6s()) {
|
|
55932
56010
|
var sceneInfo = state.c6s().sceneInfo;
|
|
55933
|
-
if (Companion_instance_5.l6s(sceneInfo.r81_1, action_0.
|
|
56011
|
+
if (Companion_instance_5.l6s(sceneInfo.r81_1, action_0.c90_1) && sceneInfo.t81_1 === action_0.d90_1 && equals(sceneInfo.v81_1, action_0.e90_1)) {
|
|
55934
56012
|
this.i9j_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
55935
56013
|
}
|
|
55936
56014
|
}
|
|
@@ -56171,12 +56249,12 @@
|
|
|
56171
56249
|
};
|
|
56172
56250
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
56173
56251
|
return function () {
|
|
56174
|
-
return this$0.f9a_1.
|
|
56252
|
+
return this$0.f9a_1.e91($action, $table);
|
|
56175
56253
|
};
|
|
56176
56254
|
}
|
|
56177
56255
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
56178
56256
|
return function () {
|
|
56179
|
-
return this$0.f9a_1.
|
|
56257
|
+
return this$0.f9a_1.f91($action, $table);
|
|
56180
56258
|
};
|
|
56181
56259
|
}
|
|
56182
56260
|
function isWrongPlayerTurn($this, store, playersWithTurn, player, action) {
|
|
@@ -56217,7 +56295,7 @@
|
|
|
56217
56295
|
tmp = null;
|
|
56218
56296
|
} else {
|
|
56219
56297
|
// Inline function 'kotlin.let' call
|
|
56220
|
-
tmp = $this.f9a_1.
|
|
56298
|
+
tmp = $this.f9a_1.g91(tmp1_safe_receiver, store.state.c6s().gameInfo.round);
|
|
56221
56299
|
}
|
|
56222
56300
|
var receivedTag = tmp;
|
|
56223
56301
|
if (!(receivedTag == null) && !Companion_instance_2.u65(receivedTag, 'v5')) {
|
|
@@ -56598,13 +56676,13 @@
|
|
|
56598
56676
|
};
|
|
56599
56677
|
function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
|
|
56600
56678
|
return function (tbl) {
|
|
56601
|
-
return this$0.m99_1.d9k(tbl, $action.
|
|
56679
|
+
return this$0.m99_1.d9k(tbl, $action.k90_1, $action.sceneData, $action.l90_1, $action.m90_1);
|
|
56602
56680
|
};
|
|
56603
56681
|
}
|
|
56604
56682
|
function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
|
|
56605
56683
|
return function (tbl) {
|
|
56606
56684
|
var tmp;
|
|
56607
|
-
if ($action.
|
|
56685
|
+
if ($action.l90_1 == null) {
|
|
56608
56686
|
tmp = tbl;
|
|
56609
56687
|
} else {
|
|
56610
56688
|
tmp = this$0.n99_1.e9k(tbl, $action);
|
|
@@ -57664,7 +57742,7 @@
|
|
|
57664
57742
|
protoOf(TradeMechanicReducer).f9l = function (state, action) {
|
|
57665
57743
|
var table = state.c6s();
|
|
57666
57744
|
// Inline function 'kotlin.with' call
|
|
57667
|
-
var player = getPlayer(table.players, action.
|
|
57745
|
+
var player = getPlayer(table.players, action.q90_1);
|
|
57668
57746
|
// Inline function 'kotlin.let' call
|
|
57669
57747
|
var it = player.s6v_1.w74();
|
|
57670
57748
|
var tmp;
|
|
@@ -57676,7 +57754,7 @@
|
|
|
57676
57754
|
}
|
|
57677
57755
|
var newNumberOfCircle = tmp;
|
|
57678
57756
|
var tmp_0;
|
|
57679
|
-
if (action.
|
|
57757
|
+
if (action.o90_1 == null) {
|
|
57680
57758
|
tmp_0 = state.r93(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.s70(VOID, VOID, VOID, player.s6v_1.r74(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, newNumberOfCircle)), get_byIdPlayerPredicate()(player.playerId))));
|
|
57681
57759
|
} else {
|
|
57682
57760
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -57686,7 +57764,7 @@
|
|
|
57686
57764
|
var _iterator__ex2g4s = this_0.l();
|
|
57687
57765
|
while (_iterator__ex2g4s.m()) {
|
|
57688
57766
|
var item = _iterator__ex2g4s.n();
|
|
57689
|
-
var isPlayerChoseSuit = action.
|
|
57767
|
+
var isPlayerChoseSuit = action.q90_1 === item.playerId;
|
|
57690
57768
|
var tmp_1;
|
|
57691
57769
|
if (isPlayerChoseSuit) {
|
|
57692
57770
|
tmp_1 = newNumberOfCircle;
|
|
@@ -57699,7 +57777,7 @@
|
|
|
57699
57777
|
var tmp_2 = destination;
|
|
57700
57778
|
var tmp0_$this = this.d9l_1;
|
|
57701
57779
|
var tmp1_playerId = player.playerId;
|
|
57702
|
-
var tmp2_suit = action.
|
|
57780
|
+
var tmp2_suit = action.o90_1;
|
|
57703
57781
|
var tmp3_gameHistory = table.gameHistory;
|
|
57704
57782
|
var tmp4_players = table.players;
|
|
57705
57783
|
var tmp5_playersMode = table.config.playersMode;
|
|
@@ -58136,17 +58214,17 @@
|
|
|
58136
58214
|
}
|
|
58137
58215
|
protoOf(EarnPointsMechanicReducer).a9l = function (state, action) {
|
|
58138
58216
|
var table = state.c6s();
|
|
58139
|
-
var player = getPlayer(table.players, action.
|
|
58140
|
-
var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.
|
|
58217
|
+
var player = getPlayer(table.players, action.w90_1);
|
|
58218
|
+
var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.w90_1, table.cardsOnTable.o(), action.t90_1));
|
|
58141
58219
|
var tmp2_$this = state.c6s();
|
|
58142
58220
|
var tmp;
|
|
58143
|
-
if (action.
|
|
58144
|
-
tmp = action.
|
|
58221
|
+
if (action.x90_1.u1(player.playerId)) {
|
|
58222
|
+
tmp = action.v90_1;
|
|
58145
58223
|
} else {
|
|
58146
58224
|
tmp = false;
|
|
58147
58225
|
}
|
|
58148
|
-
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.
|
|
58149
|
-
var tmp0_safe_receiver = action.
|
|
58226
|
+
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.t90_1, cardsOnTheTable, action.u90_1, tmp), get_byIdPlayerPredicate()(player.playerId));
|
|
58227
|
+
var tmp0_safe_receiver = action.u90_1;
|
|
58150
58228
|
var tmp_0;
|
|
58151
58229
|
if (tmp0_safe_receiver == null) {
|
|
58152
58230
|
tmp_0 = null;
|
|
@@ -58195,7 +58273,7 @@
|
|
|
58195
58273
|
if (!(toSet(destination_0).o() === 1)) {
|
|
58196
58274
|
this.x9k_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
|
|
58197
58275
|
}
|
|
58198
|
-
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.
|
|
58276
|
+
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.z90_1, players, config);
|
|
58199
58277
|
var bribe = new Bribe(cardsOnTable);
|
|
58200
58278
|
var tmp0_bribes = plus_0(table.bribes, bribe);
|
|
58201
58279
|
var tmp1_cardsOnTable = emptyList();
|
|
@@ -58207,16 +58285,16 @@
|
|
|
58207
58285
|
var item_1 = _iterator__ex2g4s_1.n();
|
|
58208
58286
|
var tmp = getValue(playersCombinations, item_1.playerId);
|
|
58209
58287
|
var tmp_0;
|
|
58210
|
-
if (action.
|
|
58211
|
-
tmp_0 = action.
|
|
58288
|
+
if (action.z90_1 === item_1.playerId) {
|
|
58289
|
+
tmp_0 = action.b91_1;
|
|
58212
58290
|
} else {
|
|
58213
58291
|
tmp_0 = false;
|
|
58214
58292
|
}
|
|
58215
|
-
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.
|
|
58293
|
+
var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.z90_1, cardsOnTable, tmp, tmp_0);
|
|
58216
58294
|
destination_1.j(tmp$ret$6);
|
|
58217
58295
|
}
|
|
58218
|
-
var tmp3_gameInfo = table.gameInfo.i8j(VOID, VOID, table.gameInfo.round.copy(VOID, action.
|
|
58219
|
-
var tmp4_gameHistory = this.v9k_1.s9m(action.
|
|
58296
|
+
var tmp3_gameInfo = table.gameInfo.i8j(VOID, VOID, table.gameInfo.round.copy(VOID, action.a91_1));
|
|
58297
|
+
var tmp4_gameHistory = this.v9k_1.s9m(action.z90_1, bribe, action.a91_1, playersCombinations, table.gameHistory);
|
|
58220
58298
|
return state.r93(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
|
|
58221
58299
|
};
|
|
58222
58300
|
protoOf(EarnPointsMechanicReducer).y9k = function (state, action) {
|
|
@@ -58722,7 +58800,7 @@
|
|
|
58722
58800
|
tmp$ret$0 = state;
|
|
58723
58801
|
break $l$block;
|
|
58724
58802
|
}
|
|
58725
|
-
var turnModel = this.b9n_1.
|
|
58803
|
+
var turnModel = this.b9n_1.b90(player, tmp2);
|
|
58726
58804
|
var tmp;
|
|
58727
58805
|
if (turnModel == null) {
|
|
58728
58806
|
this.c9n_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -58759,7 +58837,7 @@
|
|
|
58759
58837
|
tmp$ret$0 = state;
|
|
58760
58838
|
break $l$block;
|
|
58761
58839
|
}
|
|
58762
|
-
var turnModel = this.f9n_1.
|
|
58840
|
+
var turnModel = this.f9n_1.b90(player, tmp2);
|
|
58763
58841
|
var tmp;
|
|
58764
58842
|
if (turnModel == null) {
|
|
58765
58843
|
this.g9n_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -58790,7 +58868,7 @@
|
|
|
58790
58868
|
var tmp$ret$0;
|
|
58791
58869
|
$l$block: {
|
|
58792
58870
|
var table = state.c6s();
|
|
58793
|
-
var tmp0_elvis_lhs = this.i9n_1.
|
|
58871
|
+
var tmp0_elvis_lhs = this.i9n_1.a90(tmp2, table);
|
|
58794
58872
|
var tmp;
|
|
58795
58873
|
if (tmp0_elvis_lhs == null) {
|
|
58796
58874
|
tmp$ret$0 = state;
|
|
@@ -60691,7 +60769,7 @@
|
|
|
60691
60769
|
var this_2 = serializer(this_1, createKType(getKClass(GameTransitionDto), arrayOf([]), false));
|
|
60692
60770
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
60693
60771
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
60694
|
-
return
|
|
60772
|
+
return mapFromDto_71(tmp$ret$2);
|
|
60695
60773
|
};
|
|
60696
60774
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
60697
60775
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -60702,7 +60780,7 @@
|
|
|
60702
60780
|
var this_2 = serializer(this_1, createKType(getKClass(TableStateWithActionsDto), arrayOf([]), false));
|
|
60703
60781
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
60704
60782
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
60705
|
-
return
|
|
60783
|
+
return mapFromDto_102(tmp$ret$2);
|
|
60706
60784
|
};
|
|
60707
60785
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
60708
60786
|
var tmp0 = this.s9p_1;
|
|
@@ -60716,7 +60794,7 @@
|
|
|
60716
60794
|
return tmp0.fp(tmp$ret$1, value);
|
|
60717
60795
|
};
|
|
60718
60796
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
60719
|
-
return
|
|
60797
|
+
return mapFromDto_68(this.t9p_1.j8r(json));
|
|
60720
60798
|
};
|
|
60721
60799
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
60722
60800
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -60736,7 +60814,7 @@
|
|
|
60736
60814
|
this.u9p_1 = json;
|
|
60737
60815
|
this.v9p_1 = userRatingInteractor;
|
|
60738
60816
|
}
|
|
60739
|
-
protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
|
|
60817
|
+
protoOf(RatingHelperImpl).getBotRatingRange = function (league, leaguesConfig) {
|
|
60740
60818
|
var maxRatingFactor = 0.3;
|
|
60741
60819
|
var tmp;
|
|
60742
60820
|
if (league == null) {
|
|
@@ -60745,9 +60823,8 @@
|
|
|
60745
60823
|
tmp = this.mapToLeague(league);
|
|
60746
60824
|
}
|
|
60747
60825
|
var targetLeague = tmp;
|
|
60748
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
60749
60826
|
var minRating = targetLeague.getMinRating();
|
|
60750
|
-
var maxRating = targetLeague.getMaxRating(
|
|
60827
|
+
var maxRating = targetLeague.getMaxRating(leaguesConfig.maxUserRating);
|
|
60751
60828
|
if (targetLeague.equals(League_BEGINNER_getInstance())) {
|
|
60752
60829
|
var minRatingStartLimit = 800;
|
|
60753
60830
|
return new BotRatingRange(minRatingStartLimit, maxRating);
|
|
@@ -60761,19 +60838,19 @@
|
|
|
60761
60838
|
var tmp$ret$1 = name.toUpperCase();
|
|
60762
60839
|
return valueOf_0(tmp$ret$1);
|
|
60763
60840
|
};
|
|
60764
|
-
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
60765
|
-
return this.v9p_1.p8z(league, rating);
|
|
60841
|
+
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating, leaguesConfig) {
|
|
60842
|
+
return this.v9p_1.p8z(league, rating, leaguesConfig);
|
|
60766
60843
|
};
|
|
60767
|
-
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
60768
|
-
return this.v9p_1.q8z(rating);
|
|
60844
|
+
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating, leaguesConfig) {
|
|
60845
|
+
return this.v9p_1.q8z(rating, leaguesConfig);
|
|
60769
60846
|
};
|
|
60770
60847
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
60771
|
-
return
|
|
60848
|
+
return Companion_instance_12.defaultConfig();
|
|
60772
60849
|
};
|
|
60773
60850
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
60774
60851
|
var tmp0 = this.u9p_1;
|
|
60775
60852
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
60776
|
-
var value = mapToDto_48(
|
|
60853
|
+
var value = mapToDto_48(Companion_instance_12.defaultConfig());
|
|
60777
60854
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
60778
60855
|
var this_0 = tmp0.es();
|
|
60779
60856
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -60781,6 +60858,17 @@
|
|
|
60781
60858
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
60782
60859
|
return tmp0.fp(tmp$ret$1, value);
|
|
60783
60860
|
};
|
|
60861
|
+
protoOf(RatingHelperImpl).decodeLeaguesConfig = function (json) {
|
|
60862
|
+
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
60863
|
+
var this_0 = this.u9p_1;
|
|
60864
|
+
// Inline function 'kotlinx.serialization.serializer' call
|
|
60865
|
+
var this_1 = this_0.es();
|
|
60866
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
60867
|
+
var this_2 = serializer(this_1, createKType(getKClass(LeaguesConfigDto), arrayOf([]), false));
|
|
60868
|
+
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
60869
|
+
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
60870
|
+
return mapFromDto_45(tmp$ret$2, Companion_instance_12.defaultConfig());
|
|
60871
|
+
};
|
|
60784
60872
|
function engineHelpersModule() {
|
|
60785
60873
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
60786
60874
|
}
|
|
@@ -61684,8 +61772,8 @@
|
|
|
61684
61772
|
});
|
|
61685
61773
|
protoOf(GameLifecycleInteractorImpl).f8y = getFinishingAction$default;
|
|
61686
61774
|
protoOf(PlayerOptionsInteractorImpl).b8z = getWhoWonCardsLot$default;
|
|
61687
|
-
protoOf(UserRatingInteractorImpl).
|
|
61688
|
-
protoOf(UserRatingInteractorImpl).
|
|
61775
|
+
protoOf(UserRatingInteractorImpl).u8z = calculateRatingsForFinishedGame$default;
|
|
61776
|
+
protoOf(UserRatingInteractorImpl).s8z = calculatePlayerLeftRating$default;
|
|
61689
61777
|
protoOf(SceneRouterImpl).h93 = moveActNext$default;
|
|
61690
61778
|
defineProp(protoOf(AppState), 'isTableExists', protoOf(AppState).e6s);
|
|
61691
61779
|
defineProp(protoOf(AppState), 'table', protoOf(AppState).c6s);
|
|
@@ -62851,136 +62939,138 @@
|
|
|
62851
62939
|
_.$_$.e = engineHelpersModule;
|
|
62852
62940
|
_.$_$.f = RatingConfig;
|
|
62853
62941
|
_.$_$.g = ServerReduxConfig;
|
|
62854
|
-
_.$_$.h =
|
|
62855
|
-
_.$_$.i =
|
|
62856
|
-
_.$_$.j =
|
|
62857
|
-
_.$_$.k =
|
|
62858
|
-
_.$_$.l =
|
|
62859
|
-
_.$_$.m =
|
|
62860
|
-
_.$_$.n =
|
|
62861
|
-
_.$_$.o =
|
|
62862
|
-
_.$_$.p =
|
|
62863
|
-
_.$_$.q =
|
|
62864
|
-
_.$_$.r =
|
|
62865
|
-
_.$_$.s =
|
|
62866
|
-
_.$_$.t =
|
|
62867
|
-
_.$_$.u =
|
|
62868
|
-
_.$_$.v =
|
|
62869
|
-
_.$_$.w =
|
|
62870
|
-
_.$_$.x =
|
|
62871
|
-
_.$_$.y =
|
|
62872
|
-
_.$_$.z =
|
|
62873
|
-
_.$_$.a1 =
|
|
62874
|
-
_.$_$.b1 =
|
|
62875
|
-
_.$_$.c1 =
|
|
62876
|
-
_.$_$.d1 =
|
|
62877
|
-
_.$_$.e1 =
|
|
62878
|
-
_.$_$.f1 =
|
|
62879
|
-
_.$_$.g1 =
|
|
62880
|
-
_.$_$.h1 =
|
|
62881
|
-
_.$_$.i1 =
|
|
62882
|
-
_.$_$.j1 =
|
|
62883
|
-
_.$_$.k1 =
|
|
62884
|
-
_.$_$.l1 =
|
|
62885
|
-
_.$_$.m1 =
|
|
62886
|
-
_.$_$.n1 =
|
|
62887
|
-
_.$_$.o1 =
|
|
62888
|
-
_.$_$.p1 =
|
|
62889
|
-
_.$_$.q1 =
|
|
62890
|
-
_.$_$.r1 =
|
|
62891
|
-
_.$_$.s1 =
|
|
62892
|
-
_.$_$.t1 =
|
|
62893
|
-
_.$_$.u1 =
|
|
62894
|
-
_.$_$.v1 =
|
|
62895
|
-
_.$_$.w1 =
|
|
62896
|
-
_.$_$.x1 =
|
|
62897
|
-
_.$_$.y1 =
|
|
62898
|
-
_.$_$.z1 =
|
|
62899
|
-
_.$_$.a2 =
|
|
62900
|
-
_.$_$.b2 =
|
|
62901
|
-
_.$_$.c2 =
|
|
62902
|
-
_.$_$.d2 =
|
|
62903
|
-
_.$_$.e2 =
|
|
62904
|
-
_.$_$.f2 =
|
|
62905
|
-
_.$_$.g2 =
|
|
62906
|
-
_.$_$.h2 =
|
|
62907
|
-
_.$_$.i2 =
|
|
62908
|
-
_.$_$.j2 =
|
|
62909
|
-
_.$_$.k2 =
|
|
62910
|
-
_.$_$.l2 =
|
|
62911
|
-
_.$_$.m2 =
|
|
62912
|
-
_.$_$.n2 =
|
|
62913
|
-
_.$_$.o2 =
|
|
62914
|
-
_.$_$.p2 =
|
|
62915
|
-
_.$_$.q2 =
|
|
62916
|
-
_.$_$.r2 =
|
|
62917
|
-
_.$_$.s2 =
|
|
62918
|
-
_.$_$.t2 =
|
|
62919
|
-
_.$_$.u2 =
|
|
62920
|
-
_.$_$.v2 =
|
|
62921
|
-
_.$_$.w2 =
|
|
62922
|
-
_.$_$.x2 =
|
|
62923
|
-
_.$_$.y2 =
|
|
62924
|
-
_.$_$.z2 =
|
|
62925
|
-
_.$_$.a3 =
|
|
62926
|
-
_.$_$.b3 =
|
|
62927
|
-
_.$_$.c3 =
|
|
62928
|
-
_.$_$.d3 =
|
|
62929
|
-
_.$_$.e3 =
|
|
62930
|
-
_.$_$.f3 =
|
|
62931
|
-
_.$_$.g3 =
|
|
62932
|
-
_.$_$.h3 =
|
|
62933
|
-
_.$_$.i3 =
|
|
62934
|
-
_.$_$.j3 =
|
|
62935
|
-
_.$_$.k3 =
|
|
62936
|
-
_.$_$.l3 =
|
|
62937
|
-
_.$_$.m3 =
|
|
62938
|
-
_.$_$.n3 =
|
|
62939
|
-
_.$_$.o3 =
|
|
62940
|
-
_.$_$.p3 =
|
|
62941
|
-
_.$_$.q3 =
|
|
62942
|
-
_.$_$.r3 =
|
|
62943
|
-
_.$_$.s3 =
|
|
62944
|
-
_.$_$.t3 =
|
|
62945
|
-
_.$_$.u3 =
|
|
62946
|
-
_.$_$.v3 =
|
|
62947
|
-
_.$_$.w3 =
|
|
62948
|
-
_.$_$.x3 =
|
|
62949
|
-
_.$_$.y3 =
|
|
62950
|
-
_.$_$.z3 =
|
|
62951
|
-
_.$_$.a4 =
|
|
62952
|
-
_.$_$.b4 =
|
|
62953
|
-
_.$_$.c4 =
|
|
62954
|
-
_.$_$.d4 =
|
|
62955
|
-
_.$_$.e4 =
|
|
62956
|
-
_.$_$.f4 =
|
|
62957
|
-
_.$_$.g4 =
|
|
62958
|
-
_.$_$.h4 =
|
|
62959
|
-
_.$_$.i4 =
|
|
62960
|
-
_.$_$.j4 =
|
|
62961
|
-
_.$_$.k4 =
|
|
62962
|
-
_.$_$.l4 =
|
|
62963
|
-
_.$_$.m4 =
|
|
62964
|
-
_.$_$.n4 =
|
|
62965
|
-
_.$_$.o4 =
|
|
62966
|
-
_.$_$.p4 =
|
|
62967
|
-
_.$_$.q4 =
|
|
62968
|
-
_.$_$.r4 =
|
|
62969
|
-
_.$_$.s4 =
|
|
62970
|
-
_.$_$.t4 =
|
|
62971
|
-
_.$_$.u4 =
|
|
62972
|
-
_.$_$.v4 =
|
|
62973
|
-
_.$_$.w4 =
|
|
62974
|
-
_.$_$.x4 =
|
|
62975
|
-
_.$_$.y4 =
|
|
62976
|
-
_.$_$.z4 =
|
|
62977
|
-
_.$_$.a5 =
|
|
62978
|
-
_.$_$.b5 =
|
|
62979
|
-
_.$_$.c5 =
|
|
62980
|
-
_.$_$.d5 =
|
|
62981
|
-
_.$_$.e5 =
|
|
62982
|
-
_.$_$.f5 =
|
|
62983
|
-
_.$_$.g5 =
|
|
62942
|
+
_.$_$.h = LeaguesConfig;
|
|
62943
|
+
_.$_$.i = UserMessage;
|
|
62944
|
+
_.$_$.j = PlayerAchievements;
|
|
62945
|
+
_.$_$.k = PlayerLeftResult;
|
|
62946
|
+
_.$_$.l = Spectator;
|
|
62947
|
+
_.$_$.m = getGameCreator;
|
|
62948
|
+
_.$_$.n = mapToGameAnalytics;
|
|
62949
|
+
_.$_$.o = mapToDto_20;
|
|
62950
|
+
_.$_$.p = mapToDto_78;
|
|
62951
|
+
_.$_$.q = mapToClient_0;
|
|
62952
|
+
_.$_$.r = toLoggerPayload;
|
|
62953
|
+
_.$_$.s = DealerConfig;
|
|
62954
|
+
_.$_$.t = EngineBotConfig;
|
|
62955
|
+
_.$_$.u = EngineLogicConfig;
|
|
62956
|
+
_.$_$.v = EncoderDecoderProvider;
|
|
62957
|
+
_.$_$.w = TeamsLogicProvider;
|
|
62958
|
+
_.$_$.x = engineGameBotModule;
|
|
62959
|
+
_.$_$.y = engineGameLogicModule;
|
|
62960
|
+
_.$_$.z = getEngineGameModule;
|
|
62961
|
+
_.$_$.a1 = jsonModule;
|
|
62962
|
+
_.$_$.b1 = get_ratingModule;
|
|
62963
|
+
_.$_$.c1 = FromClientEventsObserver;
|
|
62964
|
+
_.$_$.d1 = BotChatInteractor;
|
|
62965
|
+
_.$_$.e1 = LastCardInteractor;
|
|
62966
|
+
_.$_$.f1 = PlayerAnswerInteractor;
|
|
62967
|
+
_.$_$.g1 = GameLifecycleInteractor;
|
|
62968
|
+
_.$_$.h1 = UserRatingInteractor;
|
|
62969
|
+
_.$_$.i1 = ignoreTimerResetValidation;
|
|
62970
|
+
_.$_$.j1 = NotValidateTimerReset;
|
|
62971
|
+
_.$_$.k1 = ScenePositionProvider;
|
|
62972
|
+
_.$_$.l1 = FromClientActionPayloadProvider;
|
|
62973
|
+
_.$_$.m1 = PlayerReadyFromClientAction;
|
|
62974
|
+
_.$_$.n1 = ActionDeliveryPayload;
|
|
62975
|
+
_.$_$.o1 = CombinedToClientAction;
|
|
62976
|
+
_.$_$.p1 = ContinueGameToClientAction;
|
|
62977
|
+
_.$_$.q1 = FinishGameToClientAction;
|
|
62978
|
+
_.$_$.r1 = FinishingGameToClientAction;
|
|
62979
|
+
_.$_$.s1 = RoomActionPayload;
|
|
62980
|
+
_.$_$.t1 = ToClientAction;
|
|
62981
|
+
_.$_$.u1 = mapFromClient_6;
|
|
62982
|
+
_.$_$.v1 = mapToClient_19;
|
|
62983
|
+
_.$_$.w1 = mapToClient_6;
|
|
62984
|
+
_.$_$.x1 = mapToClient_11;
|
|
62985
|
+
_.$_$.y1 = mapToClient_8;
|
|
62986
|
+
_.$_$.z1 = mapToClient_21;
|
|
62987
|
+
_.$_$.a2 = mapToClient_7;
|
|
62988
|
+
_.$_$.b2 = mapToClient_22;
|
|
62989
|
+
_.$_$.c2 = mapToClient_23;
|
|
62990
|
+
_.$_$.d2 = mapToClient_10;
|
|
62991
|
+
_.$_$.e2 = mapToClient_25;
|
|
62992
|
+
_.$_$.f2 = mapToClient_12;
|
|
62993
|
+
_.$_$.g2 = mapToClient_9;
|
|
62994
|
+
_.$_$.h2 = mapToClient_20;
|
|
62995
|
+
_.$_$.i2 = mapToClient_14;
|
|
62996
|
+
_.$_$.j2 = mapToClient_24;
|
|
62997
|
+
_.$_$.k2 = mapToClient_18;
|
|
62998
|
+
_.$_$.l2 = mapToClient_15;
|
|
62999
|
+
_.$_$.m2 = mapToClient_13;
|
|
63000
|
+
_.$_$.n2 = mapToClient_16;
|
|
63001
|
+
_.$_$.o2 = mapToClient_17;
|
|
63002
|
+
_.$_$.p2 = RoundEndedAction;
|
|
63003
|
+
_.$_$.q2 = CombinationChoiceMechanicAction;
|
|
63004
|
+
_.$_$.r2 = ContinueGameMechanicAction;
|
|
63005
|
+
_.$_$.s2 = ErrorAction;
|
|
63006
|
+
_.$_$.t2 = FinishGameMechanicAction;
|
|
63007
|
+
_.$_$.u2 = FinishingGameMechanicAction;
|
|
63008
|
+
_.$_$.v2 = FirstMechanicAction;
|
|
63009
|
+
_.$_$.w2 = GameToRoomTransition;
|
|
63010
|
+
_.$_$.x2 = MechanicAction;
|
|
63011
|
+
_.$_$.y2 = MessageMechanicAction;
|
|
63012
|
+
_.$_$.z2 = NextPlayerTurnAction;
|
|
63013
|
+
_.$_$.a3 = PickUpBribeMechanicAction;
|
|
63014
|
+
_.$_$.b3 = PlayerConnectionChangedMechanicAction;
|
|
63015
|
+
_.$_$.c3 = PlayerReadyMechanicAction;
|
|
63016
|
+
_.$_$.d3 = PutCardMechanicAction;
|
|
63017
|
+
_.$_$.e3 = RestartGameMechanicAction;
|
|
63018
|
+
_.$_$.f3 = SceneActMechanicAction;
|
|
63019
|
+
_.$_$.g3 = SceneMechanicAction;
|
|
63020
|
+
_.$_$.h3 = StartGameMechanicAction;
|
|
63021
|
+
_.$_$.i3 = StartNewGameMechanicAction;
|
|
63022
|
+
_.$_$.j3 = SuitChoiceMechanicAction;
|
|
63023
|
+
_.$_$.k3 = TakeAllRemainingCardsMechanicAction;
|
|
63024
|
+
_.$_$.l3 = TeamsDataMechanicAction;
|
|
63025
|
+
_.$_$.m3 = TrumpMechanicAction;
|
|
63026
|
+
_.$_$.n3 = WinnerCombinationsMechanicAction;
|
|
63027
|
+
_.$_$.o3 = SceneEndedMechanicAction;
|
|
63028
|
+
_.$_$.p3 = ClearAction;
|
|
63029
|
+
_.$_$.q3 = PlayerConnectionUpdateAction;
|
|
63030
|
+
_.$_$.r3 = BotGameStoreContract;
|
|
63031
|
+
_.$_$.s3 = FileLoggerStoreContract;
|
|
63032
|
+
_.$_$.t3 = GameMechanicStoreContract;
|
|
63033
|
+
_.$_$.u3 = StoreContract;
|
|
63034
|
+
_.$_$.v3 = TimersStoreContract;
|
|
63035
|
+
_.$_$.w3 = ValidationStoreContract;
|
|
63036
|
+
_.$_$.x3 = prefetchRandomOrgPoolMiddleware;
|
|
63037
|
+
_.$_$.y3 = sendFromClientEventsMiddleware;
|
|
63038
|
+
_.$_$.z3 = roundLifecycleMiddleware;
|
|
63039
|
+
_.$_$.a4 = putPlayerLastCardMiddleware;
|
|
63040
|
+
_.$_$.b4 = PlayerTurnTimerTag;
|
|
63041
|
+
_.$_$.c4 = clearOnFinishMiddleware;
|
|
63042
|
+
_.$_$.d4 = checkBotsMiddleware;
|
|
63043
|
+
_.$_$.e4 = BaseMechanicLifecycleReducer;
|
|
63044
|
+
_.$_$.f4 = MechanicLifecycleReducer;
|
|
63045
|
+
_.$_$.g4 = PlayerTurnMechanicReducer;
|
|
63046
|
+
_.$_$.h4 = TableLifecycleReducer;
|
|
63047
|
+
_.$_$.i4 = AppStatePayload;
|
|
63048
|
+
_.$_$.j4 = AppState;
|
|
63049
|
+
_.$_$.k4 = TerminationState;
|
|
63050
|
+
_.$_$.l4 = CallbackWrapperLoggerOutput;
|
|
63051
|
+
_.$_$.m4 = FileLoggerOutputImpl;
|
|
63052
|
+
_.$_$.n4 = FileLoggerOutput;
|
|
63053
|
+
_.$_$.o4 = get_isCreated;
|
|
63054
|
+
_.$_$.p4 = get_isCreating;
|
|
63055
|
+
_.$_$.q4 = get_isFinished;
|
|
63056
|
+
_.$_$.r4 = get_isFinishing;
|
|
63057
|
+
_.$_$.s4 = BaseGame;
|
|
63058
|
+
_.$_$.t4 = GameStoreContract;
|
|
63059
|
+
_.$_$.u4 = GameStore;
|
|
63060
|
+
_.$_$.v4 = StateProvider;
|
|
63061
|
+
_.$_$.w4 = FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance;
|
|
63062
|
+
_.$_$.x4 = RoomMode_REVENGE_getInstance;
|
|
63063
|
+
_.$_$.y4 = GameLifecycleState_CREATED_getInstance;
|
|
63064
|
+
_.$_$.z4 = UserActionPayload_init_$Create$;
|
|
63065
|
+
_.$_$.a5 = AskBotAction_init_$Create$;
|
|
63066
|
+
_.$_$.b5 = PlayerTurnTimerTag_init_$Create$;
|
|
63067
|
+
_.$_$.c5 = Companion_instance_11;
|
|
63068
|
+
_.$_$.d5 = Companion_instance_12;
|
|
63069
|
+
_.$_$.e5 = Companion_instance_155;
|
|
63070
|
+
_.$_$.f5 = Companion_instance_174;
|
|
63071
|
+
_.$_$.g5 = Companion_instance_176;
|
|
63072
|
+
_.$_$.h5 = Companion_instance_178;
|
|
63073
|
+
_.$_$.i5 = Companion_instance_179;
|
|
62984
63074
|
//endregion
|
|
62985
63075
|
return _;
|
|
62986
63076
|
}));
|