game_client_logic_deb 1.3.69 → 1.3.71
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 +1084 -974
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +27 -10
- package/Logic_Debertz-game_client.js +2044 -2042
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
var copyToArray = kotlin_kotlin.$_$.z5;
|
|
59
59
|
var combineReducers = kotlin_com_gamewithcats_game_engine_core.$_$.m1;
|
|
60
60
|
var applyCatcher = kotlin_com_gamewithcats_game_engine_core.$_$.f2;
|
|
61
|
-
var listOf_0 = kotlin_kotlin.$_$.w6;
|
|
62
61
|
var applyMiddleware = kotlin_com_gamewithcats_game_engine_core.$_$.g2;
|
|
62
|
+
var listOf_0 = kotlin_kotlin.$_$.w6;
|
|
63
63
|
var compose = kotlin_com_gamewithcats_game_engine_core.$_$.p1;
|
|
64
64
|
var createStore = kotlin_com_gamewithcats_game_engine_core.$_$.q1;
|
|
65
65
|
var GameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.l2;
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
if (!(($mask0 & 2) === 0)) {
|
|
382
382
|
var tmp$ret$2;
|
|
383
383
|
// Inline function 'kotlin.requireNotNull' call
|
|
384
|
-
var tmp0_requireNotNull = table.h3u_1.
|
|
384
|
+
var tmp0_requireNotNull = table.h3u_1.f3y_1;
|
|
385
385
|
// Inline function 'kotlin.contracts.contract' call
|
|
386
386
|
var tmp$ret$1;
|
|
387
387
|
$l$block: {
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
TeamsDataMechanicAction.prototype = Object.create(MechanicAction.prototype);
|
|
478
478
|
TeamsDataMechanicAction.prototype.constructor = TeamsDataMechanicAction;
|
|
479
479
|
function get_playerId_0() {
|
|
480
|
-
return this.
|
|
480
|
+
return this.c49();
|
|
481
481
|
}
|
|
482
482
|
PlayerReadyMechanicAction.prototype = Object.create(MechanicAction.prototype);
|
|
483
483
|
PlayerReadyMechanicAction.prototype.constructor = PlayerReadyMechanicAction;
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
var tmp_0 = applyCatcher(_get_logger__rkp4sl(this$0));
|
|
766
766
|
var tmp$ret$1;
|
|
767
767
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
768
|
-
var tmp1_toTypedArray = plus(
|
|
768
|
+
var tmp1_toTypedArray = plus(listOf(loggingMiddleware(this$0.p2v_1, _get_logger__rkp4sl(this$0))), this$0.s2v_1);
|
|
769
769
|
tmp$ret$1 = copyToArray(tmp1_toTypedArray);
|
|
770
770
|
return createStore(tmp, this$0.q2v_1, compose(plus(this$0.t2v_1, listOf_0([tmp_0, applyMiddleware(tmp$ret$1.slice())]))));
|
|
771
771
|
};
|
|
@@ -19373,9 +19373,12 @@
|
|
|
19373
19373
|
this.m3k_1 = trump;
|
|
19374
19374
|
}
|
|
19375
19375
|
Party.prototype.u3x = function () {
|
|
19376
|
-
return this.
|
|
19376
|
+
return this.k3k_1;
|
|
19377
19377
|
};
|
|
19378
19378
|
Party.prototype.v3x = function () {
|
|
19379
|
+
return this.l3k_1;
|
|
19380
|
+
};
|
|
19381
|
+
Party.prototype.w3x = function () {
|
|
19379
19382
|
var tmp0_elvis_lhs = this.m3k_1;
|
|
19380
19383
|
var tmp;
|
|
19381
19384
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -19385,17 +19388,17 @@
|
|
|
19385
19388
|
}
|
|
19386
19389
|
return tmp;
|
|
19387
19390
|
};
|
|
19388
|
-
Party.prototype.
|
|
19391
|
+
Party.prototype.x3x = function (partyNumber, numberOfBribe, trump) {
|
|
19389
19392
|
return new Party(partyNumber, numberOfBribe, trump);
|
|
19390
19393
|
};
|
|
19391
|
-
Party.prototype.
|
|
19394
|
+
Party.prototype.y3x = function (partyNumber, numberOfBribe, trump, $mask0, $handler) {
|
|
19392
19395
|
if (!(($mask0 & 1) === 0))
|
|
19393
19396
|
partyNumber = this.k3k_1;
|
|
19394
19397
|
if (!(($mask0 & 2) === 0))
|
|
19395
19398
|
numberOfBribe = this.l3k_1;
|
|
19396
19399
|
if (!(($mask0 & 4) === 0))
|
|
19397
19400
|
trump = this.m3k_1;
|
|
19398
|
-
return this.
|
|
19401
|
+
return this.x3x(partyNumber, numberOfBribe, trump);
|
|
19399
19402
|
};
|
|
19400
19403
|
Party.prototype.toString = function () {
|
|
19401
19404
|
return 'Party(partyNumber=' + this.k3k_1 + ', numberOfBribe=' + this.l3k_1 + ', trump=' + this.m3k_1 + ')';
|
|
@@ -19422,17 +19425,17 @@
|
|
|
19422
19425
|
};
|
|
19423
19426
|
Party.$metadata$ = classMeta('Party');
|
|
19424
19427
|
function PreviousParty(bribes, cardDeck, points) {
|
|
19425
|
-
this.
|
|
19426
|
-
this.
|
|
19427
|
-
this.
|
|
19428
|
+
this.z3x_1 = bribes;
|
|
19429
|
+
this.a3y_1 = cardDeck;
|
|
19430
|
+
this.b3y_1 = points;
|
|
19428
19431
|
}
|
|
19429
19432
|
PreviousParty.prototype.toString = function () {
|
|
19430
|
-
return 'PreviousParty(bribes=' + this.
|
|
19433
|
+
return 'PreviousParty(bribes=' + this.z3x_1 + ', cardDeck=' + this.a3y_1 + ', points=' + this.b3y_1 + ')';
|
|
19431
19434
|
};
|
|
19432
19435
|
PreviousParty.prototype.hashCode = function () {
|
|
19433
|
-
var result = hashCode(this.
|
|
19434
|
-
result = imul(result, 31) + this.
|
|
19435
|
-
result = imul(result, 31) + hashCode(this.
|
|
19436
|
+
var result = hashCode(this.z3x_1);
|
|
19437
|
+
result = imul(result, 31) + this.a3y_1.hashCode() | 0;
|
|
19438
|
+
result = imul(result, 31) + hashCode(this.b3y_1) | 0;
|
|
19436
19439
|
return result;
|
|
19437
19440
|
};
|
|
19438
19441
|
PreviousParty.prototype.equals = function (other) {
|
|
@@ -19441,11 +19444,11 @@
|
|
|
19441
19444
|
if (!(other instanceof PreviousParty))
|
|
19442
19445
|
return false;
|
|
19443
19446
|
var tmp0_other_with_cast = other instanceof PreviousParty ? other : THROW_CCE();
|
|
19444
|
-
if (!equals(this.
|
|
19447
|
+
if (!equals(this.z3x_1, tmp0_other_with_cast.z3x_1))
|
|
19445
19448
|
return false;
|
|
19446
|
-
if (!this.
|
|
19449
|
+
if (!this.a3y_1.equals(tmp0_other_with_cast.a3y_1))
|
|
19447
19450
|
return false;
|
|
19448
|
-
if (!equals(this.
|
|
19451
|
+
if (!equals(this.b3y_1, tmp0_other_with_cast.b3y_1))
|
|
19449
19452
|
return false;
|
|
19450
19453
|
return true;
|
|
19451
19454
|
};
|
|
@@ -19499,68 +19502,49 @@
|
|
|
19499
19502
|
return SceneInfo_init_$Init$(sceneId, previousSceneId, actId, sceneData, actData, $mask0, $marker, Object.create(SceneInfo.prototype));
|
|
19500
19503
|
}
|
|
19501
19504
|
function SceneInfo(sceneId, previousSceneId, actId, sceneData, actData) {
|
|
19502
|
-
this.
|
|
19503
|
-
this.
|
|
19504
|
-
this.
|
|
19505
|
-
this.
|
|
19506
|
-
this.
|
|
19505
|
+
this.c3y_1 = sceneId;
|
|
19506
|
+
this.d3y_1 = previousSceneId;
|
|
19507
|
+
this.e3y_1 = actId;
|
|
19508
|
+
this.f3y_1 = sceneData;
|
|
19509
|
+
this.g3y_1 = actData;
|
|
19507
19510
|
}
|
|
19508
19511
|
SceneInfo.prototype.l3b = function () {
|
|
19509
|
-
return this.
|
|
19512
|
+
return this.c3y_1;
|
|
19510
19513
|
};
|
|
19511
19514
|
SceneInfo.prototype.q3a = function () {
|
|
19512
|
-
return this.d3y_1;
|
|
19513
|
-
};
|
|
19514
|
-
SceneInfo.prototype.g3y = function () {
|
|
19515
19515
|
return this.e3y_1;
|
|
19516
19516
|
};
|
|
19517
19517
|
SceneInfo.prototype.h3y = function () {
|
|
19518
19518
|
return this.f3y_1;
|
|
19519
19519
|
};
|
|
19520
19520
|
SceneInfo.prototype.i3y = function () {
|
|
19521
|
-
|
|
19522
|
-
if (get_isFinalScene(this.b3y_1)) {
|
|
19523
|
-
var tmp$ret$0;
|
|
19524
|
-
$l$block: {
|
|
19525
|
-
// Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
|
|
19526
|
-
var tmp0_requireSceneData = this.e3y_1;
|
|
19527
|
-
if (tmp0_requireSceneData instanceof CalcPointsSceneData) {
|
|
19528
|
-
tmp$ret$0 = tmp0_requireSceneData;
|
|
19529
|
-
break $l$block;
|
|
19530
|
-
}
|
|
19531
|
-
throw new MechanicException('Required ' + getKClass(CalcPointsSceneData).of() + ', current scene is ' + tmp0_requireSceneData);
|
|
19532
|
-
}
|
|
19533
|
-
tmp = !(tmp$ret$0.u3b_1 == null);
|
|
19534
|
-
} else {
|
|
19535
|
-
tmp = false;
|
|
19536
|
-
}
|
|
19537
|
-
return tmp;
|
|
19521
|
+
return this.g3y_1;
|
|
19538
19522
|
};
|
|
19539
19523
|
SceneInfo.prototype.j3y = function (sceneId, previousSceneId, actId, sceneData, actData) {
|
|
19540
19524
|
return new SceneInfo(sceneId, previousSceneId, actId, sceneData, actData);
|
|
19541
19525
|
};
|
|
19542
19526
|
SceneInfo.prototype.k3y = function (sceneId, previousSceneId, actId, sceneData, actData, $mask0, $handler) {
|
|
19543
19527
|
if (!(($mask0 & 1) === 0))
|
|
19544
|
-
sceneId = this.
|
|
19528
|
+
sceneId = this.c3y_1;
|
|
19545
19529
|
if (!(($mask0 & 2) === 0))
|
|
19546
|
-
previousSceneId = this.
|
|
19530
|
+
previousSceneId = this.d3y_1;
|
|
19547
19531
|
if (!(($mask0 & 4) === 0))
|
|
19548
|
-
actId = this.
|
|
19532
|
+
actId = this.e3y_1;
|
|
19549
19533
|
if (!(($mask0 & 8) === 0))
|
|
19550
|
-
sceneData = this.
|
|
19534
|
+
sceneData = this.f3y_1;
|
|
19551
19535
|
if (!(($mask0 & 16) === 0))
|
|
19552
|
-
actData = this.
|
|
19536
|
+
actData = this.g3y_1;
|
|
19553
19537
|
return this.j3y(sceneId, previousSceneId, actId, sceneData, actData);
|
|
19554
19538
|
};
|
|
19555
19539
|
SceneInfo.prototype.toString = function () {
|
|
19556
|
-
return 'SceneInfo(sceneId=' + this.
|
|
19540
|
+
return 'SceneInfo(sceneId=' + this.c3y_1 + ', previousSceneId=' + this.d3y_1 + ', actId=' + this.e3y_1 + ', sceneData=' + this.f3y_1 + ', actData=' + this.g3y_1 + ')';
|
|
19557
19541
|
};
|
|
19558
19542
|
SceneInfo.prototype.hashCode = function () {
|
|
19559
|
-
var result = getStringHashCode(this.
|
|
19560
|
-
result = imul(result, 31) + (this.c3y_1 == null ? 0 : getStringHashCode(this.c3y_1)) | 0;
|
|
19543
|
+
var result = getStringHashCode(this.c3y_1);
|
|
19561
19544
|
result = imul(result, 31) + (this.d3y_1 == null ? 0 : getStringHashCode(this.d3y_1)) | 0;
|
|
19562
|
-
result = imul(result, 31) + (this.e3y_1 == null ? 0 :
|
|
19545
|
+
result = imul(result, 31) + (this.e3y_1 == null ? 0 : getStringHashCode(this.e3y_1)) | 0;
|
|
19563
19546
|
result = imul(result, 31) + (this.f3y_1 == null ? 0 : hashCode(this.f3y_1)) | 0;
|
|
19547
|
+
result = imul(result, 31) + (this.g3y_1 == null ? 0 : hashCode(this.g3y_1)) | 0;
|
|
19564
19548
|
return result;
|
|
19565
19549
|
};
|
|
19566
19550
|
SceneInfo.prototype.equals = function (other) {
|
|
@@ -19569,16 +19553,16 @@
|
|
|
19569
19553
|
if (!(other instanceof SceneInfo))
|
|
19570
19554
|
return false;
|
|
19571
19555
|
var tmp0_other_with_cast = other instanceof SceneInfo ? other : THROW_CCE();
|
|
19572
|
-
if (!(this.
|
|
19573
|
-
return false;
|
|
19574
|
-
if (!(this.c3y_1 == tmp0_other_with_cast.c3y_1))
|
|
19556
|
+
if (!(this.c3y_1 === tmp0_other_with_cast.c3y_1))
|
|
19575
19557
|
return false;
|
|
19576
19558
|
if (!(this.d3y_1 == tmp0_other_with_cast.d3y_1))
|
|
19577
19559
|
return false;
|
|
19578
|
-
if (!
|
|
19560
|
+
if (!(this.e3y_1 == tmp0_other_with_cast.e3y_1))
|
|
19579
19561
|
return false;
|
|
19580
19562
|
if (!equals(this.f3y_1, tmp0_other_with_cast.f3y_1))
|
|
19581
19563
|
return false;
|
|
19564
|
+
if (!equals(this.g3y_1, tmp0_other_with_cast.g3y_1))
|
|
19565
|
+
return false;
|
|
19582
19566
|
return true;
|
|
19583
19567
|
};
|
|
19584
19568
|
SceneInfo.$metadata$ = classMeta('SceneInfo');
|
|
@@ -23404,7 +23388,7 @@
|
|
|
23404
23388
|
var tmp4_config = table.f3u_1;
|
|
23405
23389
|
var tmp5_players = table.g3u_1;
|
|
23406
23390
|
var tmp6_cardsOnTheTable = table.i3u_1;
|
|
23407
|
-
var tmp7_trump = table.l3u_1.a3v_1.
|
|
23391
|
+
var tmp7_trump = table.l3u_1.a3v_1.w3x();
|
|
23408
23392
|
return new GameRuleInfoProvider(tmp0_teamsLogicProvider, tmp1_currentPlayerId, tmp2_releasedCards, tmp6_cardsOnTheTable, tmp5_players, tmp4_config, tmp7_trump, tmp3_playerCards);
|
|
23409
23393
|
}
|
|
23410
23394
|
function BotLogicInteractorImpl(teamsLogicProvider, playerHappinessProvider, rulesMatchingProvider) {
|
|
@@ -23463,7 +23447,7 @@
|
|
|
23463
23447
|
return tmp$ret$2;
|
|
23464
23448
|
}
|
|
23465
23449
|
function handleAdditionalCombinations($this, playerId, table, teamsLogicProvider) {
|
|
23466
|
-
var tmp = table.h3u_1.
|
|
23450
|
+
var tmp = table.h3u_1.g3y_1;
|
|
23467
23451
|
var combinationActData = tmp instanceof CombinationActData ? tmp : THROW_CCE();
|
|
23468
23452
|
var tmp0_subject = combinationActData.u3a();
|
|
23469
23453
|
var tmp0 = tmp0_subject.e5_1;
|
|
@@ -23494,7 +23478,7 @@
|
|
|
23494
23478
|
this.z42_1 = combinationCheckerProvider;
|
|
23495
23479
|
}
|
|
23496
23480
|
PlayerAnswerInteractorImpl.prototype.a43 = function (playerId, table, botConfig) {
|
|
23497
|
-
var tmp0_subject = table.h3u_1.
|
|
23481
|
+
var tmp0_subject = table.h3u_1.c3y_1;
|
|
23498
23482
|
var tmp;
|
|
23499
23483
|
Companion_getInstance_8();
|
|
23500
23484
|
if (tmp0_subject === 'CHOOSE_PARTNER') {
|
|
@@ -23516,7 +23500,7 @@
|
|
|
23516
23500
|
var tmp$ret$0;
|
|
23517
23501
|
$l$block: {
|
|
23518
23502
|
// Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
|
|
23519
|
-
var tmp0_requireSceneData = table.h3u_1.
|
|
23503
|
+
var tmp0_requireSceneData = table.h3u_1.f3y_1;
|
|
23520
23504
|
if (tmp0_requireSceneData instanceof CalcPointsSceneData) {
|
|
23521
23505
|
tmp$ret$0 = tmp0_requireSceneData;
|
|
23522
23506
|
break $l$block;
|
|
@@ -23541,7 +23525,7 @@
|
|
|
23541
23525
|
} else {
|
|
23542
23526
|
Companion_getInstance_8();
|
|
23543
23527
|
if (tmp0_subject === 'TRADE') {
|
|
23544
|
-
var tmp1_subject = table.h3u_1.
|
|
23528
|
+
var tmp1_subject = table.h3u_1.e3y_1;
|
|
23545
23529
|
var tmp_2;
|
|
23546
23530
|
Companion_getInstance_9();
|
|
23547
23531
|
if (tmp1_subject === 'COMBINATION') {
|
|
@@ -23553,14 +23537,14 @@
|
|
|
23553
23537
|
var suit = this.x42_1.q42(getPlayer(table.g3u_1, playerId), table);
|
|
23554
23538
|
tmp_2 = new SuitChoiceFromClientAction(playerId, suit);
|
|
23555
23539
|
} else {
|
|
23556
|
-
throw new MechanicException("Can't support this act " + table.h3u_1.
|
|
23540
|
+
throw new MechanicException("Can't support this act " + table.h3u_1.e3y_1);
|
|
23557
23541
|
}
|
|
23558
23542
|
}
|
|
23559
23543
|
tmp = tmp_2;
|
|
23560
23544
|
} else {
|
|
23561
23545
|
Companion_getInstance_8();
|
|
23562
23546
|
if (tmp0_subject === 'EARN_POINTS') {
|
|
23563
|
-
var tmp2_subject = table.h3u_1.
|
|
23547
|
+
var tmp2_subject = table.h3u_1.e3y_1;
|
|
23564
23548
|
var tmp_3;
|
|
23565
23549
|
Companion_getInstance_9();
|
|
23566
23550
|
if (tmp2_subject === 'COMBINATION') {
|
|
@@ -23613,7 +23597,7 @@
|
|
|
23613
23597
|
PlayerAnswerInteractor.$metadata$ = interfaceMeta('PlayerAnswerInteractor');
|
|
23614
23598
|
function createCombination($this, playerId, cards, players, party, config) {
|
|
23615
23599
|
var numberOfPlayer = Companion_getInstance_93().k3w(playerId, players);
|
|
23616
|
-
var combinationType = Companion_getInstance_92().g3w(cards.i(), first(cards).w2p().equals(party.
|
|
23600
|
+
var combinationType = Companion_getInstance_92().g3w(cards.i(), first(cards).w2p().equals(party.w3x()), config.p3h_1);
|
|
23617
23601
|
return $this.b43_1.q3w(combinationType, Companion_getInstance_92().c3w(combinationType, config), numberOfPlayer, takeLast(toList_0(cards), Companion_getInstance_92().h3w(combinationType)));
|
|
23618
23602
|
}
|
|
23619
23603
|
function CombinationCheckerProviderImpl(combinationsFactory, logger) {
|
|
@@ -23626,7 +23610,7 @@
|
|
|
23626
23610
|
var tmp;
|
|
23627
23611
|
switch (tmp0) {
|
|
23628
23612
|
case 4:
|
|
23629
|
-
tmp = this.e43(cards, party.
|
|
23613
|
+
tmp = this.e43(cards, party.w3x());
|
|
23630
23614
|
break;
|
|
23631
23615
|
case 5:
|
|
23632
23616
|
tmp = this.f43(cards);
|
|
@@ -23791,7 +23775,7 @@
|
|
|
23791
23775
|
tmp$ret$2 = tmp$ret$1;
|
|
23792
23776
|
var cards = sortedWith(tmp$ret$2, CardIndexComparator_getInstance());
|
|
23793
23777
|
var numberOfPlayer = Companion_getInstance_93().k3w(playerId, players);
|
|
23794
|
-
var bellaCards = toList_0(filterBySuit(filterByCardName(cards, [CardName_DAME_getInstance(), CardName_KING_getInstance()]), [party.
|
|
23778
|
+
var bellaCards = toList_0(filterBySuit(filterByCardName(cards, [CardName_DAME_getInstance(), CardName_KING_getInstance()]), [party.w3x()]));
|
|
23795
23779
|
if (bellaCards.i() === 2) {
|
|
23796
23780
|
return this.b43_1.q3w(CombinationType_BELLA_getInstance(), Companion_getInstance_92().c3w(CombinationType_BELLA_getInstance(), config), numberOfPlayer, bellaCards);
|
|
23797
23781
|
}
|
|
@@ -24220,7 +24204,7 @@
|
|
|
24220
24204
|
return createModel(this, 'higher card in combination', single(combinations), playersCombinations, players, config.s3h_1.isTeamGame);
|
|
24221
24205
|
}
|
|
24222
24206
|
if (config.p3h_1.p2n_1) {
|
|
24223
|
-
var combination = checkHigherCombinationByTrump(this, combinations, party.
|
|
24207
|
+
var combination = checkHigherCombinationByTrump(this, combinations, party.w3x());
|
|
24224
24208
|
if (!(combination == null)) {
|
|
24225
24209
|
Companion_getInstance_13();
|
|
24226
24210
|
return createModel(this, 'trump combination', combination, playersCombinations, players, config.s3h_1.isTeamGame);
|
|
@@ -24430,7 +24414,7 @@
|
|
|
24430
24414
|
var tmp$ret$0;
|
|
24431
24415
|
$l$block: {
|
|
24432
24416
|
// Inline function 'com.debertz.logic.data.models.scenes.requireActData' call
|
|
24433
|
-
var tmp0_requireActData = table.h3u_1.
|
|
24417
|
+
var tmp0_requireActData = table.h3u_1.g3y_1;
|
|
24434
24418
|
if (tmp0_requireActData instanceof CombinationActData) {
|
|
24435
24419
|
tmp$ret$0 = tmp0_requireActData;
|
|
24436
24420
|
break $l$block;
|
|
@@ -24511,7 +24495,7 @@
|
|
|
24511
24495
|
return null;
|
|
24512
24496
|
};
|
|
24513
24497
|
GameMechanicLogicInteractorImpl.prototype.n44 = function (action, party, cardsOnTheTable, players, config) {
|
|
24514
|
-
return new PickUpBribeMechanicAction(this.d44_1.i41(players, cardsOnTheTable, party.
|
|
24498
|
+
return new PickUpBribeMechanicAction(this.d44_1.i41(players, cardsOnTheTable, party.w3x()).f2l(), party.l3k_1 + 1 | 0);
|
|
24515
24499
|
};
|
|
24516
24500
|
GameMechanicLogicInteractorImpl.$metadata$ = classMeta('GameMechanicLogicInteractorImpl', [GameMechanicLogicInteractor]);
|
|
24517
24501
|
function GameMechanicLogicInteractor() {
|
|
@@ -25081,7 +25065,7 @@
|
|
|
25081
25065
|
return tmp;
|
|
25082
25066
|
};
|
|
25083
25067
|
PointsInteractorImpl.prototype.x44 = function (players, config, party, combinationsFactory) {
|
|
25084
|
-
var trump = party.
|
|
25068
|
+
var trump = party.w3x();
|
|
25085
25069
|
var playerWhoPlayed = getWhoChoseSuit(players);
|
|
25086
25070
|
var pointsCells = createPointsCalculators(this, config.s3h_1, playerWhoPlayed.f2l(), trump, players);
|
|
25087
25071
|
checkIfNoBribes(this, pointsCells, config.p3h_1, combinationsFactory);
|
|
@@ -25819,7 +25803,7 @@
|
|
|
25819
25803
|
throw new MechanicException('Required ' + getKClass(EarnPointsSceneData).of() + ', current scene is ' + sceneData);
|
|
25820
25804
|
}
|
|
25821
25805
|
var earnScene = tmp$ret$1;
|
|
25822
|
-
var actData = table.h3u_1.
|
|
25806
|
+
var actData = table.h3u_1.g3y_1;
|
|
25823
25807
|
var combinations = null;
|
|
25824
25808
|
var tmp_1;
|
|
25825
25809
|
if (actData instanceof CombinationActData) {
|
|
@@ -25911,14 +25895,14 @@
|
|
|
25911
25895
|
};
|
|
25912
25896
|
SceneFactory.$metadata$ = classMeta('SceneFactory');
|
|
25913
25897
|
function moveNextActTradeScene($this, table) {
|
|
25914
|
-
var tmp0_subject = table.h3u_1.
|
|
25898
|
+
var tmp0_subject = table.h3u_1.e3y_1;
|
|
25915
25899
|
var tmp;
|
|
25916
25900
|
Companion_getInstance_9();
|
|
25917
25901
|
if (tmp0_subject === 'COMBINATION') {
|
|
25918
25902
|
var tmp$ret$0;
|
|
25919
25903
|
$l$block: {
|
|
25920
25904
|
// Inline function 'com.debertz.logic.data.models.scenes.requireActData' call
|
|
25921
|
-
var tmp0_requireActData = table.h3u_1.
|
|
25905
|
+
var tmp0_requireActData = table.h3u_1.g3y_1;
|
|
25922
25906
|
if (tmp0_requireActData instanceof CombinationActData) {
|
|
25923
25907
|
tmp$ret$0 = tmp0_requireActData;
|
|
25924
25908
|
break $l$block;
|
|
@@ -25967,20 +25951,20 @@
|
|
|
25967
25951
|
var tmp2_elvis_lhs = getSevenTrumpCombinationActIfExist($this, 'TRADE', tmp$ret$3, table);
|
|
25968
25952
|
tmp = tmp2_elvis_lhs == null ? FinishActNext_getInstance() : tmp2_elvis_lhs;
|
|
25969
25953
|
} else {
|
|
25970
|
-
throw new MechanicException("Can't support this act " + table.h3u_1.
|
|
25954
|
+
throw new MechanicException("Can't support this act " + table.h3u_1.e3y_1);
|
|
25971
25955
|
}
|
|
25972
25956
|
}
|
|
25973
25957
|
return tmp;
|
|
25974
25958
|
}
|
|
25975
25959
|
function moveNextActEarnPointsScene($this, table) {
|
|
25976
|
-
var tmp0_subject = table.h3u_1.
|
|
25960
|
+
var tmp0_subject = table.h3u_1.e3y_1;
|
|
25977
25961
|
var tmp;
|
|
25978
25962
|
Companion_getInstance_9();
|
|
25979
25963
|
if (tmp0_subject === 'COMBINATION') {
|
|
25980
25964
|
var tmp$ret$0;
|
|
25981
25965
|
$l$block: {
|
|
25982
25966
|
// Inline function 'com.debertz.logic.data.models.scenes.requireActData' call
|
|
25983
|
-
var tmp0_requireActData = table.h3u_1.
|
|
25967
|
+
var tmp0_requireActData = table.h3u_1.g3y_1;
|
|
25984
25968
|
if (tmp0_requireActData instanceof CombinationActData) {
|
|
25985
25969
|
tmp$ret$0 = tmp0_requireActData;
|
|
25986
25970
|
break $l$block;
|
|
@@ -26038,7 +26022,7 @@
|
|
|
26038
26022
|
if (tmp0_subject === 'PLAYER_TURN') {
|
|
26039
26023
|
tmp = FinishActNext_getInstance();
|
|
26040
26024
|
} else {
|
|
26041
|
-
throw new MechanicException("Can't support this act " + table.h3u_1.
|
|
26025
|
+
throw new MechanicException("Can't support this act " + table.h3u_1.e3y_1);
|
|
26042
26026
|
}
|
|
26043
26027
|
}
|
|
26044
26028
|
return tmp;
|
|
@@ -26237,7 +26221,7 @@
|
|
|
26237
26221
|
return tmp;
|
|
26238
26222
|
};
|
|
26239
26223
|
SceneRouterImpl.prototype.s46 = function (table, sceneData) {
|
|
26240
|
-
var tmp0_subject = table.h3u_1.
|
|
26224
|
+
var tmp0_subject = table.h3u_1.c3y_1;
|
|
26241
26225
|
var tmp;
|
|
26242
26226
|
Companion_getInstance_8();
|
|
26243
26227
|
if (tmp0_subject === 'TRADE') {
|
|
@@ -26247,7 +26231,7 @@
|
|
|
26247
26231
|
if (tmp0_subject === 'EARN_POINTS') {
|
|
26248
26232
|
tmp = moveNextActEarnPointsScene(this, table);
|
|
26249
26233
|
} else {
|
|
26250
|
-
throw new MechanicException("Can't support this scene " + table.h3u_1.
|
|
26234
|
+
throw new MechanicException("Can't support this scene " + table.h3u_1.c3y_1);
|
|
26251
26235
|
}
|
|
26252
26236
|
}
|
|
26253
26237
|
return tmp;
|
|
@@ -27840,25 +27824,29 @@
|
|
|
27840
27824
|
return this.l2r();
|
|
27841
27825
|
}
|
|
27842
27826
|
});
|
|
27843
|
-
function PartyStartedAction(roomId, players, isFirstParty, gameNumber) {
|
|
27827
|
+
function PartyStartedAction(roomId, partyNumber, players, isFirstParty, gameNumber) {
|
|
27844
27828
|
GameAction.call(this);
|
|
27845
27829
|
this.j47_1 = roomId;
|
|
27846
|
-
this.k47_1 =
|
|
27847
|
-
this.l47_1 =
|
|
27848
|
-
this.m47_1 =
|
|
27830
|
+
this.k47_1 = partyNumber;
|
|
27831
|
+
this.l47_1 = players;
|
|
27832
|
+
this.m47_1 = isFirstParty;
|
|
27833
|
+
this.n47_1 = gameNumber;
|
|
27849
27834
|
}
|
|
27850
27835
|
PartyStartedAction.prototype.i47 = function () {
|
|
27851
27836
|
return this.j47_1;
|
|
27852
27837
|
};
|
|
27853
|
-
PartyStartedAction.prototype.
|
|
27838
|
+
PartyStartedAction.prototype.u3x = function () {
|
|
27854
27839
|
return this.k47_1;
|
|
27855
27840
|
};
|
|
27856
|
-
PartyStartedAction.prototype.
|
|
27841
|
+
PartyStartedAction.prototype.p3u = function () {
|
|
27857
27842
|
return this.l47_1;
|
|
27858
27843
|
};
|
|
27859
|
-
PartyStartedAction.prototype.
|
|
27844
|
+
PartyStartedAction.prototype.o47 = function () {
|
|
27860
27845
|
return this.m47_1;
|
|
27861
27846
|
};
|
|
27847
|
+
PartyStartedAction.prototype.h3v = function () {
|
|
27848
|
+
return this.n47_1;
|
|
27849
|
+
};
|
|
27862
27850
|
PartyStartedAction.prototype.equals = function (other) {
|
|
27863
27851
|
if (this === other)
|
|
27864
27852
|
return true;
|
|
@@ -27870,16 +27858,16 @@
|
|
|
27870
27858
|
THROW_CCE();
|
|
27871
27859
|
if (!(this.j47_1 === other.j47_1))
|
|
27872
27860
|
return false;
|
|
27873
|
-
if (!contentEquals(this.
|
|
27861
|
+
if (!contentEquals(this.l47_1, other.l47_1))
|
|
27874
27862
|
return false;
|
|
27875
|
-
if (!(this.
|
|
27863
|
+
if (!(this.m47_1 === other.m47_1))
|
|
27876
27864
|
return false;
|
|
27877
27865
|
return true;
|
|
27878
27866
|
};
|
|
27879
27867
|
PartyStartedAction.prototype.hashCode = function () {
|
|
27880
27868
|
var result = getStringHashCode(this.j47_1);
|
|
27881
|
-
result = imul(31, result) + contentHashCode(this.
|
|
27882
|
-
result = imul(31, result) + (this.
|
|
27869
|
+
result = imul(31, result) + contentHashCode(this.l47_1) | 0;
|
|
27870
|
+
result = imul(31, result) + (this.m47_1 | 0) | 0;
|
|
27883
27871
|
return result;
|
|
27884
27872
|
};
|
|
27885
27873
|
PartyStartedAction.prototype.component1 = function () {
|
|
@@ -27894,38 +27882,47 @@
|
|
|
27894
27882
|
PartyStartedAction.prototype.component4 = function () {
|
|
27895
27883
|
return this.m47_1;
|
|
27896
27884
|
};
|
|
27897
|
-
PartyStartedAction.prototype.
|
|
27898
|
-
return this.
|
|
27885
|
+
PartyStartedAction.prototype.component5 = function () {
|
|
27886
|
+
return this.n47_1;
|
|
27887
|
+
};
|
|
27888
|
+
PartyStartedAction.prototype.copy = function (roomId, partyNumber, players, isFirstParty, gameNumber) {
|
|
27889
|
+
return this.p47(roomId === void 1 ? this.j47_1 : roomId, partyNumber === void 1 ? this.k47_1 : partyNumber, players === void 1 ? this.l47_1 : players, isFirstParty === void 1 ? this.m47_1 : isFirstParty, gameNumber === void 1 ? this.n47_1 : gameNumber);
|
|
27899
27890
|
};
|
|
27900
|
-
PartyStartedAction.prototype.
|
|
27901
|
-
return new PartyStartedAction(roomId, players, isFirstParty, gameNumber);
|
|
27891
|
+
PartyStartedAction.prototype.p47 = function (roomId, partyNumber, players, isFirstParty, gameNumber) {
|
|
27892
|
+
return new PartyStartedAction(roomId, partyNumber, players, isFirstParty, gameNumber);
|
|
27902
27893
|
};
|
|
27903
|
-
PartyStartedAction.prototype.
|
|
27894
|
+
PartyStartedAction.prototype.q47 = function (roomId, partyNumber, players, isFirstParty, gameNumber, $mask0, $handler) {
|
|
27904
27895
|
if (!(($mask0 & 1) === 0))
|
|
27905
27896
|
roomId = this.j47_1;
|
|
27906
27897
|
if (!(($mask0 & 2) === 0))
|
|
27907
|
-
|
|
27898
|
+
partyNumber = this.k47_1;
|
|
27908
27899
|
if (!(($mask0 & 4) === 0))
|
|
27909
|
-
|
|
27900
|
+
players = this.l47_1;
|
|
27910
27901
|
if (!(($mask0 & 8) === 0))
|
|
27911
|
-
|
|
27912
|
-
|
|
27902
|
+
isFirstParty = this.m47_1;
|
|
27903
|
+
if (!(($mask0 & 16) === 0))
|
|
27904
|
+
gameNumber = this.n47_1;
|
|
27905
|
+
return this.p47(roomId, partyNumber, players, isFirstParty, gameNumber);
|
|
27913
27906
|
};
|
|
27914
27907
|
PartyStartedAction.prototype.toString = function () {
|
|
27915
|
-
return 'PartyStartedAction(roomId=' + this.j47_1 + ', players=' + toString(this.
|
|
27908
|
+
return 'PartyStartedAction(roomId=' + this.j47_1 + ', partyNumber=' + this.k47_1 + ', players=' + toString(this.l47_1) + ', isFirstParty=' + this.m47_1 + ', gameNumber=' + this.n47_1 + ')';
|
|
27916
27909
|
};
|
|
27917
27910
|
PartyStartedAction.$metadata$ = classMeta('PartyStartedAction', undefined, undefined, undefined, undefined, GameAction.prototype);
|
|
27918
27911
|
Object.defineProperty(PartyStartedAction.prototype, 'roomId', {
|
|
27919
27912
|
configurable: true,
|
|
27920
27913
|
get: PartyStartedAction.prototype.i47
|
|
27921
27914
|
});
|
|
27915
|
+
Object.defineProperty(PartyStartedAction.prototype, 'partyNumber', {
|
|
27916
|
+
configurable: true,
|
|
27917
|
+
get: PartyStartedAction.prototype.u3x
|
|
27918
|
+
});
|
|
27922
27919
|
Object.defineProperty(PartyStartedAction.prototype, 'players', {
|
|
27923
27920
|
configurable: true,
|
|
27924
27921
|
get: PartyStartedAction.prototype.p3u
|
|
27925
27922
|
});
|
|
27926
27923
|
Object.defineProperty(PartyStartedAction.prototype, 'isFirstParty', {
|
|
27927
27924
|
configurable: true,
|
|
27928
|
-
get: PartyStartedAction.prototype.
|
|
27925
|
+
get: PartyStartedAction.prototype.o47
|
|
27929
27926
|
});
|
|
27930
27927
|
Object.defineProperty(PartyStartedAction.prototype, 'gameNumber', {
|
|
27931
27928
|
configurable: true,
|
|
@@ -27937,48 +27934,52 @@
|
|
|
27937
27934
|
return this.l2r();
|
|
27938
27935
|
}
|
|
27939
27936
|
});
|
|
27940
|
-
function PartyEndedAction_init_$Init$(roomId, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker, $this) {
|
|
27941
|
-
if (!(($mask0 & 16) === 0))
|
|
27942
|
-
gameLosers = null;
|
|
27937
|
+
function PartyEndedAction_init_$Init$(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker, $this) {
|
|
27943
27938
|
if (!(($mask0 & 32) === 0))
|
|
27939
|
+
gameLosers = null;
|
|
27940
|
+
if (!(($mask0 & 64) === 0))
|
|
27944
27941
|
gameWinners = null;
|
|
27945
|
-
PartyEndedAction.call($this, roomId, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners);
|
|
27942
|
+
PartyEndedAction.call($this, roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners);
|
|
27946
27943
|
return $this;
|
|
27947
27944
|
}
|
|
27948
|
-
function PartyEndedAction_init_$Create$(roomId, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker) {
|
|
27949
|
-
return PartyEndedAction_init_$Init$(roomId, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker, Object.create(PartyEndedAction.prototype));
|
|
27945
|
+
function PartyEndedAction_init_$Create$(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker) {
|
|
27946
|
+
return PartyEndedAction_init_$Init$(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $marker, Object.create(PartyEndedAction.prototype));
|
|
27950
27947
|
}
|
|
27951
|
-
function PartyEndedAction(roomId, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners) {
|
|
27948
|
+
function PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners) {
|
|
27952
27949
|
var gameLosers_0 = gameLosers === void 1 ? null : gameLosers;
|
|
27953
27950
|
var gameWinners_0 = gameWinners === void 1 ? null : gameWinners;
|
|
27954
27951
|
GameAction.call(this);
|
|
27955
|
-
this.
|
|
27956
|
-
this.
|
|
27957
|
-
this.
|
|
27958
|
-
this.
|
|
27959
|
-
this.
|
|
27960
|
-
this.
|
|
27952
|
+
this.r47_1 = roomId;
|
|
27953
|
+
this.s47_1 = partyNumber;
|
|
27954
|
+
this.t47_1 = earnedBiggestPointPlayerId;
|
|
27955
|
+
this.u47_1 = partyLosers;
|
|
27956
|
+
this.v47_1 = partyWinners;
|
|
27957
|
+
this.w47_1 = gameLosers_0;
|
|
27958
|
+
this.x47_1 = gameWinners_0;
|
|
27961
27959
|
}
|
|
27962
27960
|
PartyEndedAction.prototype.i47 = function () {
|
|
27963
|
-
return this.q47_1;
|
|
27964
|
-
};
|
|
27965
|
-
PartyEndedAction.prototype.x3b = function () {
|
|
27966
27961
|
return this.r47_1;
|
|
27967
27962
|
};
|
|
27968
|
-
PartyEndedAction.prototype.
|
|
27963
|
+
PartyEndedAction.prototype.u3x = function () {
|
|
27969
27964
|
return this.s47_1;
|
|
27970
27965
|
};
|
|
27971
|
-
PartyEndedAction.prototype.
|
|
27966
|
+
PartyEndedAction.prototype.x3b = function () {
|
|
27972
27967
|
return this.t47_1;
|
|
27973
27968
|
};
|
|
27974
|
-
PartyEndedAction.prototype.
|
|
27969
|
+
PartyEndedAction.prototype.y47 = function () {
|
|
27975
27970
|
return this.u47_1;
|
|
27976
27971
|
};
|
|
27977
|
-
PartyEndedAction.prototype.
|
|
27972
|
+
PartyEndedAction.prototype.y3b = function () {
|
|
27978
27973
|
return this.v47_1;
|
|
27979
27974
|
};
|
|
27980
|
-
PartyEndedAction.prototype.
|
|
27981
|
-
return
|
|
27975
|
+
PartyEndedAction.prototype.z47 = function () {
|
|
27976
|
+
return this.w47_1;
|
|
27977
|
+
};
|
|
27978
|
+
PartyEndedAction.prototype.z3b = function () {
|
|
27979
|
+
return this.x47_1;
|
|
27980
|
+
};
|
|
27981
|
+
PartyEndedAction.prototype.a48 = function () {
|
|
27982
|
+
return !(this.x47_1 == null) ? !(this.w47_1 == null) : false;
|
|
27982
27983
|
};
|
|
27983
27984
|
PartyEndedAction.prototype.equals = function (other) {
|
|
27984
27985
|
if (this === other)
|
|
@@ -27989,99 +27990,108 @@
|
|
|
27989
27990
|
other;
|
|
27990
27991
|
else
|
|
27991
27992
|
THROW_CCE();
|
|
27992
|
-
if (!(this.q47_1 === other.q47_1))
|
|
27993
|
-
return false;
|
|
27994
27993
|
if (!(this.r47_1 === other.r47_1))
|
|
27995
27994
|
return false;
|
|
27996
|
-
if (!
|
|
27995
|
+
if (!(this.t47_1 === other.t47_1))
|
|
27997
27996
|
return false;
|
|
27998
|
-
if (!contentEquals(this.
|
|
27997
|
+
if (!contentEquals(this.u47_1, other.u47_1))
|
|
27999
27998
|
return false;
|
|
28000
|
-
if (!(this.
|
|
28001
|
-
|
|
27999
|
+
if (!contentEquals(this.v47_1, other.v47_1))
|
|
28000
|
+
return false;
|
|
28001
|
+
if (!(this.w47_1 == null)) {
|
|
28002
|
+
if (other.w47_1 == null)
|
|
28002
28003
|
return false;
|
|
28003
|
-
if (!contentEquals(this.
|
|
28004
|
+
if (!contentEquals(this.w47_1, other.w47_1))
|
|
28004
28005
|
return false;
|
|
28005
|
-
} else if (!(other.
|
|
28006
|
+
} else if (!(other.w47_1 == null))
|
|
28006
28007
|
return false;
|
|
28007
|
-
if (!(this.
|
|
28008
|
-
if (other.
|
|
28008
|
+
if (!(this.x47_1 == null)) {
|
|
28009
|
+
if (other.x47_1 == null)
|
|
28009
28010
|
return false;
|
|
28010
|
-
if (!contentEquals(this.
|
|
28011
|
+
if (!contentEquals(this.x47_1, other.x47_1))
|
|
28011
28012
|
return false;
|
|
28012
|
-
} else if (!(other.
|
|
28013
|
+
} else if (!(other.x47_1 == null))
|
|
28013
28014
|
return false;
|
|
28014
28015
|
return true;
|
|
28015
28016
|
};
|
|
28016
28017
|
PartyEndedAction.prototype.hashCode = function () {
|
|
28017
|
-
var result = getStringHashCode(this.
|
|
28018
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
28019
|
-
result = imul(31, result) + contentHashCode(this.
|
|
28020
|
-
result = imul(31, result) + contentHashCode(this.
|
|
28018
|
+
var result = getStringHashCode(this.r47_1);
|
|
28019
|
+
result = imul(31, result) + getStringHashCode(this.t47_1) | 0;
|
|
28020
|
+
result = imul(31, result) + contentHashCode(this.u47_1) | 0;
|
|
28021
|
+
result = imul(31, result) + contentHashCode(this.v47_1) | 0;
|
|
28021
28022
|
var tmp = imul(31, result);
|
|
28022
|
-
var tmp0_safe_receiver = this.
|
|
28023
|
+
var tmp0_safe_receiver = this.w47_1;
|
|
28023
28024
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : contentHashCode(tmp0_safe_receiver);
|
|
28024
28025
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
28025
28026
|
var tmp_0 = imul(31, result);
|
|
28026
|
-
var tmp2_safe_receiver = this.
|
|
28027
|
+
var tmp2_safe_receiver = this.x47_1;
|
|
28027
28028
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : contentHashCode(tmp2_safe_receiver);
|
|
28028
28029
|
result = tmp_0 + (tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs) | 0;
|
|
28029
28030
|
return result;
|
|
28030
28031
|
};
|
|
28031
28032
|
PartyEndedAction.prototype.component1 = function () {
|
|
28032
|
-
return this.
|
|
28033
|
+
return this.r47_1;
|
|
28033
28034
|
};
|
|
28034
28035
|
PartyEndedAction.prototype.component2 = function () {
|
|
28035
|
-
return this.
|
|
28036
|
+
return this.s47_1;
|
|
28036
28037
|
};
|
|
28037
28038
|
PartyEndedAction.prototype.component3 = function () {
|
|
28038
|
-
return this.
|
|
28039
|
+
return this.t47_1;
|
|
28039
28040
|
};
|
|
28040
28041
|
PartyEndedAction.prototype.component4 = function () {
|
|
28041
|
-
return this.
|
|
28042
|
+
return this.u47_1;
|
|
28042
28043
|
};
|
|
28043
28044
|
PartyEndedAction.prototype.component5 = function () {
|
|
28044
|
-
return this.
|
|
28045
|
+
return this.v47_1;
|
|
28045
28046
|
};
|
|
28046
28047
|
PartyEndedAction.prototype.component6 = function () {
|
|
28047
|
-
return this.
|
|
28048
|
+
return this.w47_1;
|
|
28048
28049
|
};
|
|
28049
|
-
PartyEndedAction.prototype.
|
|
28050
|
-
return this.
|
|
28050
|
+
PartyEndedAction.prototype.component7 = function () {
|
|
28051
|
+
return this.x47_1;
|
|
28051
28052
|
};
|
|
28052
|
-
PartyEndedAction.prototype.
|
|
28053
|
-
return
|
|
28053
|
+
PartyEndedAction.prototype.copy = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners) {
|
|
28054
|
+
return this.b48(roomId === void 1 ? this.r47_1 : roomId, partyNumber === void 1 ? this.s47_1 : partyNumber, earnedBiggestPointPlayerId === void 1 ? this.t47_1 : earnedBiggestPointPlayerId, partyLosers === void 1 ? this.u47_1 : partyLosers, partyWinners === void 1 ? this.v47_1 : partyWinners, gameLosers === void 1 ? this.w47_1 : gameLosers, gameWinners === void 1 ? this.x47_1 : gameWinners);
|
|
28054
28055
|
};
|
|
28055
|
-
PartyEndedAction.prototype.
|
|
28056
|
+
PartyEndedAction.prototype.b48 = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners) {
|
|
28057
|
+
return new PartyEndedAction(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners);
|
|
28058
|
+
};
|
|
28059
|
+
PartyEndedAction.prototype.c48 = function (roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners, $mask0, $handler) {
|
|
28056
28060
|
if (!(($mask0 & 1) === 0))
|
|
28057
|
-
roomId = this.
|
|
28061
|
+
roomId = this.r47_1;
|
|
28058
28062
|
if (!(($mask0 & 2) === 0))
|
|
28059
|
-
|
|
28063
|
+
partyNumber = this.s47_1;
|
|
28060
28064
|
if (!(($mask0 & 4) === 0))
|
|
28061
|
-
|
|
28065
|
+
earnedBiggestPointPlayerId = this.t47_1;
|
|
28062
28066
|
if (!(($mask0 & 8) === 0))
|
|
28063
|
-
|
|
28067
|
+
partyLosers = this.u47_1;
|
|
28064
28068
|
if (!(($mask0 & 16) === 0))
|
|
28065
|
-
|
|
28069
|
+
partyWinners = this.v47_1;
|
|
28066
28070
|
if (!(($mask0 & 32) === 0))
|
|
28067
|
-
|
|
28068
|
-
|
|
28071
|
+
gameLosers = this.w47_1;
|
|
28072
|
+
if (!(($mask0 & 64) === 0))
|
|
28073
|
+
gameWinners = this.x47_1;
|
|
28074
|
+
return this.b48(roomId, partyNumber, earnedBiggestPointPlayerId, partyLosers, partyWinners, gameLosers, gameWinners);
|
|
28069
28075
|
};
|
|
28070
28076
|
PartyEndedAction.prototype.toString = function () {
|
|
28071
|
-
return 'PartyEndedAction(roomId=' + this.
|
|
28077
|
+
return 'PartyEndedAction(roomId=' + this.r47_1 + ', partyNumber=' + this.s47_1 + ', earnedBiggestPointPlayerId=' + this.t47_1 + ', partyLosers=' + toString(this.u47_1) + ', partyWinners=' + toString(this.v47_1) + ', gameLosers=' + toString(this.w47_1) + ', gameWinners=' + toString(this.x47_1) + ')';
|
|
28072
28078
|
};
|
|
28073
28079
|
PartyEndedAction.$metadata$ = classMeta('PartyEndedAction', undefined, undefined, undefined, undefined, GameAction.prototype);
|
|
28074
28080
|
Object.defineProperty(PartyEndedAction.prototype, 'roomId', {
|
|
28075
28081
|
configurable: true,
|
|
28076
28082
|
get: PartyEndedAction.prototype.i47
|
|
28077
28083
|
});
|
|
28084
|
+
Object.defineProperty(PartyEndedAction.prototype, 'partyNumber', {
|
|
28085
|
+
configurable: true,
|
|
28086
|
+
get: PartyEndedAction.prototype.u3x
|
|
28087
|
+
});
|
|
28078
28088
|
Object.defineProperty(PartyEndedAction.prototype, 'earnedBiggestPointPlayerId', {
|
|
28079
28089
|
configurable: true,
|
|
28080
28090
|
get: PartyEndedAction.prototype.x3b
|
|
28081
28091
|
});
|
|
28082
28092
|
Object.defineProperty(PartyEndedAction.prototype, 'partyLosers', {
|
|
28083
28093
|
configurable: true,
|
|
28084
|
-
get: PartyEndedAction.prototype.
|
|
28094
|
+
get: PartyEndedAction.prototype.y47
|
|
28085
28095
|
});
|
|
28086
28096
|
Object.defineProperty(PartyEndedAction.prototype, 'partyWinners', {
|
|
28087
28097
|
configurable: true,
|
|
@@ -28089,7 +28099,7 @@
|
|
|
28089
28099
|
});
|
|
28090
28100
|
Object.defineProperty(PartyEndedAction.prototype, 'gameLosers', {
|
|
28091
28101
|
configurable: true,
|
|
28092
|
-
get: PartyEndedAction.prototype.
|
|
28102
|
+
get: PartyEndedAction.prototype.z47
|
|
28093
28103
|
});
|
|
28094
28104
|
Object.defineProperty(PartyEndedAction.prototype, 'gameWinners', {
|
|
28095
28105
|
configurable: true,
|
|
@@ -28097,7 +28107,7 @@
|
|
|
28097
28107
|
});
|
|
28098
28108
|
Object.defineProperty(PartyEndedAction.prototype, 'isGameFinished', {
|
|
28099
28109
|
configurable: true,
|
|
28100
|
-
get: PartyEndedAction.prototype.
|
|
28110
|
+
get: PartyEndedAction.prototype.a48
|
|
28101
28111
|
});
|
|
28102
28112
|
Object.defineProperty(PartyEndedAction.prototype, 'actionTag', {
|
|
28103
28113
|
configurable: true,
|
|
@@ -28105,6 +28115,70 @@
|
|
|
28105
28115
|
return this.l2r();
|
|
28106
28116
|
}
|
|
28107
28117
|
});
|
|
28118
|
+
function PartyRestartedAction(roomId, partyNumber) {
|
|
28119
|
+
this.d48_1 = roomId;
|
|
28120
|
+
this.e48_1 = partyNumber;
|
|
28121
|
+
}
|
|
28122
|
+
PartyRestartedAction.prototype.i47 = function () {
|
|
28123
|
+
return this.d48_1;
|
|
28124
|
+
};
|
|
28125
|
+
PartyRestartedAction.prototype.u3x = function () {
|
|
28126
|
+
return this.e48_1;
|
|
28127
|
+
};
|
|
28128
|
+
PartyRestartedAction.prototype.component1 = function () {
|
|
28129
|
+
return this.d48_1;
|
|
28130
|
+
};
|
|
28131
|
+
PartyRestartedAction.prototype.component2 = function () {
|
|
28132
|
+
return this.e48_1;
|
|
28133
|
+
};
|
|
28134
|
+
PartyRestartedAction.prototype.copy = function (roomId, partyNumber) {
|
|
28135
|
+
return this.f48(roomId === void 1 ? this.d48_1 : roomId, partyNumber === void 1 ? this.e48_1 : partyNumber);
|
|
28136
|
+
};
|
|
28137
|
+
PartyRestartedAction.prototype.f48 = function (roomId, partyNumber) {
|
|
28138
|
+
return new PartyRestartedAction(roomId, partyNumber);
|
|
28139
|
+
};
|
|
28140
|
+
PartyRestartedAction.prototype.g48 = function (roomId, partyNumber, $mask0, $handler) {
|
|
28141
|
+
if (!(($mask0 & 1) === 0))
|
|
28142
|
+
roomId = this.d48_1;
|
|
28143
|
+
if (!(($mask0 & 2) === 0))
|
|
28144
|
+
partyNumber = this.e48_1;
|
|
28145
|
+
return this.f48(roomId, partyNumber);
|
|
28146
|
+
};
|
|
28147
|
+
PartyRestartedAction.prototype.toString = function () {
|
|
28148
|
+
return 'PartyRestartedAction(roomId=' + this.d48_1 + ', partyNumber=' + this.e48_1 + ')';
|
|
28149
|
+
};
|
|
28150
|
+
PartyRestartedAction.prototype.hashCode = function () {
|
|
28151
|
+
var result = getStringHashCode(this.d48_1);
|
|
28152
|
+
result = imul(result, 31) + this.e48_1 | 0;
|
|
28153
|
+
return result;
|
|
28154
|
+
};
|
|
28155
|
+
PartyRestartedAction.prototype.equals = function (other) {
|
|
28156
|
+
if (this === other)
|
|
28157
|
+
return true;
|
|
28158
|
+
if (!(other instanceof PartyRestartedAction))
|
|
28159
|
+
return false;
|
|
28160
|
+
var tmp0_other_with_cast = other instanceof PartyRestartedAction ? other : THROW_CCE();
|
|
28161
|
+
if (!(this.d48_1 === tmp0_other_with_cast.d48_1))
|
|
28162
|
+
return false;
|
|
28163
|
+
if (!(this.e48_1 === tmp0_other_with_cast.e48_1))
|
|
28164
|
+
return false;
|
|
28165
|
+
return true;
|
|
28166
|
+
};
|
|
28167
|
+
PartyRestartedAction.$metadata$ = classMeta('PartyRestartedAction', [Action]);
|
|
28168
|
+
Object.defineProperty(PartyRestartedAction.prototype, 'roomId', {
|
|
28169
|
+
configurable: true,
|
|
28170
|
+
get: PartyRestartedAction.prototype.i47
|
|
28171
|
+
});
|
|
28172
|
+
Object.defineProperty(PartyRestartedAction.prototype, 'partyNumber', {
|
|
28173
|
+
configurable: true,
|
|
28174
|
+
get: PartyRestartedAction.prototype.u3x
|
|
28175
|
+
});
|
|
28176
|
+
Object.defineProperty(PartyRestartedAction.prototype, 'actionTag', {
|
|
28177
|
+
configurable: true,
|
|
28178
|
+
get: function () {
|
|
28179
|
+
return this.l2r();
|
|
28180
|
+
}
|
|
28181
|
+
});
|
|
28108
28182
|
function MechanicAction() {
|
|
28109
28183
|
}
|
|
28110
28184
|
MechanicAction.$metadata$ = classMeta('MechanicAction', [BufferedAction]);
|
|
@@ -28116,30 +28190,30 @@
|
|
|
28116
28190
|
});
|
|
28117
28191
|
function FinishingGameMechanicAction(reason) {
|
|
28118
28192
|
MechanicAction.call(this);
|
|
28119
|
-
this.
|
|
28193
|
+
this.h48_1 = reason;
|
|
28120
28194
|
}
|
|
28121
28195
|
FinishingGameMechanicAction.prototype.u3w = function () {
|
|
28122
|
-
return this.
|
|
28196
|
+
return this.h48_1;
|
|
28123
28197
|
};
|
|
28124
28198
|
FinishingGameMechanicAction.prototype.component1 = function () {
|
|
28125
|
-
return this.
|
|
28199
|
+
return this.h48_1;
|
|
28126
28200
|
};
|
|
28127
28201
|
FinishingGameMechanicAction.prototype.copy = function (reason) {
|
|
28128
|
-
return this.
|
|
28202
|
+
return this.i48(reason === void 1 ? this.h48_1 : reason);
|
|
28129
28203
|
};
|
|
28130
|
-
FinishingGameMechanicAction.prototype.
|
|
28204
|
+
FinishingGameMechanicAction.prototype.i48 = function (reason) {
|
|
28131
28205
|
return new FinishingGameMechanicAction(reason);
|
|
28132
28206
|
};
|
|
28133
|
-
FinishingGameMechanicAction.prototype.
|
|
28207
|
+
FinishingGameMechanicAction.prototype.j48 = function (reason, $mask0, $handler) {
|
|
28134
28208
|
if (!(($mask0 & 1) === 0))
|
|
28135
|
-
reason = this.
|
|
28136
|
-
return this.
|
|
28209
|
+
reason = this.h48_1;
|
|
28210
|
+
return this.i48(reason);
|
|
28137
28211
|
};
|
|
28138
28212
|
FinishingGameMechanicAction.prototype.toString = function () {
|
|
28139
|
-
return 'FinishingGameMechanicAction(reason=' + this.
|
|
28213
|
+
return 'FinishingGameMechanicAction(reason=' + this.h48_1 + ')';
|
|
28140
28214
|
};
|
|
28141
28215
|
FinishingGameMechanicAction.prototype.hashCode = function () {
|
|
28142
|
-
return hashCode(this.
|
|
28216
|
+
return hashCode(this.h48_1);
|
|
28143
28217
|
};
|
|
28144
28218
|
FinishingGameMechanicAction.prototype.equals = function (other) {
|
|
28145
28219
|
if (this === other)
|
|
@@ -28147,7 +28221,7 @@
|
|
|
28147
28221
|
if (!(other instanceof FinishingGameMechanicAction))
|
|
28148
28222
|
return false;
|
|
28149
28223
|
var tmp0_other_with_cast = other instanceof FinishingGameMechanicAction ? other : THROW_CCE();
|
|
28150
|
-
if (!equals(this.
|
|
28224
|
+
if (!equals(this.h48_1, tmp0_other_with_cast.h48_1))
|
|
28151
28225
|
return false;
|
|
28152
28226
|
return true;
|
|
28153
28227
|
};
|
|
@@ -28164,30 +28238,30 @@
|
|
|
28164
28238
|
});
|
|
28165
28239
|
function FinishGameMechanicAction(reason) {
|
|
28166
28240
|
MechanicAction.call(this);
|
|
28167
|
-
this.
|
|
28241
|
+
this.k48_1 = reason;
|
|
28168
28242
|
}
|
|
28169
28243
|
FinishGameMechanicAction.prototype.u3w = function () {
|
|
28170
|
-
return this.
|
|
28244
|
+
return this.k48_1;
|
|
28171
28245
|
};
|
|
28172
28246
|
FinishGameMechanicAction.prototype.component1 = function () {
|
|
28173
|
-
return this.
|
|
28247
|
+
return this.k48_1;
|
|
28174
28248
|
};
|
|
28175
28249
|
FinishGameMechanicAction.prototype.copy = function (reason) {
|
|
28176
|
-
return this.
|
|
28250
|
+
return this.i48(reason === void 1 ? this.k48_1 : reason);
|
|
28177
28251
|
};
|
|
28178
|
-
FinishGameMechanicAction.prototype.
|
|
28252
|
+
FinishGameMechanicAction.prototype.i48 = function (reason) {
|
|
28179
28253
|
return new FinishGameMechanicAction(reason);
|
|
28180
28254
|
};
|
|
28181
|
-
FinishGameMechanicAction.prototype.
|
|
28255
|
+
FinishGameMechanicAction.prototype.j48 = function (reason, $mask0, $handler) {
|
|
28182
28256
|
if (!(($mask0 & 1) === 0))
|
|
28183
|
-
reason = this.
|
|
28184
|
-
return this.
|
|
28257
|
+
reason = this.k48_1;
|
|
28258
|
+
return this.i48(reason);
|
|
28185
28259
|
};
|
|
28186
28260
|
FinishGameMechanicAction.prototype.toString = function () {
|
|
28187
|
-
return 'FinishGameMechanicAction(reason=' + this.
|
|
28261
|
+
return 'FinishGameMechanicAction(reason=' + this.k48_1 + ')';
|
|
28188
28262
|
};
|
|
28189
28263
|
FinishGameMechanicAction.prototype.hashCode = function () {
|
|
28190
|
-
return hashCode(this.
|
|
28264
|
+
return hashCode(this.k48_1);
|
|
28191
28265
|
};
|
|
28192
28266
|
FinishGameMechanicAction.prototype.equals = function (other) {
|
|
28193
28267
|
if (this === other)
|
|
@@ -28195,7 +28269,7 @@
|
|
|
28195
28269
|
if (!(other instanceof FinishGameMechanicAction))
|
|
28196
28270
|
return false;
|
|
28197
28271
|
var tmp0_other_with_cast = other instanceof FinishGameMechanicAction ? other : THROW_CCE();
|
|
28198
|
-
if (!equals(this.
|
|
28272
|
+
if (!equals(this.k48_1, tmp0_other_with_cast.k48_1))
|
|
28199
28273
|
return false;
|
|
28200
28274
|
return true;
|
|
28201
28275
|
};
|
|
@@ -28242,10 +28316,10 @@
|
|
|
28242
28316
|
SceneMechanicAction.prototype.q3a = function () {
|
|
28243
28317
|
return this.h45_1;
|
|
28244
28318
|
};
|
|
28245
|
-
SceneMechanicAction.prototype.
|
|
28319
|
+
SceneMechanicAction.prototype.m48 = function () {
|
|
28246
28320
|
return this.i45_1;
|
|
28247
28321
|
};
|
|
28248
|
-
SceneMechanicAction.prototype.
|
|
28322
|
+
SceneMechanicAction.prototype.l48 = function () {
|
|
28249
28323
|
return this.j45_1;
|
|
28250
28324
|
};
|
|
28251
28325
|
SceneMechanicAction.prototype.notValidateWhenFinished = function () {
|
|
@@ -28256,7 +28330,7 @@
|
|
|
28256
28330
|
Companion_getInstance_8();
|
|
28257
28331
|
return this.g45_1 === 'WAITING';
|
|
28258
28332
|
};
|
|
28259
|
-
SceneMechanicAction.prototype.
|
|
28333
|
+
SceneMechanicAction.prototype.n48 = function () {
|
|
28260
28334
|
var tmp = this.i45_1;
|
|
28261
28335
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
28262
28336
|
return this.i45_1.t3a();
|
|
@@ -28280,12 +28354,12 @@
|
|
|
28280
28354
|
return this.j45_1;
|
|
28281
28355
|
};
|
|
28282
28356
|
SceneMechanicAction.prototype.copy = function (sceneId, actId, scenePayload, actPayload) {
|
|
28283
|
-
return this.
|
|
28357
|
+
return this.o48(sceneId === void 1 ? this.g45_1 : sceneId, actId === void 1 ? this.h45_1 : actId, scenePayload === void 1 ? this.i45_1 : scenePayload, actPayload === void 1 ? this.j45_1 : actPayload);
|
|
28284
28358
|
};
|
|
28285
|
-
SceneMechanicAction.prototype.
|
|
28359
|
+
SceneMechanicAction.prototype.o48 = function (sceneId, actId, scenePayload, actPayload) {
|
|
28286
28360
|
return new SceneMechanicAction(sceneId, actId, scenePayload, actPayload);
|
|
28287
28361
|
};
|
|
28288
|
-
SceneMechanicAction.prototype.
|
|
28362
|
+
SceneMechanicAction.prototype.p48 = function (sceneId, actId, scenePayload, actPayload, $mask0, $handler) {
|
|
28289
28363
|
if (!(($mask0 & 1) === 0))
|
|
28290
28364
|
sceneId = this.g45_1;
|
|
28291
28365
|
if (!(($mask0 & 2) === 0))
|
|
@@ -28294,7 +28368,7 @@
|
|
|
28294
28368
|
scenePayload = this.i45_1;
|
|
28295
28369
|
if (!(($mask0 & 8) === 0))
|
|
28296
28370
|
actPayload = this.j45_1;
|
|
28297
|
-
return this.
|
|
28371
|
+
return this.o48(sceneId, actId, scenePayload, actPayload);
|
|
28298
28372
|
};
|
|
28299
28373
|
SceneMechanicAction.prototype.toString = function () {
|
|
28300
28374
|
return 'SceneMechanicAction(sceneId=' + this.g45_1 + ', actId=' + this.h45_1 + ', scenePayload=' + this.i45_1 + ', actPayload=' + this.j45_1 + ')';
|
|
@@ -28337,12 +28411,12 @@
|
|
|
28337
28411
|
});
|
|
28338
28412
|
Object.defineProperty(SceneMechanicAction.prototype, 'scenePayload', {
|
|
28339
28413
|
configurable: true,
|
|
28340
|
-
get: SceneMechanicAction.prototype.
|
|
28414
|
+
get: SceneMechanicAction.prototype.m48
|
|
28341
28415
|
});
|
|
28342
28416
|
Object.defineProperty(SceneMechanicAction.prototype, 'actPayload', {
|
|
28343
28417
|
configurable: true,
|
|
28344
28418
|
get: function () {
|
|
28345
|
-
return this.
|
|
28419
|
+
return this.l48();
|
|
28346
28420
|
}
|
|
28347
28421
|
});
|
|
28348
28422
|
Object.defineProperty(SceneMechanicAction.prototype, 'actionTag', {
|
|
@@ -28356,36 +28430,36 @@
|
|
|
28356
28430
|
TerminatedAction.$metadata$ = interfaceMeta('TerminatedAction', [BufferedAction]);
|
|
28357
28431
|
function PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers) {
|
|
28358
28432
|
MechanicAction.call(this);
|
|
28359
|
-
this.
|
|
28360
|
-
this.
|
|
28361
|
-
this.
|
|
28433
|
+
this.q48_1 = playerId;
|
|
28434
|
+
this.r48_1 = state;
|
|
28435
|
+
this.s48_1 = isNoneActivePlayers;
|
|
28362
28436
|
}
|
|
28363
28437
|
PlayerConnectionChangedMechanicAction.prototype.f2l = function () {
|
|
28364
|
-
return this.
|
|
28438
|
+
return this.q48_1;
|
|
28365
28439
|
};
|
|
28366
28440
|
PlayerConnectionChangedMechanicAction.prototype.am = function () {
|
|
28367
|
-
return this.
|
|
28441
|
+
return this.r48_1;
|
|
28368
28442
|
};
|
|
28369
|
-
PlayerConnectionChangedMechanicAction.prototype.
|
|
28370
|
-
return this.
|
|
28443
|
+
PlayerConnectionChangedMechanicAction.prototype.t48 = function () {
|
|
28444
|
+
return this.s48_1;
|
|
28371
28445
|
};
|
|
28372
28446
|
PlayerConnectionChangedMechanicAction.prototype.i2m = function () {
|
|
28373
|
-
return this.
|
|
28447
|
+
return this.r48_1.equals(PlayerConnectionState_LIVE_getInstance());
|
|
28374
28448
|
};
|
|
28375
28449
|
PlayerConnectionChangedMechanicAction.prototype.j2m = function () {
|
|
28376
|
-
return this.
|
|
28450
|
+
return this.r48_1.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
28377
28451
|
};
|
|
28378
28452
|
PlayerConnectionChangedMechanicAction.prototype.k2m = function () {
|
|
28379
|
-
return this.
|
|
28453
|
+
return this.r48_1.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
28380
28454
|
};
|
|
28381
28455
|
PlayerConnectionChangedMechanicAction.prototype.l2m = function () {
|
|
28382
|
-
return this.
|
|
28456
|
+
return this.r48_1.equals(PlayerConnectionState_LEFT_getInstance());
|
|
28383
28457
|
};
|
|
28384
28458
|
PlayerConnectionChangedMechanicAction.prototype.m2m = function () {
|
|
28385
|
-
return this.
|
|
28459
|
+
return this.r48_1.equals(PlayerConnectionState_DELETED_getInstance());
|
|
28386
28460
|
};
|
|
28387
|
-
PlayerConnectionChangedMechanicAction.prototype.
|
|
28388
|
-
var tmp0_subject = this.
|
|
28461
|
+
PlayerConnectionChangedMechanicAction.prototype.u48 = function () {
|
|
28462
|
+
var tmp0_subject = this.r48_1;
|
|
28389
28463
|
var tmp0 = tmp0_subject.e5_1;
|
|
28390
28464
|
var tmp;
|
|
28391
28465
|
switch (tmp0) {
|
|
@@ -28406,36 +28480,36 @@
|
|
|
28406
28480
|
return tmp;
|
|
28407
28481
|
};
|
|
28408
28482
|
PlayerConnectionChangedMechanicAction.prototype.component1 = function () {
|
|
28409
|
-
return this.
|
|
28483
|
+
return this.q48_1;
|
|
28410
28484
|
};
|
|
28411
28485
|
PlayerConnectionChangedMechanicAction.prototype.component2 = function () {
|
|
28412
|
-
return this.
|
|
28486
|
+
return this.r48_1;
|
|
28413
28487
|
};
|
|
28414
28488
|
PlayerConnectionChangedMechanicAction.prototype.component3 = function () {
|
|
28415
|
-
return this.
|
|
28489
|
+
return this.s48_1;
|
|
28416
28490
|
};
|
|
28417
28491
|
PlayerConnectionChangedMechanicAction.prototype.copy = function (playerId, state, isNoneActivePlayers) {
|
|
28418
|
-
return this.
|
|
28492
|
+
return this.v48(playerId === void 1 ? this.q48_1 : playerId, state === void 1 ? this.r48_1 : state, isNoneActivePlayers === void 1 ? this.s48_1 : isNoneActivePlayers);
|
|
28419
28493
|
};
|
|
28420
|
-
PlayerConnectionChangedMechanicAction.prototype.
|
|
28494
|
+
PlayerConnectionChangedMechanicAction.prototype.v48 = function (playerId, state, isNoneActivePlayers) {
|
|
28421
28495
|
return new PlayerConnectionChangedMechanicAction(playerId, state, isNoneActivePlayers);
|
|
28422
28496
|
};
|
|
28423
|
-
PlayerConnectionChangedMechanicAction.prototype.
|
|
28497
|
+
PlayerConnectionChangedMechanicAction.prototype.w48 = function (playerId, state, isNoneActivePlayers, $mask0, $handler) {
|
|
28424
28498
|
if (!(($mask0 & 1) === 0))
|
|
28425
|
-
playerId = this.
|
|
28499
|
+
playerId = this.q48_1;
|
|
28426
28500
|
if (!(($mask0 & 2) === 0))
|
|
28427
|
-
state = this.
|
|
28501
|
+
state = this.r48_1;
|
|
28428
28502
|
if (!(($mask0 & 4) === 0))
|
|
28429
|
-
isNoneActivePlayers = this.
|
|
28430
|
-
return this.
|
|
28503
|
+
isNoneActivePlayers = this.s48_1;
|
|
28504
|
+
return this.v48(playerId, state, isNoneActivePlayers);
|
|
28431
28505
|
};
|
|
28432
28506
|
PlayerConnectionChangedMechanicAction.prototype.toString = function () {
|
|
28433
|
-
return 'PlayerConnectionChangedMechanicAction(playerId=' + this.
|
|
28507
|
+
return 'PlayerConnectionChangedMechanicAction(playerId=' + this.q48_1 + ', state=' + this.r48_1 + ', isNoneActivePlayers=' + this.s48_1 + ')';
|
|
28434
28508
|
};
|
|
28435
28509
|
PlayerConnectionChangedMechanicAction.prototype.hashCode = function () {
|
|
28436
|
-
var result = getStringHashCode(this.
|
|
28437
|
-
result = imul(result, 31) + this.
|
|
28438
|
-
result = imul(result, 31) + (this.
|
|
28510
|
+
var result = getStringHashCode(this.q48_1);
|
|
28511
|
+
result = imul(result, 31) + this.r48_1.hashCode() | 0;
|
|
28512
|
+
result = imul(result, 31) + (this.s48_1 | 0) | 0;
|
|
28439
28513
|
return result;
|
|
28440
28514
|
};
|
|
28441
28515
|
PlayerConnectionChangedMechanicAction.prototype.equals = function (other) {
|
|
@@ -28444,11 +28518,11 @@
|
|
|
28444
28518
|
if (!(other instanceof PlayerConnectionChangedMechanicAction))
|
|
28445
28519
|
return false;
|
|
28446
28520
|
var tmp0_other_with_cast = other instanceof PlayerConnectionChangedMechanicAction ? other : THROW_CCE();
|
|
28447
|
-
if (!(this.
|
|
28521
|
+
if (!(this.q48_1 === tmp0_other_with_cast.q48_1))
|
|
28448
28522
|
return false;
|
|
28449
|
-
if (!this.
|
|
28523
|
+
if (!this.r48_1.equals(tmp0_other_with_cast.r48_1))
|
|
28450
28524
|
return false;
|
|
28451
|
-
if (!(this.
|
|
28525
|
+
if (!(this.s48_1 === tmp0_other_with_cast.s48_1))
|
|
28452
28526
|
return false;
|
|
28453
28527
|
return true;
|
|
28454
28528
|
};
|
|
@@ -28463,7 +28537,7 @@
|
|
|
28463
28537
|
});
|
|
28464
28538
|
Object.defineProperty(PlayerConnectionChangedMechanicAction.prototype, 'isNoneActivePlayers', {
|
|
28465
28539
|
configurable: true,
|
|
28466
|
-
get: PlayerConnectionChangedMechanicAction.prototype.
|
|
28540
|
+
get: PlayerConnectionChangedMechanicAction.prototype.t48
|
|
28467
28541
|
});
|
|
28468
28542
|
Object.defineProperty(PlayerConnectionChangedMechanicAction.prototype, 'isLive', {
|
|
28469
28543
|
configurable: true,
|
|
@@ -28487,7 +28561,7 @@
|
|
|
28487
28561
|
});
|
|
28488
28562
|
Object.defineProperty(PlayerConnectionChangedMechanicAction.prototype, 'shouldNotifyPlayers', {
|
|
28489
28563
|
configurable: true,
|
|
28490
|
-
get: PlayerConnectionChangedMechanicAction.prototype.
|
|
28564
|
+
get: PlayerConnectionChangedMechanicAction.prototype.u48
|
|
28491
28565
|
});
|
|
28492
28566
|
Object.defineProperty(PlayerConnectionChangedMechanicAction.prototype, 'actionTag', {
|
|
28493
28567
|
configurable: true,
|
|
@@ -28497,13 +28571,13 @@
|
|
|
28497
28571
|
});
|
|
28498
28572
|
function MessageMechanicAction(message) {
|
|
28499
28573
|
MechanicAction.call(this);
|
|
28500
|
-
this.
|
|
28574
|
+
this.x48_1 = message;
|
|
28501
28575
|
}
|
|
28502
28576
|
MessageMechanicAction.prototype.toString = function () {
|
|
28503
|
-
return 'MessageMechanicAction(message=' + this.
|
|
28577
|
+
return 'MessageMechanicAction(message=' + this.x48_1 + ')';
|
|
28504
28578
|
};
|
|
28505
28579
|
MessageMechanicAction.prototype.hashCode = function () {
|
|
28506
|
-
return hashCode(this.
|
|
28580
|
+
return hashCode(this.x48_1);
|
|
28507
28581
|
};
|
|
28508
28582
|
MessageMechanicAction.prototype.equals = function (other) {
|
|
28509
28583
|
if (this === other)
|
|
@@ -28511,26 +28585,26 @@
|
|
|
28511
28585
|
if (!(other instanceof MessageMechanicAction))
|
|
28512
28586
|
return false;
|
|
28513
28587
|
var tmp0_other_with_cast = other instanceof MessageMechanicAction ? other : THROW_CCE();
|
|
28514
|
-
if (!equals(this.
|
|
28588
|
+
if (!equals(this.x48_1, tmp0_other_with_cast.x48_1))
|
|
28515
28589
|
return false;
|
|
28516
28590
|
return true;
|
|
28517
28591
|
};
|
|
28518
28592
|
MessageMechanicAction.$metadata$ = classMeta('MessageMechanicAction', undefined, undefined, undefined, undefined, MechanicAction.prototype);
|
|
28519
28593
|
function TeamsDataMechanicAction(team1, team2) {
|
|
28520
28594
|
MechanicAction.call(this);
|
|
28521
|
-
this.
|
|
28522
|
-
this.
|
|
28595
|
+
this.y48_1 = team1;
|
|
28596
|
+
this.z48_1 = team2;
|
|
28523
28597
|
}
|
|
28524
|
-
TeamsDataMechanicAction.prototype.
|
|
28598
|
+
TeamsDataMechanicAction.prototype.a49 = function (sceneId) {
|
|
28525
28599
|
Companion_getInstance_8();
|
|
28526
28600
|
return 'CHOOSE_PARTNER' === sceneId;
|
|
28527
28601
|
};
|
|
28528
28602
|
TeamsDataMechanicAction.prototype.toString = function () {
|
|
28529
|
-
return 'TeamsDataMechanicAction(team1=' + this.
|
|
28603
|
+
return 'TeamsDataMechanicAction(team1=' + this.y48_1 + ', team2=' + this.z48_1 + ')';
|
|
28530
28604
|
};
|
|
28531
28605
|
TeamsDataMechanicAction.prototype.hashCode = function () {
|
|
28532
|
-
var result = this.
|
|
28533
|
-
result = imul(result, 31) + this.
|
|
28606
|
+
var result = this.y48_1.hashCode();
|
|
28607
|
+
result = imul(result, 31) + this.z48_1.hashCode() | 0;
|
|
28534
28608
|
return result;
|
|
28535
28609
|
};
|
|
28536
28610
|
TeamsDataMechanicAction.prototype.equals = function (other) {
|
|
@@ -28539,30 +28613,30 @@
|
|
|
28539
28613
|
if (!(other instanceof TeamsDataMechanicAction))
|
|
28540
28614
|
return false;
|
|
28541
28615
|
var tmp0_other_with_cast = other instanceof TeamsDataMechanicAction ? other : THROW_CCE();
|
|
28542
|
-
if (!this.
|
|
28616
|
+
if (!this.y48_1.equals(tmp0_other_with_cast.y48_1))
|
|
28543
28617
|
return false;
|
|
28544
|
-
if (!this.
|
|
28618
|
+
if (!this.z48_1.equals(tmp0_other_with_cast.z48_1))
|
|
28545
28619
|
return false;
|
|
28546
28620
|
return true;
|
|
28547
28621
|
};
|
|
28548
28622
|
TeamsDataMechanicAction.$metadata$ = classMeta('TeamsDataMechanicAction', [InSceneAction, PlayerTurnAnswerAction, ExpectantAction], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28549
28623
|
function PlayerReadyMechanicAction(currentTurnPlayerId) {
|
|
28550
28624
|
MechanicAction.call(this);
|
|
28551
|
-
this.
|
|
28625
|
+
this.b49_1 = currentTurnPlayerId;
|
|
28552
28626
|
}
|
|
28553
|
-
PlayerReadyMechanicAction.prototype.
|
|
28554
|
-
return this.
|
|
28627
|
+
PlayerReadyMechanicAction.prototype.c49 = function () {
|
|
28628
|
+
return this.b49_1;
|
|
28555
28629
|
};
|
|
28556
|
-
PlayerReadyMechanicAction.prototype.
|
|
28630
|
+
PlayerReadyMechanicAction.prototype.a49 = function (sceneId) {
|
|
28557
28631
|
Companion_getInstance_8();
|
|
28558
28632
|
Companion_getInstance_8();
|
|
28559
28633
|
return listOf_0(['PREVIEW', 'CALC_POINTS']).r1(sceneId);
|
|
28560
28634
|
};
|
|
28561
28635
|
PlayerReadyMechanicAction.prototype.toString = function () {
|
|
28562
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
28636
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.b49_1 + ')';
|
|
28563
28637
|
};
|
|
28564
28638
|
PlayerReadyMechanicAction.prototype.hashCode = function () {
|
|
28565
|
-
return getStringHashCode(this.
|
|
28639
|
+
return getStringHashCode(this.b49_1);
|
|
28566
28640
|
};
|
|
28567
28641
|
PlayerReadyMechanicAction.prototype.equals = function (other) {
|
|
28568
28642
|
if (this === other)
|
|
@@ -28570,7 +28644,7 @@
|
|
|
28570
28644
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
28571
28645
|
return false;
|
|
28572
28646
|
var tmp0_other_with_cast = other instanceof PlayerReadyMechanicAction ? other : THROW_CCE();
|
|
28573
|
-
if (!(this.
|
|
28647
|
+
if (!(this.b49_1 === tmp0_other_with_cast.b49_1))
|
|
28574
28648
|
return false;
|
|
28575
28649
|
return true;
|
|
28576
28650
|
};
|
|
@@ -28582,19 +28656,19 @@
|
|
|
28582
28656
|
this.p45_1 = suit;
|
|
28583
28657
|
this.q45_1 = restartParty;
|
|
28584
28658
|
}
|
|
28585
|
-
SuitChoiceMechanicAction.prototype.
|
|
28659
|
+
SuitChoiceMechanicAction.prototype.c49 = function () {
|
|
28586
28660
|
return this.n45_1;
|
|
28587
28661
|
};
|
|
28588
|
-
SuitChoiceMechanicAction.prototype.
|
|
28662
|
+
SuitChoiceMechanicAction.prototype.n48 = function () {
|
|
28589
28663
|
return this.o45_1;
|
|
28590
28664
|
};
|
|
28591
28665
|
SuitChoiceMechanicAction.prototype.w2p = function () {
|
|
28592
28666
|
return this.p45_1;
|
|
28593
28667
|
};
|
|
28594
|
-
SuitChoiceMechanicAction.prototype.
|
|
28668
|
+
SuitChoiceMechanicAction.prototype.d49 = function () {
|
|
28595
28669
|
return this.q45_1;
|
|
28596
28670
|
};
|
|
28597
|
-
SuitChoiceMechanicAction.prototype.
|
|
28671
|
+
SuitChoiceMechanicAction.prototype.a49 = function (sceneId) {
|
|
28598
28672
|
Companion_getInstance_8();
|
|
28599
28673
|
return 'TRADE' === sceneId;
|
|
28600
28674
|
};
|
|
@@ -28627,34 +28701,34 @@
|
|
|
28627
28701
|
SuitChoiceMechanicAction.$metadata$ = classMeta('SuitChoiceMechanicAction', [InSceneAction, PlayerTurnIdAnswerAction, NextPlayerTurnAction], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28628
28702
|
function CombinationChoiceMechanicAction(currentTurnPlayerId, isAnnounced, combinations) {
|
|
28629
28703
|
MechanicAction.call(this);
|
|
28630
|
-
this.
|
|
28631
|
-
this.
|
|
28632
|
-
this.
|
|
28704
|
+
this.e49_1 = currentTurnPlayerId;
|
|
28705
|
+
this.f49_1 = isAnnounced;
|
|
28706
|
+
this.g49_1 = combinations;
|
|
28633
28707
|
}
|
|
28634
|
-
CombinationChoiceMechanicAction.prototype.
|
|
28635
|
-
return this.
|
|
28708
|
+
CombinationChoiceMechanicAction.prototype.c49 = function () {
|
|
28709
|
+
return this.e49_1;
|
|
28636
28710
|
};
|
|
28637
|
-
CombinationChoiceMechanicAction.prototype.
|
|
28638
|
-
return this.
|
|
28711
|
+
CombinationChoiceMechanicAction.prototype.h49 = function () {
|
|
28712
|
+
return this.f49_1;
|
|
28639
28713
|
};
|
|
28640
28714
|
CombinationChoiceMechanicAction.prototype.n33 = function () {
|
|
28641
|
-
return this.
|
|
28715
|
+
return this.g49_1;
|
|
28642
28716
|
};
|
|
28643
28717
|
CombinationChoiceMechanicAction.prototype.r2r = function () {
|
|
28644
|
-
return !this.
|
|
28718
|
+
return !this.f49_1;
|
|
28645
28719
|
};
|
|
28646
|
-
CombinationChoiceMechanicAction.prototype.
|
|
28720
|
+
CombinationChoiceMechanicAction.prototype.a49 = function (sceneId) {
|
|
28647
28721
|
Companion_getInstance_8();
|
|
28648
28722
|
Companion_getInstance_8();
|
|
28649
28723
|
return listOf_0(['TRADE', 'EARN_POINTS']).r1(sceneId);
|
|
28650
28724
|
};
|
|
28651
28725
|
CombinationChoiceMechanicAction.prototype.toString = function () {
|
|
28652
|
-
return 'CombinationChoiceMechanicAction(currentTurnPlayerId=' + this.
|
|
28726
|
+
return 'CombinationChoiceMechanicAction(currentTurnPlayerId=' + this.e49_1 + ', isAnnounced=' + this.f49_1 + ', combinations=' + this.g49_1 + ')';
|
|
28653
28727
|
};
|
|
28654
28728
|
CombinationChoiceMechanicAction.prototype.hashCode = function () {
|
|
28655
|
-
var result = getStringHashCode(this.
|
|
28656
|
-
result = imul(result, 31) + (this.
|
|
28657
|
-
result = imul(result, 31) + hashCode(this.
|
|
28729
|
+
var result = getStringHashCode(this.e49_1);
|
|
28730
|
+
result = imul(result, 31) + (this.f49_1 | 0) | 0;
|
|
28731
|
+
result = imul(result, 31) + hashCode(this.g49_1) | 0;
|
|
28658
28732
|
return result;
|
|
28659
28733
|
};
|
|
28660
28734
|
CombinationChoiceMechanicAction.prototype.equals = function (other) {
|
|
@@ -28663,11 +28737,11 @@
|
|
|
28663
28737
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
28664
28738
|
return false;
|
|
28665
28739
|
var tmp0_other_with_cast = other instanceof CombinationChoiceMechanicAction ? other : THROW_CCE();
|
|
28666
|
-
if (!(this.
|
|
28740
|
+
if (!(this.e49_1 === tmp0_other_with_cast.e49_1))
|
|
28667
28741
|
return false;
|
|
28668
|
-
if (!(this.
|
|
28742
|
+
if (!(this.f49_1 === tmp0_other_with_cast.f49_1))
|
|
28669
28743
|
return false;
|
|
28670
|
-
if (!equals(this.
|
|
28744
|
+
if (!equals(this.g49_1, tmp0_other_with_cast.g49_1))
|
|
28671
28745
|
return false;
|
|
28672
28746
|
return true;
|
|
28673
28747
|
};
|
|
@@ -28679,16 +28753,16 @@
|
|
|
28679
28753
|
this.t45_1 = card;
|
|
28680
28754
|
this.u45_1 = combinations;
|
|
28681
28755
|
}
|
|
28682
|
-
PutCardMechanicAction.prototype.
|
|
28756
|
+
PutCardMechanicAction.prototype.c49 = function () {
|
|
28683
28757
|
return this.r45_1;
|
|
28684
28758
|
};
|
|
28685
|
-
PutCardMechanicAction.prototype.
|
|
28759
|
+
PutCardMechanicAction.prototype.n48 = function () {
|
|
28686
28760
|
return this.s45_1;
|
|
28687
28761
|
};
|
|
28688
28762
|
PutCardMechanicAction.prototype.n33 = function () {
|
|
28689
28763
|
return this.u45_1;
|
|
28690
28764
|
};
|
|
28691
|
-
PutCardMechanicAction.prototype.
|
|
28765
|
+
PutCardMechanicAction.prototype.a49 = function (sceneId) {
|
|
28692
28766
|
Companion_getInstance_8();
|
|
28693
28767
|
return 'EARN_POINTS' === sceneId;
|
|
28694
28768
|
};
|
|
@@ -28721,13 +28795,13 @@
|
|
|
28721
28795
|
PutCardMechanicAction.$metadata$ = classMeta('PutCardMechanicAction', [InSceneAction, PlayerTurnIdAnswerAction, CardsMechanicAction], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28722
28796
|
function WinnerCombinationsMechanicAction(winnerCombinations) {
|
|
28723
28797
|
MechanicAction.call(this);
|
|
28724
|
-
this.
|
|
28798
|
+
this.i49_1 = winnerCombinations;
|
|
28725
28799
|
}
|
|
28726
28800
|
WinnerCombinationsMechanicAction.prototype.toString = function () {
|
|
28727
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + this.
|
|
28801
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + this.i49_1 + ')';
|
|
28728
28802
|
};
|
|
28729
28803
|
WinnerCombinationsMechanicAction.prototype.hashCode = function () {
|
|
28730
|
-
return hashCode(this.
|
|
28804
|
+
return hashCode(this.i49_1);
|
|
28731
28805
|
};
|
|
28732
28806
|
WinnerCombinationsMechanicAction.prototype.equals = function (other) {
|
|
28733
28807
|
if (this === other)
|
|
@@ -28735,7 +28809,7 @@
|
|
|
28735
28809
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
28736
28810
|
return false;
|
|
28737
28811
|
var tmp0_other_with_cast = other instanceof WinnerCombinationsMechanicAction ? other : THROW_CCE();
|
|
28738
|
-
if (!equals(this.
|
|
28812
|
+
if (!equals(this.i49_1, tmp0_other_with_cast.i49_1))
|
|
28739
28813
|
return false;
|
|
28740
28814
|
return true;
|
|
28741
28815
|
};
|
|
@@ -28745,13 +28819,13 @@
|
|
|
28745
28819
|
this.v45_1 = whoGotBribePlayerId;
|
|
28746
28820
|
this.w45_1 = numberOfBribe;
|
|
28747
28821
|
}
|
|
28748
|
-
PickUpBribeMechanicAction.prototype.
|
|
28822
|
+
PickUpBribeMechanicAction.prototype.j49 = function () {
|
|
28749
28823
|
return this.v45_1;
|
|
28750
28824
|
};
|
|
28751
|
-
PickUpBribeMechanicAction.prototype.
|
|
28825
|
+
PickUpBribeMechanicAction.prototype.n48 = function () {
|
|
28752
28826
|
return listOf(this.v45_1);
|
|
28753
28827
|
};
|
|
28754
|
-
PickUpBribeMechanicAction.prototype.
|
|
28828
|
+
PickUpBribeMechanicAction.prototype.a49 = function (sceneId) {
|
|
28755
28829
|
Companion_getInstance_8();
|
|
28756
28830
|
return 'EARN_POINTS' === sceneId;
|
|
28757
28831
|
};
|
|
@@ -28788,10 +28862,10 @@
|
|
|
28788
28862
|
SceneActMechanicAction.prototype.q3a = function () {
|
|
28789
28863
|
return this.z44_1;
|
|
28790
28864
|
};
|
|
28791
|
-
SceneActMechanicAction.prototype.
|
|
28865
|
+
SceneActMechanicAction.prototype.l48 = function () {
|
|
28792
28866
|
return this.a45_1;
|
|
28793
28867
|
};
|
|
28794
|
-
SceneActMechanicAction.prototype.
|
|
28868
|
+
SceneActMechanicAction.prototype.n48 = function () {
|
|
28795
28869
|
var tmp = this.a45_1;
|
|
28796
28870
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
28797
28871
|
return this.a45_1.t3a();
|
|
@@ -28837,7 +28911,7 @@
|
|
|
28837
28911
|
Object.defineProperty(SceneActMechanicAction.prototype, 'actPayload', {
|
|
28838
28912
|
configurable: true,
|
|
28839
28913
|
get: function () {
|
|
28840
|
-
return this.
|
|
28914
|
+
return this.l48();
|
|
28841
28915
|
}
|
|
28842
28916
|
});
|
|
28843
28917
|
function NextPlayerTurnAction() {
|
|
@@ -28845,17 +28919,17 @@
|
|
|
28845
28919
|
NextPlayerTurnAction.$metadata$ = interfaceMeta('NextPlayerTurnAction', [Action]);
|
|
28846
28920
|
function ContinueGameMechanicAction(table, reason, payload) {
|
|
28847
28921
|
MechanicAction.call(this);
|
|
28848
|
-
this.
|
|
28849
|
-
this.
|
|
28850
|
-
this.
|
|
28922
|
+
this.k49_1 = table;
|
|
28923
|
+
this.l49_1 = reason;
|
|
28924
|
+
this.m49_1 = payload;
|
|
28851
28925
|
}
|
|
28852
28926
|
ContinueGameMechanicAction.prototype.t3v = function () {
|
|
28853
|
-
return this.
|
|
28927
|
+
return this.k49_1;
|
|
28854
28928
|
};
|
|
28855
28929
|
ContinueGameMechanicAction.prototype.v3u = function () {
|
|
28856
28930
|
var tmp$ret$2;
|
|
28857
28931
|
// Inline function 'kotlin.collections.map' call
|
|
28858
|
-
var tmp0_map = this.
|
|
28932
|
+
var tmp0_map = this.k49_1.g3u_1;
|
|
28859
28933
|
var tmp$ret$1;
|
|
28860
28934
|
// Inline function 'kotlin.collections.mapTo' call
|
|
28861
28935
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -28872,12 +28946,12 @@
|
|
|
28872
28946
|
return tmp$ret$2;
|
|
28873
28947
|
};
|
|
28874
28948
|
ContinueGameMechanicAction.prototype.toString = function () {
|
|
28875
|
-
return 'ContinueGameMechanicAction(reason = ' + this.
|
|
28949
|
+
return 'ContinueGameMechanicAction(reason = ' + this.l49_1 + ')';
|
|
28876
28950
|
};
|
|
28877
28951
|
ContinueGameMechanicAction.prototype.hashCode = function () {
|
|
28878
|
-
var result = this.
|
|
28879
|
-
result = imul(result, 31) + hashCode(this.
|
|
28880
|
-
result = imul(result, 31) + (this.
|
|
28952
|
+
var result = this.k49_1.hashCode();
|
|
28953
|
+
result = imul(result, 31) + hashCode(this.l49_1) | 0;
|
|
28954
|
+
result = imul(result, 31) + (this.m49_1 == null ? 0 : hashCode(this.m49_1)) | 0;
|
|
28881
28955
|
return result;
|
|
28882
28956
|
};
|
|
28883
28957
|
ContinueGameMechanicAction.prototype.equals = function (other) {
|
|
@@ -28886,24 +28960,24 @@
|
|
|
28886
28960
|
if (!(other instanceof ContinueGameMechanicAction))
|
|
28887
28961
|
return false;
|
|
28888
28962
|
var tmp0_other_with_cast = other instanceof ContinueGameMechanicAction ? other : THROW_CCE();
|
|
28889
|
-
if (!this.
|
|
28963
|
+
if (!this.k49_1.equals(tmp0_other_with_cast.k49_1))
|
|
28890
28964
|
return false;
|
|
28891
|
-
if (!equals(this.
|
|
28965
|
+
if (!equals(this.l49_1, tmp0_other_with_cast.l49_1))
|
|
28892
28966
|
return false;
|
|
28893
|
-
if (!equals(this.
|
|
28967
|
+
if (!equals(this.m49_1, tmp0_other_with_cast.m49_1))
|
|
28894
28968
|
return false;
|
|
28895
28969
|
return true;
|
|
28896
28970
|
};
|
|
28897
28971
|
ContinueGameMechanicAction.$metadata$ = classMeta('ContinueGameMechanicAction', [FirstMechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28898
28972
|
function RestartGameMechanicAction(reason) {
|
|
28899
28973
|
MechanicAction.call(this);
|
|
28900
|
-
this.
|
|
28974
|
+
this.n49_1 = reason;
|
|
28901
28975
|
}
|
|
28902
28976
|
RestartGameMechanicAction.prototype.toString = function () {
|
|
28903
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
28977
|
+
return 'RestartGameMechanicAction(reason=' + this.n49_1 + ')';
|
|
28904
28978
|
};
|
|
28905
28979
|
RestartGameMechanicAction.prototype.hashCode = function () {
|
|
28906
|
-
return hashCode(this.
|
|
28980
|
+
return hashCode(this.n49_1);
|
|
28907
28981
|
};
|
|
28908
28982
|
RestartGameMechanicAction.prototype.equals = function (other) {
|
|
28909
28983
|
if (this === other)
|
|
@@ -28911,37 +28985,37 @@
|
|
|
28911
28985
|
if (!(other instanceof RestartGameMechanicAction))
|
|
28912
28986
|
return false;
|
|
28913
28987
|
var tmp0_other_with_cast = other instanceof RestartGameMechanicAction ? other : THROW_CCE();
|
|
28914
|
-
if (!equals(this.
|
|
28988
|
+
if (!equals(this.n49_1, tmp0_other_with_cast.n49_1))
|
|
28915
28989
|
return false;
|
|
28916
28990
|
return true;
|
|
28917
28991
|
};
|
|
28918
28992
|
RestartGameMechanicAction.$metadata$ = classMeta('RestartGameMechanicAction', [ExpectantAction], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28919
28993
|
function StartGameMechanicAction(config, id, version, gameCreatorPlayerId, users) {
|
|
28920
28994
|
MechanicAction.call(this);
|
|
28921
|
-
this.
|
|
28922
|
-
this.
|
|
28923
|
-
this.
|
|
28924
|
-
this.
|
|
28925
|
-
this.
|
|
28995
|
+
this.o49_1 = config;
|
|
28996
|
+
this.p49_1 = id;
|
|
28997
|
+
this.q49_1 = version;
|
|
28998
|
+
this.r49_1 = gameCreatorPlayerId;
|
|
28999
|
+
this.s49_1 = users;
|
|
28926
29000
|
}
|
|
28927
29001
|
StartGameMechanicAction.prototype.o3u = function () {
|
|
28928
|
-
return this.
|
|
29002
|
+
return this.o49_1;
|
|
28929
29003
|
};
|
|
28930
29004
|
StartGameMechanicAction.prototype.m3u = function () {
|
|
28931
|
-
return this.
|
|
29005
|
+
return this.p49_1;
|
|
28932
29006
|
};
|
|
28933
29007
|
StartGameMechanicAction.prototype.v3u = function () {
|
|
28934
|
-
return this.
|
|
29008
|
+
return this.s49_1;
|
|
28935
29009
|
};
|
|
28936
29010
|
StartGameMechanicAction.prototype.toString = function () {
|
|
28937
|
-
return 'StartGameMechanicAction(config=' + this.
|
|
29011
|
+
return 'StartGameMechanicAction(config=' + this.o49_1 + ', id=' + this.p49_1 + ', version=' + this.q49_1 + ', gameCreatorPlayerId=' + this.r49_1 + ', users=' + this.s49_1 + ')';
|
|
28938
29012
|
};
|
|
28939
29013
|
StartGameMechanicAction.prototype.hashCode = function () {
|
|
28940
|
-
var result = this.
|
|
28941
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
28942
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
28943
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
28944
|
-
result = imul(result, 31) + hashCode(this.
|
|
29014
|
+
var result = this.o49_1.hashCode();
|
|
29015
|
+
result = imul(result, 31) + getStringHashCode(this.p49_1) | 0;
|
|
29016
|
+
result = imul(result, 31) + getStringHashCode(this.q49_1) | 0;
|
|
29017
|
+
result = imul(result, 31) + getStringHashCode(this.r49_1) | 0;
|
|
29018
|
+
result = imul(result, 31) + hashCode(this.s49_1) | 0;
|
|
28945
29019
|
return result;
|
|
28946
29020
|
};
|
|
28947
29021
|
StartGameMechanicAction.prototype.equals = function (other) {
|
|
@@ -28950,32 +29024,32 @@
|
|
|
28950
29024
|
if (!(other instanceof StartGameMechanicAction))
|
|
28951
29025
|
return false;
|
|
28952
29026
|
var tmp0_other_with_cast = other instanceof StartGameMechanicAction ? other : THROW_CCE();
|
|
28953
|
-
if (!this.
|
|
29027
|
+
if (!this.o49_1.equals(tmp0_other_with_cast.o49_1))
|
|
28954
29028
|
return false;
|
|
28955
|
-
if (!(this.
|
|
29029
|
+
if (!(this.p49_1 === tmp0_other_with_cast.p49_1))
|
|
28956
29030
|
return false;
|
|
28957
|
-
if (!(this.
|
|
29031
|
+
if (!(this.q49_1 === tmp0_other_with_cast.q49_1))
|
|
28958
29032
|
return false;
|
|
28959
|
-
if (!(this.
|
|
29033
|
+
if (!(this.r49_1 === tmp0_other_with_cast.r49_1))
|
|
28960
29034
|
return false;
|
|
28961
|
-
if (!equals(this.
|
|
29035
|
+
if (!equals(this.s49_1, tmp0_other_with_cast.s49_1))
|
|
28962
29036
|
return false;
|
|
28963
29037
|
return true;
|
|
28964
29038
|
};
|
|
28965
29039
|
StartGameMechanicAction.$metadata$ = classMeta('StartGameMechanicAction', [FirstMechanicAction], undefined, undefined, undefined, MechanicAction.prototype);
|
|
28966
29040
|
function TrumpMechanicAction(suit) {
|
|
28967
29041
|
MechanicAction.call(this);
|
|
28968
|
-
this.
|
|
29042
|
+
this.t49_1 = suit;
|
|
28969
29043
|
}
|
|
28970
|
-
TrumpMechanicAction.prototype.
|
|
29044
|
+
TrumpMechanicAction.prototype.a49 = function (sceneId) {
|
|
28971
29045
|
Companion_getInstance_8();
|
|
28972
29046
|
return 'TRADE' === sceneId;
|
|
28973
29047
|
};
|
|
28974
29048
|
TrumpMechanicAction.prototype.toString = function () {
|
|
28975
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
29049
|
+
return 'TrumpMechanicAction(suit=' + this.t49_1 + ')';
|
|
28976
29050
|
};
|
|
28977
29051
|
TrumpMechanicAction.prototype.hashCode = function () {
|
|
28978
|
-
return this.
|
|
29052
|
+
return this.t49_1.hashCode();
|
|
28979
29053
|
};
|
|
28980
29054
|
TrumpMechanicAction.prototype.equals = function (other) {
|
|
28981
29055
|
if (this === other)
|
|
@@ -28983,7 +29057,7 @@
|
|
|
28983
29057
|
if (!(other instanceof TrumpMechanicAction))
|
|
28984
29058
|
return false;
|
|
28985
29059
|
var tmp0_other_with_cast = other instanceof TrumpMechanicAction ? other : THROW_CCE();
|
|
28986
|
-
if (!this.
|
|
29060
|
+
if (!this.t49_1.equals(tmp0_other_with_cast.t49_1))
|
|
28987
29061
|
return false;
|
|
28988
29062
|
return true;
|
|
28989
29063
|
};
|
|
@@ -29005,16 +29079,16 @@
|
|
|
29005
29079
|
FirstMechanicAction.$metadata$ = interfaceMeta('FirstMechanicAction', [BufferedAction]);
|
|
29006
29080
|
function SceneEndedMechanicAction(sceneId) {
|
|
29007
29081
|
SceneLifecycleAction.call(this);
|
|
29008
|
-
this.
|
|
29082
|
+
this.u49_1 = sceneId;
|
|
29009
29083
|
}
|
|
29010
29084
|
SceneEndedMechanicAction.prototype.l3b = function () {
|
|
29011
|
-
return this.
|
|
29085
|
+
return this.u49_1;
|
|
29012
29086
|
};
|
|
29013
29087
|
SceneEndedMechanicAction.prototype.toString = function () {
|
|
29014
|
-
return 'SceneEndedMechanicAction(sceneId=' + this.
|
|
29088
|
+
return 'SceneEndedMechanicAction(sceneId=' + this.u49_1 + ')';
|
|
29015
29089
|
};
|
|
29016
29090
|
SceneEndedMechanicAction.prototype.hashCode = function () {
|
|
29017
|
-
return getStringHashCode(this.
|
|
29091
|
+
return getStringHashCode(this.u49_1);
|
|
29018
29092
|
};
|
|
29019
29093
|
SceneEndedMechanicAction.prototype.equals = function (other) {
|
|
29020
29094
|
if (this === other)
|
|
@@ -29022,7 +29096,7 @@
|
|
|
29022
29096
|
if (!(other instanceof SceneEndedMechanicAction))
|
|
29023
29097
|
return false;
|
|
29024
29098
|
var tmp0_other_with_cast = other instanceof SceneEndedMechanicAction ? other : THROW_CCE();
|
|
29025
|
-
if (!(this.
|
|
29099
|
+
if (!(this.u49_1 === tmp0_other_with_cast.u49_1))
|
|
29026
29100
|
return false;
|
|
29027
29101
|
return true;
|
|
29028
29102
|
};
|
|
@@ -29035,16 +29109,16 @@
|
|
|
29035
29109
|
});
|
|
29036
29110
|
function SceneStartedMechanicAction(sceneId) {
|
|
29037
29111
|
SceneLifecycleAction.call(this);
|
|
29038
|
-
this.
|
|
29112
|
+
this.v49_1 = sceneId;
|
|
29039
29113
|
}
|
|
29040
29114
|
SceneStartedMechanicAction.prototype.l3b = function () {
|
|
29041
|
-
return this.
|
|
29115
|
+
return this.v49_1;
|
|
29042
29116
|
};
|
|
29043
29117
|
SceneStartedMechanicAction.prototype.toString = function () {
|
|
29044
|
-
return 'SceneStartedMechanicAction(sceneId=' + this.
|
|
29118
|
+
return 'SceneStartedMechanicAction(sceneId=' + this.v49_1 + ')';
|
|
29045
29119
|
};
|
|
29046
29120
|
SceneStartedMechanicAction.prototype.hashCode = function () {
|
|
29047
|
-
return getStringHashCode(this.
|
|
29121
|
+
return getStringHashCode(this.v49_1);
|
|
29048
29122
|
};
|
|
29049
29123
|
SceneStartedMechanicAction.prototype.equals = function (other) {
|
|
29050
29124
|
if (this === other)
|
|
@@ -29052,7 +29126,7 @@
|
|
|
29052
29126
|
if (!(other instanceof SceneStartedMechanicAction))
|
|
29053
29127
|
return false;
|
|
29054
29128
|
var tmp0_other_with_cast = other instanceof SceneStartedMechanicAction ? other : THROW_CCE();
|
|
29055
|
-
if (!(this.
|
|
29129
|
+
if (!(this.v49_1 === tmp0_other_with_cast.v49_1))
|
|
29056
29130
|
return false;
|
|
29057
29131
|
return true;
|
|
29058
29132
|
};
|
|
@@ -29074,13 +29148,13 @@
|
|
|
29074
29148
|
});
|
|
29075
29149
|
function SceneActEndedMechanicAction(actId) {
|
|
29076
29150
|
SceneLifecycleAction.call(this);
|
|
29077
|
-
this.
|
|
29151
|
+
this.w49_1 = actId;
|
|
29078
29152
|
}
|
|
29079
29153
|
SceneActEndedMechanicAction.prototype.toString = function () {
|
|
29080
|
-
return 'SceneActEndedMechanicAction(actId=' + this.
|
|
29154
|
+
return 'SceneActEndedMechanicAction(actId=' + this.w49_1 + ')';
|
|
29081
29155
|
};
|
|
29082
29156
|
SceneActEndedMechanicAction.prototype.hashCode = function () {
|
|
29083
|
-
return getStringHashCode(this.
|
|
29157
|
+
return getStringHashCode(this.w49_1);
|
|
29084
29158
|
};
|
|
29085
29159
|
SceneActEndedMechanicAction.prototype.equals = function (other) {
|
|
29086
29160
|
if (this === other)
|
|
@@ -29088,7 +29162,7 @@
|
|
|
29088
29162
|
if (!(other instanceof SceneActEndedMechanicAction))
|
|
29089
29163
|
return false;
|
|
29090
29164
|
var tmp0_other_with_cast = other instanceof SceneActEndedMechanicAction ? other : THROW_CCE();
|
|
29091
|
-
if (!(this.
|
|
29165
|
+
if (!(this.w49_1 === tmp0_other_with_cast.w49_1))
|
|
29092
29166
|
return false;
|
|
29093
29167
|
return true;
|
|
29094
29168
|
};
|
|
@@ -29101,26 +29175,26 @@
|
|
|
29101
29175
|
});
|
|
29102
29176
|
function SceneActStartedMechanicAction(sceneId, actId, actPayload) {
|
|
29103
29177
|
SceneLifecycleAction.call(this);
|
|
29104
|
-
this.
|
|
29105
|
-
this.
|
|
29106
|
-
this.
|
|
29178
|
+
this.x49_1 = sceneId;
|
|
29179
|
+
this.y49_1 = actId;
|
|
29180
|
+
this.z49_1 = actPayload;
|
|
29107
29181
|
}
|
|
29108
29182
|
SceneActStartedMechanicAction.prototype.l3b = function () {
|
|
29109
|
-
return this.
|
|
29183
|
+
return this.x49_1;
|
|
29110
29184
|
};
|
|
29111
29185
|
SceneActStartedMechanicAction.prototype.q3a = function () {
|
|
29112
|
-
return this.
|
|
29186
|
+
return this.y49_1;
|
|
29113
29187
|
};
|
|
29114
|
-
SceneActStartedMechanicAction.prototype.
|
|
29115
|
-
return this.
|
|
29188
|
+
SceneActStartedMechanicAction.prototype.l48 = function () {
|
|
29189
|
+
return this.z49_1;
|
|
29116
29190
|
};
|
|
29117
29191
|
SceneActStartedMechanicAction.prototype.toString = function () {
|
|
29118
|
-
return 'SceneActStartedMechanicAction(sceneId=' + this.
|
|
29192
|
+
return 'SceneActStartedMechanicAction(sceneId=' + this.x49_1 + ', actId=' + this.y49_1 + ', actPayload=' + this.z49_1 + ')';
|
|
29119
29193
|
};
|
|
29120
29194
|
SceneActStartedMechanicAction.prototype.hashCode = function () {
|
|
29121
|
-
var result = getStringHashCode(this.
|
|
29122
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
29123
|
-
result = imul(result, 31) + (this.
|
|
29195
|
+
var result = getStringHashCode(this.x49_1);
|
|
29196
|
+
result = imul(result, 31) + getStringHashCode(this.y49_1) | 0;
|
|
29197
|
+
result = imul(result, 31) + (this.z49_1 == null ? 0 : hashCode(this.z49_1)) | 0;
|
|
29124
29198
|
return result;
|
|
29125
29199
|
};
|
|
29126
29200
|
SceneActStartedMechanicAction.prototype.equals = function (other) {
|
|
@@ -29129,11 +29203,11 @@
|
|
|
29129
29203
|
if (!(other instanceof SceneActStartedMechanicAction))
|
|
29130
29204
|
return false;
|
|
29131
29205
|
var tmp0_other_with_cast = other instanceof SceneActStartedMechanicAction ? other : THROW_CCE();
|
|
29132
|
-
if (!(this.
|
|
29206
|
+
if (!(this.x49_1 === tmp0_other_with_cast.x49_1))
|
|
29133
29207
|
return false;
|
|
29134
|
-
if (!(this.
|
|
29208
|
+
if (!(this.y49_1 === tmp0_other_with_cast.y49_1))
|
|
29135
29209
|
return false;
|
|
29136
|
-
if (!equals(this.
|
|
29210
|
+
if (!equals(this.z49_1, tmp0_other_with_cast.z49_1))
|
|
29137
29211
|
return false;
|
|
29138
29212
|
return true;
|
|
29139
29213
|
};
|
|
@@ -29159,44 +29233,44 @@
|
|
|
29159
29233
|
var tmp$ret$0;
|
|
29160
29234
|
// Inline function 'kotlin.getValue' call
|
|
29161
29235
|
var tmp0_getValue = playerTurnInteractor$factory_0();
|
|
29162
|
-
tmp$ret$0 = $this.
|
|
29236
|
+
tmp$ret$0 = $this.c4a_1.c2();
|
|
29163
29237
|
return tmp$ret$0;
|
|
29164
29238
|
}
|
|
29165
29239
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
29166
29240
|
var tmp$ret$0;
|
|
29167
29241
|
// Inline function 'kotlin.getValue' call
|
|
29168
29242
|
var tmp0_getValue = lastCardInteractor$factory_0();
|
|
29169
|
-
tmp$ret$0 = $this.
|
|
29243
|
+
tmp$ret$0 = $this.d4a_1.c2();
|
|
29170
29244
|
return tmp$ret$0;
|
|
29171
29245
|
}
|
|
29172
29246
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
29173
29247
|
var tmp$ret$0;
|
|
29174
29248
|
// Inline function 'kotlin.getValue' call
|
|
29175
29249
|
var tmp0_getValue = playerAnswerInteractor$factory_0();
|
|
29176
|
-
tmp$ret$0 = $this.
|
|
29250
|
+
tmp$ret$0 = $this.e4a_1.c2();
|
|
29177
29251
|
return tmp$ret$0;
|
|
29178
29252
|
}
|
|
29179
29253
|
function _get_asyncProvider__jbpyhw($this) {
|
|
29180
29254
|
var tmp$ret$0;
|
|
29181
29255
|
// Inline function 'kotlin.getValue' call
|
|
29182
29256
|
var tmp0_getValue = asyncProvider$factory_2();
|
|
29183
|
-
tmp$ret$0 = $this.
|
|
29257
|
+
tmp$ret$0 = $this.f4a_1.c2();
|
|
29184
29258
|
return tmp$ret$0;
|
|
29185
29259
|
}
|
|
29186
29260
|
function _get_botConfig__cpaxzc($this) {
|
|
29187
29261
|
var tmp$ret$0;
|
|
29188
29262
|
// Inline function 'kotlin.getValue' call
|
|
29189
29263
|
var tmp0_getValue = botConfig$factory_0();
|
|
29190
|
-
tmp$ret$0 = $this.
|
|
29264
|
+
tmp$ret$0 = $this.g4a_1.c2();
|
|
29191
29265
|
return tmp$ret$0;
|
|
29192
29266
|
}
|
|
29193
29267
|
function BotGameStoreContract$_get_middlewares_$lambda_3w52fv(this$0) {
|
|
29194
29268
|
return function (playerId) {
|
|
29195
29269
|
var tmp;
|
|
29196
|
-
var tmp0_safe_receiver = this$0.
|
|
29270
|
+
var tmp0_safe_receiver = this$0.a4a_1;
|
|
29197
29271
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1(playerId);
|
|
29198
29272
|
if (tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs) {
|
|
29199
|
-
var tmp2_safe_receiver = this$0.
|
|
29273
|
+
var tmp2_safe_receiver = this$0.b4a_1;
|
|
29200
29274
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r1(playerId);
|
|
29201
29275
|
tmp = !(tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs);
|
|
29202
29276
|
} else {
|
|
@@ -29206,8 +29280,8 @@
|
|
|
29206
29280
|
};
|
|
29207
29281
|
}
|
|
29208
29282
|
function BotGameStoreContract(di, enableBotForPlayersIds, disableBotForPlayersIds) {
|
|
29209
|
-
this.
|
|
29210
|
-
this.
|
|
29283
|
+
this.a4a_1 = enableBotForPlayersIds;
|
|
29284
|
+
this.b4a_1 = disableBotForPlayersIds;
|
|
29211
29285
|
var tmp = this;
|
|
29212
29286
|
var tmp$ret$1;
|
|
29213
29287
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29216,7 +29290,7 @@
|
|
|
29216
29290
|
var tmp_0 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
29217
29291
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29218
29292
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29219
|
-
tmp.
|
|
29293
|
+
tmp.c4a_1 = tmp$ret$1.k2k(this, playerTurnInteractor$factory());
|
|
29220
29294
|
var tmp_1 = this;
|
|
29221
29295
|
var tmp$ret$3;
|
|
29222
29296
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29225,7 +29299,7 @@
|
|
|
29225
29299
|
var tmp_2 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
29226
29300
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29227
29301
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29228
|
-
tmp_1.
|
|
29302
|
+
tmp_1.d4a_1 = tmp$ret$3.k2k(this, lastCardInteractor$factory());
|
|
29229
29303
|
var tmp_3 = this;
|
|
29230
29304
|
var tmp$ret$5;
|
|
29231
29305
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29234,7 +29308,7 @@
|
|
|
29234
29308
|
var tmp_4 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
29235
29309
|
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29236
29310
|
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29237
|
-
tmp_3.
|
|
29311
|
+
tmp_3.e4a_1 = tmp$ret$5.k2k(this, playerAnswerInteractor$factory());
|
|
29238
29312
|
var tmp_5 = this;
|
|
29239
29313
|
var tmp$ret$7;
|
|
29240
29314
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29243,7 +29317,7 @@
|
|
|
29243
29317
|
var tmp_6 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29244
29318
|
tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29245
29319
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
29246
|
-
tmp_5.
|
|
29320
|
+
tmp_5.f4a_1 = tmp$ret$7.k2k(this, asyncProvider$factory_1());
|
|
29247
29321
|
var tmp_7 = this;
|
|
29248
29322
|
var tmp$ret$9;
|
|
29249
29323
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29252,12 +29326,12 @@
|
|
|
29252
29326
|
var tmp_8 = typeToken(createKType(getKClass(BotReduxConfig), arrayOf([]), false));
|
|
29253
29327
|
tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
29254
29328
|
tmp$ret$9 = Instance(di, tmp$ret$8, null);
|
|
29255
|
-
tmp_7.
|
|
29329
|
+
tmp_7.g4a_1 = tmp$ret$9.k2k(this, botConfig$factory());
|
|
29256
29330
|
}
|
|
29257
|
-
BotGameStoreContract.prototype.
|
|
29331
|
+
BotGameStoreContract.prototype.h4a = function () {
|
|
29258
29332
|
return emptyList();
|
|
29259
29333
|
};
|
|
29260
|
-
BotGameStoreContract.prototype.
|
|
29334
|
+
BotGameStoreContract.prototype.i4a = function () {
|
|
29261
29335
|
var isEnableBotForPlayer = BotGameStoreContract$_get_middlewares_$lambda_3w52fv(this);
|
|
29262
29336
|
var tmp0_botConfig = _get_botConfig__cpaxzc(this);
|
|
29263
29337
|
var tmp1_playerTurnInteractor = _get_playerTurnInteractor__lczh1o(this);
|
|
@@ -29328,18 +29402,18 @@
|
|
|
29328
29402
|
var tmp$ret$0;
|
|
29329
29403
|
// Inline function 'kotlin.getValue' call
|
|
29330
29404
|
var tmp0_getValue = jobsProvider$factory_2();
|
|
29331
|
-
tmp$ret$0 = $this.
|
|
29405
|
+
tmp$ret$0 = $this.k4a_1.c2();
|
|
29332
29406
|
return tmp$ret$0;
|
|
29333
29407
|
}
|
|
29334
29408
|
function _get_asyncProvider__jbpyhw_0($this) {
|
|
29335
29409
|
var tmp$ret$0;
|
|
29336
29410
|
// Inline function 'kotlin.getValue' call
|
|
29337
29411
|
var tmp0_getValue = asyncProvider$factory_4();
|
|
29338
|
-
tmp$ret$0 = $this.
|
|
29412
|
+
tmp$ret$0 = $this.l4a_1.c2();
|
|
29339
29413
|
return tmp$ret$0;
|
|
29340
29414
|
}
|
|
29341
29415
|
function CommonStoreContract(di, validationStoreContract) {
|
|
29342
|
-
this.
|
|
29416
|
+
this.j4a_1 = validationStoreContract;
|
|
29343
29417
|
var tmp = this;
|
|
29344
29418
|
var tmp$ret$1;
|
|
29345
29419
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29348,7 +29422,7 @@
|
|
|
29348
29422
|
var tmp_0 = typeToken(createKType(getKClass(JobsProvider), arrayOf([]), false));
|
|
29349
29423
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29350
29424
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29351
|
-
tmp.
|
|
29425
|
+
tmp.k4a_1 = tmp$ret$1.k2k(this, jobsProvider$factory_1());
|
|
29352
29426
|
var tmp_1 = this;
|
|
29353
29427
|
var tmp$ret$3;
|
|
29354
29428
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29357,13 +29431,13 @@
|
|
|
29357
29431
|
var tmp_2 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29358
29432
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29359
29433
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29360
|
-
tmp_1.
|
|
29434
|
+
tmp_1.l4a_1 = tmp$ret$3.k2k(this, asyncProvider$factory_3());
|
|
29361
29435
|
}
|
|
29362
|
-
CommonStoreContract.prototype.
|
|
29363
|
-
return plus(listOf(timerReducer()), this.
|
|
29436
|
+
CommonStoreContract.prototype.h4a = function () {
|
|
29437
|
+
return plus(listOf(timerReducer()), this.j4a_1.h4a());
|
|
29364
29438
|
};
|
|
29365
|
-
CommonStoreContract.prototype.
|
|
29366
|
-
return plus(listOf_0([timerMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_jobsProvider__7sw2pw(this)), clearTimersWhenFinishingGameMiddleware()]), this.
|
|
29439
|
+
CommonStoreContract.prototype.i4a = function () {
|
|
29440
|
+
return plus(listOf_0([timerMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_jobsProvider__7sw2pw(this)), clearTimersWhenFinishingGameMiddleware()]), this.j4a_1.i4a());
|
|
29367
29441
|
};
|
|
29368
29442
|
CommonStoreContract.$metadata$ = classMeta('CommonStoreContract', [StoreContract]);
|
|
29369
29443
|
function jobsProvider$factory_1() {
|
|
@@ -29399,32 +29473,32 @@
|
|
|
29399
29473
|
var tmp$ret$0;
|
|
29400
29474
|
// Inline function 'kotlin.getValue' call
|
|
29401
29475
|
var tmp0_getValue = sceneFactory$factory_0();
|
|
29402
|
-
tmp$ret$0 = $this.
|
|
29476
|
+
tmp$ret$0 = $this.o4a_1.c2();
|
|
29403
29477
|
return tmp$ret$0;
|
|
29404
29478
|
}
|
|
29405
29479
|
function _get_sceneRouter__ee4ncs($this) {
|
|
29406
29480
|
var tmp$ret$0;
|
|
29407
29481
|
// Inline function 'kotlin.getValue' call
|
|
29408
29482
|
var tmp0_getValue = sceneRouter$factory_0();
|
|
29409
|
-
tmp$ret$0 = $this.
|
|
29483
|
+
tmp$ret$0 = $this.p4a_1.c2();
|
|
29410
29484
|
return tmp$ret$0;
|
|
29411
29485
|
}
|
|
29412
29486
|
function _get_gameLogicInteractor__895s7o($this) {
|
|
29413
29487
|
var tmp$ret$0;
|
|
29414
29488
|
// Inline function 'kotlin.getValue' call
|
|
29415
29489
|
var tmp0_getValue = gameLogicInteractor$factory_0();
|
|
29416
|
-
tmp$ret$0 = $this.
|
|
29490
|
+
tmp$ret$0 = $this.q4a_1.c2();
|
|
29417
29491
|
return tmp$ret$0;
|
|
29418
29492
|
}
|
|
29419
29493
|
function _get_asyncProvider__jbpyhw_1($this) {
|
|
29420
29494
|
var tmp$ret$0;
|
|
29421
29495
|
// Inline function 'kotlin.getValue' call
|
|
29422
29496
|
var tmp0_getValue = asyncProvider$factory_6();
|
|
29423
|
-
tmp$ret$0 = $this.
|
|
29497
|
+
tmp$ret$0 = $this.r4a_1.c2();
|
|
29424
29498
|
return tmp$ret$0;
|
|
29425
29499
|
}
|
|
29426
29500
|
function GameMechanicStoreContract(di, playerTurnStoreContract) {
|
|
29427
|
-
this.
|
|
29501
|
+
this.n4a_1 = playerTurnStoreContract;
|
|
29428
29502
|
var tmp = this;
|
|
29429
29503
|
var tmp$ret$1;
|
|
29430
29504
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29433,7 +29507,7 @@
|
|
|
29433
29507
|
var tmp_0 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
29434
29508
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29435
29509
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29436
|
-
tmp.
|
|
29510
|
+
tmp.o4a_1 = tmp$ret$1.k2k(this, sceneFactory$factory());
|
|
29437
29511
|
var tmp_1 = this;
|
|
29438
29512
|
var tmp$ret$3;
|
|
29439
29513
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29442,7 +29516,7 @@
|
|
|
29442
29516
|
var tmp_2 = typeToken(createKType(getKClass(SceneRouter), arrayOf([]), false));
|
|
29443
29517
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29444
29518
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29445
|
-
tmp_1.
|
|
29519
|
+
tmp_1.p4a_1 = tmp$ret$3.k2k(this, sceneRouter$factory());
|
|
29446
29520
|
var tmp_3 = this;
|
|
29447
29521
|
var tmp$ret$5;
|
|
29448
29522
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29451,7 +29525,7 @@
|
|
|
29451
29525
|
var tmp_4 = typeToken(createKType(getKClass(GameMechanicLogicInteractor), arrayOf([]), false));
|
|
29452
29526
|
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29453
29527
|
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29454
|
-
tmp_3.
|
|
29528
|
+
tmp_3.q4a_1 = tmp$ret$5.k2k(this, gameLogicInteractor$factory());
|
|
29455
29529
|
var tmp_5 = this;
|
|
29456
29530
|
var tmp$ret$7;
|
|
29457
29531
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29460,13 +29534,13 @@
|
|
|
29460
29534
|
var tmp_6 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29461
29535
|
tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29462
29536
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
29463
|
-
tmp_5.
|
|
29537
|
+
tmp_5.r4a_1 = tmp$ret$7.k2k(this, asyncProvider$factory_5());
|
|
29464
29538
|
}
|
|
29465
|
-
GameMechanicStoreContract.prototype.
|
|
29466
|
-
return this.
|
|
29539
|
+
GameMechanicStoreContract.prototype.h4a = function () {
|
|
29540
|
+
return this.n4a_1.h4a();
|
|
29467
29541
|
};
|
|
29468
|
-
GameMechanicStoreContract.prototype.
|
|
29469
|
-
return plus(listOfNotNull_0([sceneLifecycleMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this)), sceneRouterMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneRouter__ee4ncs(this)), consumeFromClientActionsMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_gameLogicInteractor__895s7o(this))]), this.
|
|
29542
|
+
GameMechanicStoreContract.prototype.i4a = function () {
|
|
29543
|
+
return plus(listOfNotNull_0([sceneLifecycleMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this)), sceneRouterMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneRouter__ee4ncs(this)), consumeFromClientActionsMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_gameLogicInteractor__895s7o(this))]), this.n4a_1.i4a());
|
|
29470
29544
|
};
|
|
29471
29545
|
GameMechanicStoreContract.$metadata$ = classMeta('GameMechanicStoreContract', [StoreContract]);
|
|
29472
29546
|
function sceneFactory$factory() {
|
|
@@ -29513,28 +29587,28 @@
|
|
|
29513
29587
|
var tmp$ret$0;
|
|
29514
29588
|
// Inline function 'kotlin.getValue' call
|
|
29515
29589
|
var tmp0_getValue = logger$factory_2();
|
|
29516
|
-
tmp$ret$0 = $this.
|
|
29590
|
+
tmp$ret$0 = $this.s4a_1.c2();
|
|
29517
29591
|
return tmp$ret$0;
|
|
29518
29592
|
}
|
|
29519
29593
|
function _get_playerTurnInteractor__lczh1o_0($this) {
|
|
29520
29594
|
var tmp$ret$0;
|
|
29521
29595
|
// Inline function 'kotlin.getValue' call
|
|
29522
29596
|
var tmp0_getValue = playerTurnInteractor$factory_2();
|
|
29523
|
-
tmp$ret$0 = $this.
|
|
29597
|
+
tmp$ret$0 = $this.t4a_1.c2();
|
|
29524
29598
|
return tmp$ret$0;
|
|
29525
29599
|
}
|
|
29526
29600
|
function _get_playerTurnMechanicReducer__y10a87_0($this) {
|
|
29527
29601
|
var tmp$ret$0;
|
|
29528
29602
|
// Inline function 'kotlin.getValue' call
|
|
29529
29603
|
var tmp0_getValue = playerTurnMechanicReducer$factory_2();
|
|
29530
|
-
tmp$ret$0 = $this.
|
|
29604
|
+
tmp$ret$0 = $this.u4a_1.c2();
|
|
29531
29605
|
return tmp$ret$0;
|
|
29532
29606
|
}
|
|
29533
29607
|
function _get_logicConfig__52ww9d($this) {
|
|
29534
29608
|
var tmp$ret$0;
|
|
29535
29609
|
// Inline function 'kotlin.getValue' call
|
|
29536
29610
|
var tmp0_getValue = logicConfig$factory_0();
|
|
29537
|
-
tmp$ret$0 = $this.
|
|
29611
|
+
tmp$ret$0 = $this.v4a_1.c2();
|
|
29538
29612
|
return tmp$ret$0;
|
|
29539
29613
|
}
|
|
29540
29614
|
function PlayerTurnStoreContract(di) {
|
|
@@ -29546,7 +29620,7 @@
|
|
|
29546
29620
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
29547
29621
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29548
29622
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29549
|
-
tmp.
|
|
29623
|
+
tmp.s4a_1 = tmp$ret$1.k2k(this, logger$factory_1());
|
|
29550
29624
|
var tmp_1 = this;
|
|
29551
29625
|
var tmp$ret$3;
|
|
29552
29626
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29555,7 +29629,7 @@
|
|
|
29555
29629
|
var tmp_2 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
29556
29630
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29557
29631
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29558
|
-
tmp_1.
|
|
29632
|
+
tmp_1.t4a_1 = tmp$ret$3.k2k(this, playerTurnInteractor$factory_1());
|
|
29559
29633
|
var tmp_3 = this;
|
|
29560
29634
|
var tmp$ret$5;
|
|
29561
29635
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29564,7 +29638,7 @@
|
|
|
29564
29638
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
29565
29639
|
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29566
29640
|
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29567
|
-
tmp_3.
|
|
29641
|
+
tmp_3.u4a_1 = tmp$ret$5.k2k(this, playerTurnMechanicReducer$factory_1());
|
|
29568
29642
|
var tmp_5 = this;
|
|
29569
29643
|
var tmp$ret$7;
|
|
29570
29644
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29573,12 +29647,12 @@
|
|
|
29573
29647
|
var tmp_6 = typeToken(createKType(getKClass(LogicReduxConfig), arrayOf([]), false));
|
|
29574
29648
|
tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29575
29649
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
29576
|
-
tmp_5.
|
|
29650
|
+
tmp_5.v4a_1 = tmp$ret$7.k2k(this, logicConfig$factory());
|
|
29577
29651
|
}
|
|
29578
|
-
PlayerTurnStoreContract.prototype.
|
|
29652
|
+
PlayerTurnStoreContract.prototype.h4a = function () {
|
|
29579
29653
|
return listOfNotNull_0([_get_logicConfig__52ww9d(this).e2y_1 ? setPlayerTurnReducer(_get_logger__rkp4sl_0(this), _get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this)) : null, resetPlayerTurnReducer(_get_logger__rkp4sl_0(this), _get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this))]);
|
|
29580
29654
|
};
|
|
29581
|
-
PlayerTurnStoreContract.prototype.
|
|
29655
|
+
PlayerTurnStoreContract.prototype.i4a = function () {
|
|
29582
29656
|
return emptyList();
|
|
29583
29657
|
};
|
|
29584
29658
|
PlayerTurnStoreContract.$metadata$ = classMeta('PlayerTurnStoreContract', [StoreContract]);
|
|
@@ -29629,7 +29703,7 @@
|
|
|
29629
29703
|
var tmp$ret$0;
|
|
29630
29704
|
// Inline function 'kotlin.getValue' call
|
|
29631
29705
|
var tmp0_getValue = logger$factory_4();
|
|
29632
|
-
tmp$ret$0 = $this.
|
|
29706
|
+
tmp$ret$0 = $this.m4a_1.c2();
|
|
29633
29707
|
return tmp$ret$0;
|
|
29634
29708
|
}
|
|
29635
29709
|
function ValidationStoreContract(di) {
|
|
@@ -29641,12 +29715,12 @@
|
|
|
29641
29715
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
29642
29716
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29643
29717
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29644
|
-
tmp.
|
|
29718
|
+
tmp.m4a_1 = tmp$ret$1.k2k(this, logger$factory_3());
|
|
29645
29719
|
}
|
|
29646
|
-
ValidationStoreContract.prototype.
|
|
29720
|
+
ValidationStoreContract.prototype.h4a = function () {
|
|
29647
29721
|
return emptyList();
|
|
29648
29722
|
};
|
|
29649
|
-
ValidationStoreContract.prototype.
|
|
29723
|
+
ValidationStoreContract.prototype.i4a = function () {
|
|
29650
29724
|
var tmp = checkValidClientTurnMiddleware$default(null, _get_logger__rkp4sl_1(this), 1, null);
|
|
29651
29725
|
return listOf_0([tmp, checkPlayerTurnIsAlreadySetMiddleware$default(null, _get_logger__rkp4sl_1(this), 1, null), checkPlayerCardsCountAfterBribeMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this))]);
|
|
29652
29726
|
};
|
|
@@ -29668,8 +29742,8 @@
|
|
|
29668
29742
|
return tmp$ret$0;
|
|
29669
29743
|
}
|
|
29670
29744
|
function consumeFromClientActionsMiddleware$o$handle$slambda$slambda($mechanicActions, $store, resultContinuation) {
|
|
29671
|
-
this.
|
|
29672
|
-
this.
|
|
29745
|
+
this.e4b_1 = $mechanicActions;
|
|
29746
|
+
this.f4b_1 = $store;
|
|
29673
29747
|
CoroutineImpl.call(this, resultContinuation);
|
|
29674
29748
|
}
|
|
29675
29749
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -29688,10 +29762,10 @@
|
|
|
29688
29762
|
var tmp = this.mj_1;
|
|
29689
29763
|
if (tmp === 0) {
|
|
29690
29764
|
this.nj_1 = 1;
|
|
29691
|
-
var tmp0_iterator = this.
|
|
29765
|
+
var tmp0_iterator = this.e4b_1.f();
|
|
29692
29766
|
while (tmp0_iterator.g()) {
|
|
29693
29767
|
var element = tmp0_iterator.h();
|
|
29694
|
-
this.
|
|
29768
|
+
this.f4b_1.dispatch(element);
|
|
29695
29769
|
}
|
|
29696
29770
|
return Unit_getInstance();
|
|
29697
29771
|
} else if (tmp === 1) {
|
|
@@ -29703,8 +29777,8 @@
|
|
|
29703
29777
|
while (true);
|
|
29704
29778
|
};
|
|
29705
29779
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
29706
|
-
var i = new consumeFromClientActionsMiddleware$o$handle$slambda$slambda(this.
|
|
29707
|
-
i.
|
|
29780
|
+
var i = new consumeFromClientActionsMiddleware$o$handle$slambda$slambda(this.e4b_1, this.f4b_1, completion);
|
|
29781
|
+
i.g4b_1 = $this$launchStore;
|
|
29708
29782
|
return i;
|
|
29709
29783
|
};
|
|
29710
29784
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('consumeFromClientActionsMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -29717,11 +29791,11 @@
|
|
|
29717
29791
|
return l;
|
|
29718
29792
|
}
|
|
29719
29793
|
function consumeFromClientActionsMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $gameMechanicLogicInteractor, $table, $asyncProvider, $store, resultContinuation) {
|
|
29720
|
-
this.
|
|
29721
|
-
this.
|
|
29722
|
-
this.
|
|
29723
|
-
this.
|
|
29724
|
-
this.
|
|
29794
|
+
this.p4b_1 = $tmp0__anonymous__1nv1x1;
|
|
29795
|
+
this.q4b_1 = $gameMechanicLogicInteractor;
|
|
29796
|
+
this.r4b_1 = $table;
|
|
29797
|
+
this.s4b_1 = $asyncProvider;
|
|
29798
|
+
this.t4b_1 = $store;
|
|
29725
29799
|
CoroutineImpl.call(this, resultContinuation);
|
|
29726
29800
|
}
|
|
29727
29801
|
consumeFromClientActionsMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -29740,19 +29814,19 @@
|
|
|
29740
29814
|
var tmp = this.mj_1;
|
|
29741
29815
|
if (tmp === 0) {
|
|
29742
29816
|
this.nj_1 = 1;
|
|
29743
|
-
var tmp0_subject = this.
|
|
29817
|
+
var tmp0_subject = this.p4b_1;
|
|
29744
29818
|
var tmp_0;
|
|
29745
29819
|
if (tmp0_subject instanceof MessageFromClientAction) {
|
|
29746
|
-
tmp_0 = listOf(this.
|
|
29820
|
+
tmp_0 = listOf(this.q4b_1.g44(this.p4b_1, this.r4b_1.g3u_1));
|
|
29747
29821
|
} else {
|
|
29748
29822
|
if (tmp0_subject instanceof PartnerSelectedFromClientAction) {
|
|
29749
|
-
tmp_0 = listOf(this.
|
|
29823
|
+
tmp_0 = listOf(this.q4b_1.h44(this.p4b_1, this.r4b_1.g3u_1));
|
|
29750
29824
|
} else {
|
|
29751
29825
|
if (tmp0_subject instanceof PlayerReadyFromClientAction) {
|
|
29752
|
-
tmp_0 = listOf(this.
|
|
29826
|
+
tmp_0 = listOf(this.q4b_1.i44(this.p4b_1));
|
|
29753
29827
|
} else {
|
|
29754
29828
|
if (tmp0_subject instanceof SuitChoiceFromClientAction) {
|
|
29755
|
-
var mechanicAction = this.
|
|
29829
|
+
var mechanicAction = this.q4b_1.j44(this.p4b_1, this.r4b_1.g3u_1, this.r4b_1.f3u_1);
|
|
29756
29830
|
var tmp1_safe_receiver = mechanicAction.p45_1;
|
|
29757
29831
|
var tmp_1;
|
|
29758
29832
|
if (tmp1_safe_receiver == null) {
|
|
@@ -29763,28 +29837,28 @@
|
|
|
29763
29837
|
tmp_0 = listOfNotNull_0([mechanicAction, tmp_1]);
|
|
29764
29838
|
} else {
|
|
29765
29839
|
if (tmp0_subject instanceof CombinationChoiceFromClientAction) {
|
|
29766
|
-
tmp_0 = listOf(this.
|
|
29840
|
+
tmp_0 = listOf(this.q4b_1.k44(this.p4b_1, this.r4b_1));
|
|
29767
29841
|
} else {
|
|
29768
29842
|
if (tmp0_subject instanceof CardFromClientAction) {
|
|
29769
29843
|
var actions = ArrayList_init_$Create$();
|
|
29770
|
-
var newCardsOnTheTable = plus_0(this.
|
|
29771
|
-
var cardMechanicAction = this.
|
|
29844
|
+
var newCardsOnTheTable = plus_0(this.r4b_1.i3u_1, new CardOnTheTable(this.p4b_1.playerId, this.r4b_1.i3u_1.i(), this.p4b_1.v3i_1));
|
|
29845
|
+
var cardMechanicAction = this.q4b_1.l44(this.p4b_1, newCardsOnTheTable, this.r4b_1.g3u_1, this.r4b_1.f3u_1);
|
|
29772
29846
|
actions.a(cardMechanicAction);
|
|
29773
|
-
var shouldValidateBribe = newCardsOnTheTable.i() === this.
|
|
29847
|
+
var shouldValidateBribe = newCardsOnTheTable.i() === this.r4b_1.f3u_1.s3h_1.count;
|
|
29774
29848
|
if (shouldValidateBribe) {
|
|
29775
|
-
var tmp0_safe_receiver = this.
|
|
29849
|
+
var tmp0_safe_receiver = this.q4b_1.m44(this.p4b_1, this.r4b_1.l3u_1.a3v_1, newCardsOnTheTable, this.r4b_1.g3u_1, this.r4b_1.f3u_1);
|
|
29776
29850
|
if (tmp0_safe_receiver == null)
|
|
29777
29851
|
null;
|
|
29778
29852
|
else {
|
|
29779
29853
|
actions.a(tmp0_safe_receiver);
|
|
29780
29854
|
}
|
|
29781
|
-
var bribeMechanicAction = this.
|
|
29855
|
+
var bribeMechanicAction = this.q4b_1.n44(this.p4b_1, this.r4b_1.l3u_1.a3v_1, newCardsOnTheTable, this.r4b_1.g3u_1, this.r4b_1.f3u_1);
|
|
29782
29856
|
actions.a(bribeMechanicAction);
|
|
29783
29857
|
}
|
|
29784
29858
|
tmp_0 = actions;
|
|
29785
29859
|
} else {
|
|
29786
29860
|
if (tmp0_subject instanceof ExitFromClientAction) {
|
|
29787
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_LEFT_getInstance(), this.
|
|
29861
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_LEFT_getInstance(), this.p4b_1.playerId));
|
|
29788
29862
|
} else {
|
|
29789
29863
|
noWhenBranchMatchedException();
|
|
29790
29864
|
}
|
|
@@ -29795,7 +29869,7 @@
|
|
|
29795
29869
|
}
|
|
29796
29870
|
}
|
|
29797
29871
|
var mechanicActions = tmp_0;
|
|
29798
|
-
this.
|
|
29872
|
+
this.s4b_1.s2q(null, consumeFromClientActionsMiddleware$o$handle$slambda$slambda_0(mechanicActions, this.t4b_1, null), 1, null);
|
|
29799
29873
|
return Unit_getInstance();
|
|
29800
29874
|
} else if (tmp === 1) {
|
|
29801
29875
|
throw this.pj_1;
|
|
@@ -29806,8 +29880,8 @@
|
|
|
29806
29880
|
while (true);
|
|
29807
29881
|
};
|
|
29808
29882
|
consumeFromClientActionsMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
29809
|
-
var i = new consumeFromClientActionsMiddleware$o$handle$slambda(this.
|
|
29810
|
-
i.
|
|
29883
|
+
var i = new consumeFromClientActionsMiddleware$o$handle$slambda(this.p4b_1, this.q4b_1, this.r4b_1, this.s4b_1, this.t4b_1, completion);
|
|
29884
|
+
i.u4b_1 = $this$launchWorker;
|
|
29811
29885
|
return i;
|
|
29812
29886
|
};
|
|
29813
29887
|
consumeFromClientActionsMiddleware$o$handle$slambda.$metadata$ = classMeta('consumeFromClientActionsMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -29820,21 +29894,21 @@
|
|
|
29820
29894
|
return l;
|
|
29821
29895
|
}
|
|
29822
29896
|
function _no_name_provided__qut3iv($asyncProvider, $gameMechanicLogicInteractor) {
|
|
29823
|
-
this.
|
|
29824
|
-
this.
|
|
29897
|
+
this.v4b_1 = $asyncProvider;
|
|
29898
|
+
this.w4b_1 = $gameMechanicLogicInteractor;
|
|
29825
29899
|
}
|
|
29826
29900
|
_no_name_provided__qut3iv.prototype.m2r = function (action) {
|
|
29827
29901
|
return action instanceof FromClientAction;
|
|
29828
29902
|
};
|
|
29829
|
-
_no_name_provided__qut3iv.prototype.
|
|
29903
|
+
_no_name_provided__qut3iv.prototype.x4b = function (store, next, action) {
|
|
29830
29904
|
// Inline function 'com.debertz.logic.redux.middlewares.consumeFromClientActionsMiddleware.<anonymous>' call
|
|
29831
29905
|
var tmp0__anonymous__q1qw7t = action instanceof FromClientAction ? action : THROW_CCE();
|
|
29832
29906
|
var table = store.state.t3v();
|
|
29833
29907
|
next(tmp0__anonymous__q1qw7t);
|
|
29834
|
-
this.
|
|
29908
|
+
this.v4b_1.u2q(null, consumeFromClientActionsMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.w4b_1, table, this.v4b_1, store, null), 1, null);
|
|
29835
29909
|
};
|
|
29836
29910
|
_no_name_provided__qut3iv.prototype.n2r = function (store, next, action) {
|
|
29837
|
-
return this.
|
|
29911
|
+
return this.x4b(store, next, action);
|
|
29838
29912
|
};
|
|
29839
29913
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [Middleware]);
|
|
29840
29914
|
function loggingMiddleware(tag, logger) {
|
|
@@ -29854,8 +29928,8 @@
|
|
|
29854
29928
|
return tmp$ret$0;
|
|
29855
29929
|
}
|
|
29856
29930
|
function botLogicMiddleware$o$handle$slambda$slambda($store, $botAction, resultContinuation) {
|
|
29857
|
-
this.
|
|
29858
|
-
this.
|
|
29931
|
+
this.g4c_1 = $store;
|
|
29932
|
+
this.h4c_1 = $botAction;
|
|
29859
29933
|
CoroutineImpl.call(this, resultContinuation);
|
|
29860
29934
|
}
|
|
29861
29935
|
botLogicMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -29874,7 +29948,7 @@
|
|
|
29874
29948
|
var tmp = this.mj_1;
|
|
29875
29949
|
if (tmp === 0) {
|
|
29876
29950
|
this.nj_1 = 1;
|
|
29877
|
-
this.
|
|
29951
|
+
this.g4c_1.dispatch(this.h4c_1);
|
|
29878
29952
|
return Unit_getInstance();
|
|
29879
29953
|
} else if (tmp === 1) {
|
|
29880
29954
|
throw this.pj_1;
|
|
@@ -29885,8 +29959,8 @@
|
|
|
29885
29959
|
while (true);
|
|
29886
29960
|
};
|
|
29887
29961
|
botLogicMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
29888
|
-
var i = new botLogicMiddleware$o$handle$slambda$slambda(this.
|
|
29889
|
-
i.
|
|
29962
|
+
var i = new botLogicMiddleware$o$handle$slambda$slambda(this.g4c_1, this.h4c_1, completion);
|
|
29963
|
+
i.i4c_1 = $this$launchStore;
|
|
29890
29964
|
return i;
|
|
29891
29965
|
};
|
|
29892
29966
|
botLogicMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('botLogicMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -29899,12 +29973,12 @@
|
|
|
29899
29973
|
return l;
|
|
29900
29974
|
}
|
|
29901
29975
|
function botLogicMiddleware$o$handle$slambda($playerAnswerInteractor, $tmp0__anonymous__1nv1x1, $table, $botConfig, $asyncProvider, $store, resultContinuation) {
|
|
29902
|
-
this.
|
|
29903
|
-
this.
|
|
29904
|
-
this.
|
|
29905
|
-
this.
|
|
29906
|
-
this.
|
|
29907
|
-
this.
|
|
29976
|
+
this.r4c_1 = $playerAnswerInteractor;
|
|
29977
|
+
this.s4c_1 = $tmp0__anonymous__1nv1x1;
|
|
29978
|
+
this.t4c_1 = $table;
|
|
29979
|
+
this.u4c_1 = $botConfig;
|
|
29980
|
+
this.v4c_1 = $asyncProvider;
|
|
29981
|
+
this.w4c_1 = $store;
|
|
29908
29982
|
CoroutineImpl.call(this, resultContinuation);
|
|
29909
29983
|
}
|
|
29910
29984
|
botLogicMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -29923,8 +29997,8 @@
|
|
|
29923
29997
|
var tmp = this.mj_1;
|
|
29924
29998
|
if (tmp === 0) {
|
|
29925
29999
|
this.nj_1 = 1;
|
|
29926
|
-
var botAction = this.
|
|
29927
|
-
this.
|
|
30000
|
+
var botAction = this.r4c_1.a43(this.s4c_1.e47_1, this.t4c_1, this.u4c_1);
|
|
30001
|
+
this.v4c_1.s2q(null, botLogicMiddleware$o$handle$slambda$slambda_0(this.w4c_1, botAction, null), 1, null);
|
|
29928
30002
|
return Unit_getInstance();
|
|
29929
30003
|
} else if (tmp === 1) {
|
|
29930
30004
|
throw this.pj_1;
|
|
@@ -29935,8 +30009,8 @@
|
|
|
29935
30009
|
while (true);
|
|
29936
30010
|
};
|
|
29937
30011
|
botLogicMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
29938
|
-
var i = new botLogicMiddleware$o$handle$slambda(this.
|
|
29939
|
-
i.
|
|
30012
|
+
var i = new botLogicMiddleware$o$handle$slambda(this.r4c_1, this.s4c_1, this.t4c_1, this.u4c_1, this.v4c_1, this.w4c_1, completion);
|
|
30013
|
+
i.x4c_1 = $this$launchWorker;
|
|
29940
30014
|
return i;
|
|
29941
30015
|
};
|
|
29942
30016
|
botLogicMiddleware$o$handle$slambda.$metadata$ = classMeta('botLogicMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -29949,25 +30023,25 @@
|
|
|
29949
30023
|
return l;
|
|
29950
30024
|
}
|
|
29951
30025
|
function _no_name_provided__qut3iv_0($asyncProvider, $playerAnswerInteractor, $botConfig) {
|
|
29952
|
-
this.
|
|
29953
|
-
this.
|
|
29954
|
-
this.
|
|
30026
|
+
this.y4c_1 = $asyncProvider;
|
|
30027
|
+
this.z4c_1 = $playerAnswerInteractor;
|
|
30028
|
+
this.a4d_1 = $botConfig;
|
|
29955
30029
|
}
|
|
29956
30030
|
_no_name_provided__qut3iv_0.prototype.m2r = function (action) {
|
|
29957
30031
|
return action instanceof AskBotAction;
|
|
29958
30032
|
};
|
|
29959
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
30033
|
+
_no_name_provided__qut3iv_0.prototype.x4b = function (store, next, action) {
|
|
29960
30034
|
// Inline function 'com.debertz.logic.redux.middlewares.bot.botLogicMiddleware.<anonymous>' call
|
|
29961
30035
|
var tmp0__anonymous__q1qw7t = action instanceof AskBotAction ? action : THROW_CCE();
|
|
29962
30036
|
var table = store.state.t3v();
|
|
29963
30037
|
next(tmp0__anonymous__q1qw7t);
|
|
29964
|
-
this.
|
|
30038
|
+
this.y4c_1.u2q(null, botLogicMiddleware$o$handle$slambda_0(this.z4c_1, tmp0__anonymous__q1qw7t, table, this.a4d_1, this.y4c_1, store, null), 1, null);
|
|
29965
30039
|
};
|
|
29966
30040
|
_no_name_provided__qut3iv_0.prototype.n2r = function (store, next, action) {
|
|
29967
|
-
return this.
|
|
30041
|
+
return this.x4b(store, next, action);
|
|
29968
30042
|
};
|
|
29969
30043
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
29970
|
-
function
|
|
30044
|
+
function gameStatisticsMiddleware() {
|
|
29971
30045
|
var tmp$ret$0;
|
|
29972
30046
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
29973
30047
|
tmp$ret$0 = new _no_name_provided__qut3iv_1();
|
|
@@ -29978,17 +30052,18 @@
|
|
|
29978
30052
|
_no_name_provided__qut3iv_1.prototype.m2r = function (action) {
|
|
29979
30053
|
return action instanceof MechanicAction;
|
|
29980
30054
|
};
|
|
29981
|
-
_no_name_provided__qut3iv_1.prototype.
|
|
29982
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30055
|
+
_no_name_provided__qut3iv_1.prototype.x4b = function (store, next, action) {
|
|
30056
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>' call
|
|
29983
30057
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
29984
30058
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
29985
30059
|
if (tmp0_subject instanceof StartGameMechanicAction) {
|
|
29986
30060
|
var tmp = store.dispatch;
|
|
30061
|
+
var tmp1_roomId = tmp0__anonymous__q1qw7t.p49_1;
|
|
29987
30062
|
var tmp$ret$3;
|
|
29988
30063
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
29989
30064
|
var tmp$ret$2;
|
|
29990
30065
|
// Inline function 'kotlin.collections.map' call
|
|
29991
|
-
var tmp0_map = tmp0__anonymous__q1qw7t.
|
|
30066
|
+
var tmp0_map = tmp0__anonymous__q1qw7t.s49_1;
|
|
29992
30067
|
var tmp$ret$1;
|
|
29993
30068
|
// Inline function 'kotlin.collections.mapTo' call
|
|
29994
30069
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -29996,7 +30071,7 @@
|
|
|
29996
30071
|
while (tmp0_iterator.g()) {
|
|
29997
30072
|
var item = tmp0_iterator.h();
|
|
29998
30073
|
var tmp$ret$0;
|
|
29999
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30074
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30000
30075
|
tmp$ret$0 = item.q2l_1;
|
|
30001
30076
|
tmp0_mapTo.a(tmp$ret$0);
|
|
30002
30077
|
}
|
|
@@ -30004,12 +30079,13 @@
|
|
|
30004
30079
|
tmp$ret$2 = tmp$ret$1;
|
|
30005
30080
|
var tmp1_toTypedArray = tmp$ret$2;
|
|
30006
30081
|
tmp$ret$3 = copyToArray(tmp1_toTypedArray);
|
|
30007
|
-
|
|
30082
|
+
var tmp2_players = tmp$ret$3;
|
|
30083
|
+
tmp(new PartyStartedAction(tmp1_roomId, 0, tmp2_players, true, 0));
|
|
30008
30084
|
} else {
|
|
30009
30085
|
if (tmp0_subject instanceof PlayerReadyMechanicAction) {
|
|
30010
30086
|
var table = store.state.t3v();
|
|
30011
30087
|
var tmp_0;
|
|
30012
|
-
if (get_isFinalScene(table.h3u_1.
|
|
30088
|
+
if (get_isFinalScene(table.h3u_1.c3y_1)) {
|
|
30013
30089
|
var tmp$ret$7;
|
|
30014
30090
|
$l$block_0: {
|
|
30015
30091
|
// Inline function 'kotlin.collections.all' call
|
|
@@ -30023,8 +30099,8 @@
|
|
|
30023
30099
|
while (tmp0_iterator_0.g()) {
|
|
30024
30100
|
var element = tmp0_iterator_0.h();
|
|
30025
30101
|
var tmp$ret$4;
|
|
30026
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30027
|
-
tmp$ret$4 = element.f2l() === tmp0__anonymous__q1qw7t.
|
|
30102
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30103
|
+
tmp$ret$4 = element.f2l() === tmp0__anonymous__q1qw7t.b49_1;
|
|
30028
30104
|
if (!tmp$ret$4) {
|
|
30029
30105
|
tmp0_filterNotTo.a(element);
|
|
30030
30106
|
}
|
|
@@ -30046,7 +30122,7 @@
|
|
|
30046
30122
|
while (tmp0_iterator_1.g()) {
|
|
30047
30123
|
var element_0 = tmp0_iterator_1.h();
|
|
30048
30124
|
var tmp$ret$8;
|
|
30049
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30125
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30050
30126
|
tmp$ret$8 = element_0.v30_1.a2m_1;
|
|
30051
30127
|
if (!tmp$ret$8) {
|
|
30052
30128
|
tmp$ret$7 = false;
|
|
@@ -30060,181 +30136,212 @@
|
|
|
30060
30136
|
tmp_0 = false;
|
|
30061
30137
|
}
|
|
30062
30138
|
if (tmp_0) {
|
|
30139
|
+
var tmp$ret$9;
|
|
30140
|
+
$l$block_1: {
|
|
30141
|
+
// Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
|
|
30142
|
+
var tmp4_requireSceneData = table.h3u_1.f3y_1;
|
|
30143
|
+
if (tmp4_requireSceneData instanceof CalcPointsSceneData) {
|
|
30144
|
+
tmp$ret$9 = tmp4_requireSceneData;
|
|
30145
|
+
break $l$block_1;
|
|
30146
|
+
}
|
|
30147
|
+
throw new MechanicException('Required ' + getKClass(CalcPointsSceneData).of() + ', current scene is ' + tmp4_requireSceneData);
|
|
30148
|
+
}
|
|
30149
|
+
var sceneData = tmp$ret$9;
|
|
30150
|
+
var tmp$ret$11;
|
|
30151
|
+
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
30152
|
+
var tmp$ret$10;
|
|
30153
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
30154
|
+
var tmp5_orEmpty = sceneData.u3b_1;
|
|
30155
|
+
var tmp0_elvis_lhs = tmp5_orEmpty;
|
|
30156
|
+
tmp$ret$10 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
30157
|
+
var tmp6_isNotEmpty = tmp$ret$10;
|
|
30158
|
+
tmp$ret$11 = !tmp6_isNotEmpty.k();
|
|
30159
|
+
var isGameFinished = tmp$ret$11;
|
|
30063
30160
|
var tmp_2 = store.dispatch;
|
|
30064
|
-
var
|
|
30161
|
+
var tmp3_roomId = table.c3u_1;
|
|
30162
|
+
var tmp$ret$15;
|
|
30065
30163
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30066
|
-
var tmp$ret$
|
|
30164
|
+
var tmp$ret$14;
|
|
30067
30165
|
// Inline function 'kotlin.collections.map' call
|
|
30068
|
-
var
|
|
30069
|
-
var tmp$ret$
|
|
30166
|
+
var tmp7_map = table.g3u_1;
|
|
30167
|
+
var tmp$ret$13;
|
|
30070
30168
|
// Inline function 'kotlin.collections.mapTo' call
|
|
30071
|
-
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(
|
|
30072
|
-
var tmp0_iterator_2 =
|
|
30169
|
+
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp7_map, 10));
|
|
30170
|
+
var tmp0_iterator_2 = tmp7_map.f();
|
|
30073
30171
|
while (tmp0_iterator_2.g()) {
|
|
30074
30172
|
var item_0 = tmp0_iterator_2.h();
|
|
30075
|
-
var tmp$ret$
|
|
30076
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30077
|
-
tmp$ret$
|
|
30078
|
-
tmp0_mapTo_0.a(tmp$ret$
|
|
30173
|
+
var tmp$ret$12;
|
|
30174
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30175
|
+
tmp$ret$12 = item_0.f2l();
|
|
30176
|
+
tmp0_mapTo_0.a(tmp$ret$12);
|
|
30079
30177
|
}
|
|
30080
|
-
tmp$ret$
|
|
30081
|
-
tmp$ret$
|
|
30082
|
-
var
|
|
30083
|
-
tmp$ret$
|
|
30084
|
-
|
|
30178
|
+
tmp$ret$13 = tmp0_mapTo_0;
|
|
30179
|
+
tmp$ret$14 = tmp$ret$13;
|
|
30180
|
+
var tmp8_toTypedArray = tmp$ret$14;
|
|
30181
|
+
tmp$ret$15 = copyToArray(tmp8_toTypedArray);
|
|
30182
|
+
var tmp4_players = tmp$ret$15;
|
|
30183
|
+
var tmp5_partyNumber = isGameFinished ? 0 : table.l3u_1.a3v_1.k3k_1 + 1 | 0;
|
|
30184
|
+
var tmp6_gameNumber = isGameFinished ? table.l3u_1.z3u_1 + 1 | 0 : table.l3u_1.z3u_1;
|
|
30185
|
+
tmp_2(new PartyStartedAction(tmp3_roomId, tmp5_partyNumber, tmp4_players, isGameFinished, tmp6_gameNumber));
|
|
30085
30186
|
}
|
|
30086
30187
|
} else {
|
|
30087
|
-
if (tmp0_subject instanceof
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
var tmp3_roomId = table_0.c3u_1;
|
|
30103
|
-
var tmp4_earnedBiggestPointPlayerId = sceneData.s3b_1;
|
|
30104
|
-
var tmp$ret$23;
|
|
30105
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30106
|
-
var tmp$ret$22;
|
|
30107
|
-
// Inline function 'kotlin.collections.map' call
|
|
30108
|
-
var tmp$ret$19;
|
|
30109
|
-
// Inline function 'kotlin.collections.map' call
|
|
30110
|
-
var tmp$ret$16;
|
|
30111
|
-
// Inline function 'kotlin.collections.filter' call
|
|
30112
|
-
var tmp7_filter = sceneData.w3b_1;
|
|
30113
|
-
var tmp$ret$15;
|
|
30114
|
-
// Inline function 'kotlin.collections.filterTo' call
|
|
30115
|
-
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
30116
|
-
var tmp0_iterator_3 = tmp7_filter.f();
|
|
30117
|
-
while (tmp0_iterator_3.g()) {
|
|
30118
|
-
var element_1 = tmp0_iterator_3.h();
|
|
30119
|
-
var tmp$ret$14;
|
|
30120
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.gameLifecycleMiddleware.<anonymous>.<anonymous>' call
|
|
30121
|
-
tmp$ret$14 = element_1.i35_1.y33();
|
|
30122
|
-
if (tmp$ret$14) {
|
|
30123
|
-
tmp0_filterTo.a(element_1);
|
|
30188
|
+
if (tmp0_subject instanceof RestartGameMechanicAction) {
|
|
30189
|
+
var table_0 = store.state.t3v();
|
|
30190
|
+
store.dispatch(new PartyRestartedAction(table_0.c3u_1, table_0.l3u_1.a3v_1.k3k_1 + 1 | 0));
|
|
30191
|
+
} else {
|
|
30192
|
+
if (tmp0_subject instanceof SceneMechanicAction) {
|
|
30193
|
+
if (get_isFinalScene(tmp0__anonymous__q1qw7t.g45_1)) {
|
|
30194
|
+
var tmp$ret$16;
|
|
30195
|
+
$l$block_2: {
|
|
30196
|
+
// Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
|
|
30197
|
+
var tmp9_requireSceneData = tmp0__anonymous__q1qw7t.i45_1;
|
|
30198
|
+
if (tmp9_requireSceneData instanceof CalcPointsSceneData) {
|
|
30199
|
+
tmp$ret$16 = tmp9_requireSceneData;
|
|
30200
|
+
break $l$block_2;
|
|
30201
|
+
}
|
|
30202
|
+
throw new MechanicException('Required ' + getKClass(CalcPointsSceneData).of() + ', current scene is ' + tmp9_requireSceneData);
|
|
30124
30203
|
}
|
|
30125
|
-
|
|
30126
|
-
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
var tmp0_iterator_4 = tmp8_map.f();
|
|
30133
|
-
while (tmp0_iterator_4.g()) {
|
|
30134
|
-
var item_1 = tmp0_iterator_4.h();
|
|
30135
|
-
var tmp$ret$17;
|
|
30136
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.gameLifecycleMiddleware.<anonymous>.<anonymous>' call
|
|
30137
|
-
tmp$ret$17 = item_1.h35_1;
|
|
30138
|
-
tmp0_mapTo_1.a(tmp$ret$17);
|
|
30139
|
-
}
|
|
30140
|
-
tmp$ret$18 = tmp0_mapTo_1;
|
|
30141
|
-
tmp$ret$19 = tmp$ret$18;
|
|
30142
|
-
var tmp9_map = flatten(tmp$ret$19);
|
|
30143
|
-
var tmp$ret$21;
|
|
30144
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
30145
|
-
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp9_map, 10));
|
|
30146
|
-
var tmp0_iterator_5 = tmp9_map.f();
|
|
30147
|
-
while (tmp0_iterator_5.g()) {
|
|
30148
|
-
var item_2 = tmp0_iterator_5.h();
|
|
30149
|
-
var tmp$ret$20;
|
|
30150
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.gameLifecycleMiddleware.<anonymous>.<anonymous>' call
|
|
30151
|
-
tmp$ret$20 = item_2.l35_1;
|
|
30152
|
-
tmp0_mapTo_2.a(tmp$ret$20);
|
|
30153
|
-
}
|
|
30154
|
-
tmp$ret$21 = tmp0_mapTo_2;
|
|
30155
|
-
tmp$ret$22 = tmp$ret$21;
|
|
30156
|
-
var tmp10_toTypedArray = tmp$ret$22;
|
|
30157
|
-
tmp$ret$23 = copyToArray(tmp10_toTypedArray);
|
|
30158
|
-
var tmp5_partyLosers = tmp$ret$23;
|
|
30159
|
-
var tmp$ret$24;
|
|
30160
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30161
|
-
var tmp11_toTypedArray = sceneData.t3b_1;
|
|
30162
|
-
tmp$ret$24 = copyToArray(tmp11_toTypedArray);
|
|
30163
|
-
var tmp6_partyWinners = tmp$ret$24;
|
|
30164
|
-
var tmp2_safe_receiver = sceneData.u3b_1;
|
|
30165
|
-
var tmp_4;
|
|
30166
|
-
if (tmp2_safe_receiver == null) {
|
|
30167
|
-
tmp_4 = null;
|
|
30168
|
-
} else {
|
|
30169
|
-
var tmp$ret$25;
|
|
30170
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30171
|
-
tmp$ret$25 = copyToArray(tmp2_safe_receiver);
|
|
30172
|
-
tmp_4 = tmp$ret$25;
|
|
30173
|
-
}
|
|
30174
|
-
var tmp7_gameWinners = tmp_4;
|
|
30175
|
-
var tmp1_safe_receiver = sceneData.u3b_1;
|
|
30176
|
-
var tmp_5;
|
|
30177
|
-
if (tmp1_safe_receiver == null) {
|
|
30178
|
-
tmp_5 = null;
|
|
30179
|
-
} else {
|
|
30180
|
-
var tmp$ret$34;
|
|
30181
|
-
// Inline function 'kotlin.let' call
|
|
30182
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
30183
|
-
var tmp$ret$33;
|
|
30184
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.gameLifecycleMiddleware.<anonymous>.<anonymous>' call
|
|
30185
|
-
var tmp$ret$32;
|
|
30204
|
+
var sceneData_0 = tmp$ret$16;
|
|
30205
|
+
var table_1 = store.state.t3v();
|
|
30206
|
+
var tmp_3 = store.dispatch;
|
|
30207
|
+
var tmp9_roomId = table_1.c3u_1;
|
|
30208
|
+
var tmp10_partyNumber = table_1.l3u_1.a3v_1.k3k_1;
|
|
30209
|
+
var tmp11_earnedBiggestPointPlayerId = sceneData_0.s3b_1;
|
|
30210
|
+
var tmp$ret$26;
|
|
30186
30211
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30187
|
-
var tmp$ret$
|
|
30188
|
-
// Inline function 'kotlin.collections.filterNot' call
|
|
30189
|
-
var tmp$ret$28;
|
|
30212
|
+
var tmp$ret$25;
|
|
30190
30213
|
// Inline function 'kotlin.collections.map' call
|
|
30191
|
-
var
|
|
30192
|
-
|
|
30214
|
+
var tmp$ret$22;
|
|
30215
|
+
// Inline function 'kotlin.collections.map' call
|
|
30216
|
+
var tmp$ret$19;
|
|
30217
|
+
// Inline function 'kotlin.collections.filter' call
|
|
30218
|
+
var tmp10_filter = sceneData_0.w3b_1;
|
|
30219
|
+
var tmp$ret$18;
|
|
30220
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
30221
|
+
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
30222
|
+
var tmp0_iterator_3 = tmp10_filter.f();
|
|
30223
|
+
while (tmp0_iterator_3.g()) {
|
|
30224
|
+
var element_1 = tmp0_iterator_3.h();
|
|
30225
|
+
var tmp$ret$17;
|
|
30226
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30227
|
+
tmp$ret$17 = element_1.i35_1.y33();
|
|
30228
|
+
if (tmp$ret$17) {
|
|
30229
|
+
tmp0_filterTo.a(element_1);
|
|
30230
|
+
}
|
|
30231
|
+
}
|
|
30232
|
+
tmp$ret$18 = tmp0_filterTo;
|
|
30233
|
+
tmp$ret$19 = tmp$ret$18;
|
|
30234
|
+
var tmp11_map = tmp$ret$19;
|
|
30235
|
+
var tmp$ret$21;
|
|
30193
30236
|
// Inline function 'kotlin.collections.mapTo' call
|
|
30194
|
-
var
|
|
30195
|
-
var
|
|
30196
|
-
while (
|
|
30197
|
-
var
|
|
30198
|
-
var tmp$ret$
|
|
30199
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30200
|
-
tmp$ret$
|
|
30201
|
-
|
|
30237
|
+
var tmp0_mapTo_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp11_map, 10));
|
|
30238
|
+
var tmp0_iterator_4 = tmp11_map.f();
|
|
30239
|
+
while (tmp0_iterator_4.g()) {
|
|
30240
|
+
var item_1 = tmp0_iterator_4.h();
|
|
30241
|
+
var tmp$ret$20;
|
|
30242
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30243
|
+
tmp$ret$20 = item_1.h35_1;
|
|
30244
|
+
tmp0_mapTo_1.a(tmp$ret$20);
|
|
30202
30245
|
}
|
|
30203
|
-
tmp$ret$
|
|
30204
|
-
tmp$ret$
|
|
30205
|
-
var
|
|
30206
|
-
var tmp$ret$
|
|
30207
|
-
// Inline function 'kotlin.collections.
|
|
30208
|
-
var
|
|
30209
|
-
var
|
|
30210
|
-
while (
|
|
30211
|
-
var
|
|
30212
|
-
var tmp$ret$
|
|
30213
|
-
// Inline function 'com.debertz.logic.redux.middlewares.game.
|
|
30214
|
-
tmp$ret$
|
|
30215
|
-
|
|
30216
|
-
|
|
30246
|
+
tmp$ret$21 = tmp0_mapTo_1;
|
|
30247
|
+
tmp$ret$22 = tmp$ret$21;
|
|
30248
|
+
var tmp12_map = flatten(tmp$ret$22);
|
|
30249
|
+
var tmp$ret$24;
|
|
30250
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
30251
|
+
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp12_map, 10));
|
|
30252
|
+
var tmp0_iterator_5 = tmp12_map.f();
|
|
30253
|
+
while (tmp0_iterator_5.g()) {
|
|
30254
|
+
var item_2 = tmp0_iterator_5.h();
|
|
30255
|
+
var tmp$ret$23;
|
|
30256
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30257
|
+
tmp$ret$23 = item_2.l35_1;
|
|
30258
|
+
tmp0_mapTo_2.a(tmp$ret$23);
|
|
30259
|
+
}
|
|
30260
|
+
tmp$ret$24 = tmp0_mapTo_2;
|
|
30261
|
+
tmp$ret$25 = tmp$ret$24;
|
|
30262
|
+
var tmp13_toTypedArray = tmp$ret$25;
|
|
30263
|
+
tmp$ret$26 = copyToArray(tmp13_toTypedArray);
|
|
30264
|
+
var tmp12_partyLosers = tmp$ret$26;
|
|
30265
|
+
var tmp$ret$27;
|
|
30266
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30267
|
+
var tmp14_toTypedArray = sceneData_0.t3b_1;
|
|
30268
|
+
tmp$ret$27 = copyToArray(tmp14_toTypedArray);
|
|
30269
|
+
var tmp13_partyWinners = tmp$ret$27;
|
|
30270
|
+
var tmp8_safe_receiver = sceneData_0.u3b_1;
|
|
30271
|
+
var tmp_4;
|
|
30272
|
+
if (tmp8_safe_receiver == null) {
|
|
30273
|
+
tmp_4 = null;
|
|
30274
|
+
} else {
|
|
30275
|
+
var tmp$ret$28;
|
|
30276
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30277
|
+
tmp$ret$28 = copyToArray(tmp8_safe_receiver);
|
|
30278
|
+
tmp_4 = tmp$ret$28;
|
|
30279
|
+
}
|
|
30280
|
+
var tmp14_gameWinners = tmp_4;
|
|
30281
|
+
var tmp7_safe_receiver = sceneData_0.u3b_1;
|
|
30282
|
+
var tmp_5;
|
|
30283
|
+
if (tmp7_safe_receiver == null) {
|
|
30284
|
+
tmp_5 = null;
|
|
30285
|
+
} else {
|
|
30286
|
+
var tmp$ret$37;
|
|
30287
|
+
// Inline function 'kotlin.let' call
|
|
30288
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
30289
|
+
var tmp$ret$36;
|
|
30290
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>' call
|
|
30291
|
+
var tmp$ret$35;
|
|
30292
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
30293
|
+
var tmp$ret$34;
|
|
30294
|
+
// Inline function 'kotlin.collections.filterNot' call
|
|
30295
|
+
var tmp$ret$31;
|
|
30296
|
+
// Inline function 'kotlin.collections.map' call
|
|
30297
|
+
var tmp0_map_0 = table_1.g3u_1;
|
|
30298
|
+
var tmp$ret$30;
|
|
30299
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
30300
|
+
var tmp0_mapTo_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map_0, 10));
|
|
30301
|
+
var tmp0_iterator_6 = tmp0_map_0.f();
|
|
30302
|
+
while (tmp0_iterator_6.g()) {
|
|
30303
|
+
var item_3 = tmp0_iterator_6.h();
|
|
30304
|
+
var tmp$ret$29;
|
|
30305
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
30306
|
+
tmp$ret$29 = item_3.f2l();
|
|
30307
|
+
tmp0_mapTo_3.a(tmp$ret$29);
|
|
30217
30308
|
}
|
|
30309
|
+
tmp$ret$30 = tmp0_mapTo_3;
|
|
30310
|
+
tmp$ret$31 = tmp$ret$30;
|
|
30311
|
+
var tmp1_filterNot = tmp$ret$31;
|
|
30312
|
+
var tmp$ret$33;
|
|
30313
|
+
// Inline function 'kotlin.collections.filterNotTo' call
|
|
30314
|
+
var tmp0_filterNotTo_0 = ArrayList_init_$Create$();
|
|
30315
|
+
var tmp0_iterator_7 = tmp1_filterNot.f();
|
|
30316
|
+
while (tmp0_iterator_7.g()) {
|
|
30317
|
+
var element_2 = tmp0_iterator_7.h();
|
|
30318
|
+
var tmp$ret$32;
|
|
30319
|
+
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
30320
|
+
tmp$ret$32 = tmp7_safe_receiver.r1(element_2);
|
|
30321
|
+
if (!tmp$ret$32) {
|
|
30322
|
+
tmp0_filterNotTo_0.a(element_2);
|
|
30323
|
+
}
|
|
30324
|
+
}
|
|
30325
|
+
tmp$ret$33 = tmp0_filterNotTo_0;
|
|
30326
|
+
tmp$ret$34 = tmp$ret$33;
|
|
30327
|
+
var tmp2_toTypedArray = tmp$ret$34;
|
|
30328
|
+
tmp$ret$35 = copyToArray(tmp2_toTypedArray);
|
|
30329
|
+
tmp$ret$36 = tmp$ret$35;
|
|
30330
|
+
tmp$ret$37 = tmp$ret$36;
|
|
30331
|
+
tmp_5 = tmp$ret$37;
|
|
30218
30332
|
}
|
|
30219
|
-
|
|
30220
|
-
|
|
30221
|
-
var tmp2_toTypedArray = tmp$ret$31;
|
|
30222
|
-
tmp$ret$32 = copyToArray(tmp2_toTypedArray);
|
|
30223
|
-
tmp$ret$33 = tmp$ret$32;
|
|
30224
|
-
tmp$ret$34 = tmp$ret$33;
|
|
30225
|
-
tmp_5 = tmp$ret$34;
|
|
30333
|
+
var tmp15_gameLosers = tmp_5;
|
|
30334
|
+
tmp_3(new PartyEndedAction(tmp9_roomId, tmp10_partyNumber, tmp11_earnedBiggestPointPlayerId, tmp12_partyLosers, tmp13_partyWinners, tmp15_gameLosers, tmp14_gameWinners));
|
|
30226
30335
|
}
|
|
30227
|
-
|
|
30228
|
-
tmp_3(new PartyEndedAction(tmp3_roomId, tmp4_earnedBiggestPointPlayerId, tmp5_partyLosers, tmp6_partyWinners, tmp8_gameLosers, tmp7_gameWinners));
|
|
30336
|
+
} else {
|
|
30229
30337
|
}
|
|
30230
|
-
} else {
|
|
30231
30338
|
}
|
|
30232
30339
|
}
|
|
30233
30340
|
}
|
|
30234
30341
|
next(tmp0__anonymous__q1qw7t);
|
|
30235
30342
|
};
|
|
30236
30343
|
_no_name_provided__qut3iv_1.prototype.n2r = function (store, next, action) {
|
|
30237
|
-
return this.
|
|
30344
|
+
return this.x4b(store, next, action);
|
|
30238
30345
|
};
|
|
30239
30346
|
_no_name_provided__qut3iv_1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30240
30347
|
function putPlayerLastCardMiddleware(asyncProvider, lastCardInteractor) {
|
|
@@ -30244,8 +30351,8 @@
|
|
|
30244
30351
|
return tmp$ret$0;
|
|
30245
30352
|
}
|
|
30246
30353
|
function putPlayerLastCardMiddleware$o$handle$slambda$slambda($store, $newAction, resultContinuation) {
|
|
30247
|
-
this.
|
|
30248
|
-
this.
|
|
30354
|
+
this.j4d_1 = $store;
|
|
30355
|
+
this.k4d_1 = $newAction;
|
|
30249
30356
|
CoroutineImpl.call(this, resultContinuation);
|
|
30250
30357
|
}
|
|
30251
30358
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30264,7 +30371,7 @@
|
|
|
30264
30371
|
var tmp = this.mj_1;
|
|
30265
30372
|
if (tmp === 0) {
|
|
30266
30373
|
this.nj_1 = 1;
|
|
30267
|
-
this.
|
|
30374
|
+
this.j4d_1.dispatch(this.k4d_1);
|
|
30268
30375
|
return Unit_getInstance();
|
|
30269
30376
|
} else if (tmp === 1) {
|
|
30270
30377
|
throw this.pj_1;
|
|
@@ -30275,8 +30382,8 @@
|
|
|
30275
30382
|
while (true);
|
|
30276
30383
|
};
|
|
30277
30384
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30278
|
-
var i = new putPlayerLastCardMiddleware$o$handle$slambda$slambda(this.
|
|
30279
|
-
i.
|
|
30385
|
+
var i = new putPlayerLastCardMiddleware$o$handle$slambda$slambda(this.j4d_1, this.k4d_1, completion);
|
|
30386
|
+
i.l4d_1 = $this$launchStore;
|
|
30280
30387
|
return i;
|
|
30281
30388
|
};
|
|
30282
30389
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('putPlayerLastCardMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30289,11 +30396,11 @@
|
|
|
30289
30396
|
return l;
|
|
30290
30397
|
}
|
|
30291
30398
|
function putPlayerLastCardMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $table, $lastCardInteractor, $asyncProvider, $store, resultContinuation) {
|
|
30292
|
-
this.
|
|
30293
|
-
this.
|
|
30294
|
-
this.
|
|
30295
|
-
this.
|
|
30296
|
-
this.
|
|
30399
|
+
this.u4d_1 = $tmp0__anonymous__1nv1x1;
|
|
30400
|
+
this.v4d_1 = $table;
|
|
30401
|
+
this.w4d_1 = $lastCardInteractor;
|
|
30402
|
+
this.x4d_1 = $asyncProvider;
|
|
30403
|
+
this.y4d_1 = $store;
|
|
30297
30404
|
CoroutineImpl.call(this, resultContinuation);
|
|
30298
30405
|
}
|
|
30299
30406
|
putPlayerLastCardMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30312,12 +30419,12 @@
|
|
|
30312
30419
|
var tmp = this.mj_1;
|
|
30313
30420
|
if (tmp === 0) {
|
|
30314
30421
|
this.nj_1 = 1;
|
|
30315
|
-
var nextTurnPlayerId = singleOrNull(this.
|
|
30422
|
+
var nextTurnPlayerId = singleOrNull(this.u4d_1.n48());
|
|
30316
30423
|
if (!(nextTurnPlayerId == null)) {
|
|
30317
|
-
var nextTurnPlayer = getPlayer(this.
|
|
30318
|
-
if (this.
|
|
30424
|
+
var nextTurnPlayer = getPlayer(this.v4d_1.g3u_1, nextTurnPlayerId);
|
|
30425
|
+
if (this.w4d_1.t42(nextTurnPlayer)) {
|
|
30319
30426
|
var newAction = new AskBotAction(nextTurnPlayer.f2l(), 'PlayerTurn when last bribe');
|
|
30320
|
-
this.
|
|
30427
|
+
this.x4d_1.s2q(null, putPlayerLastCardMiddleware$o$handle$slambda$slambda_0(this.y4d_1, newAction, null), 1, null);
|
|
30321
30428
|
}
|
|
30322
30429
|
}
|
|
30323
30430
|
return Unit_getInstance();
|
|
@@ -30330,8 +30437,8 @@
|
|
|
30330
30437
|
while (true);
|
|
30331
30438
|
};
|
|
30332
30439
|
putPlayerLastCardMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30333
|
-
var i = new putPlayerLastCardMiddleware$o$handle$slambda(this.
|
|
30334
|
-
i.
|
|
30440
|
+
var i = new putPlayerLastCardMiddleware$o$handle$slambda(this.u4d_1, this.v4d_1, this.w4d_1, this.x4d_1, this.y4d_1, completion);
|
|
30441
|
+
i.z4d_1 = $this$launchWorker;
|
|
30335
30442
|
return i;
|
|
30336
30443
|
};
|
|
30337
30444
|
putPlayerLastCardMiddleware$o$handle$slambda.$metadata$ = classMeta('putPlayerLastCardMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30344,21 +30451,21 @@
|
|
|
30344
30451
|
return l;
|
|
30345
30452
|
}
|
|
30346
30453
|
function _no_name_provided__qut3iv_2($asyncProvider, $lastCardInteractor) {
|
|
30347
|
-
this.
|
|
30348
|
-
this.
|
|
30454
|
+
this.a4e_1 = $asyncProvider;
|
|
30455
|
+
this.b4e_1 = $lastCardInteractor;
|
|
30349
30456
|
}
|
|
30350
30457
|
_no_name_provided__qut3iv_2.prototype.m2r = function (action) {
|
|
30351
30458
|
return isInterface(action, CardsMechanicAction);
|
|
30352
30459
|
};
|
|
30353
|
-
_no_name_provided__qut3iv_2.prototype.
|
|
30460
|
+
_no_name_provided__qut3iv_2.prototype.x4b = function (store, next, action) {
|
|
30354
30461
|
// Inline function 'com.debertz.logic.redux.middlewares.lastbribe.putPlayerLastCardMiddleware.<anonymous>' call
|
|
30355
30462
|
var tmp0__anonymous__q1qw7t = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
30356
30463
|
var table = store.state.t3v();
|
|
30357
30464
|
next(tmp0__anonymous__q1qw7t);
|
|
30358
|
-
this.
|
|
30465
|
+
this.a4e_1.u2q(null, putPlayerLastCardMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, table, this.b4e_1, this.a4e_1, store, null), 1, null);
|
|
30359
30466
|
};
|
|
30360
30467
|
_no_name_provided__qut3iv_2.prototype.n2r = function (store, next, action) {
|
|
30361
|
-
return this.
|
|
30468
|
+
return this.x4b(store, next, action);
|
|
30362
30469
|
};
|
|
30363
30470
|
_no_name_provided__qut3iv_2.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30364
30471
|
function sceneRouterMiddleware(asyncProvider, sceneRouter) {
|
|
@@ -30368,8 +30475,8 @@
|
|
|
30368
30475
|
return tmp$ret$0;
|
|
30369
30476
|
}
|
|
30370
30477
|
function sceneRouterMiddleware$o$handle$slambda$slambda($actions, $store, resultContinuation) {
|
|
30371
|
-
this.
|
|
30372
|
-
this.
|
|
30478
|
+
this.k4e_1 = $actions;
|
|
30479
|
+
this.l4e_1 = $store;
|
|
30373
30480
|
CoroutineImpl.call(this, resultContinuation);
|
|
30374
30481
|
}
|
|
30375
30482
|
sceneRouterMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30388,10 +30495,10 @@
|
|
|
30388
30495
|
var tmp = this.mj_1;
|
|
30389
30496
|
if (tmp === 0) {
|
|
30390
30497
|
this.nj_1 = 1;
|
|
30391
|
-
var tmp0_iterator = this.
|
|
30498
|
+
var tmp0_iterator = this.k4e_1.f();
|
|
30392
30499
|
while (tmp0_iterator.g()) {
|
|
30393
30500
|
var element = tmp0_iterator.h();
|
|
30394
|
-
this.
|
|
30501
|
+
this.l4e_1.dispatch(element);
|
|
30395
30502
|
}
|
|
30396
30503
|
return Unit_getInstance();
|
|
30397
30504
|
} else if (tmp === 1) {
|
|
@@ -30403,8 +30510,8 @@
|
|
|
30403
30510
|
while (true);
|
|
30404
30511
|
};
|
|
30405
30512
|
sceneRouterMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30406
|
-
var i = new sceneRouterMiddleware$o$handle$slambda$slambda(this.
|
|
30407
|
-
i.
|
|
30513
|
+
var i = new sceneRouterMiddleware$o$handle$slambda$slambda(this.k4e_1, this.l4e_1, completion);
|
|
30514
|
+
i.m4e_1 = $this$launchStore;
|
|
30408
30515
|
return i;
|
|
30409
30516
|
};
|
|
30410
30517
|
sceneRouterMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('sceneRouterMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30417,11 +30524,11 @@
|
|
|
30417
30524
|
return l;
|
|
30418
30525
|
}
|
|
30419
30526
|
function sceneRouterMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $sceneRouter, $state, $asyncProvider, $store, resultContinuation) {
|
|
30420
|
-
this.
|
|
30421
|
-
this.
|
|
30422
|
-
this.
|
|
30423
|
-
this.
|
|
30424
|
-
this.
|
|
30527
|
+
this.v4e_1 = $tmp0__anonymous__1nv1x1;
|
|
30528
|
+
this.w4e_1 = $sceneRouter;
|
|
30529
|
+
this.x4e_1 = $state;
|
|
30530
|
+
this.y4e_1 = $asyncProvider;
|
|
30531
|
+
this.z4e_1 = $store;
|
|
30425
30532
|
CoroutineImpl.call(this, resultContinuation);
|
|
30426
30533
|
}
|
|
30427
30534
|
sceneRouterMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30440,19 +30547,19 @@
|
|
|
30440
30547
|
var tmp = this.mj_1;
|
|
30441
30548
|
if (tmp === 0) {
|
|
30442
30549
|
this.nj_1 = 1;
|
|
30443
|
-
var tmp0_subject = this.
|
|
30550
|
+
var tmp0_subject = this.v4e_1;
|
|
30444
30551
|
var tmp_0;
|
|
30445
30552
|
if (tmp0_subject instanceof StartGameMechanicAction) {
|
|
30446
|
-
tmp_0 = listOf(new SceneStartedMechanicAction(this.
|
|
30553
|
+
tmp_0 = listOf(new SceneStartedMechanicAction(this.w4e_1.o46(this.v4e_1.o49_1).u46_1));
|
|
30447
30554
|
} else {
|
|
30448
30555
|
if (tmp0_subject instanceof RestartGameMechanicAction) {
|
|
30449
|
-
tmp_0 = listOf(new SceneStartedMechanicAction(this.
|
|
30556
|
+
tmp_0 = listOf(new SceneStartedMechanicAction(this.w4e_1.p46(null, this.x4e_1.t3v().f3u_1).u46_1));
|
|
30450
30557
|
} else {
|
|
30451
30558
|
if (tmp0_subject instanceof TeamsDataMechanicAction) {
|
|
30452
|
-
tmp_0 = listOf(new SceneEndedMechanicAction(this.
|
|
30559
|
+
tmp_0 = listOf(new SceneEndedMechanicAction(this.x4e_1.t3v().h3u_1.c3y_1));
|
|
30453
30560
|
} else {
|
|
30454
30561
|
if (tmp0_subject instanceof PlayerReadyMechanicAction) {
|
|
30455
|
-
var table = this.
|
|
30562
|
+
var table = this.x4e_1.t3v();
|
|
30456
30563
|
var tmp_1;
|
|
30457
30564
|
var tmp$ret$0;
|
|
30458
30565
|
l$ret$1: do {
|
|
@@ -30461,7 +30568,7 @@
|
|
|
30461
30568
|
var tmp0_iterator = tmp0_filterNot.f();
|
|
30462
30569
|
while (tmp0_iterator.g()) {
|
|
30463
30570
|
var element = tmp0_iterator.h();
|
|
30464
|
-
if (!(element.f2l() === this.
|
|
30571
|
+
if (!(element.f2l() === this.v4e_1.b49_1)) {
|
|
30465
30572
|
tmp0_filterNotTo.a(element);
|
|
30466
30573
|
}
|
|
30467
30574
|
}
|
|
@@ -30488,7 +30595,7 @@
|
|
|
30488
30595
|
}
|
|
30489
30596
|
while (false);
|
|
30490
30597
|
if (tmp$ret$0) {
|
|
30491
|
-
tmp_1 = new SceneEndedMechanicAction(this.
|
|
30598
|
+
tmp_1 = new SceneEndedMechanicAction(this.x4e_1.t3v().h3u_1.c3y_1);
|
|
30492
30599
|
} else {
|
|
30493
30600
|
tmp_1 = null;
|
|
30494
30601
|
}
|
|
@@ -30496,7 +30603,7 @@
|
|
|
30496
30603
|
} else {
|
|
30497
30604
|
if (tmp0_subject instanceof SuitChoiceMechanicAction) {
|
|
30498
30605
|
var tmp_3;
|
|
30499
|
-
if (this.
|
|
30606
|
+
if (this.v4e_1.q45_1) {
|
|
30500
30607
|
tmp_3 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
30501
30608
|
} else {
|
|
30502
30609
|
tmp_3 = null;
|
|
@@ -30504,7 +30611,7 @@
|
|
|
30504
30611
|
tmp_0 = listOfNotNull(tmp_3);
|
|
30505
30612
|
} else {
|
|
30506
30613
|
if (tmp0_subject instanceof TrumpMechanicAction) {
|
|
30507
|
-
var tmp2_requireNotNull = this.
|
|
30614
|
+
var tmp2_requireNotNull = this.x4e_1.t3v().h3u_1.e3y_1;
|
|
30508
30615
|
var tmp$ret$2;
|
|
30509
30616
|
l$ret$3: do {
|
|
30510
30617
|
if (tmp2_requireNotNull == null) {
|
|
@@ -30519,11 +30626,11 @@
|
|
|
30519
30626
|
tmp_0 = listOf(new SceneActEndedMechanicAction(tmp$ret$2));
|
|
30520
30627
|
} else {
|
|
30521
30628
|
if (tmp0_subject instanceof PickUpBribeMechanicAction) {
|
|
30522
|
-
var table_0 = this.
|
|
30523
|
-
var player = getPlayer(table_0.g3u_1, this.
|
|
30629
|
+
var table_0 = this.x4e_1.t3v();
|
|
30630
|
+
var player = getPlayer(table_0.g3u_1, this.v4e_1.v45_1);
|
|
30524
30631
|
var tmp_4;
|
|
30525
30632
|
if (player.d31() === 0) {
|
|
30526
|
-
var tmp3_requireNotNull = table_0.h3u_1.
|
|
30633
|
+
var tmp3_requireNotNull = table_0.h3u_1.e3y_1;
|
|
30527
30634
|
var tmp$ret$4;
|
|
30528
30635
|
l$ret$5: do {
|
|
30529
30636
|
if (tmp3_requireNotNull == null) {
|
|
@@ -30542,14 +30649,14 @@
|
|
|
30542
30649
|
tmp_0 = listOfNotNull(tmp_4);
|
|
30543
30650
|
} else {
|
|
30544
30651
|
if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
|
|
30545
|
-
var table_1 = this.
|
|
30546
|
-
var combination = first(this.
|
|
30652
|
+
var table_1 = this.x4e_1.t3v();
|
|
30653
|
+
var combination = first(this.v4e_1.g49_1);
|
|
30547
30654
|
var tmp1_subject = combination.w3a_1;
|
|
30548
30655
|
var tmp0 = tmp1_subject.e5_1;
|
|
30549
30656
|
var tmp_5;
|
|
30550
30657
|
switch (tmp0) {
|
|
30551
30658
|
case 4:
|
|
30552
|
-
var tmp4_requireNotNull = table_1.h3u_1.
|
|
30659
|
+
var tmp4_requireNotNull = table_1.h3u_1.e3y_1;
|
|
30553
30660
|
var tmp$ret$6;
|
|
30554
30661
|
l$ret$7: do {
|
|
30555
30662
|
if (tmp4_requireNotNull == null) {
|
|
@@ -30565,10 +30672,10 @@
|
|
|
30565
30672
|
break;
|
|
30566
30673
|
case 5:
|
|
30567
30674
|
var tmp_6;
|
|
30568
|
-
if (this.
|
|
30675
|
+
if (this.v4e_1.f49_1) {
|
|
30569
30676
|
tmp_6 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
30570
30677
|
} else {
|
|
30571
|
-
var tmp5_requireNotNull = table_1.h3u_1.
|
|
30678
|
+
var tmp5_requireNotNull = table_1.h3u_1.e3y_1;
|
|
30572
30679
|
var tmp$ret$8;
|
|
30573
30680
|
l$ret$9: do {
|
|
30574
30681
|
if (tmp5_requireNotNull == null) {
|
|
@@ -30602,7 +30709,7 @@
|
|
|
30602
30709
|
}
|
|
30603
30710
|
var actions = tmp_0;
|
|
30604
30711
|
if (!actions.k()) {
|
|
30605
|
-
this.
|
|
30712
|
+
this.y4e_1.s2q(null, sceneRouterMiddleware$o$handle$slambda$slambda_0(actions, this.z4e_1, null), 1, null);
|
|
30606
30713
|
}
|
|
30607
30714
|
return Unit_getInstance();
|
|
30608
30715
|
} else if (tmp === 1) {
|
|
@@ -30614,8 +30721,8 @@
|
|
|
30614
30721
|
while (true);
|
|
30615
30722
|
};
|
|
30616
30723
|
sceneRouterMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30617
|
-
var i = new sceneRouterMiddleware$o$handle$slambda(this.
|
|
30618
|
-
i.
|
|
30724
|
+
var i = new sceneRouterMiddleware$o$handle$slambda(this.v4e_1, this.w4e_1, this.x4e_1, this.y4e_1, this.z4e_1, completion);
|
|
30725
|
+
i.a4f_1 = $this$launchWorker;
|
|
30619
30726
|
return i;
|
|
30620
30727
|
};
|
|
30621
30728
|
sceneRouterMiddleware$o$handle$slambda.$metadata$ = classMeta('sceneRouterMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30628,29 +30735,29 @@
|
|
|
30628
30735
|
return l;
|
|
30629
30736
|
}
|
|
30630
30737
|
function _no_name_provided__qut3iv_3($asyncProvider, $sceneRouter) {
|
|
30631
|
-
this.
|
|
30632
|
-
this.
|
|
30738
|
+
this.b4f_1 = $asyncProvider;
|
|
30739
|
+
this.c4f_1 = $sceneRouter;
|
|
30633
30740
|
}
|
|
30634
30741
|
_no_name_provided__qut3iv_3.prototype.m2r = function (action) {
|
|
30635
30742
|
return action instanceof MechanicAction;
|
|
30636
30743
|
};
|
|
30637
|
-
_no_name_provided__qut3iv_3.prototype.
|
|
30744
|
+
_no_name_provided__qut3iv_3.prototype.x4b = function (store, next, action) {
|
|
30638
30745
|
// Inline function 'com.debertz.logic.redux.middlewares.navigation.sceneRouterMiddleware.<anonymous>' call
|
|
30639
30746
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
30640
30747
|
var state = store.state;
|
|
30641
30748
|
next(tmp0__anonymous__q1qw7t);
|
|
30642
|
-
this.
|
|
30749
|
+
this.b4f_1.u2q(null, sceneRouterMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.c4f_1, state, this.b4f_1, store, null), 1, null);
|
|
30643
30750
|
};
|
|
30644
30751
|
_no_name_provided__qut3iv_3.prototype.n2r = function (store, next, action) {
|
|
30645
|
-
return this.
|
|
30752
|
+
return this.x4b(store, next, action);
|
|
30646
30753
|
};
|
|
30647
30754
|
_no_name_provided__qut3iv_3.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30648
30755
|
function PlayerTurnTimerTag(playerId, tag) {
|
|
30649
|
-
this.
|
|
30650
|
-
this.
|
|
30756
|
+
this.d4f_1 = playerId;
|
|
30757
|
+
this.e4f_1 = tag;
|
|
30651
30758
|
}
|
|
30652
30759
|
PlayerTurnTimerTag.prototype.f2l = function () {
|
|
30653
|
-
return this.
|
|
30760
|
+
return this.d4f_1;
|
|
30654
30761
|
};
|
|
30655
30762
|
PlayerTurnTimerTag.prototype.equals = function (other) {
|
|
30656
30763
|
if (this === other)
|
|
@@ -30661,15 +30768,15 @@
|
|
|
30661
30768
|
other;
|
|
30662
30769
|
else
|
|
30663
30770
|
THROW_CCE();
|
|
30664
|
-
if (!(this.
|
|
30771
|
+
if (!(this.d4f_1 === other.d4f_1))
|
|
30665
30772
|
return false;
|
|
30666
30773
|
return true;
|
|
30667
30774
|
};
|
|
30668
30775
|
PlayerTurnTimerTag.prototype.hashCode = function () {
|
|
30669
|
-
return getStringHashCode(this.
|
|
30776
|
+
return getStringHashCode(this.d4f_1);
|
|
30670
30777
|
};
|
|
30671
30778
|
PlayerTurnTimerTag.prototype.toString = function () {
|
|
30672
|
-
return 'PlayerTurnTimerTag(playerId=' + this.
|
|
30779
|
+
return 'PlayerTurnTimerTag(playerId=' + this.d4f_1 + ', tag=' + this.e4f_1 + ')';
|
|
30673
30780
|
};
|
|
30674
30781
|
PlayerTurnTimerTag.$metadata$ = classMeta('PlayerTurnTimerTag', [TimerTag]);
|
|
30675
30782
|
function getStartPlayerStepTimerDelayMillis(player, config, isDelayForBot, random) {
|
|
@@ -30707,22 +30814,22 @@
|
|
|
30707
30814
|
return tmp;
|
|
30708
30815
|
}
|
|
30709
30816
|
function _no_name_provided__qut3iv_4($isEnableBotForPlayer, $botConfig, $lastCardInteractor, $playerTurnInteractor) {
|
|
30710
|
-
this.
|
|
30711
|
-
this.
|
|
30712
|
-
this.
|
|
30713
|
-
this.
|
|
30817
|
+
this.f4f_1 = $isEnableBotForPlayer;
|
|
30818
|
+
this.g4f_1 = $botConfig;
|
|
30819
|
+
this.h4f_1 = $lastCardInteractor;
|
|
30820
|
+
this.i4f_1 = $playerTurnInteractor;
|
|
30714
30821
|
}
|
|
30715
30822
|
_no_name_provided__qut3iv_4.prototype.m2r = function (action) {
|
|
30716
30823
|
return isInterface(action, NextPlayerTurnAction);
|
|
30717
30824
|
};
|
|
30718
|
-
_no_name_provided__qut3iv_4.prototype.
|
|
30825
|
+
_no_name_provided__qut3iv_4.prototype.x4b = function (store, next, action) {
|
|
30719
30826
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>' call
|
|
30720
30827
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
30721
30828
|
var table = store.state.t3v();
|
|
30722
30829
|
// Inline function 'kotlin.collections.forEach' call
|
|
30723
30830
|
var tmp$ret$2;
|
|
30724
30831
|
// Inline function 'kotlin.collections.filter' call
|
|
30725
|
-
var tmp0_filter = tmp0__anonymous__q1qw7t.
|
|
30832
|
+
var tmp0_filter = tmp0__anonymous__q1qw7t.n48();
|
|
30726
30833
|
var tmp$ret$1;
|
|
30727
30834
|
// Inline function 'kotlin.collections.filterTo' call
|
|
30728
30835
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -30731,7 +30838,7 @@
|
|
|
30731
30838
|
var element = tmp0_iterator.h();
|
|
30732
30839
|
var tmp$ret$0;
|
|
30733
30840
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
|
|
30734
|
-
tmp$ret$0 = this.
|
|
30841
|
+
tmp$ret$0 = this.f4f_1(element);
|
|
30735
30842
|
if (tmp$ret$0) {
|
|
30736
30843
|
tmp0_filterTo.a(element);
|
|
30737
30844
|
}
|
|
@@ -30745,11 +30852,11 @@
|
|
|
30745
30852
|
var tmp$ret$3;
|
|
30746
30853
|
$l$block_0: {
|
|
30747
30854
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
|
|
30748
|
-
if (this.
|
|
30855
|
+
if (this.g4f_1.r2x_1 ? this.h4f_1.t42(getPlayer(table.g3u_1, element_0)) : false) {
|
|
30749
30856
|
tmp$ret$3 = Unit_getInstance();
|
|
30750
30857
|
break $l$block_0;
|
|
30751
30858
|
}
|
|
30752
|
-
var tmp0_elvis_lhs = this.
|
|
30859
|
+
var tmp0_elvis_lhs = this.i4f_1.x45(tmp0__anonymous__q1qw7t, table.g3u_1, table.l3u_1.a3v_1);
|
|
30753
30860
|
var tmp;
|
|
30754
30861
|
if (tmp0_elvis_lhs == null) {
|
|
30755
30862
|
tmp$ret$3 = Unit_getInstance();
|
|
@@ -30760,33 +30867,33 @@
|
|
|
30760
30867
|
var turnModel = tmp;
|
|
30761
30868
|
var tmp_0 = store.dispatch;
|
|
30762
30869
|
var tmp_1 = new PlayerTurnTimerTag(element_0, turnModel.m32_1);
|
|
30763
|
-
var tmp_2 = getStartPlayerStepTimerDelayMillis(getPlayer(table.g3u_1, element_0), table.f3u_1, this.
|
|
30870
|
+
var tmp_2 = getStartPlayerStepTimerDelayMillis(getPlayer(table.g3u_1, element_0), table.f3u_1, this.g4f_1.t2x_1, this.g4f_1.s2x_1 ? Default_getInstance() : null);
|
|
30764
30871
|
tmp_0(StartTimerAction_init_$Create$(tmp_1, tmp_2, new Long(0, 0), TimerType_DELAY_getInstance(), 4, null));
|
|
30765
30872
|
}
|
|
30766
30873
|
}
|
|
30767
30874
|
next(tmp0__anonymous__q1qw7t);
|
|
30768
30875
|
};
|
|
30769
30876
|
_no_name_provided__qut3iv_4.prototype.n2r = function (store, next, action) {
|
|
30770
|
-
return this.
|
|
30877
|
+
return this.x4b(store, next, action);
|
|
30771
30878
|
};
|
|
30772
30879
|
_no_name_provided__qut3iv_4.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30773
30880
|
function _no_name_provided__qut3iv_5($isEnableBotForPlayer) {
|
|
30774
|
-
this.
|
|
30881
|
+
this.j4f_1 = $isEnableBotForPlayer;
|
|
30775
30882
|
}
|
|
30776
30883
|
_no_name_provided__qut3iv_5.prototype.m2r = function (action) {
|
|
30777
30884
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
30778
30885
|
};
|
|
30779
|
-
_no_name_provided__qut3iv_5.prototype.
|
|
30886
|
+
_no_name_provided__qut3iv_5.prototype.x4b = function (store, next, action) {
|
|
30780
30887
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStopTimerMiddleware.<anonymous>' call
|
|
30781
30888
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
30782
|
-
if (this.
|
|
30889
|
+
if (this.j4f_1(tmp0__anonymous__q1qw7t.playerId)) {
|
|
30783
30890
|
var player = getPlayer(store.state.t3v().g3u_1, tmp0__anonymous__q1qw7t.playerId);
|
|
30784
30891
|
store.dispatch(new StopTimerAction(new PlayerTurnTimerTag(tmp0__anonymous__q1qw7t.playerId, player.v30_1.z2m())));
|
|
30785
30892
|
}
|
|
30786
30893
|
next(tmp0__anonymous__q1qw7t);
|
|
30787
30894
|
};
|
|
30788
30895
|
_no_name_provided__qut3iv_5.prototype.n2r = function (store, next, action) {
|
|
30789
|
-
return this.
|
|
30896
|
+
return this.x4b(store, next, action);
|
|
30790
30897
|
};
|
|
30791
30898
|
_no_name_provided__qut3iv_5.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30792
30899
|
function playerTurnTimeoutMiddleware() {
|
|
@@ -30800,18 +30907,18 @@
|
|
|
30800
30907
|
_no_name_provided__qut3iv_6.prototype.m2r = function (action) {
|
|
30801
30908
|
return action instanceof TimerTickAction;
|
|
30802
30909
|
};
|
|
30803
|
-
_no_name_provided__qut3iv_6.prototype.
|
|
30910
|
+
_no_name_provided__qut3iv_6.prototype.x4b = function (store, next, action) {
|
|
30804
30911
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerTurnTimeoutMiddleware.<anonymous>' call
|
|
30805
30912
|
var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
30806
30913
|
var timerTag = tmp0__anonymous__q1qw7t.a2s_1;
|
|
30807
30914
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
30808
|
-
var player = getPlayer(store.state.t3v().g3u_1, timerTag.
|
|
30915
|
+
var player = getPlayer(store.state.t3v().g3u_1, timerTag.d4f_1);
|
|
30809
30916
|
store.dispatch(new AskBotAction(player.f2l(), 'PlayerTurn'));
|
|
30810
30917
|
}
|
|
30811
30918
|
next(tmp0__anonymous__q1qw7t);
|
|
30812
30919
|
};
|
|
30813
30920
|
_no_name_provided__qut3iv_6.prototype.n2r = function (store, next, action) {
|
|
30814
|
-
return this.
|
|
30921
|
+
return this.x4b(store, next, action);
|
|
30815
30922
|
};
|
|
30816
30923
|
_no_name_provided__qut3iv_6.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30817
30924
|
function sceneLifecycleMiddleware(asyncProvider, sceneFactory, router) {
|
|
@@ -30821,8 +30928,8 @@
|
|
|
30821
30928
|
return tmp$ret$0;
|
|
30822
30929
|
}
|
|
30823
30930
|
function sceneLifecycleMiddleware$o$handle$slambda$slambda($navigationActions, $store, resultContinuation) {
|
|
30824
|
-
this.
|
|
30825
|
-
this.
|
|
30931
|
+
this.s4f_1 = $navigationActions;
|
|
30932
|
+
this.t4f_1 = $store;
|
|
30826
30933
|
CoroutineImpl.call(this, resultContinuation);
|
|
30827
30934
|
}
|
|
30828
30935
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30841,10 +30948,10 @@
|
|
|
30841
30948
|
var tmp = this.mj_1;
|
|
30842
30949
|
if (tmp === 0) {
|
|
30843
30950
|
this.nj_1 = 1;
|
|
30844
|
-
var tmp0_iterator = this.
|
|
30951
|
+
var tmp0_iterator = this.s4f_1.f();
|
|
30845
30952
|
while (tmp0_iterator.g()) {
|
|
30846
30953
|
var element = tmp0_iterator.h();
|
|
30847
|
-
this.
|
|
30954
|
+
this.t4f_1.dispatch(element);
|
|
30848
30955
|
}
|
|
30849
30956
|
return Unit_getInstance();
|
|
30850
30957
|
} else if (tmp === 1) {
|
|
@@ -30856,8 +30963,8 @@
|
|
|
30856
30963
|
while (true);
|
|
30857
30964
|
};
|
|
30858
30965
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30859
|
-
var i = new sceneLifecycleMiddleware$o$handle$slambda$slambda(this.
|
|
30860
|
-
i.
|
|
30966
|
+
var i = new sceneLifecycleMiddleware$o$handle$slambda$slambda(this.s4f_1, this.t4f_1, completion);
|
|
30967
|
+
i.u4f_1 = $this$launchStore;
|
|
30861
30968
|
return i;
|
|
30862
30969
|
};
|
|
30863
30970
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('sceneLifecycleMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30870,12 +30977,12 @@
|
|
|
30870
30977
|
return l;
|
|
30871
30978
|
}
|
|
30872
30979
|
function sceneLifecycleMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $sceneFactory, $table, $router, $asyncProvider, $store, resultContinuation) {
|
|
30873
|
-
this.
|
|
30874
|
-
this.
|
|
30875
|
-
this.
|
|
30876
|
-
this.
|
|
30877
|
-
this.
|
|
30878
|
-
this.
|
|
30980
|
+
this.d4g_1 = $tmp0__anonymous__1nv1x1;
|
|
30981
|
+
this.e4g_1 = $sceneFactory;
|
|
30982
|
+
this.f4g_1 = $table;
|
|
30983
|
+
this.g4g_1 = $router;
|
|
30984
|
+
this.h4g_1 = $asyncProvider;
|
|
30985
|
+
this.i4g_1 = $store;
|
|
30879
30986
|
CoroutineImpl.call(this, resultContinuation);
|
|
30880
30987
|
}
|
|
30881
30988
|
sceneLifecycleMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30894,11 +31001,11 @@
|
|
|
30894
31001
|
var tmp = this.mj_1;
|
|
30895
31002
|
if (tmp === 0) {
|
|
30896
31003
|
this.nj_1 = 1;
|
|
30897
|
-
var tmp0_subject = this.
|
|
31004
|
+
var tmp0_subject = this.d4g_1;
|
|
30898
31005
|
var tmp_0;
|
|
30899
31006
|
if (tmp0_subject instanceof SceneStartedMechanicAction) {
|
|
30900
|
-
var sceneData = this.
|
|
30901
|
-
var navigationActCommand = this.
|
|
31007
|
+
var sceneData = this.e4g_1.i46(this.d4g_1.v49_1, this.f4g_1);
|
|
31008
|
+
var navigationActCommand = this.g4g_1.q46(sceneData, this.f4g_1);
|
|
30902
31009
|
var tmp1_safe_receiver = navigationActCommand;
|
|
30903
31010
|
var tmp_1;
|
|
30904
31011
|
if (tmp1_safe_receiver == null) {
|
|
@@ -30906,18 +31013,18 @@
|
|
|
30906
31013
|
} else {
|
|
30907
31014
|
var tmp0_actId = tmp1_safe_receiver.w46_1;
|
|
30908
31015
|
var tmp1_payload = tmp1_safe_receiver.x46_1;
|
|
30909
|
-
tmp_1 = this.
|
|
31016
|
+
tmp_1 = this.e4g_1.j46(tmp0_actId, sceneData, tmp1_payload, this.f4g_1);
|
|
30910
31017
|
}
|
|
30911
31018
|
var actData = tmp_1;
|
|
30912
|
-
var tmp3_sceneId = this.
|
|
31019
|
+
var tmp3_sceneId = this.d4g_1.v49_1;
|
|
30913
31020
|
var tmp2_safe_receiver = actData;
|
|
30914
31021
|
var tmp4_actId = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.actId;
|
|
30915
31022
|
var mechanicAction = new SceneMechanicAction(tmp3_sceneId, tmp4_actId, sceneData, actData);
|
|
30916
31023
|
tmp_0 = listOfNotNull(mechanicAction);
|
|
30917
31024
|
} else {
|
|
30918
31025
|
if (tmp0_subject instanceof SceneEndedMechanicAction) {
|
|
30919
|
-
var tmp5_safe_receiver = firstOrNull(filterByGameWinner(this.
|
|
30920
|
-
var nextSceneCommand = this.
|
|
31026
|
+
var tmp5_safe_receiver = firstOrNull(filterByGameWinner(this.f4g_1.g3u_1));
|
|
31027
|
+
var nextSceneCommand = this.g4g_1.r46(this.d4g_1.u49_1, tmp5_safe_receiver == null ? null : tmp5_safe_receiver.f2l(), this.f4g_1.f3u_1);
|
|
30921
31028
|
var tmp6_subject = nextSceneCommand;
|
|
30922
31029
|
var tmp_2;
|
|
30923
31030
|
if (tmp6_subject instanceof MoveSceneNext) {
|
|
@@ -30928,20 +31035,20 @@
|
|
|
30928
31035
|
tmp_0 = tmp_2;
|
|
30929
31036
|
} else {
|
|
30930
31037
|
if (tmp0_subject instanceof SceneActStartedMechanicAction) {
|
|
30931
|
-
var mechanicAction_0 = new SceneActMechanicAction(this.
|
|
31038
|
+
var mechanicAction_0 = new SceneActMechanicAction(this.d4g_1.x49_1, this.d4g_1.y49_1, this.d4g_1.z49_1);
|
|
30932
31039
|
tmp_0 = listOf(mechanicAction_0);
|
|
30933
31040
|
} else {
|
|
30934
31041
|
if (tmp0_subject instanceof SceneActEndedMechanicAction) {
|
|
30935
|
-
var navigationCommand = this.
|
|
31042
|
+
var navigationCommand = this.g4g_1.t46(this.f4g_1, null, 2, null);
|
|
30936
31043
|
var tmp_3;
|
|
30937
31044
|
if (navigationCommand instanceof FinishActNext) {
|
|
30938
|
-
tmp_3 = listOf(new SceneEndedMechanicAction(this.
|
|
31045
|
+
tmp_3 = listOf(new SceneEndedMechanicAction(this.f4g_1.h3u_1.c3y_1));
|
|
30939
31046
|
} else {
|
|
30940
31047
|
if (navigationCommand instanceof MoveActNext) {
|
|
30941
31048
|
var tmp7_actId = navigationCommand.w46_1;
|
|
30942
31049
|
var tmp$ret$0;
|
|
30943
31050
|
l$ret$1: do {
|
|
30944
|
-
var tmp0_requireSceneData = this.
|
|
31051
|
+
var tmp0_requireSceneData = this.f4g_1.h3u_1.f3y_1;
|
|
30945
31052
|
if (!(tmp0_requireSceneData == null) ? isInterface(tmp0_requireSceneData, SceneData) : false) {
|
|
30946
31053
|
tmp$ret$0 = tmp0_requireSceneData;
|
|
30947
31054
|
break l$ret$1;
|
|
@@ -30951,8 +31058,8 @@
|
|
|
30951
31058
|
while (false);
|
|
30952
31059
|
var tmp8_sceneData = tmp$ret$0;
|
|
30953
31060
|
var tmp9_payload = navigationCommand.x46_1;
|
|
30954
|
-
var actData_0 = this.
|
|
30955
|
-
tmp_3 = listOf(new SceneActStartedMechanicAction(this.
|
|
31061
|
+
var actData_0 = this.e4g_1.j46(tmp7_actId, tmp8_sceneData, tmp9_payload, this.f4g_1);
|
|
31062
|
+
tmp_3 = listOf(new SceneActStartedMechanicAction(this.f4g_1.h3u_1.c3y_1, navigationCommand.w46_1, actData_0));
|
|
30956
31063
|
} else {
|
|
30957
31064
|
noWhenBranchMatchedException();
|
|
30958
31065
|
}
|
|
@@ -30965,7 +31072,7 @@
|
|
|
30965
31072
|
}
|
|
30966
31073
|
}
|
|
30967
31074
|
var navigationActions = tmp_0;
|
|
30968
|
-
this.
|
|
31075
|
+
this.h4g_1.s2q(null, sceneLifecycleMiddleware$o$handle$slambda$slambda_0(navigationActions, this.i4g_1, null), 1, null);
|
|
30969
31076
|
return Unit_getInstance();
|
|
30970
31077
|
} else if (tmp === 1) {
|
|
30971
31078
|
throw this.pj_1;
|
|
@@ -30976,8 +31083,8 @@
|
|
|
30976
31083
|
while (true);
|
|
30977
31084
|
};
|
|
30978
31085
|
sceneLifecycleMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30979
|
-
var i = new sceneLifecycleMiddleware$o$handle$slambda(this.
|
|
30980
|
-
i.
|
|
31086
|
+
var i = new sceneLifecycleMiddleware$o$handle$slambda(this.d4g_1, this.e4g_1, this.f4g_1, this.g4g_1, this.h4g_1, this.i4g_1, completion);
|
|
31087
|
+
i.j4g_1 = $this$launchWorker;
|
|
30981
31088
|
return i;
|
|
30982
31089
|
};
|
|
30983
31090
|
sceneLifecycleMiddleware$o$handle$slambda.$metadata$ = classMeta('sceneLifecycleMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30990,22 +31097,22 @@
|
|
|
30990
31097
|
return l;
|
|
30991
31098
|
}
|
|
30992
31099
|
function _no_name_provided__qut3iv_7($asyncProvider, $sceneFactory, $router) {
|
|
30993
|
-
this.
|
|
30994
|
-
this.
|
|
30995
|
-
this.
|
|
31100
|
+
this.k4g_1 = $asyncProvider;
|
|
31101
|
+
this.l4g_1 = $sceneFactory;
|
|
31102
|
+
this.m4g_1 = $router;
|
|
30996
31103
|
}
|
|
30997
31104
|
_no_name_provided__qut3iv_7.prototype.m2r = function (action) {
|
|
30998
31105
|
return action instanceof SceneLifecycleAction;
|
|
30999
31106
|
};
|
|
31000
|
-
_no_name_provided__qut3iv_7.prototype.
|
|
31107
|
+
_no_name_provided__qut3iv_7.prototype.x4b = function (store, next, action) {
|
|
31001
31108
|
// Inline function 'com.debertz.logic.redux.middlewares.slices.sceneLifecycleMiddleware.<anonymous>' call
|
|
31002
31109
|
var tmp0__anonymous__q1qw7t = action instanceof SceneLifecycleAction ? action : THROW_CCE();
|
|
31003
31110
|
var table = store.state.t3v();
|
|
31004
31111
|
next(tmp0__anonymous__q1qw7t);
|
|
31005
|
-
this.
|
|
31112
|
+
this.k4g_1.u2q(null, sceneLifecycleMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.l4g_1, table, this.m4g_1, this.k4g_1, store, null), 1, null);
|
|
31006
31113
|
};
|
|
31007
31114
|
_no_name_provided__qut3iv_7.prototype.n2r = function (store, next, action) {
|
|
31008
|
-
return this.
|
|
31115
|
+
return this.x4b(store, next, action);
|
|
31009
31116
|
};
|
|
31010
31117
|
_no_name_provided__qut3iv_7.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31011
31118
|
function clearTimersWhenFinishingGameMiddleware() {
|
|
@@ -31019,7 +31126,7 @@
|
|
|
31019
31126
|
_no_name_provided__qut3iv_8.prototype.m2r = function (action) {
|
|
31020
31127
|
return action instanceof FinishingGameMechanicAction;
|
|
31021
31128
|
};
|
|
31022
|
-
_no_name_provided__qut3iv_8.prototype.
|
|
31129
|
+
_no_name_provided__qut3iv_8.prototype.x4b = function (store, next, action) {
|
|
31023
31130
|
// Inline function 'com.debertz.logic.redux.middlewares.timers.clearTimersWhenFinishingGameMiddleware.<anonymous>' call
|
|
31024
31131
|
var tmp0__anonymous__q1qw7t = action instanceof FinishingGameMechanicAction ? action : THROW_CCE();
|
|
31025
31132
|
var state = store.state;
|
|
@@ -31036,7 +31143,7 @@
|
|
|
31036
31143
|
next(tmp0__anonymous__q1qw7t);
|
|
31037
31144
|
};
|
|
31038
31145
|
_no_name_provided__qut3iv_8.prototype.n2r = function (store, next, action) {
|
|
31039
|
-
return this.
|
|
31146
|
+
return this.x4b(store, next, action);
|
|
31040
31147
|
};
|
|
31041
31148
|
_no_name_provided__qut3iv_8.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31042
31149
|
function checkGameIsNotFinishedMiddleware(logger) {
|
|
@@ -31077,12 +31184,12 @@
|
|
|
31077
31184
|
return tmp$ret$0;
|
|
31078
31185
|
}
|
|
31079
31186
|
function _no_name_provided__qut3iv_9($logger) {
|
|
31080
|
-
this.
|
|
31187
|
+
this.n4g_1 = $logger;
|
|
31081
31188
|
}
|
|
31082
31189
|
_no_name_provided__qut3iv_9.prototype.m2r = function (action) {
|
|
31083
31190
|
return action instanceof PickUpBribeMechanicAction;
|
|
31084
31191
|
};
|
|
31085
|
-
_no_name_provided__qut3iv_9.prototype.
|
|
31192
|
+
_no_name_provided__qut3iv_9.prototype.x4b = function (store, next, action) {
|
|
31086
31193
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkPlayerCardsCountAfterBribeMiddleware.<anonymous>' call
|
|
31087
31194
|
var tmp0__anonymous__q1qw7t = action instanceof PickUpBribeMechanicAction ? action : THROW_CCE();
|
|
31088
31195
|
var state = store.state;
|
|
@@ -31119,12 +31226,12 @@
|
|
|
31119
31226
|
tmp$ret$4 = tmp0_mapTo_0;
|
|
31120
31227
|
tmp$ret$5 = tmp$ret$4;
|
|
31121
31228
|
if (!(toSet(tmp$ret$5).i() === 1)) {
|
|
31122
|
-
this.
|
|
31229
|
+
this.n4g_1.v2t(get_TAG(), 'CheckPlayerCardsCountAfterBribeMiddleware: Some of players have different cards count: ' + playersCards);
|
|
31123
31230
|
}
|
|
31124
31231
|
next(tmp0__anonymous__q1qw7t);
|
|
31125
31232
|
};
|
|
31126
31233
|
_no_name_provided__qut3iv_9.prototype.n2r = function (store, next, action) {
|
|
31127
|
-
return this.
|
|
31234
|
+
return this.x4b(store, next, action);
|
|
31128
31235
|
};
|
|
31129
31236
|
_no_name_provided__qut3iv_9.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31130
31237
|
function NotValidateTimerReset() {
|
|
@@ -31143,12 +31250,12 @@
|
|
|
31143
31250
|
return tmp$ret$0;
|
|
31144
31251
|
}
|
|
31145
31252
|
function _no_name_provided__qut3iv_10($logger) {
|
|
31146
|
-
this.
|
|
31253
|
+
this.p4g_1 = $logger;
|
|
31147
31254
|
}
|
|
31148
31255
|
_no_name_provided__qut3iv_10.prototype.m2r = function (action) {
|
|
31149
31256
|
return action instanceof SceneMechanicAction;
|
|
31150
31257
|
};
|
|
31151
|
-
_no_name_provided__qut3iv_10.prototype.
|
|
31258
|
+
_no_name_provided__qut3iv_10.prototype.x4b = function (store, next, action) {
|
|
31152
31259
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneMiddleware.<anonymous>' call
|
|
31153
31260
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
31154
31261
|
var tmp$ret$2;
|
|
@@ -31164,7 +31271,7 @@
|
|
|
31164
31271
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneMiddleware.<anonymous>.<anonymous>' call
|
|
31165
31272
|
var tmp;
|
|
31166
31273
|
if (isInterface(element, NotValidateTimerReset)) {
|
|
31167
|
-
tmp = element.
|
|
31274
|
+
tmp = element.o4g();
|
|
31168
31275
|
} else {
|
|
31169
31276
|
tmp = false;
|
|
31170
31277
|
}
|
|
@@ -31180,21 +31287,21 @@
|
|
|
31180
31287
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
31181
31288
|
tmp$ret$3 = !timers.k();
|
|
31182
31289
|
if (tmp$ret$3) {
|
|
31183
|
-
this.
|
|
31290
|
+
this.p4g_1.v2t(get_TAG(), 'CheckEmptyTimersBeforeSceneMiddleware: Timers are not empty before scene: ' + timers + ', ' + tmp0__anonymous__q1qw7t);
|
|
31184
31291
|
}
|
|
31185
31292
|
next(tmp0__anonymous__q1qw7t);
|
|
31186
31293
|
};
|
|
31187
31294
|
_no_name_provided__qut3iv_10.prototype.n2r = function (store, next, action) {
|
|
31188
|
-
return this.
|
|
31295
|
+
return this.x4b(store, next, action);
|
|
31189
31296
|
};
|
|
31190
31297
|
_no_name_provided__qut3iv_10.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31191
31298
|
function _no_name_provided__qut3iv_11($logger) {
|
|
31192
|
-
this.
|
|
31299
|
+
this.q4g_1 = $logger;
|
|
31193
31300
|
}
|
|
31194
31301
|
_no_name_provided__qut3iv_11.prototype.m2r = function (action) {
|
|
31195
31302
|
return action instanceof SceneActMechanicAction;
|
|
31196
31303
|
};
|
|
31197
|
-
_no_name_provided__qut3iv_11.prototype.
|
|
31304
|
+
_no_name_provided__qut3iv_11.prototype.x4b = function (store, next, action) {
|
|
31198
31305
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneActMiddleware.<anonymous>' call
|
|
31199
31306
|
var tmp0__anonymous__q1qw7t = action instanceof SceneActMechanicAction ? action : THROW_CCE();
|
|
31200
31307
|
var tmp$ret$2;
|
|
@@ -31210,7 +31317,7 @@
|
|
|
31210
31317
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneActMiddleware.<anonymous>.<anonymous>' call
|
|
31211
31318
|
var tmp;
|
|
31212
31319
|
if (isInterface(element, NotValidateTimerReset)) {
|
|
31213
|
-
tmp = element.
|
|
31320
|
+
tmp = element.o4g();
|
|
31214
31321
|
} else {
|
|
31215
31322
|
tmp = false;
|
|
31216
31323
|
}
|
|
@@ -31226,12 +31333,12 @@
|
|
|
31226
31333
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
31227
31334
|
tmp$ret$3 = !timers.k();
|
|
31228
31335
|
if (tmp$ret$3) {
|
|
31229
|
-
this.
|
|
31336
|
+
this.q4g_1.v2t(get_TAG(), 'CheckEmptyTimersBeforeSceneActMiddleware: Timers are not empty before act: ' + timers + ', ' + tmp0__anonymous__q1qw7t);
|
|
31230
31337
|
}
|
|
31231
31338
|
next(tmp0__anonymous__q1qw7t);
|
|
31232
31339
|
};
|
|
31233
31340
|
_no_name_provided__qut3iv_11.prototype.n2r = function (store, next, action) {
|
|
31234
|
-
return this.
|
|
31341
|
+
return this.x4b(store, next, action);
|
|
31235
31342
|
};
|
|
31236
31343
|
_no_name_provided__qut3iv_11.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31237
31344
|
function checkValidClientTurnMiddleware(disableClientTurnCheckWhen, logger) {
|
|
@@ -31257,13 +31364,13 @@
|
|
|
31257
31364
|
return checkPlayerTurnIsAlreadySetMiddleware(disableClientTurnCheckWhen, logger);
|
|
31258
31365
|
}
|
|
31259
31366
|
function _no_name_provided__qut3iv_12($disableClientTurnCheckWhen, $logger) {
|
|
31260
|
-
this.
|
|
31261
|
-
this.
|
|
31367
|
+
this.r4g_1 = $disableClientTurnCheckWhen;
|
|
31368
|
+
this.s4g_1 = $logger;
|
|
31262
31369
|
}
|
|
31263
31370
|
_no_name_provided__qut3iv_12.prototype.m2r = function (action) {
|
|
31264
31371
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
31265
31372
|
};
|
|
31266
|
-
_no_name_provided__qut3iv_12.prototype.
|
|
31373
|
+
_no_name_provided__qut3iv_12.prototype.x4b = function (store, next, action) {
|
|
31267
31374
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidClientTurnMiddleware.<anonymous>' call
|
|
31268
31375
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
31269
31376
|
var state = store.state;
|
|
@@ -31289,9 +31396,9 @@
|
|
|
31289
31396
|
$l$block_0: {
|
|
31290
31397
|
// Inline function 'kotlin.collections.any' call
|
|
31291
31398
|
var tmp_0;
|
|
31292
|
-
var tmp_1 = this.
|
|
31399
|
+
var tmp_1 = this.r4g_1;
|
|
31293
31400
|
if (isInterface(tmp_1, Collection)) {
|
|
31294
|
-
tmp_0 = this.
|
|
31401
|
+
tmp_0 = this.r4g_1.k();
|
|
31295
31402
|
} else {
|
|
31296
31403
|
tmp_0 = false;
|
|
31297
31404
|
}
|
|
@@ -31299,7 +31406,7 @@
|
|
|
31299
31406
|
tmp$ret$3 = false;
|
|
31300
31407
|
break $l$block_0;
|
|
31301
31408
|
}
|
|
31302
|
-
var tmp0_iterator_0 = this.
|
|
31409
|
+
var tmp0_iterator_0 = this.r4g_1.f();
|
|
31303
31410
|
while (tmp0_iterator_0.g()) {
|
|
31304
31411
|
var element = tmp0_iterator_0.h();
|
|
31305
31412
|
var tmp$ret$4;
|
|
@@ -31333,23 +31440,23 @@
|
|
|
31333
31440
|
tmp$ret$6 = tmp0_mapTo_0;
|
|
31334
31441
|
tmp$ret$7 = tmp$ret$6;
|
|
31335
31442
|
var playersIdsWithTag = tmp$ret$7;
|
|
31336
|
-
this.
|
|
31443
|
+
this.s4g_1.v2t(get_TAG(), 'CheckValidClientTurnMiddleware: Unexpected playerId: ' + ('expected = ' + playersIdsWithTag + '; \n') + ('actual = ' + tmp0__anonymous__q1qw7t.playerId + ', action: ' + tmp0__anonymous__q1qw7t));
|
|
31337
31444
|
} else {
|
|
31338
31445
|
next(tmp0__anonymous__q1qw7t);
|
|
31339
31446
|
}
|
|
31340
31447
|
};
|
|
31341
31448
|
_no_name_provided__qut3iv_12.prototype.n2r = function (store, next, action) {
|
|
31342
|
-
return this.
|
|
31449
|
+
return this.x4b(store, next, action);
|
|
31343
31450
|
};
|
|
31344
31451
|
_no_name_provided__qut3iv_12.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31345
31452
|
function _no_name_provided__qut3iv_13($disableClientTurnCheckWhen, $logger) {
|
|
31346
|
-
this.
|
|
31347
|
-
this.
|
|
31453
|
+
this.t4g_1 = $disableClientTurnCheckWhen;
|
|
31454
|
+
this.u4g_1 = $logger;
|
|
31348
31455
|
}
|
|
31349
31456
|
_no_name_provided__qut3iv_13.prototype.m2r = function (action) {
|
|
31350
31457
|
return isInterface(action, NextPlayerTurnAction);
|
|
31351
31458
|
};
|
|
31352
|
-
_no_name_provided__qut3iv_13.prototype.
|
|
31459
|
+
_no_name_provided__qut3iv_13.prototype.x4b = function (store, next, action) {
|
|
31353
31460
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkPlayerTurnIsAlreadySetMiddleware.<anonymous>' call
|
|
31354
31461
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
31355
31462
|
var state = store.state;
|
|
@@ -31389,7 +31496,7 @@
|
|
|
31389
31496
|
var element = tmp0_iterator_0.h();
|
|
31390
31497
|
var tmp$ret$4;
|
|
31391
31498
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkPlayerTurnIsAlreadySetMiddleware.<anonymous>.<anonymous>' call
|
|
31392
|
-
tmp$ret$4 = tmp0__anonymous__q1qw7t.
|
|
31499
|
+
tmp$ret$4 = tmp0__anonymous__q1qw7t.n48().r1(element);
|
|
31393
31500
|
if (tmp$ret$4) {
|
|
31394
31501
|
tmp$ret$3 = true;
|
|
31395
31502
|
break $l$block_0;
|
|
@@ -31402,9 +31509,9 @@
|
|
|
31402
31509
|
$l$block_2: {
|
|
31403
31510
|
// Inline function 'kotlin.collections.any' call
|
|
31404
31511
|
var tmp_1;
|
|
31405
|
-
var tmp_2 = this.
|
|
31512
|
+
var tmp_2 = this.t4g_1;
|
|
31406
31513
|
if (isInterface(tmp_2, Collection)) {
|
|
31407
|
-
tmp_1 = this.
|
|
31514
|
+
tmp_1 = this.t4g_1.k();
|
|
31408
31515
|
} else {
|
|
31409
31516
|
tmp_1 = false;
|
|
31410
31517
|
}
|
|
@@ -31412,7 +31519,7 @@
|
|
|
31412
31519
|
tmp$ret$5 = false;
|
|
31413
31520
|
break $l$block_2;
|
|
31414
31521
|
}
|
|
31415
|
-
var tmp0_iterator_1 = this.
|
|
31522
|
+
var tmp0_iterator_1 = this.t4g_1.f();
|
|
31416
31523
|
while (tmp0_iterator_1.g()) {
|
|
31417
31524
|
var element_0 = tmp0_iterator_1.h();
|
|
31418
31525
|
var tmp$ret$6;
|
|
@@ -31446,13 +31553,13 @@
|
|
|
31446
31553
|
tmp$ret$8 = tmp0_mapTo_0;
|
|
31447
31554
|
tmp$ret$9 = tmp$ret$8;
|
|
31448
31555
|
var playersIdsWithTag = tmp$ret$9;
|
|
31449
|
-
this.
|
|
31556
|
+
this.u4g_1.v2t(get_TAG(), 'CheckPlayerTurnIsAlreadySetMiddleware: Player turn is already set for that player: ' + ('expected = ' + playersIdsWithTag + '; \n') + ('actual = ' + tmp0__anonymous__q1qw7t.n48() + ', action: ' + tmp0__anonymous__q1qw7t));
|
|
31450
31557
|
} else {
|
|
31451
31558
|
next(tmp0__anonymous__q1qw7t);
|
|
31452
31559
|
}
|
|
31453
31560
|
};
|
|
31454
31561
|
_no_name_provided__qut3iv_13.prototype.n2r = function (store, next, action) {
|
|
31455
|
-
return this.
|
|
31562
|
+
return this.x4b(store, next, action);
|
|
31456
31563
|
};
|
|
31457
31564
|
_no_name_provided__qut3iv_13.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31458
31565
|
function checkValidSceneMiddleware(logger) {
|
|
@@ -31472,47 +31579,47 @@
|
|
|
31472
31579
|
}
|
|
31473
31580
|
var TAG;
|
|
31474
31581
|
function _no_name_provided__qut3iv_14($logger) {
|
|
31475
|
-
this.
|
|
31582
|
+
this.v4g_1 = $logger;
|
|
31476
31583
|
}
|
|
31477
31584
|
_no_name_provided__qut3iv_14.prototype.m2r = function (action) {
|
|
31478
31585
|
return action instanceof SceneMechanicAction;
|
|
31479
31586
|
};
|
|
31480
|
-
_no_name_provided__qut3iv_14.prototype.
|
|
31587
|
+
_no_name_provided__qut3iv_14.prototype.x4b = function (store, next, action) {
|
|
31481
31588
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidSceneMiddleware.<anonymous>' call
|
|
31482
31589
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
31483
31590
|
var state = store.state;
|
|
31484
31591
|
if (state.u3v()) {
|
|
31485
31592
|
var sceneInfo = state.t3v().h3u_1;
|
|
31486
|
-
if ((!get_isWaitingScene(sceneInfo.
|
|
31487
|
-
this.
|
|
31593
|
+
if ((!get_isWaitingScene(sceneInfo.c3y_1) ? Companion_getInstance_8().x2w(sceneInfo.c3y_1, tmp0__anonymous__q1qw7t.g45_1) : false) ? equals(sceneInfo.f3y_1, tmp0__anonymous__q1qw7t.i45_1) : false) {
|
|
31594
|
+
this.v4g_1.l2q('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo + ', ') + ('actual = ' + tmp0__anonymous__q1qw7t)));
|
|
31488
31595
|
}
|
|
31489
31596
|
}
|
|
31490
31597
|
next(tmp0__anonymous__q1qw7t);
|
|
31491
31598
|
};
|
|
31492
31599
|
_no_name_provided__qut3iv_14.prototype.n2r = function (store, next, action) {
|
|
31493
|
-
return this.
|
|
31600
|
+
return this.x4b(store, next, action);
|
|
31494
31601
|
};
|
|
31495
31602
|
_no_name_provided__qut3iv_14.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31496
31603
|
function _no_name_provided__qut3iv_15($logger) {
|
|
31497
|
-
this.
|
|
31604
|
+
this.w4g_1 = $logger;
|
|
31498
31605
|
}
|
|
31499
31606
|
_no_name_provided__qut3iv_15.prototype.m2r = function (action) {
|
|
31500
31607
|
return action instanceof SceneActMechanicAction;
|
|
31501
31608
|
};
|
|
31502
|
-
_no_name_provided__qut3iv_15.prototype.
|
|
31609
|
+
_no_name_provided__qut3iv_15.prototype.x4b = function (store, next, action) {
|
|
31503
31610
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidSceneActMiddleware.<anonymous>' call
|
|
31504
31611
|
var tmp0__anonymous__q1qw7t = action instanceof SceneActMechanicAction ? action : THROW_CCE();
|
|
31505
31612
|
var state = store.state;
|
|
31506
31613
|
if (state.u3v()) {
|
|
31507
31614
|
var sceneInfo = state.t3v().h3u_1;
|
|
31508
|
-
if ((Companion_getInstance_8().x2w(sceneInfo.
|
|
31509
|
-
this.
|
|
31615
|
+
if ((Companion_getInstance_8().x2w(sceneInfo.c3y_1, tmp0__anonymous__q1qw7t.y44_1) ? sceneInfo.e3y_1 === tmp0__anonymous__q1qw7t.z44_1 : false) ? equals(sceneInfo.g3y_1, tmp0__anonymous__q1qw7t.a45_1) : false) {
|
|
31616
|
+
this.w4g_1.l2q('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo + ', ') + ('actual = ' + tmp0__anonymous__q1qw7t)));
|
|
31510
31617
|
}
|
|
31511
31618
|
}
|
|
31512
31619
|
next(tmp0__anonymous__q1qw7t);
|
|
31513
31620
|
};
|
|
31514
31621
|
_no_name_provided__qut3iv_15.prototype.n2r = function (store, next, action) {
|
|
31515
|
-
return this.
|
|
31622
|
+
return this.x4b(store, next, action);
|
|
31516
31623
|
};
|
|
31517
31624
|
_no_name_provided__qut3iv_15.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31518
31625
|
function mechanicReducer(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer) {
|
|
@@ -31522,77 +31629,77 @@
|
|
|
31522
31629
|
return tmp$ret$0;
|
|
31523
31630
|
}
|
|
31524
31631
|
function _no_name_provided__qut3iv_16($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer) {
|
|
31525
|
-
this.
|
|
31526
|
-
this.
|
|
31527
|
-
this.
|
|
31528
|
-
this.
|
|
31529
|
-
this.
|
|
31530
|
-
this.
|
|
31531
|
-
this.
|
|
31532
|
-
this.
|
|
31632
|
+
this.x4g_1 = $gameLifecycleReducer;
|
|
31633
|
+
this.y4g_1 = $teamsMechanicReducer;
|
|
31634
|
+
this.z4g_1 = $tradeMechanicReducer;
|
|
31635
|
+
this.a4h_1 = $combinationsMechanicReducer;
|
|
31636
|
+
this.b4h_1 = $earnPointsMechanicReducer;
|
|
31637
|
+
this.c4h_1 = $sceneReducer;
|
|
31638
|
+
this.d4h_1 = $sceneActReducer;
|
|
31639
|
+
this.e4h_1 = $playerTurnMechanicReducer;
|
|
31533
31640
|
}
|
|
31534
31641
|
_no_name_provided__qut3iv_16.prototype.m2r = function (action) {
|
|
31535
31642
|
return action instanceof MechanicAction;
|
|
31536
31643
|
};
|
|
31537
|
-
_no_name_provided__qut3iv_16.prototype.
|
|
31644
|
+
_no_name_provided__qut3iv_16.prototype.f4h = function (state, action) {
|
|
31538
31645
|
var tmp$ret$0;
|
|
31539
31646
|
// Inline function 'com.debertz.logic.redux.reducers.mechanicReducer.<anonymous>' call
|
|
31540
31647
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
31541
31648
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
31542
31649
|
var tmp;
|
|
31543
31650
|
if (tmp0_subject instanceof StartGameMechanicAction) {
|
|
31544
|
-
tmp = this.
|
|
31651
|
+
tmp = this.x4g_1.j4i(state, tmp0__anonymous__q1qw7t);
|
|
31545
31652
|
} else {
|
|
31546
31653
|
if (tmp0_subject instanceof ContinueGameMechanicAction) {
|
|
31547
|
-
tmp = this.
|
|
31654
|
+
tmp = this.x4g_1.i4i(state, tmp0__anonymous__q1qw7t);
|
|
31548
31655
|
} else {
|
|
31549
31656
|
if (tmp0_subject instanceof FinishingGameMechanicAction) {
|
|
31550
|
-
tmp = this.
|
|
31657
|
+
tmp = this.x4g_1.h4i(state, tmp0__anonymous__q1qw7t);
|
|
31551
31658
|
} else {
|
|
31552
31659
|
if (tmp0_subject instanceof FinishGameMechanicAction) {
|
|
31553
|
-
tmp = this.
|
|
31660
|
+
tmp = this.x4g_1.g4i(state, tmp0__anonymous__q1qw7t);
|
|
31554
31661
|
} else {
|
|
31555
31662
|
if (tmp0_subject instanceof RestartGameMechanicAction) {
|
|
31556
|
-
tmp = this.
|
|
31663
|
+
tmp = this.x4g_1.f4i(state, tmp0__anonymous__q1qw7t);
|
|
31557
31664
|
} else {
|
|
31558
31665
|
if (tmp0_subject instanceof TeamsDataMechanicAction) {
|
|
31559
31666
|
var tmp_0 = state.t3v();
|
|
31560
|
-
var tmp_1 = this.
|
|
31667
|
+
var tmp_1 = this.y4g_1.e4i(state.t3v().g3u_1, tmp0__anonymous__q1qw7t);
|
|
31561
31668
|
var tmp_2 = tmp_0.g3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
31562
31669
|
tmp = state.b47(tmp_2, null, null, null, null, 30, null);
|
|
31563
31670
|
} else {
|
|
31564
31671
|
if (tmp0_subject instanceof SuitChoiceMechanicAction) {
|
|
31565
|
-
tmp = this.
|
|
31672
|
+
tmp = this.z4g_1.d4i(state, tmp0__anonymous__q1qw7t);
|
|
31566
31673
|
} else {
|
|
31567
31674
|
if (tmp0_subject instanceof TrumpMechanicAction) {
|
|
31568
|
-
tmp = this.
|
|
31675
|
+
tmp = this.z4g_1.c4i(state, tmp0__anonymous__q1qw7t);
|
|
31569
31676
|
} else {
|
|
31570
31677
|
if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
|
|
31571
|
-
tmp = this.
|
|
31678
|
+
tmp = this.a4h_1.b4i(state, tmp0__anonymous__q1qw7t);
|
|
31572
31679
|
} else {
|
|
31573
31680
|
if (tmp0_subject instanceof PutCardMechanicAction) {
|
|
31574
|
-
tmp = this.
|
|
31681
|
+
tmp = this.b4h_1.a4i(state, tmp0__anonymous__q1qw7t);
|
|
31575
31682
|
} else {
|
|
31576
31683
|
if (tmp0_subject instanceof PickUpBribeMechanicAction) {
|
|
31577
|
-
tmp = this.
|
|
31684
|
+
tmp = this.b4h_1.z4h(state, tmp0__anonymous__q1qw7t);
|
|
31578
31685
|
} else {
|
|
31579
31686
|
if (tmp0_subject instanceof WinnerCombinationsMechanicAction) {
|
|
31580
|
-
tmp = this.
|
|
31687
|
+
tmp = this.a4h_1.u4h(state, tmp0__anonymous__q1qw7t);
|
|
31581
31688
|
} else {
|
|
31582
31689
|
if (tmp0_subject instanceof SceneMechanicAction) {
|
|
31583
|
-
var tmp_3 = this.
|
|
31690
|
+
var tmp_3 = this.c4h_1.q4h(state.t3v(), tmp0__anonymous__q1qw7t);
|
|
31584
31691
|
tmp = state.b47(tmp_3, null, null, null, null, 30, null);
|
|
31585
31692
|
} else {
|
|
31586
31693
|
if (tmp0_subject instanceof SceneActMechanicAction) {
|
|
31587
|
-
var tmp_4 = this.
|
|
31694
|
+
var tmp_4 = this.d4h_1.k4h(state.t3v(), tmp0__anonymous__q1qw7t);
|
|
31588
31695
|
tmp = state.b47(tmp_4, null, null, null, null, 30, null);
|
|
31589
31696
|
} else {
|
|
31590
31697
|
if (tmp0_subject instanceof PlayerReadyMechanicAction) {
|
|
31591
|
-
var tmp_5 = this.
|
|
31698
|
+
var tmp_5 = this.e4h_1.i4h(state.t3v(), tmp0__anonymous__q1qw7t);
|
|
31592
31699
|
tmp = state.b47(tmp_5, null, null, null, null, 30, null);
|
|
31593
31700
|
} else {
|
|
31594
31701
|
if (tmp0_subject instanceof PlayerConnectionChangedMechanicAction) {
|
|
31595
|
-
var tmp_6 = this.
|
|
31702
|
+
var tmp_6 = this.e4h_1.h4h(state.t3v(), tmp0__anonymous__q1qw7t);
|
|
31596
31703
|
tmp = state.b47(tmp_6, null, null, null, null, 30, null);
|
|
31597
31704
|
} else {
|
|
31598
31705
|
if (tmp0_subject instanceof MessageMechanicAction) {
|
|
@@ -31620,7 +31727,7 @@
|
|
|
31620
31727
|
return tmp$ret$0;
|
|
31621
31728
|
};
|
|
31622
31729
|
_no_name_provided__qut3iv_16.prototype.d2r = function (state, action) {
|
|
31623
|
-
return this.
|
|
31730
|
+
return this.f4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
31624
31731
|
};
|
|
31625
31732
|
_no_name_provided__qut3iv_16.$metadata$ = classMeta(undefined, [Reducer]);
|
|
31626
31733
|
function timerReducer() {
|
|
@@ -31634,7 +31741,7 @@
|
|
|
31634
31741
|
_no_name_provided__qut3iv_17.prototype.m2r = function (action) {
|
|
31635
31742
|
return action instanceof TimerAction;
|
|
31636
31743
|
};
|
|
31637
|
-
_no_name_provided__qut3iv_17.prototype.
|
|
31744
|
+
_no_name_provided__qut3iv_17.prototype.f4h = function (state, action) {
|
|
31638
31745
|
var tmp$ret$0;
|
|
31639
31746
|
// Inline function 'com.debertz.logic.redux.reducers.timerReducer.<anonymous>' call
|
|
31640
31747
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
@@ -31663,13 +31770,13 @@
|
|
|
31663
31770
|
return tmp$ret$0;
|
|
31664
31771
|
};
|
|
31665
31772
|
_no_name_provided__qut3iv_17.prototype.d2r = function (state, action) {
|
|
31666
|
-
return this.
|
|
31773
|
+
return this.f4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
31667
31774
|
};
|
|
31668
31775
|
_no_name_provided__qut3iv_17.$metadata$ = classMeta(undefined, [Reducer]);
|
|
31669
31776
|
function SceneActReducer(combinationsMechanicReducer) {
|
|
31670
|
-
this.
|
|
31777
|
+
this.j4h_1 = combinationsMechanicReducer;
|
|
31671
31778
|
}
|
|
31672
|
-
SceneActReducer.prototype.
|
|
31779
|
+
SceneActReducer.prototype.k4h = function (table, action) {
|
|
31673
31780
|
var tmp0_subject = action.y44_1;
|
|
31674
31781
|
var tmp;
|
|
31675
31782
|
var tmp_0;
|
|
@@ -31685,11 +31792,11 @@
|
|
|
31685
31792
|
var tmp_1;
|
|
31686
31793
|
Companion_getInstance_9();
|
|
31687
31794
|
if (tmp1_subject === 'PLAYER_TURN') {
|
|
31688
|
-
tmp_1 = playerTurnReducer(action, table, this.
|
|
31795
|
+
tmp_1 = playerTurnReducer(action, table, this.j4h_1);
|
|
31689
31796
|
} else {
|
|
31690
31797
|
Companion_getInstance_9();
|
|
31691
31798
|
if (tmp1_subject === 'COMBINATION') {
|
|
31692
|
-
tmp_1 = combinationReducer(action, table, this.
|
|
31799
|
+
tmp_1 = combinationReducer(action, table, this.j4h_1);
|
|
31693
31800
|
} else {
|
|
31694
31801
|
throw new MechanicException("Can't support this act " + action);
|
|
31695
31802
|
}
|
|
@@ -31742,7 +31849,7 @@
|
|
|
31742
31849
|
var tmp1_excludePredicate = get_combinationsPredicate();
|
|
31743
31850
|
var tmp2_combinations = getValue(combinationActData.a3b_1, item.f2l());
|
|
31744
31851
|
var tmp3_config = table.f3u_1;
|
|
31745
|
-
var tmp_1 = combinationsMechanicReducer.
|
|
31852
|
+
var tmp_1 = combinationsMechanicReducer.k4i(tmp0_state, tmp2_combinations, item, tmp3_config, tmp1_excludePredicate);
|
|
31746
31853
|
tmp_0 = item.s31(null, null, null, null, null, item.z30_1.q33(0, tmp_1, null, 5, null), 31, null);
|
|
31747
31854
|
} else {
|
|
31748
31855
|
tmp_0 = item;
|
|
@@ -31777,7 +31884,7 @@
|
|
|
31777
31884
|
var tmp0_state = CombinationState_VERIFYING_getInstance();
|
|
31778
31885
|
var tmp1_combinations = combinationActData.s3a_1;
|
|
31779
31886
|
var tmp2_config = table.f3u_1;
|
|
31780
|
-
var tmp = combinationsMechanicReducer.
|
|
31887
|
+
var tmp = combinationsMechanicReducer.l4i(tmp0_state, tmp1_combinations, player, tmp2_config, null, 16, null);
|
|
31781
31888
|
var tmp4_players = updateItem(table.g3u_1, player.s31(null, null, null, null, null, player.z30_1.q33(0, tmp, null, 5, null), 31, null), get_byIdPlayerPredicate()(player.f2l()));
|
|
31782
31889
|
return table.g3v(null, null, null, null, tmp4_players, tmp3_sceneInfo, null, null, null, null, 975, null);
|
|
31783
31890
|
}
|
|
@@ -31785,39 +31892,39 @@
|
|
|
31785
31892
|
}
|
|
31786
31893
|
MechanicLifecycleReducer.$metadata$ = interfaceMeta('MechanicLifecycleReducer');
|
|
31787
31894
|
function BaseMechanicLifecycleReducer(tableLifecycleReducer) {
|
|
31788
|
-
this.
|
|
31895
|
+
this.m4i_1 = tableLifecycleReducer;
|
|
31789
31896
|
}
|
|
31790
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
31897
|
+
BaseMechanicLifecycleReducer.prototype.i4i = function (state, action) {
|
|
31791
31898
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
31792
|
-
var tmp1_gameTable = action.
|
|
31793
|
-
var tmp2_payload = action.
|
|
31899
|
+
var tmp1_gameTable = action.k49_1;
|
|
31900
|
+
var tmp2_payload = action.m49_1;
|
|
31794
31901
|
return state.b47(tmp1_gameTable, tmp2_payload, tmp0_gameLifecycleState, null, null, 16, null);
|
|
31795
31902
|
};
|
|
31796
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
31903
|
+
BaseMechanicLifecycleReducer.prototype.g4i = function (state, action) {
|
|
31797
31904
|
var tmp = GameLifecycleState_FINISHED_getInstance();
|
|
31798
|
-
return state.b47(null, null, tmp, action.
|
|
31905
|
+
return state.b47(null, null, tmp, action.k48_1, null, 19, null);
|
|
31799
31906
|
};
|
|
31800
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
31907
|
+
BaseMechanicLifecycleReducer.prototype.h4i = function (state, action) {
|
|
31801
31908
|
var tmp0_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
31802
|
-
var tmp1_terminationGameReason = action.
|
|
31803
|
-
var tmp2_gameTable = this.
|
|
31909
|
+
var tmp1_terminationGameReason = action.h48_1;
|
|
31910
|
+
var tmp2_gameTable = this.m4i_1.o4i(state.t3v());
|
|
31804
31911
|
return state.b47(tmp2_gameTable, null, tmp0_gameLifecycleState, tmp1_terminationGameReason, null, 18, null);
|
|
31805
31912
|
};
|
|
31806
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
31807
|
-
var tmp = this.
|
|
31913
|
+
BaseMechanicLifecycleReducer.prototype.f4i = function (state, action) {
|
|
31914
|
+
var tmp = this.m4i_1.p4i(state.t3v());
|
|
31808
31915
|
return state.b47(tmp, null, null, null, null, 30, null);
|
|
31809
31916
|
};
|
|
31810
31917
|
BaseMechanicLifecycleReducer.$metadata$ = classMeta('BaseMechanicLifecycleReducer', [MechanicLifecycleReducer]);
|
|
31811
31918
|
function PlayerSceneReducer(combinationsMechanicReducer) {
|
|
31812
|
-
this.
|
|
31919
|
+
this.q4i_1 = combinationsMechanicReducer;
|
|
31813
31920
|
}
|
|
31814
|
-
PlayerSceneReducer.prototype.
|
|
31921
|
+
PlayerSceneReducer.prototype.r4i = function (player, scene) {
|
|
31815
31922
|
var cards = getValue(scene.e3c_1, player.f2l());
|
|
31816
31923
|
var tmp = player.f2l() === scene.h3c_1;
|
|
31817
31924
|
var tmp0_options = player.w30_1.h33(false, 0, false, tmp, false, false, false, 0, 0, false, null, false, false, 8183, null);
|
|
31818
31925
|
return player.s31(null, null, tmp0_options, cards, null, null, 51, null);
|
|
31819
31926
|
};
|
|
31820
|
-
PlayerSceneReducer.prototype.
|
|
31927
|
+
PlayerSceneReducer.prototype.s4i = function (player, config, scene) {
|
|
31821
31928
|
var tmp0_safe_receiver = scene.j3c_1;
|
|
31822
31929
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n(player.f2l());
|
|
31823
31930
|
var combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
@@ -31828,9 +31935,9 @@
|
|
|
31828
31935
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
31829
31936
|
tmp$ret$0 = !combinations.k();
|
|
31830
31937
|
if (tmp$ret$0) {
|
|
31831
|
-
var tmp2_$this = this.
|
|
31938
|
+
var tmp2_$this = this.q4i_1;
|
|
31832
31939
|
var tmp3_state = CombinationState_NOT_VERIFIED_getInstance();
|
|
31833
|
-
var tmp_0 = tmp2_$this.
|
|
31940
|
+
var tmp_0 = tmp2_$this.l4i(tmp3_state, combinations, player, config, null, 16, null);
|
|
31834
31941
|
tmp = player.z30_1.q33(0, tmp_0, null, 5, null);
|
|
31835
31942
|
} else {
|
|
31836
31943
|
tmp = player.z30_1;
|
|
@@ -31838,7 +31945,7 @@
|
|
|
31838
31945
|
var tmp5_points = tmp;
|
|
31839
31946
|
return player.s31(null, null, tmp4_options, cards, null, tmp5_points, 19, null);
|
|
31840
31947
|
};
|
|
31841
|
-
PlayerSceneReducer.prototype.
|
|
31948
|
+
PlayerSceneReducer.prototype.t4i = function (player, sceneData) {
|
|
31842
31949
|
var tmp$ret$1;
|
|
31843
31950
|
// Inline function 'kotlin.collections.single' call
|
|
31844
31951
|
var tmp0_single = sceneData.w3b_1;
|
|
@@ -31880,16 +31987,16 @@
|
|
|
31880
31987
|
var tmp9_combinations = tmp$ret$2;
|
|
31881
31988
|
return player.s31(null, null, tmp, null, null, new PlayerPoints(tmp7_earnedPoints, tmp9_combinations, tmp8_earnedCards), 27, null);
|
|
31882
31989
|
};
|
|
31883
|
-
PlayerSceneReducer.prototype.
|
|
31990
|
+
PlayerSceneReducer.prototype.u4i = function (player, sceneData) {
|
|
31884
31991
|
var tmp = player.f2l() === sceneData.d3c_1;
|
|
31885
31992
|
var tmp_0 = player.w30_1.h33(false, 0, false, false, false, tmp, false, 0, 0, false, null, false, false, 8159, null);
|
|
31886
31993
|
return player.s31(null, null, tmp_0, null, null, null, 59, null);
|
|
31887
31994
|
};
|
|
31888
31995
|
PlayerSceneReducer.$metadata$ = classMeta('PlayerSceneReducer');
|
|
31889
31996
|
function PlayerTurnMechanicReducer(logger) {
|
|
31890
|
-
this.
|
|
31997
|
+
this.g4h_1 = logger;
|
|
31891
31998
|
}
|
|
31892
|
-
PlayerTurnMechanicReducer.prototype.
|
|
31999
|
+
PlayerTurnMechanicReducer.prototype.v4i = function (table, action) {
|
|
31893
32000
|
var tmp$ret$1;
|
|
31894
32001
|
// Inline function 'com.logic.utils.copy' call
|
|
31895
32002
|
var tmp0_copy = table.g3u_1;
|
|
@@ -31906,7 +32013,7 @@
|
|
|
31906
32013
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerTurnMechanicReducer.onPlayerTurn.<anonymous>.<anonymous>' call
|
|
31907
32014
|
var player = getPlayer(table.g3u_1, element);
|
|
31908
32015
|
if (!(player.v30_1.c2m_1 == null)) {
|
|
31909
|
-
this.
|
|
32016
|
+
this.g4h_1.y2q(null, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.v30_1.c2m_1) + (', new tag: ' + action.m32_1), 1, null);
|
|
31910
32017
|
}
|
|
31911
32018
|
var newState = Companion_getInstance_5().u2m(player.v30_1, System_getInstance().q2u().d2v(), action.m32_1);
|
|
31912
32019
|
updated(tmp0_apply, player.s31(null, newState, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.f2l()));
|
|
@@ -31916,23 +32023,23 @@
|
|
|
31916
32023
|
var tmp = tmp$ret$1;
|
|
31917
32024
|
return table.g3v(null, null, null, null, tmp, null, null, null, null, null, 1007, null);
|
|
31918
32025
|
};
|
|
31919
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32026
|
+
PlayerTurnMechanicReducer.prototype.w4i = function (table, action) {
|
|
31920
32027
|
var player = getPlayer(table.g3u_1, action.f2l());
|
|
31921
32028
|
if (player.v30_1.c2m_1 == null) {
|
|
31922
|
-
this.
|
|
32029
|
+
this.g4h_1.y2q(null, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + action.m32_1), 1, null);
|
|
31923
32030
|
}
|
|
31924
32031
|
var tmp = Companion_getInstance_5().t2m(player.v30_1.b2m_1);
|
|
31925
32032
|
var tmp_0 = updateItem(table.g3u_1, player.s31(null, tmp, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.f2l()));
|
|
31926
32033
|
return table.g3v(null, null, null, null, tmp_0, null, null, null, null, null, 1007, null);
|
|
31927
32034
|
};
|
|
31928
|
-
PlayerTurnMechanicReducer.prototype.
|
|
31929
|
-
var player = getPlayer(table.g3u_1, action.
|
|
32035
|
+
PlayerTurnMechanicReducer.prototype.i4h = function (table, action) {
|
|
32036
|
+
var player = getPlayer(table.g3u_1, action.b49_1);
|
|
31930
32037
|
var tmp = new Long(0, 0);
|
|
31931
32038
|
var tmp_0 = player.v30_1.v2m(tmp, null, true, null, null, 27, null);
|
|
31932
32039
|
var tmp_1 = updateItem(table.g3u_1, player.s31(null, tmp_0, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.f2l()));
|
|
31933
32040
|
return table.g3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
31934
32041
|
};
|
|
31935
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32042
|
+
PlayerTurnMechanicReducer.prototype.x4i = function (table) {
|
|
31936
32043
|
var tmp$ret$2;
|
|
31937
32044
|
// Inline function 'kotlin.collections.map' call
|
|
31938
32045
|
var tmp0_map = table.g3u_1;
|
|
@@ -31954,12 +32061,12 @@
|
|
|
31954
32061
|
var tmp_1 = tmp$ret$2;
|
|
31955
32062
|
return table.g3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
31956
32063
|
};
|
|
31957
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32064
|
+
PlayerTurnMechanicReducer.prototype.h4h = function (table, action) {
|
|
31958
32065
|
var players = table.g3u_1;
|
|
31959
|
-
var player = getPlayer(players, action.
|
|
31960
|
-
this.
|
|
32066
|
+
var player = getPlayer(players, action.q48_1);
|
|
32067
|
+
this.g4h_1.t2t(null, 'playerConnectionChangesReducer: ' + action.r48_1 + ', playerId: ' + action.q48_1, 1, null);
|
|
31961
32068
|
var tmp = new Long(0, 0);
|
|
31962
|
-
var tmp_0 = player.v30_1.v2m(tmp, null, false, action.
|
|
32069
|
+
var tmp_0 = player.v30_1.v2m(tmp, null, false, action.r48_1, null, 23, null);
|
|
31963
32070
|
var tmp_1 = updateItem(players, player.s31(null, tmp_0, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.f2l()));
|
|
31964
32071
|
return table.g3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
31965
32072
|
};
|
|
@@ -32003,7 +32110,7 @@
|
|
|
32003
32110
|
var item = tmp0_iterator.h();
|
|
32004
32111
|
var tmp$ret$1;
|
|
32005
32112
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32006
|
-
tmp$ret$1 = $this.
|
|
32113
|
+
tmp$ret$1 = $this.l4h_1.u4i(item, scene);
|
|
32007
32114
|
tmp0_mapTo.a(tmp$ret$1);
|
|
32008
32115
|
}
|
|
32009
32116
|
tmp$ret$2 = tmp0_mapTo;
|
|
@@ -32035,7 +32142,7 @@
|
|
|
32035
32142
|
var item_0 = tmp0_iterator_0.h();
|
|
32036
32143
|
var tmp$ret$5;
|
|
32037
32144
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32038
|
-
tmp$ret$5 = $this.
|
|
32145
|
+
tmp$ret$5 = $this.l4h_1.r4i(item_0, scene_0);
|
|
32039
32146
|
tmp0_mapTo_0.a(tmp$ret$5);
|
|
32040
32147
|
}
|
|
32041
32148
|
tmp$ret$6 = tmp0_mapTo_0;
|
|
@@ -32084,15 +32191,15 @@
|
|
|
32084
32191
|
var tmp$ret$13;
|
|
32085
32192
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32086
32193
|
var tmp_1;
|
|
32087
|
-
if ($this.
|
|
32088
|
-
tmp_1 = $this.
|
|
32194
|
+
if ($this.p4h_1.p41(config)) {
|
|
32195
|
+
tmp_1 = $this.o4h_1.z43(tmp4_let, cardDeck.d3v_1);
|
|
32089
32196
|
} else {
|
|
32090
32197
|
tmp_1 = tmp4_let;
|
|
32091
32198
|
}
|
|
32092
32199
|
tmp$ret$13 = tmp_1;
|
|
32093
32200
|
tmp$ret$14 = tmp$ret$13;
|
|
32094
32201
|
var playersCards = tmp$ret$14;
|
|
32095
|
-
var cards = $this.
|
|
32202
|
+
var cards = $this.o4h_1.y43(cardDeck.c3v_1, plus(playersCards, listOfNotNull(scene_1.k3c_1)));
|
|
32096
32203
|
var newCardDeck_0 = cardDeck.b3w(cards, null, scene_1.k3c_1, 2, null);
|
|
32097
32204
|
var tmp$ret$17;
|
|
32098
32205
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -32104,7 +32211,7 @@
|
|
|
32104
32211
|
var item_2 = tmp0_iterator_2.h();
|
|
32105
32212
|
var tmp$ret$15;
|
|
32106
32213
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32107
|
-
tmp$ret$15 = $this.
|
|
32214
|
+
tmp$ret$15 = $this.l4h_1.s4i(item_2, config, scene_1);
|
|
32108
32215
|
tmp0_mapTo_2.a(tmp$ret$15);
|
|
32109
32216
|
}
|
|
32110
32217
|
tmp$ret$16 = tmp0_mapTo_2;
|
|
@@ -32135,7 +32242,7 @@
|
|
|
32135
32242
|
var item_3 = tmp0_iterator_3.h();
|
|
32136
32243
|
var tmp$ret$19;
|
|
32137
32244
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32138
|
-
tmp$ret$19 = $this.
|
|
32245
|
+
tmp$ret$19 = $this.l4h_1.t4i(item_3, scene_2);
|
|
32139
32246
|
tmp0_mapTo_3.a(tmp$ret$19);
|
|
32140
32247
|
}
|
|
32141
32248
|
tmp$ret$20 = tmp0_mapTo_3;
|
|
@@ -32156,12 +32263,12 @@
|
|
|
32156
32263
|
var tmp;
|
|
32157
32264
|
Companion_getInstance_8();
|
|
32158
32265
|
if (tmp0_subject === 'PREVIEW') {
|
|
32159
|
-
tmp = $this.
|
|
32266
|
+
tmp = $this.m4h_1.x4i(table);
|
|
32160
32267
|
} else {
|
|
32161
32268
|
Companion_getInstance_8();
|
|
32162
32269
|
if (tmp0_subject === 'CALC_POINTS') {
|
|
32163
32270
|
var gameFinished = !(firstOrNull(filterByGameWinner(table.g3u_1)) == null);
|
|
32164
|
-
tmp = gameFinished ? $this.
|
|
32271
|
+
tmp = gameFinished ? $this.n4h_1.z4i(table) : $this.n4h_1.y4i(table);
|
|
32165
32272
|
} else {
|
|
32166
32273
|
tmp = table;
|
|
32167
32274
|
}
|
|
@@ -32169,18 +32276,18 @@
|
|
|
32169
32276
|
return tmp;
|
|
32170
32277
|
}
|
|
32171
32278
|
function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, dealerInteractor, gameParamsProvider) {
|
|
32172
|
-
this.
|
|
32173
|
-
this.
|
|
32174
|
-
this.
|
|
32175
|
-
this.
|
|
32176
|
-
this.
|
|
32177
|
-
}
|
|
32178
|
-
SceneReducer.prototype.
|
|
32179
|
-
var previousSceneId = table.h3u_1.
|
|
32279
|
+
this.l4h_1 = playerSceneReducer;
|
|
32280
|
+
this.m4h_1 = playerTurnMechanicReducer;
|
|
32281
|
+
this.n4h_1 = tableLifecycleReducer;
|
|
32282
|
+
this.o4h_1 = dealerInteractor;
|
|
32283
|
+
this.p4h_1 = gameParamsProvider;
|
|
32284
|
+
}
|
|
32285
|
+
SceneReducer.prototype.q4h = function (table, action) {
|
|
32286
|
+
var previousSceneId = table.h3u_1.c3y_1;
|
|
32180
32287
|
var tmp;
|
|
32181
32288
|
Companion_getInstance_8();
|
|
32182
32289
|
if (!(previousSceneId === 'WAITING')) {
|
|
32183
|
-
tmp = equals(table.h3u_1.
|
|
32290
|
+
tmp = equals(table.h3u_1.f3y_1, action.i45_1);
|
|
32184
32291
|
} else {
|
|
32185
32292
|
tmp = false;
|
|
32186
32293
|
}
|
|
@@ -32192,10 +32299,10 @@
|
|
|
32192
32299
|
SceneReducer.$metadata$ = classMeta('SceneReducer');
|
|
32193
32300
|
function TeamsMechanicReducer() {
|
|
32194
32301
|
}
|
|
32195
|
-
TeamsMechanicReducer.prototype.
|
|
32302
|
+
TeamsMechanicReducer.prototype.e4i = function (players, action) {
|
|
32196
32303
|
var tmp$ret$2;
|
|
32197
32304
|
// Inline function 'kotlin.collections.map' call
|
|
32198
|
-
var tmp0_map = action.
|
|
32305
|
+
var tmp0_map = action.y48_1.b2n_1;
|
|
32199
32306
|
var tmp$ret$1;
|
|
32200
32307
|
// Inline function 'kotlin.collections.mapTo' call
|
|
32201
32308
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -32212,7 +32319,7 @@
|
|
|
32212
32319
|
var team1 = tmp$ret$2.f();
|
|
32213
32320
|
var tmp$ret$5;
|
|
32214
32321
|
// Inline function 'kotlin.collections.map' call
|
|
32215
|
-
var tmp1_map = action.
|
|
32322
|
+
var tmp1_map = action.z48_1.b2n_1;
|
|
32216
32323
|
var tmp$ret$4;
|
|
32217
32324
|
// Inline function 'kotlin.collections.mapTo' call
|
|
32218
32325
|
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
|
|
@@ -32253,7 +32360,7 @@
|
|
|
32253
32360
|
TeamsMechanicReducer.$metadata$ = classMeta('TeamsMechanicReducer');
|
|
32254
32361
|
function TradeMechanicReducer() {
|
|
32255
32362
|
}
|
|
32256
|
-
TradeMechanicReducer.prototype.
|
|
32363
|
+
TradeMechanicReducer.prototype.d4i = function (state, action) {
|
|
32257
32364
|
var table = state.t3v();
|
|
32258
32365
|
var tmp$ret$3;
|
|
32259
32366
|
// Inline function 'kotlin.with' call
|
|
@@ -32291,7 +32398,7 @@
|
|
|
32291
32398
|
}
|
|
32292
32399
|
return tmp;
|
|
32293
32400
|
};
|
|
32294
|
-
TradeMechanicReducer.prototype.
|
|
32401
|
+
TradeMechanicReducer.prototype.c4i = function (state, action) {
|
|
32295
32402
|
var table = state.t3v();
|
|
32296
32403
|
var tmp$ret$2;
|
|
32297
32404
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -32312,7 +32419,7 @@
|
|
|
32312
32419
|
tmp$ret$1 = tmp0_mapTo;
|
|
32313
32420
|
tmp$ret$2 = tmp$ret$1;
|
|
32314
32421
|
var tmp_1 = tmp$ret$2;
|
|
32315
|
-
var tmp_2 = table.l3u_1.a3v_1.
|
|
32422
|
+
var tmp_2 = table.l3u_1.a3v_1.y3x(0, 0, action.t49_1, 3, null);
|
|
32316
32423
|
var tmp_3 = table.g3v(null, null, null, null, tmp_1, null, null, null, null, table.l3u_1.k3v(0, tmp_2, null, 5, null), 495, null);
|
|
32317
32424
|
return state.b47(tmp_3, null, null, null, null, 30, null);
|
|
32318
32425
|
};
|
|
@@ -32376,11 +32483,11 @@
|
|
|
32376
32483
|
};
|
|
32377
32484
|
}
|
|
32378
32485
|
function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerInteractor) {
|
|
32379
|
-
this.
|
|
32380
|
-
this.
|
|
32381
|
-
this.
|
|
32486
|
+
this.r4h_1 = teamsLogicProvider;
|
|
32487
|
+
this.s4h_1 = combinationsInteractor;
|
|
32488
|
+
this.t4h_1 = dealerInteractor;
|
|
32382
32489
|
}
|
|
32383
|
-
CombinationsMechanicReducer.prototype.
|
|
32490
|
+
CombinationsMechanicReducer.prototype.k4i = function (state, combinations, player, config, excludePredicate) {
|
|
32384
32491
|
var tmp$ret$1;
|
|
32385
32492
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32386
32493
|
var tmp0_filterNot = player.z30_1.k33_1;
|
|
@@ -32414,13 +32521,13 @@
|
|
|
32414
32521
|
tmp$ret$4 = tmp$ret$3;
|
|
32415
32522
|
return plus(tmp, tmp$ret$4);
|
|
32416
32523
|
};
|
|
32417
|
-
CombinationsMechanicReducer.prototype.
|
|
32524
|
+
CombinationsMechanicReducer.prototype.l4i = function (state, combinations, player, config, excludePredicate, $mask0, $handler) {
|
|
32418
32525
|
if (!(($mask0 & 16) === 0)) {
|
|
32419
32526
|
excludePredicate = CombinationsMechanicReducer$rebuildPlayerCombinations$lambda(combinations);
|
|
32420
32527
|
}
|
|
32421
|
-
return this.
|
|
32528
|
+
return this.k4i(state, combinations, player, config, excludePredicate);
|
|
32422
32529
|
};
|
|
32423
|
-
CombinationsMechanicReducer.prototype.
|
|
32530
|
+
CombinationsMechanicReducer.prototype.a4j = function (player, combinations, excludePredicate) {
|
|
32424
32531
|
var tmp$ret$1;
|
|
32425
32532
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32426
32533
|
var tmp0_filterNot = player.z30_1.k33_1;
|
|
@@ -32438,13 +32545,13 @@
|
|
|
32438
32545
|
tmp$ret$1 = tmp$ret$0;
|
|
32439
32546
|
return plus(tmp$ret$1, combinations);
|
|
32440
32547
|
};
|
|
32441
|
-
CombinationsMechanicReducer.prototype.
|
|
32548
|
+
CombinationsMechanicReducer.prototype.b4j = function (player, combinations, excludePredicate, $mask0, $handler) {
|
|
32442
32549
|
if (!(($mask0 & 4) === 0)) {
|
|
32443
32550
|
excludePredicate = CombinationsMechanicReducer$rebuildPlayerCombinations$lambda_0(combinations);
|
|
32444
32551
|
}
|
|
32445
|
-
return this.
|
|
32552
|
+
return this.a4j(player, combinations, excludePredicate);
|
|
32446
32553
|
};
|
|
32447
|
-
CombinationsMechanicReducer.prototype.
|
|
32554
|
+
CombinationsMechanicReducer.prototype.c4j = function (whoGotBribePlayerId, playerCombinations, players, config) {
|
|
32448
32555
|
var bellaCombination = first(playerCombinations.t3w_1);
|
|
32449
32556
|
var player = getPlayer(players, playerCombinations.s3w_1);
|
|
32450
32557
|
if (bellaCombination.u34_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
|
|
@@ -32454,7 +32561,7 @@
|
|
|
32454
32561
|
var tmp_0;
|
|
32455
32562
|
if (config.p3h_1.e2n_1) {
|
|
32456
32563
|
var playerWithBellaGotBribe = player.f2l() === whoGotBribePlayerId;
|
|
32457
|
-
var partnerGotBribe = config.s3h_1.isTeamGame ? this.
|
|
32564
|
+
var partnerGotBribe = config.s3h_1.isTeamGame ? this.r4h_1.l40(player.f2l(), players).f2l() === whoGotBribePlayerId : false;
|
|
32458
32565
|
var tmp_1;
|
|
32459
32566
|
if (playerWithBellaGotBribe ? true : partnerGotBribe) {
|
|
32460
32567
|
var tmp_2 = CombinationState_ACCEPTED_getInstance();
|
|
@@ -32471,13 +32578,13 @@
|
|
|
32471
32578
|
return tmp_0;
|
|
32472
32579
|
}
|
|
32473
32580
|
};
|
|
32474
|
-
CombinationsMechanicReducer.prototype.
|
|
32581
|
+
CombinationsMechanicReducer.prototype.u4h = function (state, action) {
|
|
32475
32582
|
var table = state.t3v();
|
|
32476
32583
|
var players = table.g3u_1;
|
|
32477
32584
|
var config = table.f3u_1;
|
|
32478
32585
|
var tmp$ret$5;
|
|
32479
32586
|
// Inline function 'kotlin.collections.associate' call
|
|
32480
|
-
var tmp0_associate = action.
|
|
32587
|
+
var tmp0_associate = action.i49_1;
|
|
32481
32588
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associate, 10)), 16);
|
|
32482
32589
|
var tmp$ret$4;
|
|
32483
32590
|
// Inline function 'kotlin.collections.associateTo' call
|
|
@@ -32515,7 +32622,7 @@
|
|
|
32515
32622
|
// Inline function 'kotlin.collections.associate' call
|
|
32516
32623
|
var tmp$ret$8;
|
|
32517
32624
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32518
|
-
var tmp1_filterNot = plus(this.
|
|
32625
|
+
var tmp1_filterNot = plus(this.s4h_1.n43(players), this.s4h_1.o43(players));
|
|
32519
32626
|
var tmp$ret$7;
|
|
32520
32627
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
32521
32628
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
@@ -32590,7 +32697,7 @@
|
|
|
32590
32697
|
var tmp0_elvis_lhs_0 = tmp1_orEmpty;
|
|
32591
32698
|
tmp$ret$16 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
32592
32699
|
var tmp_2 = plus(tmp_1, tmp$ret$16);
|
|
32593
|
-
var tmp_3 = this.
|
|
32700
|
+
var tmp_3 = this.b4j(item_1, tmp_2, null, 4, null);
|
|
32594
32701
|
tmp_0 = item_1.s31(null, null, null, null, null, item_1.z30_1.q33(0, tmp_3, null, 5, null), 31, null);
|
|
32595
32702
|
} else {
|
|
32596
32703
|
tmp_0 = item_1;
|
|
@@ -32604,15 +32711,15 @@
|
|
|
32604
32711
|
var tmp_5 = table.g3v(null, null, null, null, tmp_4, null, null, null, null, null, 1007, null);
|
|
32605
32712
|
return state.b47(tmp_5, null, null, null, null, 30, null);
|
|
32606
32713
|
};
|
|
32607
|
-
CombinationsMechanicReducer.prototype.
|
|
32714
|
+
CombinationsMechanicReducer.prototype.b4i = function (state, action) {
|
|
32608
32715
|
var table = state.t3v();
|
|
32609
|
-
var playerWithCombination = getPlayer(table.g3u_1, action.
|
|
32610
|
-
var tmp0_state = action.
|
|
32611
|
-
var tmp1_combinations = action.
|
|
32716
|
+
var playerWithCombination = getPlayer(table.g3u_1, action.e49_1);
|
|
32717
|
+
var tmp0_state = action.f49_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
|
|
32718
|
+
var tmp1_combinations = action.g49_1;
|
|
32612
32719
|
var tmp2_config = table.f3u_1;
|
|
32613
|
-
var tmp = this.
|
|
32720
|
+
var tmp = this.l4i(tmp0_state, tmp1_combinations, playerWithCombination, tmp2_config, null, 16, null);
|
|
32614
32721
|
var newPoints = playerWithCombination.z30_1.q33(0, tmp, null, 5, null);
|
|
32615
|
-
var announcedCombination = getCombination(newPoints.k33_1, single(action.
|
|
32722
|
+
var announcedCombination = getCombination(newPoints.k33_1, single(action.g49_1).v3a_1);
|
|
32616
32723
|
if (announcedCombination.u34_1.equals(CombinationState_ACCEPTED_getInstance())) {
|
|
32617
32724
|
var tmp3_subject = announcedCombination.t34_1;
|
|
32618
32725
|
var tmp0 = tmp3_subject.e5_1;
|
|
@@ -32628,8 +32735,8 @@
|
|
|
32628
32735
|
// Inline function 'kotlin.contracts.contract' call
|
|
32629
32736
|
var tmp$ret$0;
|
|
32630
32737
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.onCombinationChoice.<anonymous>' call
|
|
32631
|
-
var newCards = this.
|
|
32632
|
-
tmp$ret$0 = this.
|
|
32738
|
+
var newCards = this.t4h_1.z43(tmp0_let, trumpSevenCard);
|
|
32739
|
+
tmp$ret$0 = this.t4h_1.a44(newCards, trumpCard);
|
|
32633
32740
|
tmp$ret$1 = tmp$ret$0;
|
|
32634
32741
|
|
|
32635
32742
|
var tmp4_cards = tmp$ret$1;
|
|
@@ -32651,7 +32758,7 @@
|
|
|
32651
32758
|
};
|
|
32652
32759
|
CombinationsMechanicReducer.$metadata$ = classMeta('CombinationsMechanicReducer');
|
|
32653
32760
|
function onPutCardForPlayer($this, player, table, card, cardsOnTheTable, combinations) {
|
|
32654
|
-
var tmp2_cards = $this.
|
|
32761
|
+
var tmp2_cards = $this.y4h_1.z43(player.x30_1, card);
|
|
32655
32762
|
var tmp0_safe_receiver = combinations;
|
|
32656
32763
|
var tmp;
|
|
32657
32764
|
if (tmp0_safe_receiver == null) {
|
|
@@ -32668,18 +32775,18 @@
|
|
|
32668
32775
|
}
|
|
32669
32776
|
var tmp1_elvis_lhs = tmp;
|
|
32670
32777
|
var tmp3_points = tmp1_elvis_lhs == null ? player.z30_1 : tmp1_elvis_lhs;
|
|
32671
|
-
var tmp4_hand = updatePlayerHand($this, player, cardsOnTheTable, table.l3u_1.a3v_1.
|
|
32778
|
+
var tmp4_hand = updatePlayerHand($this, player, cardsOnTheTable, table.l3u_1.a3v_1.w3x());
|
|
32672
32779
|
return player.s31(null, null, null, tmp2_cards, tmp4_hand, tmp3_points, 7, null);
|
|
32673
32780
|
}
|
|
32674
32781
|
function onAddCombinations($this, player, combinations, table) {
|
|
32675
|
-
var tmp0_$this = $this.
|
|
32782
|
+
var tmp0_$this = $this.v4h_1;
|
|
32676
32783
|
var tmp1_state = CombinationState_VERIFYING_getInstance();
|
|
32677
32784
|
var tmp2_config = table.f3u_1;
|
|
32678
|
-
var tmp = tmp0_$this.
|
|
32785
|
+
var tmp = tmp0_$this.l4i(tmp1_state, combinations, player, tmp2_config, null, 16, null);
|
|
32679
32786
|
return player.z30_1.q33(0, tmp, null, 5, null);
|
|
32680
32787
|
}
|
|
32681
32788
|
function onUpdateBribeNumber($this, party, numberOfBribe) {
|
|
32682
|
-
return party.
|
|
32789
|
+
return party.y3x(0, numberOfBribe, null, 5, null);
|
|
32683
32790
|
}
|
|
32684
32791
|
function onAddBribe($this, bribes, cardsOnTable) {
|
|
32685
32792
|
return plus_0(bribes, new Bribe(cardsOnTable));
|
|
@@ -32688,7 +32795,7 @@
|
|
|
32688
32795
|
var isGotBribe = player.f2l() === whoGotBribePlayerId;
|
|
32689
32796
|
var isGotLastBribe = player.d31() === 0 ? isGotBribe : false;
|
|
32690
32797
|
var hasBellaCombination = !(bellaCombination == null) ? bellaCombination.s3w_1 === player.f2l() : false;
|
|
32691
|
-
var tmp = isGotLastBribe ? $this.
|
|
32798
|
+
var tmp = isGotLastBribe ? $this.w4h_1.d34(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_getInstance_92().c3w(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
|
|
32692
32799
|
var tmp_0;
|
|
32693
32800
|
if (hasBellaCombination) {
|
|
32694
32801
|
var tmp$ret$2;
|
|
@@ -32710,7 +32817,7 @@
|
|
|
32710
32817
|
}
|
|
32711
32818
|
}
|
|
32712
32819
|
tmp$ret$2 = tmp$ret$1;
|
|
32713
|
-
tmp_0 = $this.
|
|
32820
|
+
tmp_0 = $this.v4h_1.c4j(whoGotBribePlayerId, tmp$ret$2, players, config);
|
|
32714
32821
|
} else {
|
|
32715
32822
|
tmp_0 = null;
|
|
32716
32823
|
}
|
|
@@ -32723,7 +32830,7 @@
|
|
|
32723
32830
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
32724
32831
|
tmp$ret$3 = !combinations.k();
|
|
32725
32832
|
if (tmp$ret$3) {
|
|
32726
|
-
tmp_2 = $this.
|
|
32833
|
+
tmp_2 = $this.v4h_1.b4j(player, combinations, null, 4, null);
|
|
32727
32834
|
} else {
|
|
32728
32835
|
tmp_2 = player.z30_1.k33_1;
|
|
32729
32836
|
}
|
|
@@ -32795,12 +32902,12 @@
|
|
|
32795
32902
|
return player.y30_1;
|
|
32796
32903
|
}
|
|
32797
32904
|
function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerInteractor) {
|
|
32798
|
-
this.
|
|
32799
|
-
this.
|
|
32800
|
-
this.
|
|
32801
|
-
this.
|
|
32905
|
+
this.v4h_1 = combinationsMechanicReducer;
|
|
32906
|
+
this.w4h_1 = combinationsFactory;
|
|
32907
|
+
this.x4h_1 = combinationsInteractor;
|
|
32908
|
+
this.y4h_1 = dealerInteractor;
|
|
32802
32909
|
}
|
|
32803
|
-
EarnPointsMechanicReducer.prototype.
|
|
32910
|
+
EarnPointsMechanicReducer.prototype.a4i = function (state, action) {
|
|
32804
32911
|
var table = state.t3v();
|
|
32805
32912
|
var player = getPlayer(table.g3u_1, action.r45_1);
|
|
32806
32913
|
var cardsOnTheTable = plus_0(table.i3u_1, new CardOnTheTable(action.r45_1, table.i3u_1.i(), action.t45_1));
|
|
@@ -32809,10 +32916,10 @@
|
|
|
32809
32916
|
var tmp = tmp0_$this.g3v(null, null, null, null, tmp1_players, null, cardsOnTheTable, null, null, null, 943, null);
|
|
32810
32917
|
return state.b47(tmp, null, null, null, null, 30, null);
|
|
32811
32918
|
};
|
|
32812
|
-
EarnPointsMechanicReducer.prototype.
|
|
32919
|
+
EarnPointsMechanicReducer.prototype.z4h = function (state, action) {
|
|
32813
32920
|
var table = state.t3v();
|
|
32814
32921
|
var players = table.g3u_1;
|
|
32815
|
-
var bellaCombination = this.
|
|
32922
|
+
var bellaCombination = this.x4h_1.m43(players);
|
|
32816
32923
|
var cardsOnTheTable = table.i3u_1;
|
|
32817
32924
|
var config = table.f3u_1;
|
|
32818
32925
|
var tmp0_bribes = onAddBribe(this, table.j3u_1, cardsOnTheTable);
|
|
@@ -32868,7 +32975,7 @@
|
|
|
32868
32975
|
tmp = cardDeck;
|
|
32869
32976
|
}
|
|
32870
32977
|
var newCardDeck = tmp;
|
|
32871
|
-
return new PreviousParty(bribes, newCardDeck, $this.
|
|
32978
|
+
return new PreviousParty(bribes, newCardDeck, $this.n4i_1.w44(players, config));
|
|
32872
32979
|
}
|
|
32873
32980
|
function partyFinishedGameInfoReducer($this, table) {
|
|
32874
32981
|
var tmp = partyFinishedPartyReducer($this, table.l3u_1.a3v_1);
|
|
@@ -32882,10 +32989,10 @@
|
|
|
32882
32989
|
return gameInfo.j3v(gameInfo.z3u_1 + 1 | 0, gameFinishedPartyReducer($this, gameInfo.a3v_1), null);
|
|
32883
32990
|
}
|
|
32884
32991
|
function partyFinishedPartyReducer($this, party) {
|
|
32885
|
-
return party.
|
|
32992
|
+
return party.x3x(party.k3k_1 + 1 | 0, 0, null);
|
|
32886
32993
|
}
|
|
32887
32994
|
function gameFinishedPartyReducer($this, party) {
|
|
32888
|
-
return party.
|
|
32995
|
+
return party.x3x(0, 0, null);
|
|
32889
32996
|
}
|
|
32890
32997
|
function partyFinishedPlayerReducer($this, player) {
|
|
32891
32998
|
var tmp0_options = partyFinishedPlayerOptionReducer($this, player.w30_1);
|
|
@@ -32923,9 +33030,9 @@
|
|
|
32923
33030
|
return points.p33(0, emptyList(), emptyList());
|
|
32924
33031
|
}
|
|
32925
33032
|
function TableLifecycleReducer(pointsInteractor) {
|
|
32926
|
-
this.
|
|
33033
|
+
this.n4i_1 = pointsInteractor;
|
|
32927
33034
|
}
|
|
32928
|
-
TableLifecycleReducer.prototype.
|
|
33035
|
+
TableLifecycleReducer.prototype.d4j = function (id, config, version, users, gameCreatorPlayerId) {
|
|
32929
33036
|
var tmp = Companion_getInstance_89();
|
|
32930
33037
|
var tmp$ret$2;
|
|
32931
33038
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
@@ -32951,7 +33058,7 @@
|
|
|
32951
33058
|
tmp$ret$2 = tmp$ret$1;
|
|
32952
33059
|
return tmp.initial(id, version, config, tmp$ret$2);
|
|
32953
33060
|
};
|
|
32954
|
-
TableLifecycleReducer.prototype.
|
|
33061
|
+
TableLifecycleReducer.prototype.o4i = function (table) {
|
|
32955
33062
|
var tmp$ret$2;
|
|
32956
33063
|
// Inline function 'kotlin.collections.map' call
|
|
32957
33064
|
var tmp0_map = table.g3u_1;
|
|
@@ -32972,7 +33079,7 @@
|
|
|
32972
33079
|
var tmp_0 = tmp$ret$2;
|
|
32973
33080
|
return table.g3v(null, null, null, null, tmp_0, null, null, null, null, null, 1007, null);
|
|
32974
33081
|
};
|
|
32975
|
-
TableLifecycleReducer.prototype.
|
|
33082
|
+
TableLifecycleReducer.prototype.p4i = function (table) {
|
|
32976
33083
|
Companion_getInstance_8();
|
|
32977
33084
|
var tmp0_sceneInfo = SceneInfo_init_$Create$('WAITING', null, null, null, null, 30, null);
|
|
32978
33085
|
var tmp$ret$2;
|
|
@@ -32997,7 +33104,7 @@
|
|
|
32997
33104
|
var tmp4_gameInfo = partyFinishedGameInfoReducer(this, table);
|
|
32998
33105
|
return table.g3v(null, null, null, null, tmp1_players, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, null, tmp4_gameInfo, 15, null);
|
|
32999
33106
|
};
|
|
33000
|
-
TableLifecycleReducer.prototype.
|
|
33107
|
+
TableLifecycleReducer.prototype.y4i = function (table) {
|
|
33001
33108
|
var tmp$ret$2;
|
|
33002
33109
|
// Inline function 'kotlin.collections.map' call
|
|
33003
33110
|
var tmp0_map = table.g3u_1;
|
|
@@ -33017,7 +33124,7 @@
|
|
|
33017
33124
|
var tmp = tmp$ret$2;
|
|
33018
33125
|
return table.g3v(null, null, null, null, tmp, null, emptyList(), emptyList(), null, partyFinishedGameInfoReducer(this, table), 47, null);
|
|
33019
33126
|
};
|
|
33020
|
-
TableLifecycleReducer.prototype.
|
|
33127
|
+
TableLifecycleReducer.prototype.z4i = function (table) {
|
|
33021
33128
|
var tmp$ret$2;
|
|
33022
33129
|
// Inline function 'kotlin.collections.map' call
|
|
33023
33130
|
var tmp0_map = table.g3u_1;
|
|
@@ -33045,20 +33152,20 @@
|
|
|
33045
33152
|
return tmp$ret$0;
|
|
33046
33153
|
}
|
|
33047
33154
|
function _no_name_provided__qut3iv_18($playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
33048
|
-
this.
|
|
33049
|
-
this.
|
|
33050
|
-
this.
|
|
33155
|
+
this.e4j_1 = $playerTurnInteractor;
|
|
33156
|
+
this.f4j_1 = $logger;
|
|
33157
|
+
this.g4j_1 = $playerTurnMechanicReducer;
|
|
33051
33158
|
}
|
|
33052
33159
|
_no_name_provided__qut3iv_18.prototype.m2r = function (action) {
|
|
33053
33160
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
33054
33161
|
};
|
|
33055
|
-
_no_name_provided__qut3iv_18.prototype.
|
|
33162
|
+
_no_name_provided__qut3iv_18.prototype.f4h = function (state, action) {
|
|
33056
33163
|
var tmp$ret$0;
|
|
33057
33164
|
$l$block: {
|
|
33058
33165
|
// Inline function 'com.debertz.logic.redux.reducers.turn.resetPlayerTurnReducer.<anonymous>' call
|
|
33059
33166
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
33060
33167
|
var player = getPlayer(state.t3v().g3u_1, tmp0__anonymous__q1qw7t.playerId);
|
|
33061
|
-
var tmp0_elvis_lhs = this.
|
|
33168
|
+
var tmp0_elvis_lhs = this.e4j_1.y45(player, tmp0__anonymous__q1qw7t);
|
|
33062
33169
|
var tmp;
|
|
33063
33170
|
if (tmp0_elvis_lhs == null) {
|
|
33064
33171
|
tmp$ret$0 = state;
|
|
@@ -33067,14 +33174,14 @@
|
|
|
33067
33174
|
tmp = tmp0_elvis_lhs;
|
|
33068
33175
|
}
|
|
33069
33176
|
var turnModel = tmp;
|
|
33070
|
-
this.
|
|
33071
|
-
var tmp_0 = this.
|
|
33177
|
+
this.f4j_1.s2t('PlayerTurn', 'resetPlayerTurnReducer: ' + turnModel);
|
|
33178
|
+
var tmp_0 = this.g4j_1.w4i(state.t3v(), turnModel);
|
|
33072
33179
|
tmp$ret$0 = state.b47(tmp_0, null, null, null, null, 30, null);
|
|
33073
33180
|
}
|
|
33074
33181
|
return tmp$ret$0;
|
|
33075
33182
|
};
|
|
33076
33183
|
_no_name_provided__qut3iv_18.prototype.d2r = function (state, action) {
|
|
33077
|
-
return this.
|
|
33184
|
+
return this.f4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
33078
33185
|
};
|
|
33079
33186
|
_no_name_provided__qut3iv_18.$metadata$ = classMeta(undefined, [Reducer]);
|
|
33080
33187
|
function setPlayerTurnReducer(logger, playerTurnInteractor, playerTurnMechanicReducer) {
|
|
@@ -33084,19 +33191,19 @@
|
|
|
33084
33191
|
return tmp$ret$0;
|
|
33085
33192
|
}
|
|
33086
33193
|
function _no_name_provided__qut3iv_19($playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
33087
|
-
this.
|
|
33088
|
-
this.
|
|
33089
|
-
this.
|
|
33194
|
+
this.h4j_1 = $playerTurnInteractor;
|
|
33195
|
+
this.i4j_1 = $logger;
|
|
33196
|
+
this.j4j_1 = $playerTurnMechanicReducer;
|
|
33090
33197
|
}
|
|
33091
33198
|
_no_name_provided__qut3iv_19.prototype.m2r = function (action) {
|
|
33092
33199
|
return isInterface(action, NextPlayerTurnAction);
|
|
33093
33200
|
};
|
|
33094
|
-
_no_name_provided__qut3iv_19.prototype.
|
|
33201
|
+
_no_name_provided__qut3iv_19.prototype.f4h = function (state, action) {
|
|
33095
33202
|
var tmp$ret$0;
|
|
33096
33203
|
$l$block: {
|
|
33097
33204
|
// Inline function 'com.debertz.logic.redux.reducers.turn.setPlayerTurnReducer.<anonymous>' call
|
|
33098
33205
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
33099
|
-
var tmp0_elvis_lhs = this.
|
|
33206
|
+
var tmp0_elvis_lhs = this.h4j_1.x45(tmp0__anonymous__q1qw7t, state.t3v().g3u_1, state.t3v().l3u_1.a3v_1);
|
|
33100
33207
|
var tmp;
|
|
33101
33208
|
if (tmp0_elvis_lhs == null) {
|
|
33102
33209
|
tmp$ret$0 = state;
|
|
@@ -33105,14 +33212,14 @@
|
|
|
33105
33212
|
tmp = tmp0_elvis_lhs;
|
|
33106
33213
|
}
|
|
33107
33214
|
var turnModel = tmp;
|
|
33108
|
-
this.
|
|
33109
|
-
var tmp_0 = this.
|
|
33215
|
+
this.i4j_1.s2t('PlayerTurn', 'setPlayerTurnReducer: ' + turnModel);
|
|
33216
|
+
var tmp_0 = this.j4j_1.v4i(state.t3v(), turnModel);
|
|
33110
33217
|
tmp$ret$0 = state.b47(tmp_0, null, null, null, null, 30, null);
|
|
33111
33218
|
}
|
|
33112
33219
|
return tmp$ret$0;
|
|
33113
33220
|
};
|
|
33114
33221
|
_no_name_provided__qut3iv_19.prototype.d2r = function (state, action) {
|
|
33115
|
-
return this.
|
|
33222
|
+
return this.f4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
33116
33223
|
};
|
|
33117
33224
|
_no_name_provided__qut3iv_19.$metadata$ = classMeta(undefined, [Reducer]);
|
|
33118
33225
|
function GameLoggerOutputWithTablePayload_init_$Init$(logger, stateProvider, $mask0, $marker, $this) {
|
|
@@ -33128,12 +33235,12 @@
|
|
|
33128
33235
|
function getPayload($this) {
|
|
33129
33236
|
var tmp;
|
|
33130
33237
|
try {
|
|
33131
|
-
var tmp0_safe_receiver = $this.
|
|
33238
|
+
var tmp0_safe_receiver = $this.l4j_1();
|
|
33132
33239
|
tmp = tmp0_safe_receiver == null ? null : toLoggerPayload(tmp0_safe_receiver);
|
|
33133
33240
|
} catch ($p) {
|
|
33134
33241
|
var tmp_0;
|
|
33135
33242
|
if ($p instanceof Error) {
|
|
33136
|
-
$this.
|
|
33243
|
+
$this.k4j_1.o2u(null, null, $p, null, 3, null);
|
|
33137
33244
|
tmp_0 = null;
|
|
33138
33245
|
} else {
|
|
33139
33246
|
throw $p;
|
|
@@ -33146,17 +33253,17 @@
|
|
|
33146
33253
|
return null;
|
|
33147
33254
|
}
|
|
33148
33255
|
function GameLoggerOutputWithTablePayload(logger, stateProvider) {
|
|
33149
|
-
this.
|
|
33150
|
-
this.
|
|
33256
|
+
this.k4j_1 = logger;
|
|
33257
|
+
this.l4j_1 = stateProvider;
|
|
33151
33258
|
}
|
|
33152
33259
|
GameLoggerOutputWithTablePayload.prototype.s2t = function (tag, message) {
|
|
33153
|
-
this.
|
|
33260
|
+
this.k4j_1.m2u(tag, message, getPayload(this));
|
|
33154
33261
|
};
|
|
33155
33262
|
GameLoggerOutputWithTablePayload.prototype.l2q = function (tag, message, exception) {
|
|
33156
|
-
this.
|
|
33263
|
+
this.k4j_1.n2u(tag, message, exception, getPayload(this));
|
|
33157
33264
|
};
|
|
33158
33265
|
GameLoggerOutputWithTablePayload.prototype.v2t = function (tag, message) {
|
|
33159
|
-
this.
|
|
33266
|
+
this.k4j_1.p2u(tag, message, getPayload(this));
|
|
33160
33267
|
};
|
|
33161
33268
|
GameLoggerOutputWithTablePayload.$metadata$ = classMeta('GameLoggerOutputWithTablePayload', [LoggerOutput]);
|
|
33162
33269
|
function get_isCreated_0(_this__u8e3s4) {
|
|
@@ -33182,16 +33289,16 @@
|
|
|
33182
33289
|
return GameLoggerOutputWithTablePayload_init_$Create$(tmp, null, 2, null);
|
|
33183
33290
|
}
|
|
33184
33291
|
function createGameLoggerWithTablePayload$1($loggerCallback) {
|
|
33185
|
-
this.
|
|
33292
|
+
this.m4j_1 = $loggerCallback;
|
|
33186
33293
|
}
|
|
33187
33294
|
createGameLoggerWithTablePayload$1.prototype.m2u = function (tag, message, payload) {
|
|
33188
|
-
this.
|
|
33295
|
+
this.m4j_1('debug', tag, message, null, payload);
|
|
33189
33296
|
};
|
|
33190
33297
|
createGameLoggerWithTablePayload$1.prototype.n2u = function (tag, message, exception, payload) {
|
|
33191
|
-
this.
|
|
33298
|
+
this.m4j_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
33192
33299
|
};
|
|
33193
33300
|
createGameLoggerWithTablePayload$1.prototype.p2u = function (tag, message, payload) {
|
|
33194
|
-
this.
|
|
33301
|
+
this.m4j_1('warn', tag, message, null, payload);
|
|
33195
33302
|
};
|
|
33196
33303
|
createGameLoggerWithTablePayload$1.$metadata$ = classMeta(undefined, [LoggerOutputWithPayload]);
|
|
33197
33304
|
function ParserHelper() {
|
|
@@ -33201,7 +33308,7 @@
|
|
|
33201
33308
|
var tmp$ret$0;
|
|
33202
33309
|
// Inline function 'kotlin.getValue' call
|
|
33203
33310
|
var tmp0_getValue = encoderDecoderProvider$factory_0();
|
|
33204
|
-
tmp$ret$0 = $this.
|
|
33311
|
+
tmp$ret$0 = $this.o4j_1.c2();
|
|
33205
33312
|
return tmp$ret$0;
|
|
33206
33313
|
}
|
|
33207
33314
|
function ParserHelperImpl$di$lambda($this$invoke) {
|
|
@@ -33212,17 +33319,17 @@
|
|
|
33212
33319
|
function ParserHelperImpl() {
|
|
33213
33320
|
var tmp = this;
|
|
33214
33321
|
var tmp_0 = Companion_getInstance_6();
|
|
33215
|
-
tmp.
|
|
33322
|
+
tmp.n4j_1 = tmp_0.g2f(false, ParserHelperImpl$di$lambda, 1, null);
|
|
33216
33323
|
var tmp_1 = this;
|
|
33217
33324
|
var tmp$ret$1;
|
|
33218
33325
|
// Inline function 'org.kodein.di.instance' call
|
|
33219
|
-
var tmp0_instance = this.
|
|
33326
|
+
var tmp0_instance = this.n4j_1;
|
|
33220
33327
|
var tmp$ret$0;
|
|
33221
33328
|
// Inline function 'org.kodein.type.generic' call
|
|
33222
33329
|
var tmp_2 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
33223
33330
|
tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
33224
33331
|
tmp$ret$1 = Instance(tmp0_instance, tmp$ret$0, null);
|
|
33225
|
-
tmp_1.
|
|
33332
|
+
tmp_1.o4j_1 = tmp$ret$1.k2k(this, encoderDecoderProvider$factory());
|
|
33226
33333
|
}
|
|
33227
33334
|
ParserHelperImpl.prototype.encodeFromClientEvent = function (action) {
|
|
33228
33335
|
return _get_encoderDecoderProvider__qqgrji(this).e41(mapToDto_12(action));
|
|
@@ -33373,6 +33480,7 @@
|
|
|
33373
33480
|
GameAction.prototype.l2r = get_actionTag;
|
|
33374
33481
|
PartyStartedAction.prototype.l2r = get_actionTag;
|
|
33375
33482
|
PartyEndedAction.prototype.l2r = get_actionTag;
|
|
33483
|
+
PartyRestartedAction.prototype.l2r = get_actionTag;
|
|
33376
33484
|
MechanicAction.prototype.ignoreBuffer = ignoreBuffer;
|
|
33377
33485
|
MechanicAction.prototype.l2r = get_actionTag;
|
|
33378
33486
|
FinishingGameMechanicAction.prototype.ignoreBuffer = ignoreBuffer_0;
|
|
@@ -33623,6 +33731,7 @@
|
|
|
33623
33731
|
$com$debertz$logic$redux$actions$game.GameAction = GameAction;
|
|
33624
33732
|
$com$debertz$logic$redux$actions$game.PartyStartedAction = PartyStartedAction;
|
|
33625
33733
|
$com$debertz$logic$redux$actions$game.PartyEndedAction = PartyEndedAction;
|
|
33734
|
+
$com$debertz$logic$redux$actions$game.PartyRestartedAction = PartyRestartedAction;
|
|
33626
33735
|
var $com = _.com || (_.com = {});
|
|
33627
33736
|
var $com$debertz = $com.debertz || ($com.debertz = {});
|
|
33628
33737
|
var $com$debertz$logic = $com$debertz.logic || ($com$debertz.logic = {});
|
|
@@ -33722,42 +33831,43 @@
|
|
|
33722
33831
|
_.$_$.r2 = SceneStartedMechanicAction;
|
|
33723
33832
|
_.$_$.s2 = PlayerConnectionUpdateAction;
|
|
33724
33833
|
_.$_$.t2 = StoreContract;
|
|
33725
|
-
_.$_$.u2 =
|
|
33726
|
-
_.$_$.v2 =
|
|
33727
|
-
_.$_$.w2 =
|
|
33728
|
-
_.$_$.x2 =
|
|
33729
|
-
_.$_$.y2 =
|
|
33730
|
-
_.$_$.z2 =
|
|
33731
|
-
_.$_$.a3 =
|
|
33732
|
-
_.$_$.b3 =
|
|
33733
|
-
_.$_$.c3 =
|
|
33734
|
-
_.$_$.d3 =
|
|
33735
|
-
_.$_$.e3 =
|
|
33736
|
-
_.$_$.f3 =
|
|
33737
|
-
_.$_$.g3 =
|
|
33738
|
-
_.$_$.h3 =
|
|
33739
|
-
_.$_$.i3 =
|
|
33740
|
-
_.$_$.j3 =
|
|
33741
|
-
_.$_$.k3 =
|
|
33742
|
-
_.$_$.l3 =
|
|
33743
|
-
_.$_$.m3 =
|
|
33744
|
-
_.$_$.n3 =
|
|
33745
|
-
_.$_$.o3 =
|
|
33746
|
-
_.$_$.p3 =
|
|
33747
|
-
_.$_$.q3 =
|
|
33748
|
-
_.$_$.r3 =
|
|
33749
|
-
_.$_$.s3 =
|
|
33750
|
-
_.$_$.t3 =
|
|
33751
|
-
_.$_$.u3 =
|
|
33752
|
-
_.$_$.v3 =
|
|
33753
|
-
_.$_$.w3 =
|
|
33754
|
-
_.$_$.x3 =
|
|
33755
|
-
_.$_$.y3 =
|
|
33756
|
-
_.$_$.z3 =
|
|
33757
|
-
_.$_$.a4 =
|
|
33758
|
-
_.$_$.b4 =
|
|
33759
|
-
_.$_$.c4 =
|
|
33760
|
-
_.$_$.d4 =
|
|
33834
|
+
_.$_$.u2 = gameStatisticsMiddleware;
|
|
33835
|
+
_.$_$.v2 = putPlayerLastCardMiddleware;
|
|
33836
|
+
_.$_$.w2 = PlayerTurnTimerTag;
|
|
33837
|
+
_.$_$.x2 = getStartPlayerStepTimerDelayMillis;
|
|
33838
|
+
_.$_$.y2 = playerTurnTimeoutMiddleware;
|
|
33839
|
+
_.$_$.z2 = notValidateTimerReset;
|
|
33840
|
+
_.$_$.a3 = NotValidateTimerReset;
|
|
33841
|
+
_.$_$.b3 = BaseMechanicLifecycleReducer;
|
|
33842
|
+
_.$_$.c3 = MechanicLifecycleReducer;
|
|
33843
|
+
_.$_$.d3 = PlayerTurnMechanicReducer;
|
|
33844
|
+
_.$_$.e3 = TeamsMechanicReducer;
|
|
33845
|
+
_.$_$.f3 = TableLifecycleReducer;
|
|
33846
|
+
_.$_$.g3 = setPlayerTurnReducer;
|
|
33847
|
+
_.$_$.h3 = AppStatePayload;
|
|
33848
|
+
_.$_$.i3 = AppState;
|
|
33849
|
+
_.$_$.j3 = get_isCreated_0;
|
|
33850
|
+
_.$_$.k3 = BaseGame;
|
|
33851
|
+
_.$_$.l3 = GameStore;
|
|
33852
|
+
_.$_$.m3 = ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance;
|
|
33853
|
+
_.$_$.n3 = ValidationCode_CARD_VALIDATION_HAS_SAME_CARD_getInstance;
|
|
33854
|
+
_.$_$.o3 = ValidationCode_CARD_VALIDATION_HAS_TRUMP_CARD_getInstance;
|
|
33855
|
+
_.$_$.p3 = GameLifecycleState_CREATED_getInstance;
|
|
33856
|
+
_.$_$.q3 = GameLifecycleState_CREATING_getInstance;
|
|
33857
|
+
_.$_$.r3 = GameLifecycleState_FINISHED_getInstance;
|
|
33858
|
+
_.$_$.s3 = GameLifecycleState_FINISHING_getInstance;
|
|
33859
|
+
_.$_$.t3 = BotReduxConfig_init_$Create$;
|
|
33860
|
+
_.$_$.u3 = DeveloperConfig_init_$Create$;
|
|
33861
|
+
_.$_$.v3 = LogicReduxConfig_init_$Create$;
|
|
33862
|
+
_.$_$.w3 = BotGameStoreContract_init_$Create$;
|
|
33863
|
+
_.$_$.x3 = CommonStoreContract_init_$Create$;
|
|
33864
|
+
_.$_$.y3 = GameMechanicStoreContract_init_$Create$;
|
|
33865
|
+
_.$_$.z3 = AppState_init_$Create$;
|
|
33866
|
+
_.$_$.a4 = Companion_getInstance_12;
|
|
33867
|
+
_.$_$.b4 = Companion_getInstance_91;
|
|
33868
|
+
_.$_$.c4 = ClearAction_getInstance;
|
|
33869
|
+
_.$_$.d4 = Companion_getInstance_9;
|
|
33870
|
+
_.$_$.e4 = Companion_getInstance_8;
|
|
33761
33871
|
//endregion
|
|
33762
33872
|
return _;
|
|
33763
33873
|
}));
|