raspberry_games_server_game_logic 1.8.444 → 1.8.446
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +900 -814
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +7 -4
- package/Logic_Debertz-game_server.js +901 -873
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- 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]);
|
|
@@ -1205,7 +1205,7 @@
|
|
|
1205
1205
|
initMetadataForClass(StartGameToClientAction, 'StartGameToClientAction', VOID, ToClientAction, [ToClientAction, FirstToClientAction]);
|
|
1206
1206
|
initMetadataForClass(StartNewGameToClientAction, 'StartNewGameToClientAction', VOID, ToClientAction);
|
|
1207
1207
|
initMetadataForClass(ContinueGameToClientAction, 'ContinueGameToClientAction', VOID, ToClientAction, [ToClientAction, FirstToClientAction]);
|
|
1208
|
-
initMetadataForClass(FinishingGameToClientAction, 'FinishingGameToClientAction', VOID, ToClientAction);
|
|
1208
|
+
initMetadataForClass(FinishingGameToClientAction, 'FinishingGameToClientAction', VOID, ToClientAction, [ToClientAction, NotValidateIfGameFinished]);
|
|
1209
1209
|
initMetadataForClass(FinishGameToClientAction, 'FinishGameToClientAction', VOID, ToClientAction, [ToClientAction, NotValidateIfGameFinished]);
|
|
1210
1210
|
initMetadataForClass(RestartGameToClientAction, 'RestartGameToClientAction', VOID, ToClientAction);
|
|
1211
1211
|
initMetadataForClass(SceneToClientAction, 'SceneToClientAction', VOID, ToClientAction);
|
|
@@ -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();
|
|
41919
|
+
// Inline function 'org.kodein.type.generic' call
|
|
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();
|
|
41851
41932
|
// Inline function 'org.kodein.type.generic' call
|
|
41852
|
-
var
|
|
41853
|
-
var tmp$ret$
|
|
41854
|
-
var tmp$ret$
|
|
41855
|
-
|
|
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
|
}
|
|
@@ -46122,10 +46203,9 @@
|
|
|
46122
46203
|
}
|
|
46123
46204
|
return destination;
|
|
46124
46205
|
}
|
|
46125
|
-
function applyLeagueRatingCap($this, results, league, ratingConfig) {
|
|
46206
|
+
function applyLeagueRatingCap($this, results, league, ratingConfig, leaguesConfig) {
|
|
46126
46207
|
if (!ratingConfig.applyLeagueRatingCap || league == null)
|
|
46127
46208
|
return results;
|
|
46128
|
-
var leaguesConfig = $this.r8z();
|
|
46129
46209
|
var leagueMaxRating = leaguesConfig.getLeagueInfo(league).maxRating;
|
|
46130
46210
|
// Inline function 'kotlin.collections.map' call
|
|
46131
46211
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -46142,26 +46222,26 @@
|
|
|
46142
46222
|
return destination;
|
|
46143
46223
|
}
|
|
46144
46224
|
function PlayerRatingOutputOrderComparator(players) {
|
|
46145
|
-
this.
|
|
46225
|
+
this.v8z_1 = new PlayerIdOrderComparator(players);
|
|
46146
46226
|
}
|
|
46147
|
-
protoOf(PlayerRatingOutputOrderComparator).
|
|
46148
|
-
return this.
|
|
46227
|
+
protoOf(PlayerRatingOutputOrderComparator).w8z = function (a, b) {
|
|
46228
|
+
return this.v8z_1.a67(a.b77_1, b.b77_1);
|
|
46149
46229
|
};
|
|
46150
46230
|
protoOf(PlayerRatingOutputOrderComparator).compare = function (a, b) {
|
|
46151
46231
|
var tmp = a instanceof PlayerRatingOutput ? a : THROW_CCE();
|
|
46152
|
-
return this.
|
|
46232
|
+
return this.w8z(tmp, b instanceof PlayerRatingOutput ? b : THROW_CCE());
|
|
46153
46233
|
};
|
|
46154
46234
|
function sam$kotlin_Comparator$0_9(function_0) {
|
|
46155
|
-
this.
|
|
46235
|
+
this.x8z_1 = function_0;
|
|
46156
46236
|
}
|
|
46157
46237
|
protoOf(sam$kotlin_Comparator$0_9).fc = function (a, b) {
|
|
46158
|
-
return this.
|
|
46238
|
+
return this.x8z_1(a, b);
|
|
46159
46239
|
};
|
|
46160
46240
|
protoOf(sam$kotlin_Comparator$0_9).compare = function (a, b) {
|
|
46161
46241
|
return this.fc(a, b);
|
|
46162
46242
|
};
|
|
46163
46243
|
protoOf(sam$kotlin_Comparator$0_9).b3 = function () {
|
|
46164
|
-
return this.
|
|
46244
|
+
return this.x8z_1;
|
|
46165
46245
|
};
|
|
46166
46246
|
protoOf(sam$kotlin_Comparator$0_9).equals = function (other) {
|
|
46167
46247
|
var tmp;
|
|
@@ -46188,39 +46268,32 @@
|
|
|
46188
46268
|
return compareValues(tmp, tmp$ret$1);
|
|
46189
46269
|
}
|
|
46190
46270
|
function UserRatingInteractorImpl(ratingCalculator) {
|
|
46191
|
-
this.
|
|
46271
|
+
this.y8z_1 = ratingCalculator;
|
|
46192
46272
|
}
|
|
46193
|
-
protoOf(UserRatingInteractorImpl).p8z = function (league, rating) {
|
|
46194
|
-
var config = this.r8z();
|
|
46273
|
+
protoOf(UserRatingInteractorImpl).p8z = function (league, rating, leaguesConfig) {
|
|
46195
46274
|
var requestedLeagueIndex = get_entries_0().w1(league);
|
|
46196
|
-
var userLeague =
|
|
46275
|
+
var userLeague = leaguesConfig.getLeagueByRating(rating);
|
|
46197
46276
|
var userLeagueIndex = get_entries_0().w1(userLeague);
|
|
46198
46277
|
return userLeagueIndex >= requestedLeagueIndex;
|
|
46199
46278
|
};
|
|
46200
|
-
protoOf(UserRatingInteractorImpl).q8z = function (rating) {
|
|
46201
|
-
|
|
46202
|
-
return config.getLeagueByRating(rating);
|
|
46279
|
+
protoOf(UserRatingInteractorImpl).q8z = function (rating, leaguesConfig) {
|
|
46280
|
+
return leaguesConfig.getLeagueByRating(rating);
|
|
46203
46281
|
};
|
|
46204
|
-
protoOf(UserRatingInteractorImpl).
|
|
46205
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
46206
|
-
return defaultConfig;
|
|
46207
|
-
};
|
|
46208
|
-
protoOf(UserRatingInteractorImpl).a90 = function (ratingList, playersMode, pointsMode, ratingConfig, league) {
|
|
46282
|
+
protoOf(UserRatingInteractorImpl).z8z = function (ratingList, playersMode, pointsMode, ratingConfig, leaguesConfig, league) {
|
|
46209
46283
|
var maxScore = pointsMode.value;
|
|
46210
46284
|
var gameComplexityCoefficient = getGameComplexityFactor(this, playersMode, pointsMode);
|
|
46211
|
-
var leaguesConfig = this.r8z();
|
|
46212
46285
|
var tmp;
|
|
46213
46286
|
switch (playersMode.q2_1) {
|
|
46214
46287
|
case 0:
|
|
46215
46288
|
case 1:
|
|
46216
46289
|
case 2:
|
|
46217
|
-
var tmp1_$this = this.
|
|
46290
|
+
var tmp1_$this = this.y8z_1;
|
|
46218
46291
|
var tmp2_minUserRating = leaguesConfig.minUserRating;
|
|
46219
46292
|
var tmp3_maxUserRating = leaguesConfig.maxUserRating;
|
|
46220
46293
|
tmp = tmp1_$this.n8z(maxScore, tmp2_minUserRating, tmp3_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
46221
46294
|
break;
|
|
46222
46295
|
case 3:
|
|
46223
|
-
var tmp4_$this = this.
|
|
46296
|
+
var tmp4_$this = this.y8z_1;
|
|
46224
46297
|
var tmp5_minUserRating = leaguesConfig.minUserRating;
|
|
46225
46298
|
var tmp6_maxUserRating = leaguesConfig.maxUserRating;
|
|
46226
46299
|
tmp = tmp4_$this.o8z(maxScore, tmp5_minUserRating, tmp6_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
|
|
@@ -46230,7 +46303,7 @@
|
|
|
46230
46303
|
break;
|
|
46231
46304
|
}
|
|
46232
46305
|
var results = tmp;
|
|
46233
|
-
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig);
|
|
46306
|
+
var cappedResults = applyLeagueRatingCap(this, results, league, ratingConfig, leaguesConfig);
|
|
46234
46307
|
// Inline function 'kotlin.collections.map' call
|
|
46235
46308
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46236
46309
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(ratingList, 10));
|
|
@@ -46242,23 +46315,23 @@
|
|
|
46242
46315
|
}
|
|
46243
46316
|
return sortedWith(cappedResults, new PlayerRatingOutputOrderComparator(destination));
|
|
46244
46317
|
};
|
|
46245
|
-
protoOf(UserRatingInteractorImpl).
|
|
46318
|
+
protoOf(UserRatingInteractorImpl).t8z = function (allPlayers, config, winners, playerFinalPoints, gameDuration, ratingConfig, leaguesConfig) {
|
|
46246
46319
|
// Inline function 'kotlin.collections.map' call
|
|
46247
46320
|
// Inline function 'kotlin.collections.mapTo' call
|
|
46248
46321
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(allPlayers, 10));
|
|
46249
46322
|
var _iterator__ex2g4s = allPlayers.l();
|
|
46250
46323
|
while (_iterator__ex2g4s.m()) {
|
|
46251
46324
|
var item = _iterator__ex2g4s.n();
|
|
46252
|
-
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);
|
|
46253
46326
|
destination.j(tmp$ret$0);
|
|
46254
46327
|
}
|
|
46255
46328
|
var ratingList = destination;
|
|
46256
46329
|
var tmp0_pointsMode = config.pointsMode;
|
|
46257
46330
|
var tmp1_playersMode = config.playersMode;
|
|
46258
46331
|
var tmp2_league = config.league;
|
|
46259
|
-
return this.
|
|
46332
|
+
return this.z8z(ratingList, tmp1_playersMode, tmp0_pointsMode, ratingConfig, leaguesConfig, tmp2_league);
|
|
46260
46333
|
};
|
|
46261
|
-
protoOf(UserRatingInteractorImpl).
|
|
46334
|
+
protoOf(UserRatingInteractorImpl).r8z = function (leavingPlayer, allPlayers, config, gameDuration, isGameFinished, ratingConfig, leaguesConfig) {
|
|
46262
46335
|
var winnerIds = getWinnersOrFakeItWhenPlayerLeft(this, config, leavingPlayer, allPlayers, isGameFinished);
|
|
46263
46336
|
var playerFinalPoints = getGamePointsOrFakeItWhenPlayerLeft(this, config, leavingPlayer, allPlayers, isGameFinished, winnerIds);
|
|
46264
46337
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -46269,11 +46342,11 @@
|
|
|
46269
46342
|
var item = _iterator__ex2g4s.n();
|
|
46270
46343
|
var isLeavingPlayer = item.playerId === leavingPlayer.playerId;
|
|
46271
46344
|
var isWinner = winnerIds.u1(item.playerId);
|
|
46272
|
-
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);
|
|
46273
46346
|
destination.j(tmp$ret$0);
|
|
46274
46347
|
}
|
|
46275
46348
|
var ratingInputs = destination;
|
|
46276
|
-
var results = this.
|
|
46349
|
+
var results = this.z8z(ratingInputs, config.playersMode, config.pointsMode, ratingConfig, leaguesConfig, config.league);
|
|
46277
46350
|
var tmp$ret$4;
|
|
46278
46351
|
$l$block: {
|
|
46279
46352
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -46290,7 +46363,6 @@
|
|
|
46290
46363
|
return tmp$ret$4;
|
|
46291
46364
|
};
|
|
46292
46365
|
function mapToRatingInput(_this__u8e3s4, isWinner, agentType, finalGamePoints, leaguesConfig) {
|
|
46293
|
-
leaguesConfig = leaguesConfig === VOID ? Companion_instance_12.defaultConfig() : leaguesConfig;
|
|
46294
46366
|
var rating = _this__u8e3s4.p6v_1.getRatingOrDefault(leaguesConfig.initialRating);
|
|
46295
46367
|
var userStatsPayload = getUserProfilePayloadOrDefault(_this__u8e3s4.p6v_1);
|
|
46296
46368
|
var tmp0_playerId = _this__u8e3s4.playerId;
|
|
@@ -46301,8 +46373,8 @@
|
|
|
46301
46373
|
}
|
|
46302
46374
|
function getSceneActPlayerTurn($this, action, table) {
|
|
46303
46375
|
var tmp;
|
|
46304
|
-
if (action.
|
|
46305
|
-
var tmp0 = action.
|
|
46376
|
+
if (action.d90_1 === 'WAITING_ACT') {
|
|
46377
|
+
var tmp0 = action.e90_1;
|
|
46306
46378
|
var tmp$ret$0;
|
|
46307
46379
|
$l$block: {
|
|
46308
46380
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46316,7 +46388,7 @@
|
|
|
46316
46388
|
var tmp_0;
|
|
46317
46389
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46318
46390
|
if (!data.g7f_1.r()) {
|
|
46319
|
-
tmp_0 = PlayerTurnModel_init_$Create$($this.
|
|
46391
|
+
tmp_0 = PlayerTurnModel_init_$Create$($this.g90_1.o8u(action.c90_1, table.gameInfo.round), data.e7f());
|
|
46320
46392
|
} else {
|
|
46321
46393
|
tmp_0 = null;
|
|
46322
46394
|
}
|
|
@@ -46329,12 +46401,12 @@
|
|
|
46329
46401
|
return playerTurnModel;
|
|
46330
46402
|
}
|
|
46331
46403
|
var tmp_1;
|
|
46332
|
-
switch (action.
|
|
46404
|
+
switch (action.c90_1) {
|
|
46333
46405
|
case 'TRADE':
|
|
46334
46406
|
var tmp_2;
|
|
46335
|
-
switch (action.
|
|
46407
|
+
switch (action.d90_1) {
|
|
46336
46408
|
case 'COMBINATION':
|
|
46337
|
-
var tmp0_0 = action.
|
|
46409
|
+
var tmp0_0 = action.e90_1;
|
|
46338
46410
|
var tmp$ret$2;
|
|
46339
46411
|
$l$block_0: {
|
|
46340
46412
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46350,7 +46422,7 @@
|
|
|
46350
46422
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46351
46423
|
|
|
46352
46424
|
if (!data_0.i7f_1.r()) {
|
|
46353
|
-
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());
|
|
46354
46426
|
} else {
|
|
46355
46427
|
tmp_3 = null;
|
|
46356
46428
|
}
|
|
@@ -46358,7 +46430,7 @@
|
|
|
46358
46430
|
tmp_2 = tmp_3;
|
|
46359
46431
|
break;
|
|
46360
46432
|
case 'PLAYER_TURN':
|
|
46361
|
-
var tmp0_1 = action.
|
|
46433
|
+
var tmp0_1 = action.e90_1;
|
|
46362
46434
|
var tmp$ret$4;
|
|
46363
46435
|
$l$block_1: {
|
|
46364
46436
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46371,7 +46443,7 @@
|
|
|
46371
46443
|
|
|
46372
46444
|
var data_1 = tmp$ret$4;
|
|
46373
46445
|
var player = getPlayer(table.players, data_1.e7f());
|
|
46374
|
-
tmp_2 = PlayerTurnModel_init_$Create$($this.
|
|
46446
|
+
tmp_2 = PlayerTurnModel_init_$Create$($this.g90_1.s8u(table.gameInfo.round, player), data_1.e7f());
|
|
46375
46447
|
break;
|
|
46376
46448
|
default:
|
|
46377
46449
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46381,9 +46453,9 @@
|
|
|
46381
46453
|
break;
|
|
46382
46454
|
case 'EARN_POINTS':
|
|
46383
46455
|
var tmp_4;
|
|
46384
|
-
switch (action.
|
|
46456
|
+
switch (action.d90_1) {
|
|
46385
46457
|
case 'COMBINATION':
|
|
46386
|
-
var tmp0_2 = action.
|
|
46458
|
+
var tmp0_2 = action.e90_1;
|
|
46387
46459
|
var tmp$ret$5;
|
|
46388
46460
|
$l$block_2: {
|
|
46389
46461
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46399,7 +46471,7 @@
|
|
|
46399
46471
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46400
46472
|
|
|
46401
46473
|
if (!data_2.i7f_1.r()) {
|
|
46402
|
-
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());
|
|
46403
46475
|
} else {
|
|
46404
46476
|
tmp_5 = null;
|
|
46405
46477
|
}
|
|
@@ -46407,7 +46479,7 @@
|
|
|
46407
46479
|
tmp_4 = tmp_5;
|
|
46408
46480
|
break;
|
|
46409
46481
|
case 'PLAYER_TURN':
|
|
46410
|
-
var tmp0_3 = action.
|
|
46482
|
+
var tmp0_3 = action.e90_1;
|
|
46411
46483
|
var tmp$ret$7;
|
|
46412
46484
|
$l$block_3: {
|
|
46413
46485
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -46420,7 +46492,7 @@
|
|
|
46420
46492
|
|
|
46421
46493
|
var data_3 = tmp$ret$7;
|
|
46422
46494
|
var nextPlayerTurn = getPlayer(table.players, data_3.e7f());
|
|
46423
|
-
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);
|
|
46424
46496
|
break;
|
|
46425
46497
|
default:
|
|
46426
46498
|
throw IllegalStateException_init_$Create$("getSceneActPlayerTurn: Can't support this scene action " + action.toString());
|
|
@@ -46435,7 +46507,7 @@
|
|
|
46435
46507
|
}
|
|
46436
46508
|
function getScenePlayerTurn($this, action, table) {
|
|
46437
46509
|
var tmp;
|
|
46438
|
-
switch (action.
|
|
46510
|
+
switch (action.k90_1) {
|
|
46439
46511
|
case 'CHOOSE_PARTNER':
|
|
46440
46512
|
var tmp0 = action.sceneData;
|
|
46441
46513
|
var tmp$ret$0;
|
|
@@ -46449,13 +46521,13 @@
|
|
|
46449
46521
|
}
|
|
46450
46522
|
|
|
46451
46523
|
var data = tmp$ret$0;
|
|
46452
|
-
tmp = PlayerTurnModel_init_$Create$($this.
|
|
46524
|
+
tmp = PlayerTurnModel_init_$Create$($this.g90_1.p8u(table.gameInfo.round), data.e7f());
|
|
46453
46525
|
break;
|
|
46454
46526
|
case 'TRADE':
|
|
46455
46527
|
case 'EARN_POINTS':
|
|
46456
46528
|
// Inline function 'kotlin.requireNotNull' call
|
|
46457
46529
|
|
|
46458
|
-
var tmp0_0 = action.
|
|
46530
|
+
var tmp0_0 = action.l90_1;
|
|
46459
46531
|
var tmp$ret$2;
|
|
46460
46532
|
$l$block_0: {
|
|
46461
46533
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -46469,7 +46541,7 @@
|
|
|
46469
46541
|
}
|
|
46470
46542
|
|
|
46471
46543
|
var tmp$ret$3 = tmp$ret$2;
|
|
46472
|
-
var tmp1_action = new SceneActMechanicAction(action.
|
|
46544
|
+
var tmp1_action = new SceneActMechanicAction(action.k90_1, tmp$ret$3, action.m90_1);
|
|
46473
46545
|
tmp = getSceneActPlayerTurn($this, tmp1_action, table);
|
|
46474
46546
|
break;
|
|
46475
46547
|
case 'CALC_POINTS':
|
|
@@ -46485,7 +46557,7 @@
|
|
|
46485
46557
|
}
|
|
46486
46558
|
|
|
46487
46559
|
var data_0 = tmp$ret$4;
|
|
46488
|
-
tmp = new PlayerTurnModel($this.
|
|
46560
|
+
tmp = new PlayerTurnModel($this.g90_1.q8u(table.gameInfo.round), data_0.g7g_1);
|
|
46489
46561
|
break;
|
|
46490
46562
|
default:
|
|
46491
46563
|
tmp = null;
|
|
@@ -46496,15 +46568,15 @@
|
|
|
46496
46568
|
function getSelectSuitPlayerTurn($this, action, table) {
|
|
46497
46569
|
var tmp;
|
|
46498
46570
|
var tmp_0;
|
|
46499
|
-
if (action.
|
|
46571
|
+
if (action.o90_1 == null) {
|
|
46500
46572
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46501
|
-
tmp_0 = !action.
|
|
46573
|
+
tmp_0 = !action.r90_1.r();
|
|
46502
46574
|
} else {
|
|
46503
46575
|
tmp_0 = false;
|
|
46504
46576
|
}
|
|
46505
46577
|
if (tmp_0) {
|
|
46506
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46507
|
-
var tmp0_$this = $this.
|
|
46578
|
+
var nextPlayerTurn = getPlayer(table.players, single(action.r90_1));
|
|
46579
|
+
var tmp0_$this = $this.g90_1;
|
|
46508
46580
|
var tmp1_round = table.gameInfo.round;
|
|
46509
46581
|
tmp = PlayerTurnModel_init_$Create$(tmp0_$this.s8u(tmp1_round, nextPlayerTurn), nextPlayerTurn.playerId);
|
|
46510
46582
|
} else {
|
|
@@ -46515,28 +46587,28 @@
|
|
|
46515
46587
|
function getPutCardPlayerTurn($this, action, table) {
|
|
46516
46588
|
var tmp;
|
|
46517
46589
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46518
|
-
if (!action.
|
|
46519
|
-
var nextPlayerTurn = getPlayer(table.players, single(action.
|
|
46520
|
-
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);
|
|
46521
46593
|
} else {
|
|
46522
46594
|
tmp = null;
|
|
46523
46595
|
}
|
|
46524
46596
|
return tmp;
|
|
46525
46597
|
}
|
|
46526
46598
|
function getPickUpBribePlayerTurn($this, action, table) {
|
|
46527
|
-
var nextPlayerTurn = getPlayer(table.players, action.
|
|
46599
|
+
var nextPlayerTurn = getPlayer(table.players, action.z90_1);
|
|
46528
46600
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
46529
46601
|
if (!nextPlayerTurn.r6v_1.r()) {
|
|
46530
|
-
var tmp0_$this = $this.
|
|
46531
|
-
var tmp1_numberOfBribe = action.
|
|
46602
|
+
var tmp0_$this = $this.g90_1;
|
|
46603
|
+
var tmp1_numberOfBribe = action.a91_1 + 1 | 0;
|
|
46532
46604
|
var tmp2_round = table.gameInfo.round;
|
|
46533
|
-
return PlayerTurnModel_init_$Create$(tmp0_$this.
|
|
46605
|
+
return PlayerTurnModel_init_$Create$(tmp0_$this.d91(tmp2_round, tmp1_numberOfBribe, 0), action.z90_1);
|
|
46534
46606
|
}
|
|
46535
46607
|
return null;
|
|
46536
46608
|
}
|
|
46537
46609
|
function PlayerTurnInteractorImpl(playerTurnTagProvider, logger) {
|
|
46538
|
-
this.
|
|
46539
|
-
this.
|
|
46610
|
+
this.g90_1 = playerTurnTagProvider;
|
|
46611
|
+
this.h90_1 = logger;
|
|
46540
46612
|
}
|
|
46541
46613
|
protoOf(PlayerTurnInteractorImpl).x8y = function (currentPlayerTurnId, players, rules) {
|
|
46542
46614
|
var tmp;
|
|
@@ -46547,7 +46619,7 @@
|
|
|
46547
46619
|
}
|
|
46548
46620
|
return tmp;
|
|
46549
46621
|
};
|
|
46550
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46622
|
+
protoOf(PlayerTurnInteractorImpl).a90 = function (action, table) {
|
|
46551
46623
|
var tmp;
|
|
46552
46624
|
if (action instanceof SceneMechanicAction) {
|
|
46553
46625
|
tmp = getScenePlayerTurn(this, action, table);
|
|
@@ -46572,7 +46644,7 @@
|
|
|
46572
46644
|
}
|
|
46573
46645
|
return tmp;
|
|
46574
46646
|
};
|
|
46575
|
-
protoOf(PlayerTurnInteractorImpl).
|
|
46647
|
+
protoOf(PlayerTurnInteractorImpl).b90 = function (player, action) {
|
|
46576
46648
|
var playerState = player.q6v_1;
|
|
46577
46649
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
46578
46650
|
var this_0 = playerState.k67_1;
|
|
@@ -46586,7 +46658,7 @@
|
|
|
46586
46658
|
function PlayerTurnTagProvider(logger) {
|
|
46587
46659
|
this.n8u_1 = logger;
|
|
46588
46660
|
}
|
|
46589
|
-
protoOf(PlayerTurnTagProvider).
|
|
46661
|
+
protoOf(PlayerTurnTagProvider).e91 = function (action, table) {
|
|
46590
46662
|
var tmp;
|
|
46591
46663
|
if (action instanceof RequestedCardDecksFromClientAction) {
|
|
46592
46664
|
tmp = this.o8u('WAITING', table.gameInfo.round);
|
|
@@ -46620,7 +46692,7 @@
|
|
|
46620
46692
|
}
|
|
46621
46693
|
return tmp;
|
|
46622
46694
|
};
|
|
46623
|
-
protoOf(PlayerTurnTagProvider).
|
|
46695
|
+
protoOf(PlayerTurnTagProvider).f91 = function (answerAction, table) {
|
|
46624
46696
|
var tmp;
|
|
46625
46697
|
if (answerAction instanceof SceneMechanicAction) {
|
|
46626
46698
|
tmp = this.o8u('WAITING', table.gameInfo.round);
|
|
@@ -46658,12 +46730,12 @@
|
|
|
46658
46730
|
protoOf(PlayerTurnTagProvider).s8u = function (round, player) {
|
|
46659
46731
|
return 'v5:TRADE:' + ('circle_' + player.s6v_1.n70_1.p74_1 + ':') + ('round_' + round.roundNumber);
|
|
46660
46732
|
};
|
|
46661
|
-
protoOf(PlayerTurnTagProvider).
|
|
46733
|
+
protoOf(PlayerTurnTagProvider).d91 = function (round, numberOfBribe, cardNumber) {
|
|
46662
46734
|
return 'v5:EARN_POINTS:' + ('bribe_' + numberOfBribe + ':') + ('number_' + cardNumber + ':') + ('round_' + round.roundNumber);
|
|
46663
46735
|
};
|
|
46664
46736
|
protoOf(PlayerTurnTagProvider).t8u = function (round, numberOfBribe, cardNumber, $super) {
|
|
46665
46737
|
numberOfBribe = numberOfBribe === VOID ? round.nextBribeNumber : numberOfBribe;
|
|
46666
|
-
return $super === VOID ? this.
|
|
46738
|
+
return $super === VOID ? this.d91(round, numberOfBribe, cardNumber) : $super.d91.call(this, round, numberOfBribe, cardNumber);
|
|
46667
46739
|
};
|
|
46668
46740
|
protoOf(PlayerTurnTagProvider).q8u = function (round) {
|
|
46669
46741
|
return 'v5:CALC_POINTS:' + ('round_' + round.roundNumber);
|
|
@@ -46671,7 +46743,7 @@
|
|
|
46671
46743
|
protoOf(PlayerTurnTagProvider).o8u = function (sceneId, round) {
|
|
46672
46744
|
return 'v5:' + (sceneId + ':') + 'waiting:' + ('round_' + round.roundNumber);
|
|
46673
46745
|
};
|
|
46674
|
-
protoOf(PlayerTurnTagProvider).
|
|
46746
|
+
protoOf(PlayerTurnTagProvider).i90 = function (sceneId, round, type) {
|
|
46675
46747
|
return 'v5:' + (sceneId + ':') + 'COMBINATION:' + (type.toString() + ':') + ('round_' + round.roundNumber);
|
|
46676
46748
|
};
|
|
46677
46749
|
protoOf(PlayerTurnTagProvider).r8u = function (sceneInfo, round) {
|
|
@@ -46697,9 +46769,9 @@
|
|
|
46697
46769
|
this.n8u_1.w(VOID, "Can't find tag for COMBINATION_ACT " + sceneInfo.toString());
|
|
46698
46770
|
return null;
|
|
46699
46771
|
}
|
|
46700
|
-
return this.
|
|
46772
|
+
return this.i90(sceneInfo.r81_1, round, combinationType);
|
|
46701
46773
|
};
|
|
46702
|
-
protoOf(PlayerTurnTagProvider).
|
|
46774
|
+
protoOf(PlayerTurnTagProvider).g91 = function (tag, round) {
|
|
46703
46775
|
var versionName = Companion_instance_2.v65(tag);
|
|
46704
46776
|
if (versionName === 'v5') {
|
|
46705
46777
|
return tag;
|
|
@@ -46722,11 +46794,11 @@
|
|
|
46722
46794
|
return tmp.a9();
|
|
46723
46795
|
}
|
|
46724
46796
|
function generateRandomData($this, table, cardDeck, cardsInCycle) {
|
|
46725
|
-
if (!$this.
|
|
46797
|
+
if (!$this.c92_1.shouldDisplayDealerStrategy) {
|
|
46726
46798
|
return null;
|
|
46727
46799
|
}
|
|
46728
|
-
var decksRecord = $this.
|
|
46729
|
-
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.
|
|
46800
|
+
var decksRecord = $this.b92_1.getGame(table.gameId);
|
|
46801
|
+
var dealerStrategy = table.config.getDealerStrategyOrDefault($this.c92_1);
|
|
46730
46802
|
if (!(decksRecord == null)) {
|
|
46731
46803
|
var tmp0_id = decksRecord.poolId;
|
|
46732
46804
|
var tmp1_signature = decksRecord.signature;
|
|
@@ -46736,7 +46808,7 @@
|
|
|
46736
46808
|
var tmp3_safe_receiver = table.gameHistory.metadata;
|
|
46737
46809
|
var previousRandomData = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.randomData;
|
|
46738
46810
|
var tmp5_elvis_lhs = previousRandomData == null ? null : previousRandomData.id;
|
|
46739
|
-
var tmp9_id = tmp5_elvis_lhs == null ? $this.
|
|
46811
|
+
var tmp9_id = tmp5_elvis_lhs == null ? $this.s91_1.h6e() : tmp5_elvis_lhs;
|
|
46740
46812
|
var tmp10_signature = previousRandomData == null ? null : previousRandomData.signature;
|
|
46741
46813
|
var tmp8_elvis_lhs = previousRandomData == null ? null : previousRandomData.indexes;
|
|
46742
46814
|
var tmp11_indexes = tmp8_elvis_lhs == null ? emptyList() : tmp8_elvis_lhs;
|
|
@@ -46841,13 +46913,13 @@
|
|
|
46841
46913
|
}
|
|
46842
46914
|
function createEarnPointsData($this, table) {
|
|
46843
46915
|
var cardDeck = table.requireCardDeck;
|
|
46844
|
-
var tmp0_$this = $this.
|
|
46916
|
+
var tmp0_$this = $this.u91_1;
|
|
46845
46917
|
var tmp1_cards = cardDeck.n7q_1;
|
|
46846
46918
|
var tmp2_trumpCard = cardDeck.o7q_1;
|
|
46847
46919
|
var tmp3_players = table.players;
|
|
46848
46920
|
var tmp4_selectedTrump = table.gameInfo.round.selectedTrump;
|
|
46849
46921
|
var tmp5_config = table.config;
|
|
46850
|
-
var tmp6_cardsInCycle = $this.
|
|
46922
|
+
var tmp6_cardsInCycle = $this.c92_1.cardsInCycle;
|
|
46851
46923
|
var secondRoundCards = tmp0_$this.q8v(tmp1_cards, tmp2_trumpCard, tmp4_selectedTrump, tmp3_players, tmp5_config, tmp6_cardsInCycle);
|
|
46852
46924
|
// Inline function 'kotlin.collections.associate' call
|
|
46853
46925
|
var this_0 = table.players;
|
|
@@ -46862,7 +46934,7 @@
|
|
|
46862
46934
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46863
46935
|
}
|
|
46864
46936
|
var allPlayersCards = destination;
|
|
46865
|
-
var combinations = $this.
|
|
46937
|
+
var combinations = $this.x91_1.c8v(allPlayersCards, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
46866
46938
|
// Inline function 'kotlin.collections.mapValues' call
|
|
46867
46939
|
// Inline function 'kotlin.collections.mapValuesTo' call
|
|
46868
46940
|
var destination_0 = LinkedHashMap_init_$Create$_0(mapCapacity(combinations.o()));
|
|
@@ -46884,10 +46956,10 @@
|
|
|
46884
46956
|
}
|
|
46885
46957
|
destination_0.f2(tmp, destination_1);
|
|
46886
46958
|
}
|
|
46887
|
-
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);
|
|
46888
46960
|
}
|
|
46889
46961
|
function createCalcPointsData($this, table) {
|
|
46890
|
-
var calculatedPoints = $this.
|
|
46962
|
+
var calculatedPoints = $this.v91_1.g8z(table.players, table.config, table.gameInfo.round);
|
|
46891
46963
|
var tmp;
|
|
46892
46964
|
if (!(calculatedPoints.j76_1 == null) && $this.e92_1.updateRating) {
|
|
46893
46965
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -46919,7 +46991,7 @@
|
|
|
46919
46991
|
var pair = to(tmp_0, getPlayer(tmp$ret$1.m76_1, element.playerId).u76_1);
|
|
46920
46992
|
destination.f2(pair.me_1, pair.ne_1);
|
|
46921
46993
|
}
|
|
46922
|
-
tmp = $this.
|
|
46994
|
+
tmp = $this.a92_1.u8z(table.players, table.config, calculatedPoints.j76_1, destination, table.gameDuration, VOID, $this.d92_1);
|
|
46923
46995
|
} else {
|
|
46924
46996
|
tmp = null;
|
|
46925
46997
|
}
|
|
@@ -47034,8 +47106,8 @@
|
|
|
47034
47106
|
};
|
|
47035
47107
|
function $createTradeSceneDataCOROUTINE$(_this__u8e3s4, table, resultContinuation) {
|
|
47036
47108
|
CoroutineImpl.call(this, resultContinuation);
|
|
47037
|
-
this.
|
|
47038
|
-
this.
|
|
47109
|
+
this.p91_1 = _this__u8e3s4;
|
|
47110
|
+
this.q91_1 = table;
|
|
47039
47111
|
}
|
|
47040
47112
|
protoOf($createTradeSceneDataCOROUTINE$).a9 = function () {
|
|
47041
47113
|
var suspendResult = this.u8_1;
|
|
@@ -47045,14 +47117,14 @@
|
|
|
47045
47117
|
switch (tmp) {
|
|
47046
47118
|
case 0:
|
|
47047
47119
|
this.t8_1 = 2;
|
|
47048
|
-
this.
|
|
47049
|
-
var tmp1_$this = this.
|
|
47050
|
-
var tmp2_dealerStrategy = this.
|
|
47051
|
-
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);
|
|
47052
47124
|
var tmp3_requestedCards = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d7u();
|
|
47053
|
-
var tmp4_previousRound = this.
|
|
47054
|
-
var tmp5_approximateRoundCountForGame = getApproximateRoundsForGame(this.
|
|
47055
|
-
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;
|
|
47056
47128
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
47057
47129
|
var _iterator__ex2g4s = this_0.l();
|
|
47058
47130
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -47060,7 +47132,7 @@
|
|
|
47060
47132
|
destination.j(new UserInfoData(item.playerId, item.p6v_1.name));
|
|
47061
47133
|
}
|
|
47062
47134
|
|
|
47063
|
-
var tmp6_userData = new CardDeckRequestUserData(destination, this.
|
|
47135
|
+
var tmp6_userData = new CardDeckRequestUserData(destination, this.q91_1.gameId);
|
|
47064
47136
|
this.s8_1 = 1;
|
|
47065
47137
|
suspendResult = tmp1_$this.f8w(tmp4_previousRound, tmp5_approximateRoundCountForGame, tmp6_userData, tmp2_dealerStrategy, tmp3_requestedCards, this);
|
|
47066
47138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -47070,22 +47142,22 @@
|
|
|
47070
47142
|
continue $sm;
|
|
47071
47143
|
case 1:
|
|
47072
47144
|
var cardsInTheCardDeck = suspendResult;
|
|
47073
|
-
var this_1 = this.
|
|
47145
|
+
var this_1 = this.q91_1.players;
|
|
47074
47146
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
47075
47147
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
47076
47148
|
while (_iterator__ex2g4s_0.m()) {
|
|
47077
47149
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
47078
|
-
destination_0.j(this.
|
|
47150
|
+
destination_0.j(this.p91_1.y91_1.t92(item_0, emptyList(), this.r91_1.playerId));
|
|
47079
47151
|
}
|
|
47080
47152
|
|
|
47081
47153
|
var players = destination_0;
|
|
47082
|
-
var cardsInCycle = this.
|
|
47083
|
-
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);
|
|
47084
47156
|
var tmp7_playersCards = firstRoundCards.x8v_1;
|
|
47085
47157
|
var tmp8_otherCards = firstRoundCards.y8v_1;
|
|
47086
47158
|
var tmp9_trumpCard = firstRoundCards.z8v_1;
|
|
47087
|
-
var tmp10_whoShuffleCardsPlayerId = this.
|
|
47088
|
-
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);
|
|
47089
47161
|
return new TradeSceneData(tmp7_playersCards, tmp11_randomData, tmp9_trumpCard, tmp8_otherCards, tmp10_whoShuffleCardsPlayerId);
|
|
47090
47162
|
case 2:
|
|
47091
47163
|
throw this.v8_1;
|
|
@@ -47101,18 +47173,19 @@
|
|
|
47101
47173
|
}
|
|
47102
47174
|
while (true);
|
|
47103
47175
|
};
|
|
47104
|
-
function SceneFactory(idsProvider, dealerInteractor, cardsInteractor, pointsInteractor, playerOptionsInteractor, combinationsInteractor, playerSceneReducer, playerTurnInteractor, userRatingInteractor, randomPoolProvider, dealerConfig, engineLogicConfig, logger) {
|
|
47105
|
-
this.
|
|
47106
|
-
this.
|
|
47107
|
-
this.
|
|
47108
|
-
this.
|
|
47109
|
-
this.
|
|
47110
|
-
this.
|
|
47111
|
-
this.
|
|
47112
|
-
this.
|
|
47113
|
-
this.
|
|
47114
|
-
this.
|
|
47115
|
-
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;
|
|
47116
47189
|
this.e92_1 = engineLogicConfig;
|
|
47117
47190
|
this.f92_1 = logger;
|
|
47118
47191
|
}
|
|
@@ -47144,7 +47217,7 @@
|
|
|
47144
47217
|
}
|
|
47145
47218
|
|
|
47146
47219
|
var tradeSceneData = tmp$ret$0;
|
|
47147
|
-
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);
|
|
47148
47221
|
break;
|
|
47149
47222
|
case 'EARN_POINTS':
|
|
47150
47223
|
var tmp$ret$1;
|
|
@@ -47190,7 +47263,7 @@
|
|
|
47190
47263
|
}
|
|
47191
47264
|
var previousCombinations = sortByPriority(destination);
|
|
47192
47265
|
// Inline function 'kotlin.collections.map' call
|
|
47193
|
-
var this_1 = this.
|
|
47266
|
+
var this_1 = this.x91_1.d8v(playerId, player.r6v_1, table.players, table.gameInfo.round.selectedTrump, table.config);
|
|
47194
47267
|
// Inline function 'kotlin.collections.mapTo' call
|
|
47195
47268
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
47196
47269
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
@@ -48634,21 +48707,21 @@
|
|
|
48634
48707
|
return new StartNewGameMechanicAction(tmp1_previousGameId, tmp0_gameId, tmp2_aid);
|
|
48635
48708
|
}
|
|
48636
48709
|
function mapFromClientDto_2(_this__u8e3s4, payload) {
|
|
48637
|
-
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);
|
|
48638
48711
|
}
|
|
48639
48712
|
function mapFromClientDto_3(_this__u8e3s4) {
|
|
48640
48713
|
var tmp = mapFromDto_1(_this__u8e3s4.f7l_1);
|
|
48641
48714
|
var tmp0_elvis_lhs = _this__u8e3s4.h7l_1;
|
|
48642
48715
|
var tmp_0 = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48643
48716
|
var tmp1_safe_receiver = _this__u8e3s4.g7l_1;
|
|
48644
|
-
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);
|
|
48645
48718
|
}
|
|
48646
48719
|
function mapFromClientDto_4(_this__u8e3s4) {
|
|
48647
48720
|
var tmp2_reason = mapFromDto_1(_this__u8e3s4.y7k_1);
|
|
48648
48721
|
var tmp0_elvis_lhs = _this__u8e3s4.a7l_1;
|
|
48649
48722
|
var tmp3_isGameFinished = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
|
|
48650
48723
|
var tmp1_safe_receiver = _this__u8e3s4.z7k_1;
|
|
48651
|
-
var tmp4_transition = tmp1_safe_receiver == null ? null :
|
|
48724
|
+
var tmp4_transition = tmp1_safe_receiver == null ? null : mapFromDto_71(tmp1_safe_receiver);
|
|
48652
48725
|
var tmp5_aid = _this__u8e3s4.b7l_1;
|
|
48653
48726
|
return new FinishGameMechanicAction(tmp2_reason, tmp3_isGameFinished, tmp5_aid, tmp4_transition);
|
|
48654
48727
|
}
|
|
@@ -48659,18 +48732,18 @@
|
|
|
48659
48732
|
var tmp4_currentTurnPlayerId = _this__u8e3s4.i7n_1;
|
|
48660
48733
|
var tmp5_sceneId = _this__u8e3s4.j7n_1;
|
|
48661
48734
|
var tmp0_safe_receiver = _this__u8e3s4.l7n_1;
|
|
48662
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48735
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_93(tmp0_safe_receiver);
|
|
48663
48736
|
var tmp6_sceneData = tmp1_safe_receiver == null ? null : mapFromClientData_1(tmp1_safe_receiver, payload);
|
|
48664
48737
|
var tmp7_actId = _this__u8e3s4.k7n_1;
|
|
48665
48738
|
var tmp2_safe_receiver = _this__u8e3s4.m7n_1;
|
|
48666
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null :
|
|
48739
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : mapFromDto_91(tmp2_safe_receiver);
|
|
48667
48740
|
var tmp8_actData = tmp3_safe_receiver == null ? null : mapFromClientData(tmp3_safe_receiver, payload);
|
|
48668
48741
|
var tmp9_aid = _this__u8e3s4.n7n_1;
|
|
48669
48742
|
return new SceneMechanicAction(tmp4_currentTurnPlayerId, tmp5_sceneId, tmp7_actId, tmp6_sceneData, tmp8_actData, tmp9_aid);
|
|
48670
48743
|
}
|
|
48671
48744
|
function mapFromClientDto_7(_this__u8e3s4, payload) {
|
|
48672
48745
|
var tmp0_safe_receiver = _this__u8e3s4.c7n_1;
|
|
48673
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null :
|
|
48746
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : mapFromDto_91(tmp0_safe_receiver);
|
|
48674
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);
|
|
48675
48748
|
}
|
|
48676
48749
|
function mapFromClientDto_8(_this__u8e3s4) {
|
|
@@ -48777,7 +48850,7 @@
|
|
|
48777
48850
|
return new WinnerCombinationsMechanicAction(destination, _this__u8e3s4.f7p_1);
|
|
48778
48851
|
}
|
|
48779
48852
|
function mapFromClientDto_17(_this__u8e3s4) {
|
|
48780
|
-
return new MessageMechanicAction(
|
|
48853
|
+
return new MessageMechanicAction(mapFromDto_47(_this__u8e3s4.n7l_1, true), _this__u8e3s4.o7l_1);
|
|
48781
48854
|
}
|
|
48782
48855
|
function mapFromClientDto_18(_this__u8e3s4) {
|
|
48783
48856
|
var tmp0_elvis_lhs = _this__u8e3s4.a7m_1;
|
|
@@ -48832,21 +48905,21 @@
|
|
|
48832
48905
|
return new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload);
|
|
48833
48906
|
}
|
|
48834
48907
|
function mapToClient_13(_this__u8e3s4, payload) {
|
|
48835
|
-
var tmp2_currentTurnPlayerId = _this__u8e3s4.
|
|
48908
|
+
var tmp2_currentTurnPlayerId = _this__u8e3s4.j90_1;
|
|
48836
48909
|
var tmp3_deliveryPayload = mapToActionDeliveryPayload(payload);
|
|
48837
|
-
var tmp4_sceneId = _this__u8e3s4.
|
|
48910
|
+
var tmp4_sceneId = _this__u8e3s4.k90_1;
|
|
48838
48911
|
var tmp0_safe_receiver = _this__u8e3s4.sceneData;
|
|
48839
48912
|
var tmp5_clientScenePayload = tmp0_safe_receiver == null ? null : mapToClientData_1(tmp0_safe_receiver, payload);
|
|
48840
|
-
var tmp6_actId = _this__u8e3s4.
|
|
48841
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
48913
|
+
var tmp6_actId = _this__u8e3s4.l90_1;
|
|
48914
|
+
var tmp1_safe_receiver = _this__u8e3s4.m90_1;
|
|
48842
48915
|
var tmp7_clientActPayload = tmp1_safe_receiver == null ? null : mapToClientData(tmp1_safe_receiver, payload);
|
|
48843
48916
|
return new SceneToClientAction(tmp2_currentTurnPlayerId, tmp4_sceneId, tmp6_actId, tmp5_clientScenePayload, tmp7_clientActPayload, tmp3_deliveryPayload);
|
|
48844
48917
|
}
|
|
48845
48918
|
function mapToClient_14(_this__u8e3s4, payload) {
|
|
48846
48919
|
var tmp1_deliveryPayload = mapToActionDeliveryPayload(payload);
|
|
48847
|
-
var tmp2_sceneId = _this__u8e3s4.
|
|
48848
|
-
var tmp3_actId = _this__u8e3s4.
|
|
48849
|
-
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;
|
|
48850
48923
|
var tmp4_clientActPayload = tmp0_safe_receiver == null ? null : mapToClientData(tmp0_safe_receiver, payload);
|
|
48851
48924
|
return new SceneActToClientAction(tmp2_sceneId, tmp3_actId, tmp4_clientActPayload, tmp1_deliveryPayload);
|
|
48852
48925
|
}
|
|
@@ -48874,10 +48947,10 @@
|
|
|
48874
48947
|
}
|
|
48875
48948
|
function mapToClient_17(_this__u8e3s4, payload) {
|
|
48876
48949
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48877
|
-
var tmp1_playerId = _this__u8e3s4.
|
|
48878
|
-
var tmp2_suit = _this__u8e3s4.
|
|
48879
|
-
var tmp3_nextTurnPlayerId = singleOrNull(_this__u8e3s4.
|
|
48880
|
-
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;
|
|
48881
48954
|
return new SuitChoiceToClientAction(tmp1_playerId, tmp2_suit, tmp3_nextTurnPlayerId, tmp4_restartRound, tmp0_deliveryPayload);
|
|
48882
48955
|
}
|
|
48883
48956
|
function mapToClient_18(_this__u8e3s4, payload) {
|
|
@@ -48894,18 +48967,18 @@
|
|
|
48894
48967
|
}
|
|
48895
48968
|
function mapToClient_20(_this__u8e3s4, payload) {
|
|
48896
48969
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48897
|
-
var tmp1_playerId = _this__u8e3s4.
|
|
48898
|
-
var tmp2_card = _this__u8e3s4.
|
|
48899
|
-
var tmp3_combinations = _this__u8e3s4.
|
|
48900
|
-
var tmp4_canNextPlayerTakeAllCards = _this__u8e3s4.
|
|
48901
|
-
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);
|
|
48902
48975
|
return new PutCardToClientAction(tmp1_playerId, tmp2_card, tmp4_canNextPlayerTakeAllCards, tmp5_nextTurnPlayerId, tmp3_combinations, tmp0_deliveryPayload);
|
|
48903
48976
|
}
|
|
48904
48977
|
function mapToClient_21(_this__u8e3s4, payload) {
|
|
48905
48978
|
var tmp0_deliveryPayload = mapToActionDeliveryPayload_0(payload);
|
|
48906
|
-
var tmp1_whoGotBribePlayerId = _this__u8e3s4.
|
|
48907
|
-
var tmp2_numberOfBribe = _this__u8e3s4.
|
|
48908
|
-
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;
|
|
48909
48982
|
return new PickUpBribeToClientAction(tmp1_whoGotBribePlayerId, tmp2_numberOfBribe, tmp3_canNextPlayerTakeAllCards, tmp0_deliveryPayload);
|
|
48910
48983
|
}
|
|
48911
48984
|
function mapToClient_22(_this__u8e3s4, payload) {
|
|
@@ -51107,40 +51180,40 @@
|
|
|
51107
51180
|
actData = actData === VOID ? null : actData;
|
|
51108
51181
|
aid = aid === VOID ? null : aid;
|
|
51109
51182
|
MechanicAction.call(this);
|
|
51110
|
-
this.
|
|
51111
|
-
this.
|
|
51112
|
-
this.
|
|
51183
|
+
this.j90_1 = currentTurnPlayerId;
|
|
51184
|
+
this.k90_1 = sceneId;
|
|
51185
|
+
this.l90_1 = actId;
|
|
51113
51186
|
this.sceneData = sceneData;
|
|
51114
|
-
this.
|
|
51115
|
-
this.
|
|
51187
|
+
this.m90_1 = actData;
|
|
51188
|
+
this.n90_1 = aid;
|
|
51116
51189
|
}
|
|
51117
51190
|
protoOf(SceneMechanicAction).e97 = function () {
|
|
51118
|
-
return this.
|
|
51191
|
+
return this.j90_1;
|
|
51119
51192
|
};
|
|
51120
51193
|
protoOf(SceneMechanicAction).a7g = function () {
|
|
51121
|
-
return this.
|
|
51194
|
+
return this.k90_1;
|
|
51122
51195
|
};
|
|
51123
51196
|
protoOf(SceneMechanicAction).c7f = function () {
|
|
51124
|
-
return this.
|
|
51197
|
+
return this.l90_1;
|
|
51125
51198
|
};
|
|
51126
51199
|
protoOf(SceneMechanicAction).f97 = function () {
|
|
51127
51200
|
return this.sceneData;
|
|
51128
51201
|
};
|
|
51129
51202
|
protoOf(SceneMechanicAction).d97 = function () {
|
|
51130
|
-
return this.
|
|
51203
|
+
return this.m90_1;
|
|
51131
51204
|
};
|
|
51132
51205
|
protoOf(SceneMechanicAction).f94 = function () {
|
|
51133
|
-
return this.
|
|
51206
|
+
return this.n90_1;
|
|
51134
51207
|
};
|
|
51135
51208
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
51136
|
-
return this.
|
|
51209
|
+
return this.k90_1 === 'WAITING';
|
|
51137
51210
|
};
|
|
51138
51211
|
protoOf(SceneMechanicAction).toString = function () {
|
|
51139
|
-
var tmp = "sceneId='" + this.
|
|
51212
|
+
var tmp = "sceneId='" + this.k90_1 + "'";
|
|
51140
51213
|
// Inline function 'kotlin.takeIf' call
|
|
51141
|
-
var this_0 = 'actId=' + this.
|
|
51214
|
+
var this_0 = 'actId=' + this.l90_1;
|
|
51142
51215
|
var tmp_0;
|
|
51143
|
-
if (!(this.
|
|
51216
|
+
if (!(this.l90_1 == null)) {
|
|
51144
51217
|
tmp_0 = this_0;
|
|
51145
51218
|
} else {
|
|
51146
51219
|
tmp_0 = null;
|
|
@@ -51156,18 +51229,18 @@
|
|
|
51156
51229
|
}
|
|
51157
51230
|
var tmp_3 = tmp_2;
|
|
51158
51231
|
// Inline function 'kotlin.takeIf' call
|
|
51159
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
51232
|
+
var this_2 = 'actData=' + toString_0(this.m90_1);
|
|
51160
51233
|
var tmp_4;
|
|
51161
|
-
if (!(this.
|
|
51234
|
+
if (!(this.m90_1 == null)) {
|
|
51162
51235
|
tmp_4 = this_2;
|
|
51163
51236
|
} else {
|
|
51164
51237
|
tmp_4 = null;
|
|
51165
51238
|
}
|
|
51166
51239
|
var tmp_5 = tmp_4;
|
|
51167
51240
|
// Inline function 'kotlin.takeIf' call
|
|
51168
|
-
var this_3 = 'aid=' + this.
|
|
51241
|
+
var this_3 = 'aid=' + this.n90_1;
|
|
51169
51242
|
var tmp_6;
|
|
51170
|
-
if (!(this.
|
|
51243
|
+
if (!(this.n90_1 == null)) {
|
|
51171
51244
|
tmp_6 = this_3;
|
|
51172
51245
|
} else {
|
|
51173
51246
|
tmp_6 = null;
|
|
@@ -51180,15 +51253,15 @@
|
|
|
51180
51253
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
51181
51254
|
return this.sceneData.d7f();
|
|
51182
51255
|
}
|
|
51183
|
-
var tmp_0 = this.
|
|
51256
|
+
var tmp_0 = this.m90_1;
|
|
51184
51257
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
51185
|
-
return this.
|
|
51258
|
+
return this.m90_1.d7f();
|
|
51186
51259
|
}
|
|
51187
51260
|
return emptyList();
|
|
51188
51261
|
};
|
|
51189
51262
|
protoOf(SceneMechanicAction).z65 = function () {
|
|
51190
51263
|
// Inline function 'kotlin.requireNotNull' call
|
|
51191
|
-
var tmp0 = this.
|
|
51264
|
+
var tmp0 = this.j90_1;
|
|
51192
51265
|
var tmp$ret$1;
|
|
51193
51266
|
$l$block: {
|
|
51194
51267
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -51203,42 +51276,42 @@
|
|
|
51203
51276
|
return tmp$ret$1;
|
|
51204
51277
|
};
|
|
51205
51278
|
protoOf(SceneMechanicAction).oe = function () {
|
|
51206
|
-
return this.
|
|
51279
|
+
return this.j90_1;
|
|
51207
51280
|
};
|
|
51208
51281
|
protoOf(SceneMechanicAction).pe = function () {
|
|
51209
|
-
return this.
|
|
51282
|
+
return this.k90_1;
|
|
51210
51283
|
};
|
|
51211
51284
|
protoOf(SceneMechanicAction).yl = function () {
|
|
51212
|
-
return this.
|
|
51285
|
+
return this.l90_1;
|
|
51213
51286
|
};
|
|
51214
51287
|
protoOf(SceneMechanicAction).o54 = function () {
|
|
51215
51288
|
return this.sceneData;
|
|
51216
51289
|
};
|
|
51217
51290
|
protoOf(SceneMechanicAction).t66 = function () {
|
|
51218
|
-
return this.
|
|
51291
|
+
return this.m90_1;
|
|
51219
51292
|
};
|
|
51220
51293
|
protoOf(SceneMechanicAction).u66 = function () {
|
|
51221
|
-
return this.
|
|
51294
|
+
return this.n90_1;
|
|
51222
51295
|
};
|
|
51223
51296
|
protoOf(SceneMechanicAction).h97 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
51224
51297
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
51225
51298
|
};
|
|
51226
51299
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
51227
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
51228
|
-
sceneId = sceneId === VOID ? this.
|
|
51229
|
-
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;
|
|
51230
51303
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
51231
|
-
actData = actData === VOID ? this.
|
|
51232
|
-
aid = aid === VOID ? this.
|
|
51304
|
+
actData = actData === VOID ? this.m90_1 : actData;
|
|
51305
|
+
aid = aid === VOID ? this.n90_1 : aid;
|
|
51233
51306
|
return $super === VOID ? this.h97(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.h97.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
51234
51307
|
};
|
|
51235
51308
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
51236
|
-
var result = this.
|
|
51237
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51238
|
-
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;
|
|
51239
51312
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
51240
|
-
result = imul(result, 31) + (this.
|
|
51241
|
-
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;
|
|
51242
51315
|
return result;
|
|
51243
51316
|
};
|
|
51244
51317
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -51246,17 +51319,17 @@
|
|
|
51246
51319
|
return true;
|
|
51247
51320
|
if (!(other instanceof SceneMechanicAction))
|
|
51248
51321
|
return false;
|
|
51249
|
-
if (!(this.
|
|
51322
|
+
if (!(this.j90_1 == other.j90_1))
|
|
51250
51323
|
return false;
|
|
51251
|
-
if (!(this.
|
|
51324
|
+
if (!(this.k90_1 === other.k90_1))
|
|
51252
51325
|
return false;
|
|
51253
|
-
if (!(this.
|
|
51326
|
+
if (!(this.l90_1 == other.l90_1))
|
|
51254
51327
|
return false;
|
|
51255
51328
|
if (!equals(this.sceneData, other.sceneData))
|
|
51256
51329
|
return false;
|
|
51257
|
-
if (!equals(this.
|
|
51330
|
+
if (!equals(this.m90_1, other.m90_1))
|
|
51258
51331
|
return false;
|
|
51259
|
-
if (!(this.
|
|
51332
|
+
if (!(this.n90_1 == other.n90_1))
|
|
51260
51333
|
return false;
|
|
51261
51334
|
return true;
|
|
51262
51335
|
};
|
|
@@ -51618,38 +51691,38 @@
|
|
|
51618
51691
|
actData = actData === VOID ? null : actData;
|
|
51619
51692
|
aid = aid === VOID ? null : aid;
|
|
51620
51693
|
MechanicAction.call(this);
|
|
51621
|
-
this.
|
|
51622
|
-
this.
|
|
51623
|
-
this.
|
|
51624
|
-
this.
|
|
51694
|
+
this.c90_1 = sceneId;
|
|
51695
|
+
this.d90_1 = actId;
|
|
51696
|
+
this.e90_1 = actData;
|
|
51697
|
+
this.f90_1 = aid;
|
|
51625
51698
|
}
|
|
51626
51699
|
protoOf(SceneActMechanicAction).a7g = function () {
|
|
51627
|
-
return this.
|
|
51700
|
+
return this.c90_1;
|
|
51628
51701
|
};
|
|
51629
51702
|
protoOf(SceneActMechanicAction).c7f = function () {
|
|
51630
|
-
return this.
|
|
51703
|
+
return this.d90_1;
|
|
51631
51704
|
};
|
|
51632
51705
|
protoOf(SceneActMechanicAction).d97 = function () {
|
|
51633
|
-
return this.
|
|
51706
|
+
return this.e90_1;
|
|
51634
51707
|
};
|
|
51635
51708
|
protoOf(SceneActMechanicAction).f94 = function () {
|
|
51636
|
-
return this.
|
|
51709
|
+
return this.f90_1;
|
|
51637
51710
|
};
|
|
51638
51711
|
protoOf(SceneActMechanicAction).g97 = function () {
|
|
51639
|
-
var tmp = this.
|
|
51712
|
+
var tmp = this.e90_1;
|
|
51640
51713
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
51641
|
-
return this.
|
|
51714
|
+
return this.e90_1.d7f();
|
|
51642
51715
|
}
|
|
51643
51716
|
return emptyList();
|
|
51644
51717
|
};
|
|
51645
51718
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
51646
|
-
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 + ')';
|
|
51647
51720
|
};
|
|
51648
51721
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
51649
|
-
var result = getStringHashCode(this.
|
|
51650
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51651
|
-
result = imul(result, 31) + (this.
|
|
51652
|
-
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;
|
|
51653
51726
|
return result;
|
|
51654
51727
|
};
|
|
51655
51728
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -51657,13 +51730,13 @@
|
|
|
51657
51730
|
return true;
|
|
51658
51731
|
if (!(other instanceof SceneActMechanicAction))
|
|
51659
51732
|
return false;
|
|
51660
|
-
if (!(this.
|
|
51733
|
+
if (!(this.c90_1 === other.c90_1))
|
|
51661
51734
|
return false;
|
|
51662
|
-
if (!(this.
|
|
51735
|
+
if (!(this.d90_1 === other.d90_1))
|
|
51663
51736
|
return false;
|
|
51664
|
-
if (!equals(this.
|
|
51737
|
+
if (!equals(this.e90_1, other.e90_1))
|
|
51665
51738
|
return false;
|
|
51666
|
-
if (!(this.
|
|
51739
|
+
if (!(this.f90_1 == other.f90_1))
|
|
51667
51740
|
return false;
|
|
51668
51741
|
return true;
|
|
51669
51742
|
};
|
|
@@ -51705,33 +51778,33 @@
|
|
|
51705
51778
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
51706
51779
|
aid = aid === VOID ? null : aid;
|
|
51707
51780
|
MechanicAction.call(this);
|
|
51708
|
-
this.
|
|
51709
|
-
this.
|
|
51710
|
-
this.
|
|
51711
|
-
this.
|
|
51712
|
-
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;
|
|
51713
51786
|
}
|
|
51714
51787
|
protoOf(SuitChoiceMechanicAction).e97 = function () {
|
|
51715
|
-
return this.
|
|
51788
|
+
return this.q90_1;
|
|
51716
51789
|
};
|
|
51717
51790
|
protoOf(SuitChoiceMechanicAction).g97 = function () {
|
|
51718
|
-
return this.
|
|
51791
|
+
return this.r90_1;
|
|
51719
51792
|
};
|
|
51720
51793
|
protoOf(SuitChoiceMechanicAction).f94 = function () {
|
|
51721
|
-
return this.
|
|
51794
|
+
return this.s90_1;
|
|
51722
51795
|
};
|
|
51723
51796
|
protoOf(SuitChoiceMechanicAction).z65 = function () {
|
|
51724
|
-
return this.
|
|
51797
|
+
return this.q90_1;
|
|
51725
51798
|
};
|
|
51726
51799
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
51727
|
-
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 + ')';
|
|
51728
51801
|
};
|
|
51729
51802
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
51730
|
-
var result = this.
|
|
51731
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51732
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51733
|
-
result = imul(result, 31) + hashCode(this.
|
|
51734
|
-
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;
|
|
51735
51808
|
return result;
|
|
51736
51809
|
};
|
|
51737
51810
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -51739,15 +51812,15 @@
|
|
|
51739
51812
|
return true;
|
|
51740
51813
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
51741
51814
|
return false;
|
|
51742
|
-
if (!equals(this.
|
|
51815
|
+
if (!equals(this.o90_1, other.o90_1))
|
|
51743
51816
|
return false;
|
|
51744
|
-
if (!(this.
|
|
51817
|
+
if (!(this.p90_1 === other.p90_1))
|
|
51745
51818
|
return false;
|
|
51746
|
-
if (!(this.
|
|
51819
|
+
if (!(this.q90_1 === other.q90_1))
|
|
51747
51820
|
return false;
|
|
51748
|
-
if (!equals(this.
|
|
51821
|
+
if (!equals(this.r90_1, other.r90_1))
|
|
51749
51822
|
return false;
|
|
51750
|
-
if (!(this.
|
|
51823
|
+
if (!(this.s90_1 == other.s90_1))
|
|
51751
51824
|
return false;
|
|
51752
51825
|
return true;
|
|
51753
51826
|
};
|
|
@@ -51828,42 +51901,42 @@
|
|
|
51828
51901
|
combinations = combinations === VOID ? null : combinations;
|
|
51829
51902
|
aid = aid === VOID ? null : aid;
|
|
51830
51903
|
MechanicAction.call(this);
|
|
51831
|
-
this.
|
|
51832
|
-
this.
|
|
51833
|
-
this.
|
|
51834
|
-
this.
|
|
51835
|
-
this.
|
|
51836
|
-
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;
|
|
51837
51910
|
}
|
|
51838
51911
|
protoOf(PutCardMechanicAction).e97 = function () {
|
|
51839
|
-
return this.
|
|
51912
|
+
return this.w90_1;
|
|
51840
51913
|
};
|
|
51841
51914
|
protoOf(PutCardMechanicAction).g97 = function () {
|
|
51842
|
-
return this.
|
|
51915
|
+
return this.x90_1;
|
|
51843
51916
|
};
|
|
51844
51917
|
protoOf(PutCardMechanicAction).f94 = function () {
|
|
51845
|
-
return this.
|
|
51918
|
+
return this.y90_1;
|
|
51846
51919
|
};
|
|
51847
51920
|
protoOf(PutCardMechanicAction).z65 = function () {
|
|
51848
|
-
return this.
|
|
51921
|
+
return this.w90_1;
|
|
51849
51922
|
};
|
|
51850
51923
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
51851
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
51924
|
+
var tmp = "currentTurnPlayerId='" + this.w90_1 + "'";
|
|
51852
51925
|
// Inline function 'kotlin.takeIf' call
|
|
51853
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
51926
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.x90_1);
|
|
51854
51927
|
var tmp_0;
|
|
51855
51928
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
51856
|
-
if (!this.
|
|
51929
|
+
if (!this.x90_1.r()) {
|
|
51857
51930
|
tmp_0 = this_0;
|
|
51858
51931
|
} else {
|
|
51859
51932
|
tmp_0 = null;
|
|
51860
51933
|
}
|
|
51861
51934
|
var tmp_1 = tmp_0;
|
|
51862
|
-
var tmp_2 = 'card=' + this.
|
|
51935
|
+
var tmp_2 = 'card=' + this.t90_1.toString();
|
|
51863
51936
|
// Inline function 'kotlin.takeIf' call
|
|
51864
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
51937
|
+
var this_1 = 'combinations=' + toString_0(this.u90_1);
|
|
51865
51938
|
var tmp_3;
|
|
51866
|
-
var tmp0_safe_receiver = this.
|
|
51939
|
+
var tmp0_safe_receiver = this.u90_1;
|
|
51867
51940
|
var tmp_4;
|
|
51868
51941
|
if (tmp0_safe_receiver == null) {
|
|
51869
51942
|
tmp_4 = null;
|
|
@@ -51878,9 +51951,9 @@
|
|
|
51878
51951
|
}
|
|
51879
51952
|
var tmp_5 = tmp_3;
|
|
51880
51953
|
// Inline function 'kotlin.takeIf' call
|
|
51881
|
-
var this_2 = 'aid=' + this.
|
|
51954
|
+
var this_2 = 'aid=' + this.y90_1;
|
|
51882
51955
|
var tmp_6;
|
|
51883
|
-
if (!(this.
|
|
51956
|
+
if (!(this.y90_1 == null)) {
|
|
51884
51957
|
tmp_6 = this_2;
|
|
51885
51958
|
} else {
|
|
51886
51959
|
tmp_6 = null;
|
|
@@ -51889,12 +51962,12 @@
|
|
|
51889
51962
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
51890
51963
|
};
|
|
51891
51964
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
51892
|
-
var result = this.
|
|
51893
|
-
result = imul(result, 31) + (this.
|
|
51894
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51895
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
51896
|
-
result = imul(result, 31) + hashCode(this.
|
|
51897
|
-
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;
|
|
51898
51971
|
return result;
|
|
51899
51972
|
};
|
|
51900
51973
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -51902,45 +51975,45 @@
|
|
|
51902
51975
|
return true;
|
|
51903
51976
|
if (!(other instanceof PutCardMechanicAction))
|
|
51904
51977
|
return false;
|
|
51905
|
-
if (!this.
|
|
51978
|
+
if (!this.t90_1.equals(other.t90_1))
|
|
51906
51979
|
return false;
|
|
51907
|
-
if (!equals(this.
|
|
51980
|
+
if (!equals(this.u90_1, other.u90_1))
|
|
51908
51981
|
return false;
|
|
51909
|
-
if (!(this.
|
|
51982
|
+
if (!(this.v90_1 === other.v90_1))
|
|
51910
51983
|
return false;
|
|
51911
|
-
if (!(this.
|
|
51984
|
+
if (!(this.w90_1 === other.w90_1))
|
|
51912
51985
|
return false;
|
|
51913
|
-
if (!equals(this.
|
|
51986
|
+
if (!equals(this.x90_1, other.x90_1))
|
|
51914
51987
|
return false;
|
|
51915
|
-
if (!(this.
|
|
51988
|
+
if (!(this.y90_1 == other.y90_1))
|
|
51916
51989
|
return false;
|
|
51917
51990
|
return true;
|
|
51918
51991
|
};
|
|
51919
51992
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
51920
51993
|
aid = aid === VOID ? null : aid;
|
|
51921
51994
|
MechanicAction.call(this);
|
|
51922
|
-
this.
|
|
51923
|
-
this.
|
|
51924
|
-
this.
|
|
51925
|
-
this.
|
|
51995
|
+
this.z90_1 = whoGotBribePlayerId;
|
|
51996
|
+
this.a91_1 = numberOfBribe;
|
|
51997
|
+
this.b91_1 = canNextPlayerTakeAllCards;
|
|
51998
|
+
this.c91_1 = aid;
|
|
51926
51999
|
}
|
|
51927
52000
|
protoOf(PickUpBribeMechanicAction).f94 = function () {
|
|
51928
|
-
return this.
|
|
52001
|
+
return this.c91_1;
|
|
51929
52002
|
};
|
|
51930
52003
|
protoOf(PickUpBribeMechanicAction).g97 = function () {
|
|
51931
|
-
return listOf(this.
|
|
52004
|
+
return listOf(this.z90_1);
|
|
51932
52005
|
};
|
|
51933
52006
|
protoOf(PickUpBribeMechanicAction).x6f = function () {
|
|
51934
52007
|
return true;
|
|
51935
52008
|
};
|
|
51936
52009
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
51937
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
52010
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.z90_1 + ', numberOfBribe=' + this.a91_1 + ', canNextPlayerTakeAllCards=' + this.b91_1 + ', aid=' + this.c91_1 + ')';
|
|
51938
52011
|
};
|
|
51939
52012
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
51940
|
-
var result = getStringHashCode(this.
|
|
51941
|
-
result = imul(result, 31) + this.
|
|
51942
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
51943
|
-
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;
|
|
51944
52017
|
return result;
|
|
51945
52018
|
};
|
|
51946
52019
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -51948,13 +52021,13 @@
|
|
|
51948
52021
|
return true;
|
|
51949
52022
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
51950
52023
|
return false;
|
|
52024
|
+
if (!(this.z90_1 === other.z90_1))
|
|
52025
|
+
return false;
|
|
51951
52026
|
if (!(this.a91_1 === other.a91_1))
|
|
51952
52027
|
return false;
|
|
51953
52028
|
if (!(this.b91_1 === other.b91_1))
|
|
51954
52029
|
return false;
|
|
51955
|
-
if (!(this.c91_1
|
|
51956
|
-
return false;
|
|
51957
|
-
if (!(this.d91_1 == other.d91_1))
|
|
52030
|
+
if (!(this.c91_1 == other.c91_1))
|
|
51958
52031
|
return false;
|
|
51959
52032
|
return true;
|
|
51960
52033
|
};
|
|
@@ -53205,11 +53278,11 @@
|
|
|
53205
53278
|
if (action_0 instanceof SuitChoiceFromClientAction) {
|
|
53206
53279
|
var mechanicAction = this.h9b_1.k8y(action_0, table.players, table.config);
|
|
53207
53280
|
var tmp_2;
|
|
53208
|
-
if (mechanicAction.
|
|
53281
|
+
if (mechanicAction.o90_1 == null) {
|
|
53209
53282
|
tmp_2 = null;
|
|
53210
53283
|
} else {
|
|
53211
53284
|
// Inline function 'kotlin.let' call
|
|
53212
|
-
tmp_2 = new TrumpMechanicAction(mechanicAction.
|
|
53285
|
+
tmp_2 = new TrumpMechanicAction(mechanicAction.o90_1);
|
|
53213
53286
|
}
|
|
53214
53287
|
tmp_1 = listOfNotNull([mechanicAction, tmp_2]);
|
|
53215
53288
|
} else {
|
|
@@ -53388,17 +53461,17 @@
|
|
|
53388
53461
|
}
|
|
53389
53462
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
53390
53463
|
if (shouldGenerateRandomMessage()) {
|
|
53391
|
-
handleRandomMessage(store, action_0.
|
|
53464
|
+
handleRandomMessage(store, action_0.w90_1, this.x9b_1, this.y9b_1, this.z9b_1, 'card played');
|
|
53392
53465
|
}
|
|
53393
53466
|
} else {
|
|
53394
53467
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
53395
53468
|
if (shouldGenerateRandomMessage()) {
|
|
53396
|
-
handleRandomMessage(store, action_0.
|
|
53469
|
+
handleRandomMessage(store, action_0.q90_1, this.x9b_1, this.y9b_1, this.z9b_1, 'suit chosen');
|
|
53397
53470
|
}
|
|
53398
53471
|
} else {
|
|
53399
53472
|
if (action_0 instanceof SceneMechanicAction) {
|
|
53400
53473
|
if (shouldGenerateRandomMessage()) {
|
|
53401
|
-
var tmp1_safe_receiver = action_0.
|
|
53474
|
+
var tmp1_safe_receiver = action_0.j90_1;
|
|
53402
53475
|
if (tmp1_safe_receiver == null)
|
|
53403
53476
|
null;
|
|
53404
53477
|
else {
|
|
@@ -53875,7 +53948,7 @@
|
|
|
53875
53948
|
} else {
|
|
53876
53949
|
if (action_0 instanceof SceneMechanicAction) {
|
|
53877
53950
|
var table_0 = store.state.c6s();
|
|
53878
|
-
var tmp1_subject = action_0.
|
|
53951
|
+
var tmp1_subject = action_0.k90_1;
|
|
53879
53952
|
if (tmp1_subject === this.k9e_1.z92(table_0.config, table_0.gameHistory.isFirstRound, table_0.gameInfo.g8j())) {
|
|
53880
53953
|
var tmp = store.dispatch;
|
|
53881
53954
|
var tmp2_id = table_0.id;
|
|
@@ -54695,7 +54768,7 @@
|
|
|
54695
54768
|
} else {
|
|
54696
54769
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
54697
54770
|
var tmp_3;
|
|
54698
|
-
if (action_0.
|
|
54771
|
+
if (action_0.p90_1) {
|
|
54699
54772
|
tmp_3 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
54700
54773
|
} else {
|
|
54701
54774
|
tmp_3 = null;
|
|
@@ -54721,7 +54794,7 @@
|
|
|
54721
54794
|
} else {
|
|
54722
54795
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
54723
54796
|
var table = state.c6s();
|
|
54724
|
-
var player = getPlayer(table.players, action_0.
|
|
54797
|
+
var player = getPlayer(table.players, action_0.z90_1);
|
|
54725
54798
|
var tmp_4;
|
|
54726
54799
|
if (player.y66() === 0) {
|
|
54727
54800
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -54929,7 +55002,7 @@
|
|
|
54929
55002
|
var startTimerForPlayers = destination;
|
|
54930
55003
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
54931
55004
|
if (!startTimerForPlayers.r()) {
|
|
54932
|
-
var playerTurnModel = this.p9h_1.
|
|
55005
|
+
var playerTurnModel = this.p9h_1.a90(action_0, table);
|
|
54933
55006
|
if (!(playerTurnModel == null)) {
|
|
54934
55007
|
// Inline function 'kotlin.collections.map' call
|
|
54935
55008
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -55402,7 +55475,7 @@
|
|
|
55402
55475
|
protoOf(checkBotsMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
55403
55476
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
55404
55477
|
var state = store.state;
|
|
55405
|
-
if (state.e6s() && !(action_0.
|
|
55478
|
+
if (state.e6s() && !(action_0.k90_1 === 'WAITING')) {
|
|
55406
55479
|
var tmp0 = state.c6s().players;
|
|
55407
55480
|
var tmp$ret$0;
|
|
55408
55481
|
$l$block_0: {
|
|
@@ -55481,14 +55554,14 @@
|
|
|
55481
55554
|
var tmp$ret$0 = item.m7e_1;
|
|
55482
55555
|
destination_0.j(tmp$ret$0);
|
|
55483
55556
|
}
|
|
55484
|
-
if (destination_0.u1(action_0.
|
|
55557
|
+
if (destination_0.u1(action_0.t90_1)) {
|
|
55485
55558
|
destination.j(element);
|
|
55486
55559
|
}
|
|
55487
55560
|
}
|
|
55488
55561
|
var bribes = destination;
|
|
55489
55562
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
55490
55563
|
if (!bribes.r()) {
|
|
55491
|
-
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));
|
|
55492
55565
|
}
|
|
55493
55566
|
}
|
|
55494
55567
|
next(action_0);
|
|
@@ -55510,7 +55583,7 @@
|
|
|
55510
55583
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
55511
55584
|
var state = store.state;
|
|
55512
55585
|
if (state.e6s()) {
|
|
55513
|
-
if (get_isSceneWithCards(action_0.
|
|
55586
|
+
if (get_isSceneWithCards(action_0.k90_1)) {
|
|
55514
55587
|
var scenePayload = action_0.sceneData;
|
|
55515
55588
|
var tmp;
|
|
55516
55589
|
if (scenePayload instanceof TradeSceneData) {
|
|
@@ -55915,7 +55988,7 @@
|
|
|
55915
55988
|
var state = store.state;
|
|
55916
55989
|
if (state.e6s()) {
|
|
55917
55990
|
var sceneInfo = state.c6s().sceneInfo;
|
|
55918
|
-
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)) {
|
|
55919
55992
|
this.h9j_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
55920
55993
|
}
|
|
55921
55994
|
}
|
|
@@ -55935,7 +56008,7 @@
|
|
|
55935
56008
|
var state = store.state;
|
|
55936
56009
|
if (state.e6s()) {
|
|
55937
56010
|
var sceneInfo = state.c6s().sceneInfo;
|
|
55938
|
-
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)) {
|
|
55939
56012
|
this.i9j_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
|
|
55940
56013
|
}
|
|
55941
56014
|
}
|
|
@@ -56176,12 +56249,12 @@
|
|
|
56176
56249
|
};
|
|
56177
56250
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
56178
56251
|
return function () {
|
|
56179
|
-
return this$0.f9a_1.
|
|
56252
|
+
return this$0.f9a_1.e91($action, $table);
|
|
56180
56253
|
};
|
|
56181
56254
|
}
|
|
56182
56255
|
function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this$0, $action, $table) {
|
|
56183
56256
|
return function () {
|
|
56184
|
-
return this$0.f9a_1.
|
|
56257
|
+
return this$0.f9a_1.f91($action, $table);
|
|
56185
56258
|
};
|
|
56186
56259
|
}
|
|
56187
56260
|
function isWrongPlayerTurn($this, store, playersWithTurn, player, action) {
|
|
@@ -56222,7 +56295,7 @@
|
|
|
56222
56295
|
tmp = null;
|
|
56223
56296
|
} else {
|
|
56224
56297
|
// Inline function 'kotlin.let' call
|
|
56225
|
-
tmp = $this.f9a_1.
|
|
56298
|
+
tmp = $this.f9a_1.g91(tmp1_safe_receiver, store.state.c6s().gameInfo.round);
|
|
56226
56299
|
}
|
|
56227
56300
|
var receivedTag = tmp;
|
|
56228
56301
|
if (!(receivedTag == null) && !Companion_instance_2.u65(receivedTag, 'v5')) {
|
|
@@ -56603,13 +56676,13 @@
|
|
|
56603
56676
|
};
|
|
56604
56677
|
function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
|
|
56605
56678
|
return function (tbl) {
|
|
56606
|
-
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);
|
|
56607
56680
|
};
|
|
56608
56681
|
}
|
|
56609
56682
|
function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
|
|
56610
56683
|
return function (tbl) {
|
|
56611
56684
|
var tmp;
|
|
56612
|
-
if ($action.
|
|
56685
|
+
if ($action.l90_1 == null) {
|
|
56613
56686
|
tmp = tbl;
|
|
56614
56687
|
} else {
|
|
56615
56688
|
tmp = this$0.n99_1.e9k(tbl, $action);
|
|
@@ -57669,7 +57742,7 @@
|
|
|
57669
57742
|
protoOf(TradeMechanicReducer).f9l = function (state, action) {
|
|
57670
57743
|
var table = state.c6s();
|
|
57671
57744
|
// Inline function 'kotlin.with' call
|
|
57672
|
-
var player = getPlayer(table.players, action.
|
|
57745
|
+
var player = getPlayer(table.players, action.q90_1);
|
|
57673
57746
|
// Inline function 'kotlin.let' call
|
|
57674
57747
|
var it = player.s6v_1.w74();
|
|
57675
57748
|
var tmp;
|
|
@@ -57681,7 +57754,7 @@
|
|
|
57681
57754
|
}
|
|
57682
57755
|
var newNumberOfCircle = tmp;
|
|
57683
57756
|
var tmp_0;
|
|
57684
|
-
if (action.
|
|
57757
|
+
if (action.o90_1 == null) {
|
|
57685
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))));
|
|
57686
57759
|
} else {
|
|
57687
57760
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -57691,7 +57764,7 @@
|
|
|
57691
57764
|
var _iterator__ex2g4s = this_0.l();
|
|
57692
57765
|
while (_iterator__ex2g4s.m()) {
|
|
57693
57766
|
var item = _iterator__ex2g4s.n();
|
|
57694
|
-
var isPlayerChoseSuit = action.
|
|
57767
|
+
var isPlayerChoseSuit = action.q90_1 === item.playerId;
|
|
57695
57768
|
var tmp_1;
|
|
57696
57769
|
if (isPlayerChoseSuit) {
|
|
57697
57770
|
tmp_1 = newNumberOfCircle;
|
|
@@ -57704,7 +57777,7 @@
|
|
|
57704
57777
|
var tmp_2 = destination;
|
|
57705
57778
|
var tmp0_$this = this.d9l_1;
|
|
57706
57779
|
var tmp1_playerId = player.playerId;
|
|
57707
|
-
var tmp2_suit = action.
|
|
57780
|
+
var tmp2_suit = action.o90_1;
|
|
57708
57781
|
var tmp3_gameHistory = table.gameHistory;
|
|
57709
57782
|
var tmp4_players = table.players;
|
|
57710
57783
|
var tmp5_playersMode = table.config.playersMode;
|
|
@@ -58141,17 +58214,17 @@
|
|
|
58141
58214
|
}
|
|
58142
58215
|
protoOf(EarnPointsMechanicReducer).a9l = function (state, action) {
|
|
58143
58216
|
var table = state.c6s();
|
|
58144
|
-
var player = getPlayer(table.players, action.
|
|
58145
|
-
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));
|
|
58146
58219
|
var tmp2_$this = state.c6s();
|
|
58147
58220
|
var tmp;
|
|
58148
|
-
if (action.
|
|
58149
|
-
tmp = action.
|
|
58221
|
+
if (action.x90_1.u1(player.playerId)) {
|
|
58222
|
+
tmp = action.v90_1;
|
|
58150
58223
|
} else {
|
|
58151
58224
|
tmp = false;
|
|
58152
58225
|
}
|
|
58153
|
-
var tmp3_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.
|
|
58154
|
-
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;
|
|
58155
58228
|
var tmp_0;
|
|
58156
58229
|
if (tmp0_safe_receiver == null) {
|
|
58157
58230
|
tmp_0 = null;
|
|
@@ -58200,7 +58273,7 @@
|
|
|
58200
58273
|
if (!(toSet(destination_0).o() === 1)) {
|
|
58201
58274
|
this.x9k_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
|
|
58202
58275
|
}
|
|
58203
|
-
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.
|
|
58276
|
+
var playersCombinations = addPlayersCombinationsWhenPickBribe$default(this, action.z90_1, players, config);
|
|
58204
58277
|
var bribe = new Bribe(cardsOnTable);
|
|
58205
58278
|
var tmp0_bribes = plus_0(table.bribes, bribe);
|
|
58206
58279
|
var tmp1_cardsOnTable = emptyList();
|
|
@@ -58212,16 +58285,16 @@
|
|
|
58212
58285
|
var item_1 = _iterator__ex2g4s_1.n();
|
|
58213
58286
|
var tmp = getValue(playersCombinations, item_1.playerId);
|
|
58214
58287
|
var tmp_0;
|
|
58215
|
-
if (action.
|
|
58216
|
-
tmp_0 = action.
|
|
58288
|
+
if (action.z90_1 === item_1.playerId) {
|
|
58289
|
+
tmp_0 = action.b91_1;
|
|
58217
58290
|
} else {
|
|
58218
58291
|
tmp_0 = false;
|
|
58219
58292
|
}
|
|
58220
|
-
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);
|
|
58221
58294
|
destination_1.j(tmp$ret$6);
|
|
58222
58295
|
}
|
|
58223
|
-
var tmp3_gameInfo = table.gameInfo.i8j(VOID, VOID, table.gameInfo.round.copy(VOID, action.
|
|
58224
|
-
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);
|
|
58225
58298
|
return state.r93(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
|
|
58226
58299
|
};
|
|
58227
58300
|
protoOf(EarnPointsMechanicReducer).y9k = function (state, action) {
|
|
@@ -58727,7 +58800,7 @@
|
|
|
58727
58800
|
tmp$ret$0 = state;
|
|
58728
58801
|
break $l$block;
|
|
58729
58802
|
}
|
|
58730
|
-
var turnModel = this.b9n_1.
|
|
58803
|
+
var turnModel = this.b9n_1.b90(player, tmp2);
|
|
58731
58804
|
var tmp;
|
|
58732
58805
|
if (turnModel == null) {
|
|
58733
58806
|
this.c9n_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -58764,7 +58837,7 @@
|
|
|
58764
58837
|
tmp$ret$0 = state;
|
|
58765
58838
|
break $l$block;
|
|
58766
58839
|
}
|
|
58767
|
-
var turnModel = this.f9n_1.
|
|
58840
|
+
var turnModel = this.f9n_1.b90(player, tmp2);
|
|
58768
58841
|
var tmp;
|
|
58769
58842
|
if (turnModel == null) {
|
|
58770
58843
|
this.g9n_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
|
|
@@ -58795,7 +58868,7 @@
|
|
|
58795
58868
|
var tmp$ret$0;
|
|
58796
58869
|
$l$block: {
|
|
58797
58870
|
var table = state.c6s();
|
|
58798
|
-
var tmp0_elvis_lhs = this.i9n_1.
|
|
58871
|
+
var tmp0_elvis_lhs = this.i9n_1.a90(tmp2, table);
|
|
58799
58872
|
var tmp;
|
|
58800
58873
|
if (tmp0_elvis_lhs == null) {
|
|
58801
58874
|
tmp$ret$0 = state;
|
|
@@ -60696,7 +60769,7 @@
|
|
|
60696
60769
|
var this_2 = serializer(this_1, createKType(getKClass(GameTransitionDto), arrayOf([]), false));
|
|
60697
60770
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
60698
60771
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
60699
|
-
return
|
|
60772
|
+
return mapFromDto_71(tmp$ret$2);
|
|
60700
60773
|
};
|
|
60701
60774
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
60702
60775
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -60707,7 +60780,7 @@
|
|
|
60707
60780
|
var this_2 = serializer(this_1, createKType(getKClass(TableStateWithActionsDto), arrayOf([]), false));
|
|
60708
60781
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
60709
60782
|
var tmp$ret$2 = this_0.gp(tmp$ret$1, json);
|
|
60710
|
-
return
|
|
60783
|
+
return mapFromDto_102(tmp$ret$2);
|
|
60711
60784
|
};
|
|
60712
60785
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
60713
60786
|
var tmp0 = this.s9p_1;
|
|
@@ -60721,7 +60794,7 @@
|
|
|
60721
60794
|
return tmp0.fp(tmp$ret$1, value);
|
|
60722
60795
|
};
|
|
60723
60796
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
60724
|
-
return
|
|
60797
|
+
return mapFromDto_68(this.t9p_1.j8r(json));
|
|
60725
60798
|
};
|
|
60726
60799
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
60727
60800
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
@@ -60741,7 +60814,7 @@
|
|
|
60741
60814
|
this.u9p_1 = json;
|
|
60742
60815
|
this.v9p_1 = userRatingInteractor;
|
|
60743
60816
|
}
|
|
60744
|
-
protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
|
|
60817
|
+
protoOf(RatingHelperImpl).getBotRatingRange = function (league, leaguesConfig) {
|
|
60745
60818
|
var maxRatingFactor = 0.3;
|
|
60746
60819
|
var tmp;
|
|
60747
60820
|
if (league == null) {
|
|
@@ -60750,9 +60823,8 @@
|
|
|
60750
60823
|
tmp = this.mapToLeague(league);
|
|
60751
60824
|
}
|
|
60752
60825
|
var targetLeague = tmp;
|
|
60753
|
-
var defaultConfig = Companion_instance_12.defaultConfig();
|
|
60754
60826
|
var minRating = targetLeague.getMinRating();
|
|
60755
|
-
var maxRating = targetLeague.getMaxRating(
|
|
60827
|
+
var maxRating = targetLeague.getMaxRating(leaguesConfig.maxUserRating);
|
|
60756
60828
|
if (targetLeague.equals(League_BEGINNER_getInstance())) {
|
|
60757
60829
|
var minRatingStartLimit = 800;
|
|
60758
60830
|
return new BotRatingRange(minRatingStartLimit, maxRating);
|
|
@@ -60766,19 +60838,19 @@
|
|
|
60766
60838
|
var tmp$ret$1 = name.toUpperCase();
|
|
60767
60839
|
return valueOf_0(tmp$ret$1);
|
|
60768
60840
|
};
|
|
60769
|
-
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
60770
|
-
return this.v9p_1.p8z(league, rating);
|
|
60841
|
+
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating, leaguesConfig) {
|
|
60842
|
+
return this.v9p_1.p8z(league, rating, leaguesConfig);
|
|
60771
60843
|
};
|
|
60772
|
-
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
60773
|
-
return this.v9p_1.q8z(rating);
|
|
60844
|
+
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating, leaguesConfig) {
|
|
60845
|
+
return this.v9p_1.q8z(rating, leaguesConfig);
|
|
60774
60846
|
};
|
|
60775
60847
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
60776
|
-
return
|
|
60848
|
+
return Companion_instance_12.defaultConfig();
|
|
60777
60849
|
};
|
|
60778
60850
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
60779
60851
|
var tmp0 = this.u9p_1;
|
|
60780
60852
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
60781
|
-
var value = mapToDto_48(
|
|
60853
|
+
var value = mapToDto_48(Companion_instance_12.defaultConfig());
|
|
60782
60854
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
60783
60855
|
var this_0 = tmp0.es();
|
|
60784
60856
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -60786,6 +60858,17 @@
|
|
|
60786
60858
|
var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
|
|
60787
60859
|
return tmp0.fp(tmp$ret$1, value);
|
|
60788
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
|
+
};
|
|
60789
60872
|
function engineHelpersModule() {
|
|
60790
60873
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
60791
60874
|
}
|
|
@@ -61689,8 +61772,8 @@
|
|
|
61689
61772
|
});
|
|
61690
61773
|
protoOf(GameLifecycleInteractorImpl).f8y = getFinishingAction$default;
|
|
61691
61774
|
protoOf(PlayerOptionsInteractorImpl).b8z = getWhoWonCardsLot$default;
|
|
61692
|
-
protoOf(UserRatingInteractorImpl).
|
|
61693
|
-
protoOf(UserRatingInteractorImpl).
|
|
61775
|
+
protoOf(UserRatingInteractorImpl).u8z = calculateRatingsForFinishedGame$default;
|
|
61776
|
+
protoOf(UserRatingInteractorImpl).s8z = calculatePlayerLeftRating$default;
|
|
61694
61777
|
protoOf(SceneRouterImpl).h93 = moveActNext$default;
|
|
61695
61778
|
defineProp(protoOf(AppState), 'isTableExists', protoOf(AppState).e6s);
|
|
61696
61779
|
defineProp(protoOf(AppState), 'table', protoOf(AppState).c6s);
|
|
@@ -61787,6 +61870,7 @@
|
|
|
61787
61870
|
defineProp(protoOf(ContinueGameToClientAction), 'actionTag', function () {
|
|
61788
61871
|
return this.v6f();
|
|
61789
61872
|
});
|
|
61873
|
+
protoOf(FinishingGameToClientAction).ignoreValidation = ignoreValidation;
|
|
61790
61874
|
defineProp(protoOf(FinishingGameToClientAction), 'actionTag', function () {
|
|
61791
61875
|
return this.v6f();
|
|
61792
61876
|
});
|
|
@@ -62856,136 +62940,138 @@
|
|
|
62856
62940
|
_.$_$.e = engineHelpersModule;
|
|
62857
62941
|
_.$_$.f = RatingConfig;
|
|
62858
62942
|
_.$_$.g = ServerReduxConfig;
|
|
62859
|
-
_.$_$.h =
|
|
62860
|
-
_.$_$.i =
|
|
62861
|
-
_.$_$.j =
|
|
62862
|
-
_.$_$.k =
|
|
62863
|
-
_.$_$.l =
|
|
62864
|
-
_.$_$.m =
|
|
62865
|
-
_.$_$.n =
|
|
62866
|
-
_.$_$.o =
|
|
62867
|
-
_.$_$.p =
|
|
62868
|
-
_.$_$.q =
|
|
62869
|
-
_.$_$.r =
|
|
62870
|
-
_.$_$.s =
|
|
62871
|
-
_.$_$.t =
|
|
62872
|
-
_.$_$.u =
|
|
62873
|
-
_.$_$.v =
|
|
62874
|
-
_.$_$.w =
|
|
62875
|
-
_.$_$.x =
|
|
62876
|
-
_.$_$.y =
|
|
62877
|
-
_.$_$.z =
|
|
62878
|
-
_.$_$.a1 =
|
|
62879
|
-
_.$_$.b1 =
|
|
62880
|
-
_.$_$.c1 =
|
|
62881
|
-
_.$_$.d1 =
|
|
62882
|
-
_.$_$.e1 =
|
|
62883
|
-
_.$_$.f1 =
|
|
62884
|
-
_.$_$.g1 =
|
|
62885
|
-
_.$_$.h1 =
|
|
62886
|
-
_.$_$.i1 =
|
|
62887
|
-
_.$_$.j1 =
|
|
62888
|
-
_.$_$.k1 =
|
|
62889
|
-
_.$_$.l1 =
|
|
62890
|
-
_.$_$.m1 =
|
|
62891
|
-
_.$_$.n1 =
|
|
62892
|
-
_.$_$.o1 =
|
|
62893
|
-
_.$_$.p1 =
|
|
62894
|
-
_.$_$.q1 =
|
|
62895
|
-
_.$_$.r1 =
|
|
62896
|
-
_.$_$.s1 =
|
|
62897
|
-
_.$_$.t1 =
|
|
62898
|
-
_.$_$.u1 =
|
|
62899
|
-
_.$_$.v1 =
|
|
62900
|
-
_.$_$.w1 =
|
|
62901
|
-
_.$_$.x1 =
|
|
62902
|
-
_.$_$.y1 =
|
|
62903
|
-
_.$_$.z1 =
|
|
62904
|
-
_.$_$.a2 =
|
|
62905
|
-
_.$_$.b2 =
|
|
62906
|
-
_.$_$.c2 =
|
|
62907
|
-
_.$_$.d2 =
|
|
62908
|
-
_.$_$.e2 =
|
|
62909
|
-
_.$_$.f2 =
|
|
62910
|
-
_.$_$.g2 =
|
|
62911
|
-
_.$_$.h2 =
|
|
62912
|
-
_.$_$.i2 =
|
|
62913
|
-
_.$_$.j2 =
|
|
62914
|
-
_.$_$.k2 =
|
|
62915
|
-
_.$_$.l2 =
|
|
62916
|
-
_.$_$.m2 =
|
|
62917
|
-
_.$_$.n2 =
|
|
62918
|
-
_.$_$.o2 =
|
|
62919
|
-
_.$_$.p2 =
|
|
62920
|
-
_.$_$.q2 =
|
|
62921
|
-
_.$_$.r2 =
|
|
62922
|
-
_.$_$.s2 =
|
|
62923
|
-
_.$_$.t2 =
|
|
62924
|
-
_.$_$.u2 =
|
|
62925
|
-
_.$_$.v2 =
|
|
62926
|
-
_.$_$.w2 =
|
|
62927
|
-
_.$_$.x2 =
|
|
62928
|
-
_.$_$.y2 =
|
|
62929
|
-
_.$_$.z2 =
|
|
62930
|
-
_.$_$.a3 =
|
|
62931
|
-
_.$_$.b3 =
|
|
62932
|
-
_.$_$.c3 =
|
|
62933
|
-
_.$_$.d3 =
|
|
62934
|
-
_.$_$.e3 =
|
|
62935
|
-
_.$_$.f3 =
|
|
62936
|
-
_.$_$.g3 =
|
|
62937
|
-
_.$_$.h3 =
|
|
62938
|
-
_.$_$.i3 =
|
|
62939
|
-
_.$_$.j3 =
|
|
62940
|
-
_.$_$.k3 =
|
|
62941
|
-
_.$_$.l3 =
|
|
62942
|
-
_.$_$.m3 =
|
|
62943
|
-
_.$_$.n3 =
|
|
62944
|
-
_.$_$.o3 =
|
|
62945
|
-
_.$_$.p3 =
|
|
62946
|
-
_.$_$.q3 =
|
|
62947
|
-
_.$_$.r3 =
|
|
62948
|
-
_.$_$.s3 =
|
|
62949
|
-
_.$_$.t3 =
|
|
62950
|
-
_.$_$.u3 =
|
|
62951
|
-
_.$_$.v3 =
|
|
62952
|
-
_.$_$.w3 =
|
|
62953
|
-
_.$_$.x3 =
|
|
62954
|
-
_.$_$.y3 =
|
|
62955
|
-
_.$_$.z3 =
|
|
62956
|
-
_.$_$.a4 =
|
|
62957
|
-
_.$_$.b4 =
|
|
62958
|
-
_.$_$.c4 =
|
|
62959
|
-
_.$_$.d4 =
|
|
62960
|
-
_.$_$.e4 =
|
|
62961
|
-
_.$_$.f4 =
|
|
62962
|
-
_.$_$.g4 =
|
|
62963
|
-
_.$_$.h4 =
|
|
62964
|
-
_.$_$.i4 =
|
|
62965
|
-
_.$_$.j4 =
|
|
62966
|
-
_.$_$.k4 =
|
|
62967
|
-
_.$_$.l4 =
|
|
62968
|
-
_.$_$.m4 =
|
|
62969
|
-
_.$_$.n4 =
|
|
62970
|
-
_.$_$.o4 =
|
|
62971
|
-
_.$_$.p4 =
|
|
62972
|
-
_.$_$.q4 =
|
|
62973
|
-
_.$_$.r4 =
|
|
62974
|
-
_.$_$.s4 =
|
|
62975
|
-
_.$_$.t4 =
|
|
62976
|
-
_.$_$.u4 =
|
|
62977
|
-
_.$_$.v4 =
|
|
62978
|
-
_.$_$.w4 =
|
|
62979
|
-
_.$_$.x4 =
|
|
62980
|
-
_.$_$.y4 =
|
|
62981
|
-
_.$_$.z4 =
|
|
62982
|
-
_.$_$.a5 =
|
|
62983
|
-
_.$_$.b5 =
|
|
62984
|
-
_.$_$.c5 =
|
|
62985
|
-
_.$_$.d5 =
|
|
62986
|
-
_.$_$.e5 =
|
|
62987
|
-
_.$_$.f5 =
|
|
62988
|
-
_.$_$.g5 =
|
|
62943
|
+
_.$_$.h = LeaguesConfig;
|
|
62944
|
+
_.$_$.i = UserMessage;
|
|
62945
|
+
_.$_$.j = PlayerAchievements;
|
|
62946
|
+
_.$_$.k = PlayerLeftResult;
|
|
62947
|
+
_.$_$.l = Spectator;
|
|
62948
|
+
_.$_$.m = getGameCreator;
|
|
62949
|
+
_.$_$.n = mapToGameAnalytics;
|
|
62950
|
+
_.$_$.o = mapToDto_20;
|
|
62951
|
+
_.$_$.p = mapToDto_78;
|
|
62952
|
+
_.$_$.q = mapToClient_0;
|
|
62953
|
+
_.$_$.r = toLoggerPayload;
|
|
62954
|
+
_.$_$.s = DealerConfig;
|
|
62955
|
+
_.$_$.t = EngineBotConfig;
|
|
62956
|
+
_.$_$.u = EngineLogicConfig;
|
|
62957
|
+
_.$_$.v = EncoderDecoderProvider;
|
|
62958
|
+
_.$_$.w = TeamsLogicProvider;
|
|
62959
|
+
_.$_$.x = engineGameBotModule;
|
|
62960
|
+
_.$_$.y = engineGameLogicModule;
|
|
62961
|
+
_.$_$.z = getEngineGameModule;
|
|
62962
|
+
_.$_$.a1 = jsonModule;
|
|
62963
|
+
_.$_$.b1 = get_ratingModule;
|
|
62964
|
+
_.$_$.c1 = FromClientEventsObserver;
|
|
62965
|
+
_.$_$.d1 = BotChatInteractor;
|
|
62966
|
+
_.$_$.e1 = LastCardInteractor;
|
|
62967
|
+
_.$_$.f1 = PlayerAnswerInteractor;
|
|
62968
|
+
_.$_$.g1 = GameLifecycleInteractor;
|
|
62969
|
+
_.$_$.h1 = UserRatingInteractor;
|
|
62970
|
+
_.$_$.i1 = ignoreTimerResetValidation;
|
|
62971
|
+
_.$_$.j1 = NotValidateTimerReset;
|
|
62972
|
+
_.$_$.k1 = ScenePositionProvider;
|
|
62973
|
+
_.$_$.l1 = FromClientActionPayloadProvider;
|
|
62974
|
+
_.$_$.m1 = PlayerReadyFromClientAction;
|
|
62975
|
+
_.$_$.n1 = ActionDeliveryPayload;
|
|
62976
|
+
_.$_$.o1 = CombinedToClientAction;
|
|
62977
|
+
_.$_$.p1 = ContinueGameToClientAction;
|
|
62978
|
+
_.$_$.q1 = FinishGameToClientAction;
|
|
62979
|
+
_.$_$.r1 = FinishingGameToClientAction;
|
|
62980
|
+
_.$_$.s1 = RoomActionPayload;
|
|
62981
|
+
_.$_$.t1 = ToClientAction;
|
|
62982
|
+
_.$_$.u1 = mapFromClient_6;
|
|
62983
|
+
_.$_$.v1 = mapToClient_19;
|
|
62984
|
+
_.$_$.w1 = mapToClient_6;
|
|
62985
|
+
_.$_$.x1 = mapToClient_11;
|
|
62986
|
+
_.$_$.y1 = mapToClient_8;
|
|
62987
|
+
_.$_$.z1 = mapToClient_21;
|
|
62988
|
+
_.$_$.a2 = mapToClient_7;
|
|
62989
|
+
_.$_$.b2 = mapToClient_22;
|
|
62990
|
+
_.$_$.c2 = mapToClient_23;
|
|
62991
|
+
_.$_$.d2 = mapToClient_10;
|
|
62992
|
+
_.$_$.e2 = mapToClient_25;
|
|
62993
|
+
_.$_$.f2 = mapToClient_12;
|
|
62994
|
+
_.$_$.g2 = mapToClient_9;
|
|
62995
|
+
_.$_$.h2 = mapToClient_20;
|
|
62996
|
+
_.$_$.i2 = mapToClient_14;
|
|
62997
|
+
_.$_$.j2 = mapToClient_24;
|
|
62998
|
+
_.$_$.k2 = mapToClient_18;
|
|
62999
|
+
_.$_$.l2 = mapToClient_15;
|
|
63000
|
+
_.$_$.m2 = mapToClient_13;
|
|
63001
|
+
_.$_$.n2 = mapToClient_16;
|
|
63002
|
+
_.$_$.o2 = mapToClient_17;
|
|
63003
|
+
_.$_$.p2 = RoundEndedAction;
|
|
63004
|
+
_.$_$.q2 = CombinationChoiceMechanicAction;
|
|
63005
|
+
_.$_$.r2 = ContinueGameMechanicAction;
|
|
63006
|
+
_.$_$.s2 = ErrorAction;
|
|
63007
|
+
_.$_$.t2 = FinishGameMechanicAction;
|
|
63008
|
+
_.$_$.u2 = FinishingGameMechanicAction;
|
|
63009
|
+
_.$_$.v2 = FirstMechanicAction;
|
|
63010
|
+
_.$_$.w2 = GameToRoomTransition;
|
|
63011
|
+
_.$_$.x2 = MechanicAction;
|
|
63012
|
+
_.$_$.y2 = MessageMechanicAction;
|
|
63013
|
+
_.$_$.z2 = NextPlayerTurnAction;
|
|
63014
|
+
_.$_$.a3 = PickUpBribeMechanicAction;
|
|
63015
|
+
_.$_$.b3 = PlayerConnectionChangedMechanicAction;
|
|
63016
|
+
_.$_$.c3 = PlayerReadyMechanicAction;
|
|
63017
|
+
_.$_$.d3 = PutCardMechanicAction;
|
|
63018
|
+
_.$_$.e3 = RestartGameMechanicAction;
|
|
63019
|
+
_.$_$.f3 = SceneActMechanicAction;
|
|
63020
|
+
_.$_$.g3 = SceneMechanicAction;
|
|
63021
|
+
_.$_$.h3 = StartGameMechanicAction;
|
|
63022
|
+
_.$_$.i3 = StartNewGameMechanicAction;
|
|
63023
|
+
_.$_$.j3 = SuitChoiceMechanicAction;
|
|
63024
|
+
_.$_$.k3 = TakeAllRemainingCardsMechanicAction;
|
|
63025
|
+
_.$_$.l3 = TeamsDataMechanicAction;
|
|
63026
|
+
_.$_$.m3 = TrumpMechanicAction;
|
|
63027
|
+
_.$_$.n3 = WinnerCombinationsMechanicAction;
|
|
63028
|
+
_.$_$.o3 = SceneEndedMechanicAction;
|
|
63029
|
+
_.$_$.p3 = ClearAction;
|
|
63030
|
+
_.$_$.q3 = PlayerConnectionUpdateAction;
|
|
63031
|
+
_.$_$.r3 = BotGameStoreContract;
|
|
63032
|
+
_.$_$.s3 = FileLoggerStoreContract;
|
|
63033
|
+
_.$_$.t3 = GameMechanicStoreContract;
|
|
63034
|
+
_.$_$.u3 = StoreContract;
|
|
63035
|
+
_.$_$.v3 = TimersStoreContract;
|
|
63036
|
+
_.$_$.w3 = ValidationStoreContract;
|
|
63037
|
+
_.$_$.x3 = prefetchRandomOrgPoolMiddleware;
|
|
63038
|
+
_.$_$.y3 = sendFromClientEventsMiddleware;
|
|
63039
|
+
_.$_$.z3 = roundLifecycleMiddleware;
|
|
63040
|
+
_.$_$.a4 = putPlayerLastCardMiddleware;
|
|
63041
|
+
_.$_$.b4 = PlayerTurnTimerTag;
|
|
63042
|
+
_.$_$.c4 = clearOnFinishMiddleware;
|
|
63043
|
+
_.$_$.d4 = checkBotsMiddleware;
|
|
63044
|
+
_.$_$.e4 = BaseMechanicLifecycleReducer;
|
|
63045
|
+
_.$_$.f4 = MechanicLifecycleReducer;
|
|
63046
|
+
_.$_$.g4 = PlayerTurnMechanicReducer;
|
|
63047
|
+
_.$_$.h4 = TableLifecycleReducer;
|
|
63048
|
+
_.$_$.i4 = AppStatePayload;
|
|
63049
|
+
_.$_$.j4 = AppState;
|
|
63050
|
+
_.$_$.k4 = TerminationState;
|
|
63051
|
+
_.$_$.l4 = CallbackWrapperLoggerOutput;
|
|
63052
|
+
_.$_$.m4 = FileLoggerOutputImpl;
|
|
63053
|
+
_.$_$.n4 = FileLoggerOutput;
|
|
63054
|
+
_.$_$.o4 = get_isCreated;
|
|
63055
|
+
_.$_$.p4 = get_isCreating;
|
|
63056
|
+
_.$_$.q4 = get_isFinished;
|
|
63057
|
+
_.$_$.r4 = get_isFinishing;
|
|
63058
|
+
_.$_$.s4 = BaseGame;
|
|
63059
|
+
_.$_$.t4 = GameStoreContract;
|
|
63060
|
+
_.$_$.u4 = GameStore;
|
|
63061
|
+
_.$_$.v4 = StateProvider;
|
|
63062
|
+
_.$_$.w4 = FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance;
|
|
63063
|
+
_.$_$.x4 = RoomMode_REVENGE_getInstance;
|
|
63064
|
+
_.$_$.y4 = GameLifecycleState_CREATED_getInstance;
|
|
63065
|
+
_.$_$.z4 = UserActionPayload_init_$Create$;
|
|
63066
|
+
_.$_$.a5 = AskBotAction_init_$Create$;
|
|
63067
|
+
_.$_$.b5 = PlayerTurnTimerTag_init_$Create$;
|
|
63068
|
+
_.$_$.c5 = Companion_instance_11;
|
|
63069
|
+
_.$_$.d5 = Companion_instance_12;
|
|
63070
|
+
_.$_$.e5 = Companion_instance_155;
|
|
63071
|
+
_.$_$.f5 = Companion_instance_174;
|
|
63072
|
+
_.$_$.g5 = Companion_instance_176;
|
|
63073
|
+
_.$_$.h5 = Companion_instance_178;
|
|
63074
|
+
_.$_$.i5 = Companion_instance_179;
|
|
62989
63075
|
//endregion
|
|
62990
63076
|
return _;
|
|
62991
63077
|
}));
|