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