game_client_logic_deb 1.8.402 → 1.8.404
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 +8374 -8374
- package/Logic_Debertz-game_client.d.ts +1 -0
- package/Logic_Debertz-game_client.js +199 -190
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
initMetadataForInterface(ControlsContract, 'ControlsContract');
|
|
598
598
|
initMetadataForInterface(TradeSceneContract, 'TradeSceneContract');
|
|
599
599
|
initMetadataForInterface(EarnPointsSceneContract, 'EarnPointsSceneContract');
|
|
600
|
-
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [
|
|
600
|
+
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ExpectantContract, ControlsContract, SceneActionsContract]);
|
|
601
601
|
initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
|
|
602
602
|
initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
|
|
603
603
|
initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
|
|
@@ -932,7 +932,7 @@
|
|
|
932
932
|
case 1:
|
|
933
933
|
var $this$transform = this.p9h_1;
|
|
934
934
|
var value = this.o9h_1;
|
|
935
|
-
if (value.
|
|
935
|
+
if (value.y6m()) {
|
|
936
936
|
this.s8_1 = 3;
|
|
937
937
|
suspendResult = $this$transform.z27(value, this);
|
|
938
938
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
case 1:
|
|
1150
1150
|
var $this$transform = this.h9j_1;
|
|
1151
1151
|
var value = this.g9j_1;
|
|
1152
|
-
if (value.
|
|
1152
|
+
if (value.y6m()) {
|
|
1153
1153
|
this.s8_1 = 3;
|
|
1154
1154
|
suspendResult = $this$transform.z27(value, this);
|
|
1155
1155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
case 1:
|
|
1526
1526
|
var $this$transform = this.j9l_1;
|
|
1527
1527
|
var value = this.i9l_1;
|
|
1528
|
-
if (value.
|
|
1528
|
+
if (value.y6m()) {
|
|
1529
1529
|
this.s8_1 = 3;
|
|
1530
1530
|
suspendResult = $this$transform.z27(value, this);
|
|
1531
1531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1742,7 +1742,7 @@
|
|
|
1742
1742
|
case 1:
|
|
1743
1743
|
var $this$transform = this.b9n_1;
|
|
1744
1744
|
var value = this.a9n_1;
|
|
1745
|
-
if (value.
|
|
1745
|
+
if (value.y6m()) {
|
|
1746
1746
|
this.s8_1 = 3;
|
|
1747
1747
|
suspendResult = $this$transform.z27(value, this);
|
|
1748
1748
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -2344,7 +2344,7 @@
|
|
|
2344
2344
|
var tmp;
|
|
2345
2345
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
2346
2346
|
// Inline function 'kotlin.takeUnless' call
|
|
2347
|
-
var this_0 = getPlayer(table.players, _this__u8e3s4.b64_1).
|
|
2347
|
+
var this_0 = getPlayer(table.players, _this__u8e3s4.b64_1).s6u_1;
|
|
2348
2348
|
var tmp_0;
|
|
2349
2349
|
if (!(_this__u8e3s4.b64_1 === get_currentPlayer(table).playerId)) {
|
|
2350
2350
|
tmp_0 = this_0;
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
} else {
|
|
2357
2357
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
2358
2358
|
// Inline function 'kotlin.takeUnless' call
|
|
2359
|
-
var this_1 = getPlayer(table.players, _this__u8e3s4.e64_1).
|
|
2359
|
+
var this_1 = getPlayer(table.players, _this__u8e3s4.e64_1).s6u_1;
|
|
2360
2360
|
var tmp_1;
|
|
2361
2361
|
if (!(_this__u8e3s4.e64_1 === get_currentPlayer(table).playerId)) {
|
|
2362
2362
|
tmp_1 = this_1;
|
|
@@ -2371,7 +2371,7 @@
|
|
|
2371
2371
|
if (_this__u8e3s4.f64_1 === get_currentPlayer(table).playerId) {
|
|
2372
2372
|
tmp_2 = null;
|
|
2373
2373
|
} else {
|
|
2374
|
-
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.f64_1).
|
|
2374
|
+
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.f64_1).s6u_1, _this__u8e3s4);
|
|
2375
2375
|
}
|
|
2376
2376
|
tmp = tmp_2;
|
|
2377
2377
|
} else {
|
|
@@ -2404,10 +2404,10 @@
|
|
|
2404
2404
|
return tmp;
|
|
2405
2405
|
}
|
|
2406
2406
|
function toPlayerVM(_this__u8e3s4, currentPlayerId, isGameFinished, round, isRatingUp, wasPlayerOffline) {
|
|
2407
|
-
var tmp4_userInfo = _this__u8e3s4.
|
|
2408
|
-
var tmp5_selectedSuit = _this__u8e3s4.
|
|
2409
|
-
var tmp6_isGameCreator = _this__u8e3s4.
|
|
2410
|
-
var tmp7_isShuffleCards = _this__u8e3s4.
|
|
2407
|
+
var tmp4_userInfo = _this__u8e3s4.s6u_1;
|
|
2408
|
+
var tmp5_selectedSuit = _this__u8e3s4.v6u_1.k6v_1 ? round.trump : null;
|
|
2409
|
+
var tmp6_isGameCreator = _this__u8e3s4.v6u_1.z6u_1;
|
|
2410
|
+
var tmp7_isShuffleCards = _this__u8e3s4.v6u_1.c6v_1;
|
|
2411
2411
|
var tmp8_isCurrentPlayer = currentPlayerId === _this__u8e3s4.playerId;
|
|
2412
2412
|
var tmp0_safe_receiver = round.trump;
|
|
2413
2413
|
var tmp;
|
|
@@ -2417,7 +2417,7 @@
|
|
|
2417
2417
|
// Inline function 'kotlin.let' call
|
|
2418
2418
|
// Inline function 'kotlin.collections.sumOf' call
|
|
2419
2419
|
var sum = 0;
|
|
2420
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2420
|
+
var _iterator__ex2g4s = _this__u8e3s4.x6u_1.o6w_1.l();
|
|
2421
2421
|
while (_iterator__ex2g4s.m()) {
|
|
2422
2422
|
var element = _iterator__ex2g4s.n();
|
|
2423
2423
|
var tmp_0 = sum;
|
|
@@ -2458,10 +2458,10 @@
|
|
|
2458
2458
|
return new PlayerViewModel(tmp4_userInfo, tmp5_selectedSuit, tmp7_isShuffleCards, tmp8_isCurrentPlayer, tmp6_isGameCreator, tmp9_points, tmp10_isRatingUp, tmp11_wasPlayerOffline);
|
|
2459
2459
|
}
|
|
2460
2460
|
function toStateVM(_this__u8e3s4, showConnectionStatus, isGameFinished, isStateActive) {
|
|
2461
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2461
|
+
var tmp0_safe_receiver = _this__u8e3s4.t6u_1.o65_1;
|
|
2462
2462
|
var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u65_1;
|
|
2463
2463
|
var tmp5_playerId = _this__u8e3s4.playerId;
|
|
2464
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2464
|
+
var tmp1_safe_receiver = _this__u8e3s4.t6u_1.i65_1;
|
|
2465
2465
|
var tmp;
|
|
2466
2466
|
if (tmp1_safe_receiver == null) {
|
|
2467
2467
|
tmp = null;
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
tmp = tmp_0;
|
|
2477
2477
|
}
|
|
2478
2478
|
var tmp6_startFromTime = tmp;
|
|
2479
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2479
|
+
var tmp2_safe_receiver = _this__u8e3s4.t6u_1.j65_1;
|
|
2480
2480
|
var tmp_1;
|
|
2481
2481
|
if (tmp2_safe_receiver == null) {
|
|
2482
2482
|
tmp_1 = null;
|
|
@@ -2491,7 +2491,7 @@
|
|
|
2491
2491
|
tmp_1 = tmp_2;
|
|
2492
2492
|
}
|
|
2493
2493
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
2494
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2494
|
+
var tmp3_safe_receiver = _this__u8e3s4.t6u_1.k65_1;
|
|
2495
2495
|
var tmp_3;
|
|
2496
2496
|
if (tmp3_safe_receiver == null) {
|
|
2497
2497
|
tmp_3 = null;
|
|
@@ -2525,13 +2525,13 @@
|
|
|
2525
2525
|
tmp_5 = null;
|
|
2526
2526
|
}
|
|
2527
2527
|
var tmp9_connectionState = tmp_5;
|
|
2528
|
-
var tmp10_tag = _this__u8e3s4.
|
|
2529
|
-
var tmp11_state = isStateActive ? _this__u8e3s4.
|
|
2528
|
+
var tmp10_tag = _this__u8e3s4.t6u_1.n65_1;
|
|
2529
|
+
var tmp11_state = isStateActive ? _this__u8e3s4.t6u_1.l65_1 : PlayerWaitingState_IDLE_getInstance();
|
|
2530
2530
|
return new PlayerStateViewModel(tmp5_playerId, tmp10_tag, tmp11_state, tmp9_connectionState, tmp6_startFromTime, tmp7_playerTurnTimeout, tmp8_waitPlayerUntilTime);
|
|
2531
2531
|
}
|
|
2532
2532
|
function toVM(_this__u8e3s4, players) {
|
|
2533
|
-
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.z9o_1).
|
|
2534
|
-
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.y9o_1).
|
|
2533
|
+
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.z9o_1).s6u_1;
|
|
2534
|
+
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.y9o_1).s6u_1;
|
|
2535
2535
|
// Inline function 'kotlin.collections.map' call
|
|
2536
2536
|
var this_0 = _this__u8e3s4.a9p_1;
|
|
2537
2537
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2539,7 +2539,7 @@
|
|
|
2539
2539
|
var _iterator__ex2g4s = this_0.l();
|
|
2540
2540
|
while (_iterator__ex2g4s.m()) {
|
|
2541
2541
|
var item = _iterator__ex2g4s.n();
|
|
2542
|
-
var tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.
|
|
2542
|
+
var tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.z78_1));
|
|
2543
2543
|
destination.j(tmp$ret$0);
|
|
2544
2544
|
}
|
|
2545
2545
|
return new LastBribeViewModel(tmp1_whoPutFirstCardUser, tmp0_whoGotBribeUser, destination);
|
|
@@ -2551,7 +2551,7 @@
|
|
|
2551
2551
|
tmp = null;
|
|
2552
2552
|
} else {
|
|
2553
2553
|
// Inline function 'kotlin.let' call
|
|
2554
|
-
tmp = getPlayer(players, _this__u8e3s4.c9p_1).
|
|
2554
|
+
tmp = getPlayer(players, _this__u8e3s4.c9p_1).s6u_1;
|
|
2555
2555
|
}
|
|
2556
2556
|
var tmp4_whoShuffleCardsUserInfo = tmp;
|
|
2557
2557
|
var tmp_0;
|
|
@@ -2559,7 +2559,7 @@
|
|
|
2559
2559
|
tmp_0 = null;
|
|
2560
2560
|
} else {
|
|
2561
2561
|
// Inline function 'kotlin.let' call
|
|
2562
|
-
tmp_0 = getPlayer(players, _this__u8e3s4.d9p_1).
|
|
2562
|
+
tmp_0 = getPlayer(players, _this__u8e3s4.d9p_1).s6u_1;
|
|
2563
2563
|
}
|
|
2564
2564
|
var tmp5_whoChoseSuitUserInfo = tmp_0;
|
|
2565
2565
|
var tmp6_playersMode = config.playersMode;
|
|
@@ -2574,15 +2574,15 @@
|
|
|
2574
2574
|
var _iterator__ex2g4s = points.l();
|
|
2575
2575
|
while (_iterator__ex2g4s.m()) {
|
|
2576
2576
|
var item = _iterator__ex2g4s.n();
|
|
2577
|
-
var tmp0_points = item.
|
|
2577
|
+
var tmp0_points = item.t7p_1;
|
|
2578
2578
|
// Inline function 'kotlin.collections.map' call
|
|
2579
|
-
var this_0 = item.
|
|
2579
|
+
var this_0 = item.s7p_1;
|
|
2580
2580
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2581
2581
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2582
2582
|
var _iterator__ex2g4s_0 = this_0.l();
|
|
2583
2583
|
while (_iterator__ex2g4s_0.m()) {
|
|
2584
2584
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
2585
|
-
var tmp$ret$4 = getPlayer(players, item_0).
|
|
2585
|
+
var tmp$ret$4 = getPlayer(players, item_0).s6u_1;
|
|
2586
2586
|
destination_0.j(tmp$ret$4);
|
|
2587
2587
|
}
|
|
2588
2588
|
var tmp$ret$7 = new PointItemViewModel(destination_0, tmp0_points);
|
|
@@ -2596,9 +2596,9 @@
|
|
|
2596
2596
|
return new GameInfoViewModel(tmp3_trump, tmp7_pointsMode, tmp6_playersMode, tmp8_points, tmp5_whoChoseSuitUserInfo, tmp4_whoShuffleCardsUserInfo, tmp9_rulesSetType, tmp10_rules);
|
|
2597
2597
|
}
|
|
2598
2598
|
function toVM_1(_this__u8e3s4, playerIndex) {
|
|
2599
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2600
|
-
var tmp1_card = _this__u8e3s4.
|
|
2601
|
-
var tmp2_position = _this__u8e3s4.
|
|
2599
|
+
var tmp0_playerId = _this__u8e3s4.z78_1;
|
|
2600
|
+
var tmp1_card = _this__u8e3s4.b79_1;
|
|
2601
|
+
var tmp2_position = _this__u8e3s4.a79_1;
|
|
2602
2602
|
return new CardOnTableViewModel(playerIndex, tmp0_playerId, tmp2_position, tmp1_card);
|
|
2603
2603
|
}
|
|
2604
2604
|
function SceneViewModel(roundNumber, sceneId, previousSceneId) {
|
|
@@ -2638,7 +2638,7 @@
|
|
|
2638
2638
|
this.n9p_1 = isRatingUp;
|
|
2639
2639
|
this.o9p_1 = wasPlayerOffline;
|
|
2640
2640
|
}
|
|
2641
|
-
protoOf(PlayerViewModel).
|
|
2641
|
+
protoOf(PlayerViewModel).y6u = function () {
|
|
2642
2642
|
return this.j9p_1;
|
|
2643
2643
|
};
|
|
2644
2644
|
protoOf(PlayerViewModel).c64 = function () {
|
|
@@ -3380,7 +3380,7 @@
|
|
|
3380
3380
|
return new CombinationChoiceExpectant(wrapper.b9s_1, _this__u8e3s4.u8x_1, _this__u8e3s4.s8x_1, _this__u8e3s4.t8x_1);
|
|
3381
3381
|
}
|
|
3382
3382
|
function mapToExpectant_4(_this__u8e3s4, wrapper) {
|
|
3383
|
-
return new PickUpBribeExpectant(wrapper.b9s_1, _this__u8e3s4.
|
|
3383
|
+
return new PickUpBribeExpectant(wrapper.b9s_1, _this__u8e3s4.p8r_1, _this__u8e3s4.q8r_1);
|
|
3384
3384
|
}
|
|
3385
3385
|
function mapToExpectant_5(_this__u8e3s4, wrapper) {
|
|
3386
3386
|
return new WinnerCombinationsExpectant(wrapper.b9s_1, _this__u8e3s4.w8x_1);
|
|
@@ -3452,22 +3452,22 @@
|
|
|
3452
3452
|
protoOf(GameHistoryViewModel).b53 = function () {
|
|
3453
3453
|
return this.gameId;
|
|
3454
3454
|
};
|
|
3455
|
-
protoOf(GameHistoryViewModel).
|
|
3455
|
+
protoOf(GameHistoryViewModel).l8b = function () {
|
|
3456
3456
|
return this.createdAt;
|
|
3457
3457
|
};
|
|
3458
3458
|
protoOf(GameHistoryViewModel).h9s = function () {
|
|
3459
3459
|
return this.gameType;
|
|
3460
3460
|
};
|
|
3461
|
-
protoOf(GameHistoryViewModel).
|
|
3461
|
+
protoOf(GameHistoryViewModel).y8b = function () {
|
|
3462
3462
|
return this.users;
|
|
3463
3463
|
};
|
|
3464
3464
|
protoOf(GameHistoryViewModel).v3r = function () {
|
|
3465
3465
|
return this.config;
|
|
3466
3466
|
};
|
|
3467
|
-
protoOf(GameHistoryViewModel).
|
|
3467
|
+
protoOf(GameHistoryViewModel).f8f = function () {
|
|
3468
3468
|
return this.gameWinners;
|
|
3469
3469
|
};
|
|
3470
|
-
protoOf(GameHistoryViewModel).
|
|
3470
|
+
protoOf(GameHistoryViewModel).c8f = function () {
|
|
3471
3471
|
return this.metadata;
|
|
3472
3472
|
};
|
|
3473
3473
|
protoOf(GameHistoryViewModel).equals = function (other) {
|
|
@@ -3564,10 +3564,10 @@
|
|
|
3564
3564
|
protoOf(RoundEndedHistoryViewModel).b53 = function () {
|
|
3565
3565
|
return this.gameId;
|
|
3566
3566
|
};
|
|
3567
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3567
|
+
protoOf(RoundEndedHistoryViewModel).b8f = function () {
|
|
3568
3568
|
return this.roundNumber;
|
|
3569
3569
|
};
|
|
3570
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
3570
|
+
protoOf(RoundEndedHistoryViewModel).o8f = function () {
|
|
3571
3571
|
return this.items;
|
|
3572
3572
|
};
|
|
3573
3573
|
protoOf(RoundEndedHistoryViewModel).j9s = function () {
|
|
@@ -5132,13 +5132,13 @@
|
|
|
5132
5132
|
function CheckSceneBufferUseCase() {
|
|
5133
5133
|
}
|
|
5134
5134
|
protoOf(CheckSceneBufferUseCase).v9s = function (state, action) {
|
|
5135
|
-
if (!state.
|
|
5135
|
+
if (!state.y6m() && !get_isCreated(state)) {
|
|
5136
5136
|
return new PutInBuffer('CheckSceneBufferUseCase.isTableExists');
|
|
5137
5137
|
}
|
|
5138
5138
|
var table = state.w6m();
|
|
5139
5139
|
if (isInterface(action, InSceneAction)) {
|
|
5140
5140
|
var tmp;
|
|
5141
|
-
if (action.n8x(table.sceneInfo.
|
|
5141
|
+
if (action.n8x(table.sceneInfo.i7u_1)) {
|
|
5142
5142
|
tmp = new AvoidBuffer('CheckSceneBufferUseCase.inScene');
|
|
5143
5143
|
} else {
|
|
5144
5144
|
tmp = new PutInBuffer('CheckSceneBufferUseCase.inScene');
|
|
@@ -5152,7 +5152,7 @@
|
|
|
5152
5152
|
this.w9t_1 = ignoreForPlayers;
|
|
5153
5153
|
}
|
|
5154
5154
|
protoOf(NextPlayerTurnBufferUseCase).v9s = function (state, action) {
|
|
5155
|
-
if (!state.
|
|
5155
|
+
if (!state.y6m() && !get_isCreated(state)) {
|
|
5156
5156
|
return new PutInBuffer('NextPlayerTurnBufferUseCase.isTableExists');
|
|
5157
5157
|
}
|
|
5158
5158
|
var table = state.w6m();
|
|
@@ -5162,7 +5162,7 @@
|
|
|
5162
5162
|
return new AvoidBuffer('NextPlayerTurnBufferUseCase.ignored');
|
|
5163
5163
|
}
|
|
5164
5164
|
var tmp;
|
|
5165
|
-
if (playerTurn.
|
|
5165
|
+
if (playerTurn.t6u_1.p65()) {
|
|
5166
5166
|
tmp = new AvoidBuffer('NextPlayerTurnBufferUseCase.playerTurn');
|
|
5167
5167
|
} else {
|
|
5168
5168
|
tmp = new PutInBuffer('NextPlayerTurnBufferUseCase.playerTurn: ' + ('expected = ' + playerTurn.playerId));
|
|
@@ -5175,7 +5175,7 @@
|
|
|
5175
5175
|
}
|
|
5176
5176
|
protoOf(PassErrorActionBufferUseCase).v9s = function (state, action) {
|
|
5177
5177
|
if (action instanceof ErrorAction) {
|
|
5178
|
-
var reason = action.a8y_1.
|
|
5178
|
+
var reason = action.a8y_1.x7l_1;
|
|
5179
5179
|
return checkTerminatedReason(state.tableOrNull, false, reason, 'PassErrorActionBufferUseCase.checkTerminatedReason');
|
|
5180
5180
|
}
|
|
5181
5181
|
return new AvoidBuffer('PassErrorActionBufferUseCase');
|
|
@@ -5222,7 +5222,7 @@
|
|
|
5222
5222
|
}
|
|
5223
5223
|
}
|
|
5224
5224
|
}
|
|
5225
|
-
if (isGameFinished && !table.sceneInfo.
|
|
5225
|
+
if (isGameFinished && !table.sceneInfo.a8g()) {
|
|
5226
5226
|
return new PutInBuffer(debugLabel);
|
|
5227
5227
|
}
|
|
5228
5228
|
return new AvoidBuffer(debugLabel);
|
|
@@ -5238,7 +5238,7 @@
|
|
|
5238
5238
|
function PassTerminatedActionBufferUseCase() {
|
|
5239
5239
|
}
|
|
5240
5240
|
protoOf(PassTerminatedActionBufferUseCase).v9s = function (state, action) {
|
|
5241
|
-
if (!state.
|
|
5241
|
+
if (!state.y6m() && !get_isCreated(state)) {
|
|
5242
5242
|
return new PutInBuffer('PassTerminatedActionBufferUseCase: Table not exists');
|
|
5243
5243
|
}
|
|
5244
5244
|
if (isInterface(action, TerminatedAction)) {
|
|
@@ -5250,7 +5250,7 @@
|
|
|
5250
5250
|
function WaitPlayerAnswerBufferUseCase() {
|
|
5251
5251
|
}
|
|
5252
5252
|
protoOf(WaitPlayerAnswerBufferUseCase).v9s = function (state, action) {
|
|
5253
|
-
if (!state.
|
|
5253
|
+
if (!state.y6m() && !get_isCreated(state)) {
|
|
5254
5254
|
return new PutInBuffer('WaitPlayerAnswerBufferUseCase.isTableExists');
|
|
5255
5255
|
}
|
|
5256
5256
|
var table = state.w6m();
|
|
@@ -5301,7 +5301,7 @@
|
|
|
5301
5301
|
function WaitUntilInterceptorFinishedBufferUseCase() {
|
|
5302
5302
|
}
|
|
5303
5303
|
protoOf(WaitUntilInterceptorFinishedBufferUseCase).v9s = function (state, action) {
|
|
5304
|
-
if (!state.
|
|
5304
|
+
if (!state.y6m() && !get_isCreated(state)) {
|
|
5305
5305
|
return new PutInBuffer('WaitUntilInterceptorFinishedBufferUseCase.isTableExists');
|
|
5306
5306
|
}
|
|
5307
5307
|
var clientState = get_clientPayload_0(state);
|
|
@@ -5371,7 +5371,7 @@
|
|
|
5371
5371
|
if (!mustConsider)
|
|
5372
5372
|
return null;
|
|
5373
5373
|
var isPartnerLeads = config.playersMode.isTeamGame && isPartnerOf($this, winCard, player, players, $this.i9u_1);
|
|
5374
|
-
var isPlayerCardLowerWinCard = getGrowth(putPlayerCard, trump, firstSuit) < getGrowth(winCard.
|
|
5374
|
+
var isPlayerCardLowerWinCard = getGrowth(putPlayerCard, trump, firstSuit) < getGrowth(winCard.b79_1, trump, firstSuit);
|
|
5375
5375
|
if (isPartnerLeads) {
|
|
5376
5376
|
var partnerRule = config.rules.trumpCardStepPartnerMode;
|
|
5377
5377
|
switch (partnerRule.q2_1) {
|
|
@@ -5380,7 +5380,7 @@
|
|
|
5380
5380
|
return null;
|
|
5381
5381
|
case 1:
|
|
5382
5382
|
if (isPlayerCardLowerWinCard) {
|
|
5383
|
-
var playerHasHigher = hasHigherTrump($this, player.
|
|
5383
|
+
var playerHasHigher = hasHigherTrump($this, player.u6u_1, winCard.b79_1, trump, putPlayerCard, firstSuit);
|
|
5384
5384
|
return playerHasHigher ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
5385
5385
|
}
|
|
5386
5386
|
|
|
@@ -5391,7 +5391,7 @@
|
|
|
5391
5391
|
}
|
|
5392
5392
|
} else {
|
|
5393
5393
|
if (isPlayerCardLowerWinCard) {
|
|
5394
|
-
var playerHasHigher_0 = hasHigherTrump($this, player.
|
|
5394
|
+
var playerHasHigher_0 = hasHigherTrump($this, player.u6u_1, winCard.b79_1, trump, putPlayerCard, firstSuit);
|
|
5395
5395
|
return playerHasHigher_0 ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
5396
5396
|
}
|
|
5397
5397
|
}
|
|
@@ -5424,7 +5424,7 @@
|
|
|
5424
5424
|
return tmp$ret$0;
|
|
5425
5425
|
}
|
|
5426
5426
|
function isPartnerOf($this, _this__u8e3s4, player, all, teams) {
|
|
5427
|
-
return _this__u8e3s4.
|
|
5427
|
+
return _this__u8e3s4.z78_1 === teams.d8i(player.playerId, all).playerId;
|
|
5428
5428
|
}
|
|
5429
5429
|
function hasHigherTrump($this, _this__u8e3s4, winningCard, trump, playedCard, firstSuit) {
|
|
5430
5430
|
var tmp$ret$0;
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
}
|
|
5459
5459
|
protoOf(PutCardValidatorInteractorImpl).h9u = function (putPlayerCard, cardsOnTable, selectedTrump, player, players, config) {
|
|
5460
5460
|
var trump = selectedTrump;
|
|
5461
|
-
var tmp0_elvis_lhs = Companion_instance.
|
|
5461
|
+
var tmp0_elvis_lhs = Companion_instance.m8c(cardsOnTable);
|
|
5462
5462
|
var tmp;
|
|
5463
5463
|
if (tmp0_elvis_lhs == null) {
|
|
5464
5464
|
return null;
|
|
@@ -5466,9 +5466,9 @@
|
|
|
5466
5466
|
tmp = tmp0_elvis_lhs;
|
|
5467
5467
|
}
|
|
5468
5468
|
var firstOnTable = tmp;
|
|
5469
|
-
var firstSuit = firstOnTable.
|
|
5470
|
-
var playerHasSuit = hasSuit(this, player.
|
|
5471
|
-
var playerHasTrump = hasSuit(this, player.
|
|
5469
|
+
var firstSuit = firstOnTable.b79_1.a5c();
|
|
5470
|
+
var playerHasSuit = hasSuit(this, player.u6u_1, firstSuit);
|
|
5471
|
+
var playerHasTrump = hasSuit(this, player.u6u_1, trump);
|
|
5472
5472
|
var tmp$ret$0;
|
|
5473
5473
|
$l$block_0: {
|
|
5474
5474
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5485,7 +5485,7 @@
|
|
|
5485
5485
|
var _iterator__ex2g4s = cardsOnTable.l();
|
|
5486
5486
|
while (_iterator__ex2g4s.m()) {
|
|
5487
5487
|
var element = _iterator__ex2g4s.n();
|
|
5488
|
-
if (element.
|
|
5488
|
+
if (element.b79_1.a5c().equals(trump)) {
|
|
5489
5489
|
tmp$ret$0 = true;
|
|
5490
5490
|
break $l$block_0;
|
|
5491
5491
|
}
|
|
@@ -5493,7 +5493,7 @@
|
|
|
5493
5493
|
tmp$ret$0 = false;
|
|
5494
5494
|
}
|
|
5495
5495
|
var anyTrumpOnTbl = tmp$ret$0;
|
|
5496
|
-
var winningCard = this.j9u_1.
|
|
5496
|
+
var winningCard = this.j9u_1.z8i(cardsOnTable, trump);
|
|
5497
5497
|
var tmp1_safe_receiver = checkHigherTrump(this, config.rules.trumpCardStepMode, config, players, trump, player, putPlayerCard, firstSuit, playerHasSuit, anyTrumpOnTbl, winningCard);
|
|
5498
5498
|
if (tmp1_safe_receiver == null)
|
|
5499
5499
|
null;
|
|
@@ -5885,7 +5885,7 @@
|
|
|
5885
5885
|
var _iterator__ex2g4s = value.l();
|
|
5886
5886
|
while (_iterator__ex2g4s.m()) {
|
|
5887
5887
|
var item = _iterator__ex2g4s.n();
|
|
5888
|
-
destination.j(item.
|
|
5888
|
+
destination.j(item.s6u_1);
|
|
5889
5889
|
}
|
|
5890
5890
|
|
|
5891
5891
|
suspendResult = tmp0.z27(destination, this);
|
|
@@ -6088,9 +6088,9 @@
|
|
|
6088
6088
|
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.round;
|
|
6089
6089
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.roundNumber;
|
|
6090
6090
|
var tmp_0 = tmp4_elvis_lhs == null ? 0 : tmp4_elvis_lhs;
|
|
6091
|
-
var tmp6_elvis_lhs = sceneInfo == null ? null : sceneInfo.
|
|
6091
|
+
var tmp6_elvis_lhs = sceneInfo == null ? null : sceneInfo.i7u_1;
|
|
6092
6092
|
var tmp_1 = tmp6_elvis_lhs == null ? 'WAITING' : tmp6_elvis_lhs;
|
|
6093
|
-
suspendResult = tmp0.z27(new SceneViewModel(tmp_0, tmp_1, sceneInfo == null ? null : sceneInfo.
|
|
6093
|
+
suspendResult = tmp0.z27(new SceneViewModel(tmp_0, tmp_1, sceneInfo == null ? null : sceneInfo.j7u_1), this);
|
|
6094
6094
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6095
6095
|
return suspendResult;
|
|
6096
6096
|
}
|
|
@@ -6392,7 +6392,7 @@
|
|
|
6392
6392
|
var _iterator__ex2g4s = this_0.l();
|
|
6393
6393
|
while (_iterator__ex2g4s.m()) {
|
|
6394
6394
|
var item = _iterator__ex2g4s.n();
|
|
6395
|
-
destination.j(new PlayerHandMetadataViewModel(item.playerId, item.
|
|
6395
|
+
destination.j(new PlayerHandMetadataViewModel(item.playerId, item.w6u_1.c6w(), item.w6u_1.l6w().j6w_1, item.w6u_1.t6y(), item.w6u_1.v6y()));
|
|
6396
6396
|
}
|
|
6397
6397
|
|
|
6398
6398
|
suspendResult = tmp0.z27(new PlayersHandsMetadataViewModel(destination), this);
|
|
@@ -6690,10 +6690,10 @@
|
|
|
6690
6690
|
var value = this.za3_1;
|
|
6691
6691
|
this.s8_1 = 1;
|
|
6692
6692
|
var tmp_0;
|
|
6693
|
-
if (get_isChoosePartnerScene(value.w6m().sceneInfo.
|
|
6693
|
+
if (get_isChoosePartnerScene(value.w6m().sceneInfo.i7u_1)) {
|
|
6694
6694
|
tmp_0 = null;
|
|
6695
6695
|
} else {
|
|
6696
|
-
tmp_0 = this.ya3_1.p9w_1.
|
|
6696
|
+
tmp_0 = this.ya3_1.p9w_1.w8p(value.w6m().players, value.w6m().config);
|
|
6697
6697
|
}
|
|
6698
6698
|
|
|
6699
6699
|
var points = tmp_0;
|
|
@@ -8882,9 +8882,12 @@
|
|
|
8882
8882
|
return this.l9w_1.a65().w6m();
|
|
8883
8883
|
};
|
|
8884
8884
|
protoOf(BaseGameMechanic).x6m = function () {
|
|
8885
|
-
return this.l9w_1.a65().
|
|
8885
|
+
return this.l9w_1.a65().tableOrNull;
|
|
8886
8886
|
};
|
|
8887
8887
|
protoOf(BaseGameMechanic).y6m = function () {
|
|
8888
|
+
return this.l9w_1.a65().y6m();
|
|
8889
|
+
};
|
|
8890
|
+
protoOf(BaseGameMechanic).z6m = function () {
|
|
8888
8891
|
return this.l9w_1.a65().gameLifecycleState;
|
|
8889
8892
|
};
|
|
8890
8893
|
protoOf(BaseGameMechanic).onCreate = function () {
|
|
@@ -9229,7 +9232,7 @@
|
|
|
9229
9232
|
return this.yah_1;
|
|
9230
9233
|
};
|
|
9231
9234
|
protoOf(OnlineGameMechanicImpl).observeFromClientAction = function () {
|
|
9232
|
-
return this.zah_1.
|
|
9235
|
+
return this.zah_1.z8j();
|
|
9233
9236
|
};
|
|
9234
9237
|
protoOf(OnlineGameMechanicImpl).mechanicActions = function (actions) {
|
|
9235
9238
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -10005,7 +10008,7 @@
|
|
|
10005
10008
|
var tmp0 = this.yao_1;
|
|
10006
10009
|
var tmp$ret$0 = Unit_instance;
|
|
10007
10010
|
l$ret$1: do {
|
|
10008
|
-
if (!tmp0.
|
|
10011
|
+
if (!tmp0.y6m()) {
|
|
10009
10012
|
tmp$ret$0 = null;
|
|
10010
10013
|
break l$ret$1;
|
|
10011
10014
|
}
|
|
@@ -10149,7 +10152,7 @@
|
|
|
10149
10152
|
var tmp0 = this.caq_1;
|
|
10150
10153
|
var tmp$ret$0 = Unit_instance;
|
|
10151
10154
|
l$ret$1: do {
|
|
10152
|
-
if (!tmp0.
|
|
10155
|
+
if (!tmp0.y6m()) {
|
|
10153
10156
|
tmp$ret$0 = null;
|
|
10154
10157
|
break l$ret$1;
|
|
10155
10158
|
}
|
|
@@ -10281,7 +10284,7 @@
|
|
|
10281
10284
|
this.s8_1 = 1;
|
|
10282
10285
|
var tmp$ret$0 = Unit_instance;
|
|
10283
10286
|
l$ret$1: do {
|
|
10284
|
-
if (!value.
|
|
10287
|
+
if (!value.y6m()) {
|
|
10285
10288
|
tmp$ret$0 = null;
|
|
10286
10289
|
break l$ret$1;
|
|
10287
10290
|
}
|
|
@@ -10401,7 +10404,7 @@
|
|
|
10401
10404
|
this.bas_1 = this.eas_1;
|
|
10402
10405
|
var table = this.das_1;
|
|
10403
10406
|
var player = getPlayer(table.players, this.zar_1);
|
|
10404
|
-
var tmp0_safe_receiver = player.
|
|
10407
|
+
var tmp0_safe_receiver = player.t6u_1.o65_1;
|
|
10405
10408
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u65_1;
|
|
10406
10409
|
if (tmp0_elvis_lhs == null) {
|
|
10407
10410
|
this.s8_1 = 4;
|
|
@@ -10535,7 +10538,7 @@
|
|
|
10535
10538
|
var _iterator__ex2g4s_0 = destination.l();
|
|
10536
10539
|
while (_iterator__ex2g4s_0.m()) {
|
|
10537
10540
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
10538
|
-
if (element_0.
|
|
10541
|
+
if (element_0.x6q()) {
|
|
10539
10542
|
destination_0.j(element_0);
|
|
10540
10543
|
}
|
|
10541
10544
|
}
|
|
@@ -10554,7 +10557,7 @@
|
|
|
10554
10557
|
var iterator = destination_1.s(destination_1.o());
|
|
10555
10558
|
while (iterator.k4()) {
|
|
10556
10559
|
var element_1 = iterator.m4();
|
|
10557
|
-
if (element_1.
|
|
10560
|
+
if (element_1.c6s().q64_1 === playerId) {
|
|
10558
10561
|
tmp$ret$10 = element_1;
|
|
10559
10562
|
break $l$block;
|
|
10560
10563
|
}
|
|
@@ -12577,9 +12580,9 @@
|
|
|
12577
12580
|
next(action_0);
|
|
12578
12581
|
var table = store.state.w6m();
|
|
12579
12582
|
var player = get_currentPlayer(table);
|
|
12580
|
-
var playerCombinations = player.
|
|
12583
|
+
var playerCombinations = player.x6u_1.n6w_1;
|
|
12581
12584
|
// Inline function 'kotlin.collections.map' call
|
|
12582
|
-
var this_0 = this.paw_1.
|
|
12585
|
+
var this_0 = this.paw_1.d8l(playerCombinations);
|
|
12583
12586
|
// Inline function 'kotlin.collections.mapTo' call
|
|
12584
12587
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
12585
12588
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -12687,7 +12690,7 @@
|
|
|
12687
12690
|
if (tmp_0) {
|
|
12688
12691
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
12689
12692
|
} else {
|
|
12690
|
-
var tmp0_safe_receiver = this.paw_1.
|
|
12693
|
+
var tmp0_safe_receiver = this.paw_1.e8l(action_0.aau_1.l6a_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
12691
12694
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
12692
12695
|
var tmp_6;
|
|
12693
12696
|
var tmp_7;
|
|
@@ -12764,7 +12767,7 @@
|
|
|
12764
12767
|
var tmp5_card = action_0.aau_1.l6a_1;
|
|
12765
12768
|
var tmp1_cardNumber = table.cardsOnTable.o();
|
|
12766
12769
|
var tmp2_round = table.gameInfo.round;
|
|
12767
|
-
var tmp6_tag = this.qaw_1.
|
|
12770
|
+
var tmp6_tag = this.qaw_1.m8l(tmp2_round, VOID, tmp1_cardNumber);
|
|
12768
12771
|
tmp_6 = new CardFromClientAction(tmp3_playerId, false, tmp6_tag, tmp5_card, tmp4_combinations);
|
|
12769
12772
|
}
|
|
12770
12773
|
tmp = tmp_6;
|
|
@@ -12819,7 +12822,7 @@
|
|
|
12819
12822
|
var tmp = store.dispatch;
|
|
12820
12823
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
12821
12824
|
var tmp1_isAccepted = action_0.vaw_1;
|
|
12822
|
-
var tmp2_tag = this.raw_1.
|
|
12825
|
+
var tmp2_tag = this.raw_1.k8l(table.sceneInfo, table.gameInfo.round);
|
|
12823
12826
|
tmp(new CombinationChoiceFromClientAction(tmp0_playerId, false, tmp2_tag, tmp1_isAccepted));
|
|
12824
12827
|
}
|
|
12825
12828
|
};
|
|
@@ -12926,8 +12929,8 @@
|
|
|
12926
12929
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
12927
12930
|
next(action_0);
|
|
12928
12931
|
if (action_0 instanceof SceneActMechanicAction)
|
|
12929
|
-
if (action_0.
|
|
12930
|
-
var tmp0 = action_0.
|
|
12932
|
+
if (action_0.u8q_1 === 'WAITING_ACT') {
|
|
12933
|
+
var tmp0 = action_0.v8q_1;
|
|
12931
12934
|
var tmp$ret$0;
|
|
12932
12935
|
$l$block: {
|
|
12933
12936
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -12938,14 +12941,14 @@
|
|
|
12938
12941
|
throw new MechanicException('Required ' + getKClass(WaitingActData).ea() + ', current act is ' + toString_0(tmp0));
|
|
12939
12942
|
}
|
|
12940
12943
|
var waitingActData = tmp$ret$0;
|
|
12941
|
-
var requestPayload = waitingActData.
|
|
12944
|
+
var requestPayload = waitingActData.w79_1;
|
|
12942
12945
|
if (!(requestPayload == null)) {
|
|
12943
12946
|
if (requestPayload instanceof CardDeckRequest) {
|
|
12944
|
-
if (this.yaw_1 === waitingActData.
|
|
12947
|
+
if (this.yaw_1 === waitingActData.t79()) {
|
|
12945
12948
|
var tmp = store.dispatch;
|
|
12946
12949
|
// Inline function 'kotlin.collections.List' call
|
|
12947
12950
|
// Inline function 'kotlin.collections.MutableList' call
|
|
12948
|
-
var size = requestPayload.
|
|
12951
|
+
var size = requestPayload.u79_1;
|
|
12949
12952
|
var list = ArrayList_init_$Create$(size);
|
|
12950
12953
|
// Inline function 'kotlin.repeat' call
|
|
12951
12954
|
var inductionVariable = 0;
|
|
@@ -12962,7 +12965,7 @@
|
|
|
12962
12965
|
var _iterator__ex2g4s = list.l();
|
|
12963
12966
|
while (_iterator__ex2g4s.m()) {
|
|
12964
12967
|
var item = _iterator__ex2g4s.n();
|
|
12965
|
-
var tmp$ret$6 = this.zaw_1.
|
|
12968
|
+
var tmp$ret$6 = this.zaw_1.f8l();
|
|
12966
12969
|
destination.j(tmp$ret$6);
|
|
12967
12970
|
}
|
|
12968
12971
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -12971,10 +12974,10 @@
|
|
|
12971
12974
|
var _iterator__ex2g4s_0 = destination.l();
|
|
12972
12975
|
while (_iterator__ex2g4s_0.m()) {
|
|
12973
12976
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
12974
|
-
var tmp$ret$9 = Companion_instance_1.
|
|
12977
|
+
var tmp$ret$9 = Companion_instance_1.h7n(item_0);
|
|
12975
12978
|
destination_0.j(tmp$ret$9);
|
|
12976
12979
|
}
|
|
12977
|
-
var tmp3_tag = this.aax_1.
|
|
12980
|
+
var tmp3_tag = this.aax_1.h8l(action_0.t8q_1, store.state.w6m().gameInfo.round);
|
|
12978
12981
|
tmp(new RequestedCardDecksFromClientAction(destination_0, this.yaw_1, false, tmp3_tag));
|
|
12979
12982
|
}
|
|
12980
12983
|
} else {
|
|
@@ -13079,8 +13082,8 @@
|
|
|
13079
13082
|
var nextTurnPlayerId = singleOrNull(action.v8w());
|
|
13080
13083
|
if (!(nextTurnPlayerId == null) && currentPlayerId === nextTurnPlayerId) {
|
|
13081
13084
|
var nextTurnPlayer = getPlayer(table.players, nextTurnPlayerId);
|
|
13082
|
-
if (lastCardInteractor.
|
|
13083
|
-
var gameCard = single(nextTurnPlayer.
|
|
13085
|
+
if (lastCardInteractor.w8k(nextTurnPlayer)) {
|
|
13086
|
+
var gameCard = single(nextTurnPlayer.u6u_1);
|
|
13084
13087
|
return new PutCardAndCheckCombinationsAction(new ProcessingCard(gameCard));
|
|
13085
13088
|
}
|
|
13086
13089
|
}
|
|
@@ -13112,7 +13115,7 @@
|
|
|
13112
13115
|
// Inline function 'kotlin.with' call
|
|
13113
13116
|
var $this$with = store.state.w6m();
|
|
13114
13117
|
var player = getPlayer($this$with.players, playerId);
|
|
13115
|
-
store.dispatch(new MessageMechanicAction($this.tav_1.
|
|
13118
|
+
store.dispatch(new MessageMechanicAction($this.tav_1.e8k(player.v6u_1.p6z(), selectedSuit, player.s6u_1)));
|
|
13116
13119
|
}
|
|
13117
13120
|
function onCardMessages($this, store, playerId, combinations) {
|
|
13118
13121
|
// Inline function 'kotlin.with' call
|
|
@@ -13130,17 +13133,17 @@
|
|
|
13130
13133
|
var _iterator__ex2g4s = combinations.l();
|
|
13131
13134
|
while (_iterator__ex2g4s.m()) {
|
|
13132
13135
|
var item = _iterator__ex2g4s.n();
|
|
13133
|
-
var tmp$ret$0 = item.
|
|
13136
|
+
var tmp$ret$0 = item.b7a_1;
|
|
13134
13137
|
destination.j(tmp$ret$0);
|
|
13135
13138
|
}
|
|
13136
|
-
tmp_0(new MessageMechanicAction($this.tav_1.
|
|
13139
|
+
tmp_0(new MessageMechanicAction($this.tav_1.c8k(destination, player.s6u_1)));
|
|
13137
13140
|
tmp = Unit_instance;
|
|
13138
13141
|
}
|
|
13139
13142
|
}
|
|
13140
13143
|
function onCombinationChoiceMessages($this, store, playerId, isAnnounced) {
|
|
13141
13144
|
var state = store.state;
|
|
13142
13145
|
if (isAnnounced) {
|
|
13143
|
-
var tmp0 = state.w6m().sceneInfo.
|
|
13146
|
+
var tmp0 = state.w6m().sceneInfo.m7u_1;
|
|
13144
13147
|
var tmp$ret$0;
|
|
13145
13148
|
$l$block: {
|
|
13146
13149
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -13154,32 +13157,32 @@
|
|
|
13154
13157
|
var player = getPlayer(state.w6m().players, playerId);
|
|
13155
13158
|
var tmp = store.dispatch;
|
|
13156
13159
|
// Inline function 'kotlin.collections.map' call
|
|
13157
|
-
var this_0 = combinationActData.
|
|
13160
|
+
var this_0 = combinationActData.y79_1;
|
|
13158
13161
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13159
13162
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
13160
13163
|
var _iterator__ex2g4s = this_0.l();
|
|
13161
13164
|
while (_iterator__ex2g4s.m()) {
|
|
13162
13165
|
var item = _iterator__ex2g4s.n();
|
|
13163
|
-
var tmp$ret$1 = item.
|
|
13166
|
+
var tmp$ret$1 = item.b7a_1;
|
|
13164
13167
|
destination.j(tmp$ret$1);
|
|
13165
13168
|
}
|
|
13166
|
-
tmp(new MessageMechanicAction($this.tav_1.
|
|
13169
|
+
tmp(new MessageMechanicAction($this.tav_1.c8k(destination, player.s6u_1)));
|
|
13167
13170
|
}
|
|
13168
13171
|
}
|
|
13169
13172
|
function onWinnerCombinationMessages($this, store, winnerCombinations) {
|
|
13170
13173
|
// Inline function 'kotlin.with' call
|
|
13171
13174
|
var $this$with = store.state.w6m();
|
|
13172
|
-
var message = $this.tav_1.
|
|
13175
|
+
var message = $this.tav_1.d8k(winnerCombinations, $this$with.players);
|
|
13173
13176
|
store.dispatch(new MessageMechanicAction(message));
|
|
13174
13177
|
}
|
|
13175
13178
|
function onSceneMessages($this, store, action) {
|
|
13176
13179
|
var state = store.state;
|
|
13177
13180
|
var table = state.w6m();
|
|
13178
|
-
var tmp0_subject = action.
|
|
13181
|
+
var tmp0_subject = action.b8r_1;
|
|
13179
13182
|
if (tmp0_subject === 'TRADE') {
|
|
13180
13183
|
var tmp;
|
|
13181
13184
|
if (table.config.playersMode.isTeamGame) {
|
|
13182
|
-
var tmp0 = $this.vav_1.
|
|
13185
|
+
var tmp0 = $this.vav_1.r8j(table.players);
|
|
13183
13186
|
var tmp$ret$0;
|
|
13184
13187
|
$l$block_0: {
|
|
13185
13188
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -13202,7 +13205,7 @@
|
|
|
13202
13205
|
while (_iterator__ex2g4s_0.m()) {
|
|
13203
13206
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
13204
13207
|
var tmp_1 = sum;
|
|
13205
|
-
sum = tmp_1 + element_0.
|
|
13208
|
+
sum = tmp_1 + element_0.x6u_1.m6w_1 | 0;
|
|
13206
13209
|
}
|
|
13207
13210
|
if (sum >= table.config.pointsMode.value) {
|
|
13208
13211
|
tmp$ret$0 = true;
|
|
@@ -13230,7 +13233,7 @@
|
|
|
13230
13233
|
var _iterator__ex2g4s_1 = tmp0_0.l();
|
|
13231
13234
|
while (_iterator__ex2g4s_1.m()) {
|
|
13232
13235
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
13233
|
-
if (element_1.
|
|
13236
|
+
if (element_1.x6u_1.m6w_1 >= table.config.pointsMode.value) {
|
|
13234
13237
|
tmp$ret$4 = true;
|
|
13235
13238
|
break $l$block_2;
|
|
13236
13239
|
}
|
|
@@ -13241,7 +13244,7 @@
|
|
|
13241
13244
|
}
|
|
13242
13245
|
var hasWinners = tmp;
|
|
13243
13246
|
if (hasWinners) {
|
|
13244
|
-
store.dispatch(new MessageMechanicAction($this.tav_1.
|
|
13247
|
+
store.dispatch(new MessageMechanicAction($this.tav_1.h8k('ONE_MORE_ROUND_NEEDED_ID')));
|
|
13245
13248
|
}
|
|
13246
13249
|
var tmp0_1 = action.sceneData;
|
|
13247
13250
|
var tmp$ret$6;
|
|
@@ -13254,10 +13257,10 @@
|
|
|
13254
13257
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ea() + ', current scene is ' + toString_0(tmp0_1));
|
|
13255
13258
|
}
|
|
13256
13259
|
var scene = tmp$ret$6;
|
|
13257
|
-
store.dispatch(new MessageMechanicAction($this.tav_1.
|
|
13258
|
-
var randomData = scene.
|
|
13260
|
+
store.dispatch(new MessageMechanicAction($this.tav_1.b8k(getPlayer(table.players, scene.k7b_1).s6u_1, scene.i7b_1)));
|
|
13261
|
+
var randomData = scene.h7b_1;
|
|
13259
13262
|
if (!(randomData == null)) {
|
|
13260
|
-
store.dispatch(new MessageMechanicAction($this.tav_1.
|
|
13263
|
+
store.dispatch(new MessageMechanicAction($this.tav_1.l8k(randomData)));
|
|
13261
13264
|
}
|
|
13262
13265
|
} else if (tmp0_subject === 'CALC_POINTS') {
|
|
13263
13266
|
var tmp0_2 = action.sceneData;
|
|
@@ -13275,27 +13278,27 @@
|
|
|
13275
13278
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table_0.players).playerId;
|
|
13276
13279
|
var tmp_3 = store.dispatch;
|
|
13277
13280
|
// Inline function 'kotlin.collections.map' call
|
|
13278
|
-
var this_0 = $this.uav_1.
|
|
13281
|
+
var this_0 = $this.uav_1.v8p(scene_0.a7b_1);
|
|
13279
13282
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13280
13283
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
13281
13284
|
var _iterator__ex2g4s_2 = this_0.l();
|
|
13282
13285
|
while (_iterator__ex2g4s_2.m()) {
|
|
13283
13286
|
var item = _iterator__ex2g4s_2.n();
|
|
13284
|
-
var tmp0_points = item.
|
|
13287
|
+
var tmp0_points = item.t7p_1;
|
|
13285
13288
|
// Inline function 'kotlin.collections.map' call
|
|
13286
|
-
var this_1 = item.
|
|
13289
|
+
var this_1 = item.s7p_1;
|
|
13287
13290
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13288
13291
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
13289
13292
|
var _iterator__ex2g4s_3 = this_1.l();
|
|
13290
13293
|
while (_iterator__ex2g4s_3.m()) {
|
|
13291
13294
|
var item_0 = _iterator__ex2g4s_3.n();
|
|
13292
|
-
var tmp$ret$8 = getPlayer(table_0.players, item_0).
|
|
13295
|
+
var tmp$ret$8 = getPlayer(table_0.players, item_0).s6u_1;
|
|
13293
13296
|
destination_0.j(tmp$ret$8);
|
|
13294
13297
|
}
|
|
13295
13298
|
var tmp$ret$11 = new PointItemViewModel(destination_0, tmp0_points);
|
|
13296
13299
|
destination.j(tmp$ret$11);
|
|
13297
13300
|
}
|
|
13298
|
-
tmp_3(new MessageMechanicAction($this.tav_1.
|
|
13301
|
+
tmp_3(new MessageMechanicAction($this.tav_1.f8k(table_0.gameInfo.round, destination, scene_0.e7b(whoChoseSuitPlayerId), scene_0.d7b(whoChoseSuitPlayerId), scene_0.x7a_1)));
|
|
13299
13302
|
}
|
|
13300
13303
|
}
|
|
13301
13304
|
function onExpectantCreatedMessages($this, store, action, excludePlayersIds) {
|
|
@@ -13309,12 +13312,12 @@
|
|
|
13309
13312
|
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.s8x_1);
|
|
13310
13313
|
} else {
|
|
13311
13314
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
13312
|
-
var message = $this.tav_1.
|
|
13315
|
+
var message = $this.tav_1.h8k('GAME_RESTART_EVENT_ID');
|
|
13313
13316
|
store.dispatch(new MessageMechanicAction(message));
|
|
13314
13317
|
store.dispatch(new InfoMessageAction(message));
|
|
13315
13318
|
} else {
|
|
13316
13319
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
13317
|
-
var message_0 = $this.tav_1.
|
|
13320
|
+
var message_0 = $this.tav_1.d8k(expectantAction.w8x_1, $this$with.players);
|
|
13318
13321
|
store.dispatch(new InfoMessageAction(message_0));
|
|
13319
13322
|
}
|
|
13320
13323
|
}
|
|
@@ -13332,7 +13335,7 @@
|
|
|
13332
13335
|
tmp = Unit_instance;
|
|
13333
13336
|
} else {
|
|
13334
13337
|
if (action instanceof SuitChoiceMechanicAction) {
|
|
13335
|
-
onSuitSelectMessages(this$0, store, action.
|
|
13338
|
+
onSuitSelectMessages(this$0, store, action.h8r_1, action.f8r_1);
|
|
13336
13339
|
tmp = Unit_instance;
|
|
13337
13340
|
} else {
|
|
13338
13341
|
if (action instanceof InterceptorCreatedClientAction) {
|
|
@@ -13340,7 +13343,7 @@
|
|
|
13340
13343
|
tmp = Unit_instance;
|
|
13341
13344
|
} else {
|
|
13342
13345
|
if (action instanceof PutCardMechanicAction) {
|
|
13343
|
-
onCardMessages(this$0, store, action.
|
|
13346
|
+
onCardMessages(this$0, store, action.m8r_1, action.l8r_1);
|
|
13344
13347
|
tmp = Unit_instance;
|
|
13345
13348
|
} else {
|
|
13346
13349
|
if (action instanceof WinnerCombinationsMechanicAction) {
|
|
@@ -13367,7 +13370,7 @@
|
|
|
13367
13370
|
if (action instanceof SuitChoiceMechanicAction) {
|
|
13368
13371
|
var tmp_0;
|
|
13369
13372
|
if (!(action.playerId === $currentPlayerId)) {
|
|
13370
|
-
onSuitSelectMessages(this$0, store, action.playerId, action.
|
|
13373
|
+
onSuitSelectMessages(this$0, store, action.playerId, action.f8r_1);
|
|
13371
13374
|
tmp_0 = Unit_instance;
|
|
13372
13375
|
}
|
|
13373
13376
|
tmp = tmp_0;
|
|
@@ -13375,7 +13378,7 @@
|
|
|
13375
13378
|
if (action instanceof PutCardMechanicAction) {
|
|
13376
13379
|
var tmp_1;
|
|
13377
13380
|
if (!(action.playerId === $currentPlayerId)) {
|
|
13378
|
-
onCardMessages(this$0, store, action.playerId, action.
|
|
13381
|
+
onCardMessages(this$0, store, action.playerId, action.l8r_1);
|
|
13379
13382
|
tmp_1 = Unit_instance;
|
|
13380
13383
|
}
|
|
13381
13384
|
tmp = tmp_1;
|
|
@@ -13390,24 +13393,24 @@
|
|
|
13390
13393
|
} else {
|
|
13391
13394
|
if (action instanceof SuitChoiceFromClientAction) {
|
|
13392
13395
|
var tmp_2;
|
|
13393
|
-
if (action.
|
|
13394
|
-
onSuitSelectMessages(this$0, store, action.
|
|
13396
|
+
if (action.i7m_1 === $currentPlayerId) {
|
|
13397
|
+
onSuitSelectMessages(this$0, store, action.i7m_1, action.l7m_1);
|
|
13395
13398
|
tmp_2 = Unit_instance;
|
|
13396
13399
|
}
|
|
13397
13400
|
tmp = tmp_2;
|
|
13398
13401
|
} else {
|
|
13399
13402
|
if (action instanceof CardFromClientAction) {
|
|
13400
13403
|
var tmp_3;
|
|
13401
|
-
if (action.
|
|
13402
|
-
onCardMessages(this$0, store, action.
|
|
13404
|
+
if (action.q7m_1 === $currentPlayerId) {
|
|
13405
|
+
onCardMessages(this$0, store, action.q7m_1, action.u7m_1);
|
|
13403
13406
|
tmp_3 = Unit_instance;
|
|
13404
13407
|
}
|
|
13405
13408
|
tmp = tmp_3;
|
|
13406
13409
|
} else {
|
|
13407
13410
|
if (action instanceof CombinationChoiceFromClientAction) {
|
|
13408
13411
|
var tmp_4;
|
|
13409
|
-
if (action.
|
|
13410
|
-
onCombinationChoiceMessages(this$0, store, action.
|
|
13412
|
+
if (action.m7m_1 === $currentPlayerId) {
|
|
13413
|
+
onCombinationChoiceMessages(this$0, store, action.m7m_1, action.p7m_1);
|
|
13411
13414
|
tmp_4 = Unit_instance;
|
|
13412
13415
|
}
|
|
13413
13416
|
tmp = tmp_4;
|
|
@@ -13523,23 +13526,23 @@
|
|
|
13523
13526
|
next(tmp4);
|
|
13524
13527
|
var tmp;
|
|
13525
13528
|
if (tmp4 instanceof MessageFromClientAction) {
|
|
13526
|
-
tmp = this.fax_1.
|
|
13529
|
+
tmp = this.fax_1.x8o(tmp4, table.players);
|
|
13527
13530
|
} else {
|
|
13528
13531
|
if (tmp4 instanceof PartnerSelectedFromClientAction) {
|
|
13529
|
-
tmp = this.fax_1.
|
|
13532
|
+
tmp = this.fax_1.y8o(tmp4, table.players);
|
|
13530
13533
|
} else {
|
|
13531
13534
|
if (tmp4 instanceof PlayerReadyFromClientAction) {
|
|
13532
|
-
tmp = this.fax_1.
|
|
13535
|
+
tmp = this.fax_1.z8o(tmp4);
|
|
13533
13536
|
} else {
|
|
13534
13537
|
if (tmp4 instanceof SuitChoiceFromClientAction) {
|
|
13535
|
-
tmp = this.fax_1.
|
|
13538
|
+
tmp = this.fax_1.a8p(tmp4, table.players, table.config);
|
|
13536
13539
|
} else {
|
|
13537
13540
|
if (tmp4 instanceof CombinationChoiceFromClientAction) {
|
|
13538
|
-
tmp = this.fax_1.
|
|
13541
|
+
tmp = this.fax_1.b8p(tmp4, table);
|
|
13539
13542
|
} else {
|
|
13540
13543
|
if (tmp4 instanceof CardFromClientAction) {
|
|
13541
|
-
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.
|
|
13542
|
-
var cardMechanicAction = this.fax_1.
|
|
13544
|
+
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.q7m_1, table.cardsOnTable.o(), tmp4.t7m_1));
|
|
13545
|
+
var cardMechanicAction = this.fax_1.c8p(tmp4, newCardsOnTheTable, table.players, table.config);
|
|
13543
13546
|
tmp = cardMechanicAction;
|
|
13544
13547
|
} else {
|
|
13545
13548
|
tmp = null;
|
|
@@ -13573,7 +13576,7 @@
|
|
|
13573
13576
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).x99 = function (state, action) {
|
|
13574
13577
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
13575
13578
|
var clientPayload = get_clientPayload_0(state);
|
|
13576
|
-
var tmp0_subject = action_0.
|
|
13579
|
+
var tmp0_subject = action_0.b8r_1;
|
|
13577
13580
|
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.f8u(VOID, clientPayload.gax(VOID, VOID, VOID, VOID, VOID, VOID, false)) : state;
|
|
13578
13581
|
};
|
|
13579
13582
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).k6f = function (state, action) {
|
|
@@ -13607,7 +13610,7 @@
|
|
|
13607
13610
|
case 0:
|
|
13608
13611
|
this.t8_1 = 2;
|
|
13609
13612
|
var state = this.pax_1.state;
|
|
13610
|
-
if (!state.
|
|
13613
|
+
if (!state.y6m() || state.w6m().isGameFinished) {
|
|
13611
13614
|
var tmp_0 = this;
|
|
13612
13615
|
this.pax_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.qax_1.n8u_1), state.w6m().isGameFinished));
|
|
13613
13616
|
tmp_0.tax_1 = Unit_instance;
|
|
@@ -13810,7 +13813,7 @@
|
|
|
13810
13813
|
var _iterator__ex2g4s_0 = destination.l();
|
|
13811
13814
|
while (_iterator__ex2g4s_0.m()) {
|
|
13812
13815
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
13813
|
-
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.
|
|
13816
|
+
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.t6u_1.f67()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.may_1, this.nay_1), VOID, TimerType_DELAY_getInstance()));
|
|
13814
13817
|
}
|
|
13815
13818
|
};
|
|
13816
13819
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).t6d = function (store, next, action) {
|
|
@@ -14010,7 +14013,7 @@
|
|
|
14010
14013
|
switch (tmp) {
|
|
14011
14014
|
case 0:
|
|
14012
14015
|
this.t8_1 = 3;
|
|
14013
|
-
if (!this.xaz_1.sat_1 && this.yaz_1.
|
|
14016
|
+
if (!this.xaz_1.sat_1 && this.yaz_1.y6m() && !this.yaz_1.w6m().isGameFinished) {
|
|
14014
14017
|
this.s8_1 = 1;
|
|
14015
14018
|
suspendResult = this.zaz_1.e9u(this.yaz_1.w6m(), get_clientPayload_0(this.yaz_1), false, this);
|
|
14016
14019
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -14184,7 +14187,7 @@
|
|
|
14184
14187
|
protoOf(clearTimersWhenErrorMiddleware$$inlined$middlewareForActionType$1).j6f = function (store, next, action) {
|
|
14185
14188
|
var action_0 = action instanceof ErrorAction ? action : THROW_CCE();
|
|
14186
14189
|
var state = store.state;
|
|
14187
|
-
if (state.
|
|
14190
|
+
if (state.y6m()) {
|
|
14188
14191
|
// Inline function 'kotlin.collections.forEach' call
|
|
14189
14192
|
var _iterator__ex2g4s = state.j6m_1.l();
|
|
14190
14193
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -14469,13 +14472,13 @@
|
|
|
14469
14472
|
protoOf(clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1).j6f = function (store, next, action) {
|
|
14470
14473
|
var action_0 = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
14471
14474
|
var state = store.state;
|
|
14472
|
-
if (get_isEarnPointScene(state.w6m().sceneInfo.
|
|
14475
|
+
if (get_isEarnPointScene(state.w6m().sceneInfo.i7u_1)) {
|
|
14473
14476
|
var tmp0_putPlayerCard = action_0.zb0_1;
|
|
14474
14477
|
var tmp1_player = get_currentPlayer(state.w6m());
|
|
14475
14478
|
var tmp2_table = state.w6m();
|
|
14476
14479
|
var validationCode = this.wb0_1.g9u(tmp0_putPlayerCard, tmp2_table, tmp1_player);
|
|
14477
14480
|
if (!(validationCode == null)) {
|
|
14478
|
-
store.dispatch(new InfoMessageAction(this.xb0_1.
|
|
14481
|
+
store.dispatch(new InfoMessageAction(this.xb0_1.g8k(validationCode)));
|
|
14479
14482
|
} else {
|
|
14480
14483
|
this.yb0_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
14481
14484
|
}
|
|
@@ -14514,7 +14517,7 @@
|
|
|
14514
14517
|
this.bb1_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
14515
14518
|
}
|
|
14516
14519
|
if (!(validationCode == null)) {
|
|
14517
|
-
store.dispatch(new InfoMessageAction(this.cb1_1.
|
|
14520
|
+
store.dispatch(new InfoMessageAction(this.cb1_1.g8k(validationCode)));
|
|
14518
14521
|
} else {
|
|
14519
14522
|
next(action_0);
|
|
14520
14523
|
}
|
|
@@ -14531,8 +14534,8 @@
|
|
|
14531
14534
|
function ClientCombinationsReducerImpl() {
|
|
14532
14535
|
}
|
|
14533
14536
|
protoOf(ClientCombinationsReducerImpl).db1 = function (currentPlayerId, actData) {
|
|
14534
|
-
if (!(actData == null) && currentPlayerId === actData.
|
|
14535
|
-
return new CombinationToAnnounceState(actData.
|
|
14537
|
+
if (!(actData == null) && currentPlayerId === actData.t79()) {
|
|
14538
|
+
return new CombinationToAnnounceState(actData.y79_1, null, null);
|
|
14536
14539
|
}
|
|
14537
14540
|
return null;
|
|
14538
14541
|
};
|
|
@@ -14607,7 +14610,7 @@
|
|
|
14607
14610
|
var _iterator__ex2g4s = messages.l();
|
|
14608
14611
|
while (_iterator__ex2g4s.m()) {
|
|
14609
14612
|
var element = _iterator__ex2g4s.n();
|
|
14610
|
-
if (element.
|
|
14613
|
+
if (element.z6q().equals(MessageLifecycle_ROOM_getInstance())) {
|
|
14611
14614
|
destination.j(element);
|
|
14612
14615
|
}
|
|
14613
14616
|
}
|
|
@@ -14620,7 +14623,7 @@
|
|
|
14620
14623
|
var _iterator__ex2g4s = messages.l();
|
|
14621
14624
|
while (_iterator__ex2g4s.m()) {
|
|
14622
14625
|
var element = _iterator__ex2g4s.n();
|
|
14623
|
-
if (element.
|
|
14626
|
+
if (element.z6q().equals(MessageLifecycle_GAME_getInstance()) || element.z6q().equals(MessageLifecycle_ROOM_getInstance())) {
|
|
14624
14627
|
destination.j(element);
|
|
14625
14628
|
}
|
|
14626
14629
|
}
|
|
@@ -14635,37 +14638,37 @@
|
|
|
14635
14638
|
var item = _iterator__ex2g4s.n();
|
|
14636
14639
|
var tmp;
|
|
14637
14640
|
if (item instanceof WhoShuffleCardsMessage) {
|
|
14638
|
-
tmp = item.
|
|
14641
|
+
tmp = item.l6s(VOID, VOID, VOID, false);
|
|
14639
14642
|
} else {
|
|
14640
14643
|
if (item instanceof TextMessage) {
|
|
14641
|
-
tmp = item.
|
|
14644
|
+
tmp = item.b6u(VOID, VOID, VOID, false);
|
|
14642
14645
|
} else {
|
|
14643
14646
|
if (item instanceof PhraseMessage) {
|
|
14644
|
-
tmp = item.
|
|
14647
|
+
tmp = item.p6t(VOID, VOID, VOID, false);
|
|
14645
14648
|
} else {
|
|
14646
14649
|
if (item instanceof AnnouncedCombinationMessage) {
|
|
14647
|
-
tmp = item.
|
|
14650
|
+
tmp = item.s6s(VOID, VOID, VOID, false);
|
|
14648
14651
|
} else {
|
|
14649
14652
|
if (item instanceof WinnerCombinationsMessage) {
|
|
14650
|
-
tmp = item.
|
|
14653
|
+
tmp = item.a6t(VOID, VOID, false);
|
|
14651
14654
|
} else {
|
|
14652
14655
|
if (item instanceof PreviousRoundPointsMessage) {
|
|
14653
|
-
tmp = item.
|
|
14656
|
+
tmp = item.l6r(VOID, VOID, VOID, VOID, VOID, VOID, false);
|
|
14654
14657
|
} else {
|
|
14655
14658
|
if (item instanceof StickerMessage) {
|
|
14656
|
-
tmp = item.
|
|
14659
|
+
tmp = item.v6t(VOID, VOID, VOID, false);
|
|
14657
14660
|
} else {
|
|
14658
14661
|
if (item instanceof RandomSignatureMessage) {
|
|
14659
|
-
tmp = item.
|
|
14662
|
+
tmp = item.t6r(VOID, VOID, false);
|
|
14660
14663
|
} else {
|
|
14661
14664
|
if (item instanceof ValidationMessage) {
|
|
14662
|
-
tmp = item.
|
|
14665
|
+
tmp = item.i6u(VOID, VOID, false);
|
|
14663
14666
|
} else {
|
|
14664
14667
|
if (item instanceof ServiceMessage) {
|
|
14665
|
-
tmp = item.
|
|
14668
|
+
tmp = item.b6s(VOID, VOID, false);
|
|
14666
14669
|
} else {
|
|
14667
14670
|
if (item instanceof EventMessage) {
|
|
14668
|
-
tmp = item.
|
|
14671
|
+
tmp = item.b6r(VOID, VOID, false);
|
|
14669
14672
|
} else {
|
|
14670
14673
|
gameLogger.w(VOID, "updateMessagesAsNotShown: Can't support this message " + toString(item));
|
|
14671
14674
|
tmp = item;
|
|
@@ -14769,7 +14772,7 @@
|
|
|
14769
14772
|
if (clientState == null) {
|
|
14770
14773
|
var tmp_0 = Companion_instance_14;
|
|
14771
14774
|
var tmp_1 = get_currentPlayer(action.d8x_1).playerId;
|
|
14772
|
-
var tmp0_safe_receiver = action.d8x_1.sceneInfo.
|
|
14775
|
+
var tmp0_safe_receiver = action.d8x_1.sceneInfo.m7u_1;
|
|
14773
14776
|
var tmp_2;
|
|
14774
14777
|
if (tmp0_safe_receiver == null) {
|
|
14775
14778
|
tmp_2 = null;
|
|
@@ -14839,8 +14842,8 @@
|
|
|
14839
14842
|
}
|
|
14840
14843
|
var newPayload = tmp;
|
|
14841
14844
|
var tmp3_safe_receiver = state.i6m_1;
|
|
14842
|
-
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.j8u(action.a8y_1.
|
|
14843
|
-
var newTerminationState = tmp4_elvis_lhs == null ? new TerminationState(action.a8y_1.
|
|
14845
|
+
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.j8u(action.a8y_1.x7l_1);
|
|
14846
|
+
var newTerminationState = tmp4_elvis_lhs == null ? new TerminationState(action.a8y_1.x7l_1) : tmp4_elvis_lhs;
|
|
14844
14847
|
return state.f8u(VOID, newPayload, GameLifecycleState_FINISHED_getInstance(), newTerminationState);
|
|
14845
14848
|
};
|
|
14846
14849
|
function clientResetProcessingCardReducer() {
|
|
@@ -14880,7 +14883,7 @@
|
|
|
14880
14883
|
protoOf(clientSceneReducer$$inlined$reducerForActionType$1).x99 = function (state, action) {
|
|
14881
14884
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
14882
14885
|
var tmp;
|
|
14883
|
-
switch (action_0.
|
|
14886
|
+
switch (action_0.b8r_1) {
|
|
14884
14887
|
case 'WAITING':
|
|
14885
14888
|
tmp = state;
|
|
14886
14889
|
break;
|
|
@@ -14935,8 +14938,8 @@
|
|
|
14935
14938
|
var tmp_0 = get_clientPayload_0(state);
|
|
14936
14939
|
var tmp_1;
|
|
14937
14940
|
if (tmp2.pat_1) {
|
|
14938
|
-
var cards = last(state.w6m().bribes).
|
|
14939
|
-
tmp_1 = new LastBribeState(first(cards).
|
|
14941
|
+
var cards = last(state.w6m().bribes).l7j_1;
|
|
14942
|
+
tmp_1 = new LastBribeState(first(cards).z78_1, getWhoGotLastBribe(state.w6m().players).playerId, cards);
|
|
14940
14943
|
} else {
|
|
14941
14944
|
tmp_1 = null;
|
|
14942
14945
|
}
|
|
@@ -14985,7 +14988,7 @@
|
|
|
14985
14988
|
while (_iterator__ex2g4s.m()) {
|
|
14986
14989
|
var item = _iterator__ex2g4s.n();
|
|
14987
14990
|
var updatedUser = firstOrNull(filterByPlayerId(tmp6_safe_receiver, item.playerId));
|
|
14988
|
-
var tmp$ret$0 = item.
|
|
14991
|
+
var tmp$ret$0 = item.n6v(updatedUser == null ? item.s6u_1 : updatedUser);
|
|
14989
14992
|
destination.j(tmp$ret$0);
|
|
14990
14993
|
}
|
|
14991
14994
|
tmp_4 = destination;
|
|
@@ -15008,7 +15011,7 @@
|
|
|
15008
15011
|
if (tmp2 instanceof ClientMessageAction) {
|
|
15009
15012
|
var messages = get_clientPayload_0(state).f9t_1;
|
|
15010
15013
|
var lastMessage = lastOrNull(messages);
|
|
15011
|
-
if ((lastMessage == null ? null : lastMessage.
|
|
15014
|
+
if ((lastMessage == null ? null : lastMessage.y6q(tmp2.zat_1)) === true) {
|
|
15012
15015
|
tmp$ret$5 = state;
|
|
15013
15016
|
break $l$block;
|
|
15014
15017
|
}
|
|
@@ -15092,19 +15095,19 @@
|
|
|
15092
15095
|
var message = action.y8x_1;
|
|
15093
15096
|
var tmp;
|
|
15094
15097
|
if (isInterface(message, UserMessage)) {
|
|
15095
|
-
tmp = message.
|
|
15098
|
+
tmp = message.d6s();
|
|
15096
15099
|
} else {
|
|
15097
15100
|
tmp = false;
|
|
15098
15101
|
}
|
|
15099
15102
|
if (tmp) {
|
|
15100
|
-
var player = getPlayer(table.players, message.
|
|
15101
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
15103
|
+
var player = getPlayer(table.players, message.c6s().q64_1);
|
|
15104
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.n6v(VOID, VOID, VOID, player.v6u_1.s6z(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.v6u_1.h6v_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
15102
15105
|
}
|
|
15103
15106
|
return table;
|
|
15104
15107
|
}
|
|
15105
15108
|
function updateVoiceCount_0(table, playerId) {
|
|
15106
15109
|
var player = getPlayer(table.players, playerId);
|
|
15107
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
15110
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.n6v(VOID, VOID, VOID, player.v6u_1.s6z(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.v6u_1.h6v_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
15108
15111
|
}
|
|
15109
15112
|
function messageReducer$$inlined$reducerForActionType$1() {
|
|
15110
15113
|
}
|
|
@@ -15355,7 +15358,7 @@
|
|
|
15355
15358
|
return tmp1_$this.qb2(tmp2_playerId, tmp3_isCurrentPlayer, tmp5_cards, tmp4_players, tmp6_processingCardOnTable);
|
|
15356
15359
|
}
|
|
15357
15360
|
function getOpenOrHiddenCardsInHand$default($this, player, currentPlayerId, players, processingCard, cards, $super) {
|
|
15358
|
-
cards = cards === VOID ? player.
|
|
15361
|
+
cards = cards === VOID ? player.u6u_1 : cards;
|
|
15359
15362
|
return getOpenOrHiddenCardsInHand($this, player, currentPlayerId, players, processingCard, cards);
|
|
15360
15363
|
}
|
|
15361
15364
|
function handleTradeScene($this, state, action, currentPlayerId) {
|
|
@@ -15370,7 +15373,7 @@
|
|
|
15370
15373
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ea() + ', current scene is ' + toString_0(tmp0));
|
|
15371
15374
|
}
|
|
15372
15375
|
var sceneData = tmp$ret$0;
|
|
15373
|
-
var playersCardsToDistribute = sceneData.
|
|
15376
|
+
var playersCardsToDistribute = sceneData.g7b_1;
|
|
15374
15377
|
// Inline function 'kotlin.collections.sumOf' call
|
|
15375
15378
|
var sum = 0;
|
|
15376
15379
|
var _iterator__ex2g4s = playersCardsToDistribute.e2().l();
|
|
@@ -15380,9 +15383,9 @@
|
|
|
15380
15383
|
sum = tmp + element.o() | 0;
|
|
15381
15384
|
}
|
|
15382
15385
|
var cardsToDistributeCount = sum;
|
|
15383
|
-
var otherCardsCount = sceneData.
|
|
15386
|
+
var otherCardsCount = sceneData.j7b_1.o();
|
|
15384
15387
|
var cardDeckCards = createCardDeckCards($this, cardsToDistributeCount, otherCardsCount);
|
|
15385
|
-
var shuffleCardTransition = new ShuffleCardDeckTransition($this.mb2_1.s6b(), plus(listOf_0(sceneData.
|
|
15388
|
+
var shuffleCardTransition = new ShuffleCardDeckTransition($this.mb2_1.s6b(), plus(listOf_0(sceneData.i7b_1), cardDeckCards));
|
|
15386
15389
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, playersCardsToDistribute, null, otherCardsCount);
|
|
15387
15390
|
var updatedTransitions = plus(get_clientPayload_0(state).r9t_1, listOf([shuffleCardTransition, distributionTransition]));
|
|
15388
15391
|
return state.f8u(VOID, get_clientPayload_0(state).gax(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
@@ -15402,12 +15405,12 @@
|
|
|
15402
15405
|
var tmp0_$this = $this.lb2_1;
|
|
15403
15406
|
var tmp1_config = state.w6m().config;
|
|
15404
15407
|
var tmp2_cardDeck = state.w6m().requireCardDeck;
|
|
15405
|
-
var tmp3_newTopOpenedCard = sceneData.
|
|
15406
|
-
var tmp4_newPlayersCards = sceneData.
|
|
15408
|
+
var tmp3_newTopOpenedCard = sceneData.n7b_1;
|
|
15409
|
+
var tmp4_newPlayersCards = sceneData.l7b_1;
|
|
15407
15410
|
var updatedCardDeck = tmp0_$this.j9c(tmp2_cardDeck, tmp4_newPlayersCards, tmp1_config, tmp3_newTopOpenedCard);
|
|
15408
|
-
var tmp5_distributeTrumpCard = updatedCardDeck.
|
|
15409
|
-
var tmp6_playersCardsToDistribute = sceneData.
|
|
15410
|
-
var tmp7_otherCardsCount = updatedCardDeck.
|
|
15411
|
+
var tmp5_distributeTrumpCard = updatedCardDeck.u7j_1;
|
|
15412
|
+
var tmp6_playersCardsToDistribute = sceneData.l7b_1;
|
|
15413
|
+
var tmp7_otherCardsCount = updatedCardDeck.n8c();
|
|
15411
15414
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, tmp6_playersCardsToDistribute, tmp5_distributeTrumpCard, tmp7_otherCardsCount);
|
|
15412
15415
|
var updatedTransitions = plus_0(get_clientPayload_0(state).r9t_1, distributionTransition);
|
|
15413
15416
|
return state.f8u(VOID, get_clientPayload_0(state).gax(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
@@ -15494,7 +15497,7 @@
|
|
|
15494
15497
|
while (_iterator__ex2g4s.m()) {
|
|
15495
15498
|
var item = _iterator__ex2g4s.n();
|
|
15496
15499
|
var newCards = getValue(playersCardsToDistribute, item.playerId);
|
|
15497
|
-
var tmp0_cards = plus(item.
|
|
15500
|
+
var tmp0_cards = plus(item.u6u_1, newCards);
|
|
15498
15501
|
var tmp1_players = table.players;
|
|
15499
15502
|
var tmp2_processingCard = clientPayload.q9t_1;
|
|
15500
15503
|
var hiddenCardsIfNeeded = getOpenOrHiddenCardsInHand($this, item, currentPlayerId, tmp1_players, tmp2_processingCard, tmp0_cards);
|
|
@@ -15508,7 +15511,7 @@
|
|
|
15508
15511
|
function determineWhoGetsTheTrumpCard($this, table) {
|
|
15509
15512
|
var tmp;
|
|
15510
15513
|
if (!(firstOrNull(filterWhoChoseSuit(table.players)) == null)) {
|
|
15511
|
-
tmp = $this.nb2_1.
|
|
15514
|
+
tmp = $this.nb2_1.h8j(table.players, table.config);
|
|
15512
15515
|
} else {
|
|
15513
15516
|
tmp = null;
|
|
15514
15517
|
}
|
|
@@ -15668,7 +15671,7 @@
|
|
|
15668
15671
|
};
|
|
15669
15672
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).x99 = function (state, action) {
|
|
15670
15673
|
var action_0 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
15671
|
-
var updatedTransitions = addPutCardOnTableTransition(this.zb2_1, action_0.playerId, this.ab3_1, action_0.
|
|
15674
|
+
var updatedTransitions = addPutCardOnTableTransition(this.zb2_1, action_0.playerId, this.ab3_1, action_0.k8r_1, state.w6m(), get_clientPayload_0(state));
|
|
15672
15675
|
return state.f8u(VOID, get_clientPayload_0(state).gax(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15673
15676
|
};
|
|
15674
15677
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).k6f = function (state, action) {
|
|
@@ -15684,7 +15687,7 @@
|
|
|
15684
15687
|
protoOf(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1).x99 = function (state, action) {
|
|
15685
15688
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
15686
15689
|
var tmp;
|
|
15687
|
-
switch (action_0.
|
|
15690
|
+
switch (action_0.b8r_1) {
|
|
15688
15691
|
case 'TRADE':
|
|
15689
15692
|
tmp = handleTradeScene(this.bb3_1, state, action_0, this.cb3_1);
|
|
15690
15693
|
break;
|
|
@@ -15715,13 +15718,13 @@
|
|
|
15715
15718
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
15716
15719
|
var combination = first(expectantAction.t8x_1);
|
|
15717
15720
|
var tmp_0;
|
|
15718
|
-
if (expectantAction.s8x_1 && combination.
|
|
15719
|
-
var trumpCard = single(combination.
|
|
15721
|
+
if (expectantAction.s8x_1 && combination.b7a_1.equals(CombinationType_SEVEN_TRUMP_getInstance())) {
|
|
15722
|
+
var trumpCard = single(combination.s8c());
|
|
15720
15723
|
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.db3_1, trumpCard, getPlayer(state.w6m().players, expectantAction.playerId), this.eb3_1, state.w6m().players);
|
|
15721
15724
|
var tmp0_id = this.db3_1.mb2_1.s6b();
|
|
15722
15725
|
var tmp1_playerIds = listOf_0(expectantAction.playerId);
|
|
15723
|
-
var tmp2_toCard2 = state.w6m().requireCardDeck.
|
|
15724
|
-
var tmp3_fromCard2 = state.w6m().requireCardDeck.
|
|
15726
|
+
var tmp2_toCard2 = state.w6m().requireCardDeck.u7j_1;
|
|
15727
|
+
var tmp3_fromCard2 = state.w6m().requireCardDeck.u7j_1;
|
|
15725
15728
|
var updatedTransitions = plus_0(clientPayload.r9t_1, new SwapCardsTransition(tmp0_id, tmp1_playerIds, trumpCardOrOrigin, trumpCard, tmp3_fromCard2, tmp2_toCard2));
|
|
15726
15729
|
tmp_0 = state.f8u(VOID, clientPayload.gax(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15727
15730
|
} else {
|
|
@@ -15739,16 +15742,16 @@
|
|
|
15739
15742
|
var _iterator__ex2g4s = this_0.l();
|
|
15740
15743
|
while (_iterator__ex2g4s.m()) {
|
|
15741
15744
|
var element = _iterator__ex2g4s.n();
|
|
15742
|
-
var player = getPlayer(state.w6m().players, element.
|
|
15743
|
-
var sortedPlayerCards = sortedWith(player.
|
|
15745
|
+
var player = getPlayer(state.w6m().players, element.e7k_1);
|
|
15746
|
+
var sortedPlayerCards = sortedWith(player.u6u_1, new CardSuitSortingComparator(get_clientPayload_0(state).e9t_1.b9r_1));
|
|
15744
15747
|
// Inline function 'kotlin.collections.map' call
|
|
15745
|
-
var this_1 = element.
|
|
15748
|
+
var this_1 = element.f7k_1;
|
|
15746
15749
|
// Inline function 'kotlin.collections.mapTo' call
|
|
15747
15750
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
15748
15751
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
15749
15752
|
while (_iterator__ex2g4s_0.m()) {
|
|
15750
15753
|
var item = _iterator__ex2g4s_0.n();
|
|
15751
|
-
var tmp$ret$0 = item.
|
|
15754
|
+
var tmp$ret$0 = item.s8c();
|
|
15752
15755
|
destination_0.j(tmp$ret$0);
|
|
15753
15756
|
}
|
|
15754
15757
|
var combinationCards = flatten(destination_0);
|
|
@@ -15781,7 +15784,7 @@
|
|
|
15781
15784
|
}
|
|
15782
15785
|
var handTransitions = destination_1;
|
|
15783
15786
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
15784
|
-
var pair = to(element.
|
|
15787
|
+
var pair = to(element.e7k_1, handTransitions);
|
|
15785
15788
|
destination.f2(pair.me_1, pair.ne_1);
|
|
15786
15789
|
}
|
|
15787
15790
|
var updatedTransitions_0 = plus_0(clientPayload.r9t_1, new ShowCombinationTransition(tmp_1, destination));
|
|
@@ -15796,10 +15799,10 @@
|
|
|
15796
15799
|
var _iterator__ex2g4s_2 = this_3.l();
|
|
15797
15800
|
while (_iterator__ex2g4s_2.m()) {
|
|
15798
15801
|
var item_1 = _iterator__ex2g4s_2.n();
|
|
15799
|
-
var tmp$ret$10 = item_1.
|
|
15802
|
+
var tmp$ret$10 = item_1.b79_1;
|
|
15800
15803
|
destination_2.j(tmp$ret$10);
|
|
15801
15804
|
}
|
|
15802
|
-
var updatedTransitions_1 = plus_0(clientPayload.r9t_1, new PickUpBribeTransition(tmp_3, expectantAction.
|
|
15805
|
+
var updatedTransitions_1 = plus_0(clientPayload.r9t_1, new PickUpBribeTransition(tmp_3, expectantAction.p8r_1, destination_2));
|
|
15803
15806
|
tmp = state.f8u(VOID, clientPayload.gax(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_1));
|
|
15804
15807
|
} else {
|
|
15805
15808
|
tmp = state;
|
|
@@ -16525,12 +16528,15 @@
|
|
|
16525
16528
|
defineProp(protoOf(BaseGameMechanic), 'table', function () {
|
|
16526
16529
|
return this.w6m();
|
|
16527
16530
|
});
|
|
16528
|
-
defineProp(protoOf(BaseGameMechanic), '
|
|
16531
|
+
defineProp(protoOf(BaseGameMechanic), 'tableOrNull', function () {
|
|
16529
16532
|
return this.x6m();
|
|
16530
16533
|
});
|
|
16531
|
-
defineProp(protoOf(BaseGameMechanic), '
|
|
16534
|
+
defineProp(protoOf(BaseGameMechanic), 'isTableExists', function () {
|
|
16532
16535
|
return this.y6m();
|
|
16533
16536
|
});
|
|
16537
|
+
defineProp(protoOf(BaseGameMechanic), 'gameLifecycleState', function () {
|
|
16538
|
+
return this.z6m();
|
|
16539
|
+
});
|
|
16534
16540
|
defineProp(protoOf(OnlineGameMechanicImpl), 'currentPlayerId', function () {
|
|
16535
16541
|
return this.rah();
|
|
16536
16542
|
});
|
|
@@ -16540,12 +16546,15 @@
|
|
|
16540
16546
|
defineProp(protoOf(OnlineGameMechanicImpl), 'table', function () {
|
|
16541
16547
|
return this.w6m();
|
|
16542
16548
|
});
|
|
16543
|
-
defineProp(protoOf(OnlineGameMechanicImpl), '
|
|
16549
|
+
defineProp(protoOf(OnlineGameMechanicImpl), 'tableOrNull', function () {
|
|
16544
16550
|
return this.x6m();
|
|
16545
16551
|
});
|
|
16546
|
-
defineProp(protoOf(OnlineGameMechanicImpl), '
|
|
16552
|
+
defineProp(protoOf(OnlineGameMechanicImpl), 'isTableExists', function () {
|
|
16547
16553
|
return this.y6m();
|
|
16548
16554
|
});
|
|
16555
|
+
defineProp(protoOf(OnlineGameMechanicImpl), 'gameLifecycleState', function () {
|
|
16556
|
+
return this.z6m();
|
|
16557
|
+
});
|
|
16549
16558
|
protoOf(PlayersSceneContractImpl).qam = waitUntilSceneActivated;
|
|
16550
16559
|
protoOf(BufferLifecycleAction).g6d = get_actionTag;
|
|
16551
16560
|
defineProp(protoOf(BufferLifecycleAction), 'actionTag', function () {
|
|
@@ -16623,7 +16632,7 @@
|
|
|
16623
16632
|
});
|
|
16624
16633
|
protoOf(ExpectantTimerTag).ignoreValidation = ignoreValidation;
|
|
16625
16634
|
protoOf(ResetMessageTimerTag).ignoreValidation = ignoreValidation;
|
|
16626
|
-
protoOf(ResetMessageTimerTag).
|
|
16635
|
+
protoOf(ResetMessageTimerTag).p8t = ignoreTimerResetValidation;
|
|
16627
16636
|
defineProp(protoOf(DistributeCardsModel), 'playerId', function () {
|
|
16628
16637
|
return this.c64();
|
|
16629
16638
|
});
|