raspberry_games_engine_helpers 1.8.382 → 1.8.383
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-engine.js
CHANGED
|
@@ -756,14 +756,14 @@
|
|
|
756
756
|
initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
|
|
757
757
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
758
758
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
759
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
760
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
761
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
762
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
763
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
759
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
760
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
761
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
762
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
763
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
764
764
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
765
765
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
766
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
766
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
767
767
|
initMetadataForCompanion(Companion_149);
|
|
768
768
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
769
769
|
initMetadataForCompanion(Companion_150, VOID, [SerializerFactory]);
|
|
@@ -815,10 +815,10 @@
|
|
|
815
815
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
816
816
|
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
|
|
817
817
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction, PlayerOrderChangeMechanicAction]);
|
|
818
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
819
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
820
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
821
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
818
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
819
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
820
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, BufferedAction]);
|
|
821
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
822
822
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
|
|
823
823
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, BufferedAction]);
|
|
824
824
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
|
|
@@ -826,15 +826,15 @@
|
|
|
826
826
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
|
|
827
827
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
828
828
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
829
|
-
return $super === VOID ? this.
|
|
829
|
+
return $super === VOID ? this.u41(store, playerIds, includeBots) : $super.u41.call(this, store, playerIds, includeBots);
|
|
830
830
|
}
|
|
831
831
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
832
832
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
833
|
-
return $super === VOID ? this.
|
|
833
|
+
return $super === VOID ? this.v41(store, playerIds, includeBots) : $super.v41.call(this, store, playerIds, includeBots);
|
|
834
834
|
}
|
|
835
835
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
836
836
|
league = league === VOID ? null : league;
|
|
837
|
-
return $super === VOID ? this.
|
|
837
|
+
return $super === VOID ? this.w41(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.w41.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
838
838
|
}
|
|
839
839
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
840
840
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -847,7 +847,7 @@
|
|
|
847
847
|
tmp = existingNicknames;
|
|
848
848
|
}
|
|
849
849
|
existingNicknames = tmp;
|
|
850
|
-
return $super === VOID ? this.
|
|
850
|
+
return $super === VOID ? this.b42(playerId, existingNicknames) : $super.b42.call(this, playerId, existingNicknames);
|
|
851
851
|
}
|
|
852
852
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
853
853
|
initMetadataForCompanion(Companion_152);
|
|
@@ -32826,7 +32826,7 @@
|
|
|
32826
32826
|
}
|
|
32827
32827
|
var tmp5_aid = _this__u8e3s4.t2v_1;
|
|
32828
32828
|
var tmp6_spectators = emptyList();
|
|
32829
|
-
return new StartGameMechanicAction(tmp3_config, tmp0_roomId, tmp1_version, tmp2_gameCreatorPlayerId, destination, tmp5_aid, tmp6_spectators);
|
|
32829
|
+
return new StartGameMechanicAction(tmp3_config, tmp0_roomId, tmp1_version, tmp2_gameCreatorPlayerId, destination, tmp5_aid, tmp6_spectators, null);
|
|
32830
32830
|
}
|
|
32831
32831
|
function mapFromClientDto_1(_this__u8e3s4) {
|
|
32832
32832
|
var tmp0_gameId = _this__u8e3s4.w2v_1;
|
|
@@ -32835,7 +32835,7 @@
|
|
|
32835
32835
|
return new StartNewGameMechanicAction(tmp1_previousGameId, tmp0_gameId, tmp2_aid);
|
|
32836
32836
|
}
|
|
32837
32837
|
function mapFromClientDto_2(_this__u8e3s4, payload) {
|
|
32838
|
-
return new ContinueGameMechanicAction(mapFromClient_0(mapFromDto_65(_this__u8e3s4.c2w_1), payload), _this__u8e3s4.d2w_1, _this__u8e3s4.e2w_1, _this__u8e3s4.f2w_1);
|
|
32838
|
+
return new ContinueGameMechanicAction(mapFromClient_0(mapFromDto_65(_this__u8e3s4.c2w_1), payload), _this__u8e3s4.d2w_1, _this__u8e3s4.e2w_1, _this__u8e3s4.f2w_1, null);
|
|
32839
32839
|
}
|
|
32840
32840
|
function mapFromClientDto_3(_this__u8e3s4) {
|
|
32841
32841
|
var tmp = mapFromDto_1(_this__u8e3s4.j2w_1);
|
|
@@ -33548,7 +33548,7 @@
|
|
|
33548
33548
|
}
|
|
33549
33549
|
function PlayerOrderChangeMechanicAction() {
|
|
33550
33550
|
}
|
|
33551
|
-
function StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators) {
|
|
33551
|
+
function StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata) {
|
|
33552
33552
|
aid = aid === VOID ? null : aid;
|
|
33553
33553
|
MechanicAction.call(this);
|
|
33554
33554
|
this.q3y_1 = config;
|
|
@@ -33558,6 +33558,7 @@
|
|
|
33558
33558
|
this.u3y_1 = users;
|
|
33559
33559
|
this.v3y_1 = aid;
|
|
33560
33560
|
this.spectators = spectators;
|
|
33561
|
+
this.w3y_1 = metadata;
|
|
33561
33562
|
}
|
|
33562
33563
|
protoOf(StartGameMechanicAction).h3t = function () {
|
|
33563
33564
|
return this.q3y_1;
|
|
@@ -33580,6 +33581,9 @@
|
|
|
33580
33581
|
protoOf(StartGameMechanicAction).i3t = function () {
|
|
33581
33582
|
return this.spectators;
|
|
33582
33583
|
};
|
|
33584
|
+
protoOf(StartGameMechanicAction).y3v = function () {
|
|
33585
|
+
return this.w3y_1;
|
|
33586
|
+
};
|
|
33583
33587
|
protoOf(StartGameMechanicAction).p3y = function () {
|
|
33584
33588
|
// Inline function 'kotlin.collections.map' call
|
|
33585
33589
|
var this_0 = this.u3y_1;
|
|
@@ -33614,10 +33618,13 @@
|
|
|
33614
33618
|
protoOf(StartGameMechanicAction).m1q = function () {
|
|
33615
33619
|
return this.spectators;
|
|
33616
33620
|
};
|
|
33617
|
-
protoOf(StartGameMechanicAction).
|
|
33618
|
-
return
|
|
33621
|
+
protoOf(StartGameMechanicAction).q2f = function () {
|
|
33622
|
+
return this.w3y_1;
|
|
33623
|
+
};
|
|
33624
|
+
protoOf(StartGameMechanicAction).x3y = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata) {
|
|
33625
|
+
return new StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata);
|
|
33619
33626
|
};
|
|
33620
|
-
protoOf(StartGameMechanicAction).copy = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators, $super) {
|
|
33627
|
+
protoOf(StartGameMechanicAction).copy = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata, $super) {
|
|
33621
33628
|
config = config === VOID ? this.q3y_1 : config;
|
|
33622
33629
|
roomId = roomId === VOID ? this.r3y_1 : roomId;
|
|
33623
33630
|
version = version === VOID ? this.s3y_1 : version;
|
|
@@ -33625,10 +33632,11 @@
|
|
|
33625
33632
|
users = users === VOID ? this.u3y_1 : users;
|
|
33626
33633
|
aid = aid === VOID ? this.v3y_1 : aid;
|
|
33627
33634
|
spectators = spectators === VOID ? this.spectators : spectators;
|
|
33628
|
-
|
|
33635
|
+
metadata = metadata === VOID ? this.w3y_1 : metadata;
|
|
33636
|
+
return $super === VOID ? this.x3y(config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata) : $super.x3y.call(this, config, roomId, version, gameCreatorPlayerId, users, aid, spectators, metadata);
|
|
33629
33637
|
};
|
|
33630
33638
|
protoOf(StartGameMechanicAction).toString = function () {
|
|
33631
|
-
return 'StartGameMechanicAction(config=' + this.q3y_1.toString() + ', roomId=' + this.r3y_1 + ', version=' + this.s3y_1 + ', gameCreatorPlayerId=' + this.t3y_1 + ', users=' + toString(this.u3y_1) + ', aid=' + this.v3y_1 + ', spectators=' + toString(this.spectators) + ')';
|
|
33639
|
+
return 'StartGameMechanicAction(config=' + this.q3y_1.toString() + ', roomId=' + this.r3y_1 + ', version=' + this.s3y_1 + ', gameCreatorPlayerId=' + this.t3y_1 + ', users=' + toString(this.u3y_1) + ', aid=' + this.v3y_1 + ', spectators=' + toString(this.spectators) + ', metadata=' + toString_0(this.w3y_1) + ')';
|
|
33632
33640
|
};
|
|
33633
33641
|
protoOf(StartGameMechanicAction).hashCode = function () {
|
|
33634
33642
|
var result = this.q3y_1.hashCode();
|
|
@@ -33638,6 +33646,7 @@
|
|
|
33638
33646
|
result = imul(result, 31) + hashCode(this.u3y_1) | 0;
|
|
33639
33647
|
result = imul(result, 31) + (this.v3y_1 == null ? 0 : getStringHashCode(this.v3y_1)) | 0;
|
|
33640
33648
|
result = imul(result, 31) + hashCode(this.spectators) | 0;
|
|
33649
|
+
result = imul(result, 31) + (this.w3y_1 == null ? 0 : hashCode(this.w3y_1)) | 0;
|
|
33641
33650
|
return result;
|
|
33642
33651
|
};
|
|
33643
33652
|
protoOf(StartGameMechanicAction).equals = function (other) {
|
|
@@ -33659,6 +33668,8 @@
|
|
|
33659
33668
|
return false;
|
|
33660
33669
|
if (!equals(this.spectators, other.spectators))
|
|
33661
33670
|
return false;
|
|
33671
|
+
if (!equals(this.w3y_1, other.w3y_1))
|
|
33672
|
+
return false;
|
|
33662
33673
|
return true;
|
|
33663
33674
|
};
|
|
33664
33675
|
function StartNewGameMechanicAction(previousGameId, gameId, aid) {
|
|
@@ -33666,16 +33677,16 @@
|
|
|
33666
33677
|
MechanicAction.call(this);
|
|
33667
33678
|
this.previousGameId = previousGameId;
|
|
33668
33679
|
this.gameId = gameId;
|
|
33669
|
-
this.
|
|
33680
|
+
this.y3y_1 = aid;
|
|
33670
33681
|
}
|
|
33671
|
-
protoOf(StartNewGameMechanicAction).
|
|
33682
|
+
protoOf(StartNewGameMechanicAction).z3y = function () {
|
|
33672
33683
|
return this.previousGameId;
|
|
33673
33684
|
};
|
|
33674
33685
|
protoOf(StartNewGameMechanicAction).l15 = function () {
|
|
33675
33686
|
return this.gameId;
|
|
33676
33687
|
};
|
|
33677
33688
|
protoOf(StartNewGameMechanicAction).m3x = function () {
|
|
33678
|
-
return this.
|
|
33689
|
+
return this.y3y_1;
|
|
33679
33690
|
};
|
|
33680
33691
|
protoOf(StartNewGameMechanicAction).sc = function () {
|
|
33681
33692
|
return this.previousGameId;
|
|
@@ -33684,24 +33695,24 @@
|
|
|
33684
33695
|
return this.gameId;
|
|
33685
33696
|
};
|
|
33686
33697
|
protoOf(StartNewGameMechanicAction).ei = function () {
|
|
33687
|
-
return this.
|
|
33698
|
+
return this.y3y_1;
|
|
33688
33699
|
};
|
|
33689
|
-
protoOf(StartNewGameMechanicAction).
|
|
33700
|
+
protoOf(StartNewGameMechanicAction).a3z = function (previousGameId, gameId, aid) {
|
|
33690
33701
|
return new StartNewGameMechanicAction(previousGameId, gameId, aid);
|
|
33691
33702
|
};
|
|
33692
33703
|
protoOf(StartNewGameMechanicAction).copy = function (previousGameId, gameId, aid, $super) {
|
|
33693
33704
|
previousGameId = previousGameId === VOID ? this.previousGameId : previousGameId;
|
|
33694
33705
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
33695
|
-
aid = aid === VOID ? this.
|
|
33696
|
-
return $super === VOID ? this.
|
|
33706
|
+
aid = aid === VOID ? this.y3y_1 : aid;
|
|
33707
|
+
return $super === VOID ? this.a3z(previousGameId, gameId, aid) : $super.a3z.call(this, previousGameId, gameId, aid);
|
|
33697
33708
|
};
|
|
33698
33709
|
protoOf(StartNewGameMechanicAction).toString = function () {
|
|
33699
|
-
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.
|
|
33710
|
+
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.y3y_1 + ')';
|
|
33700
33711
|
};
|
|
33701
33712
|
protoOf(StartNewGameMechanicAction).hashCode = function () {
|
|
33702
33713
|
var result = getStringHashCode(this.previousGameId);
|
|
33703
33714
|
result = imul(result, 31) + getStringHashCode(this.gameId) | 0;
|
|
33704
|
-
result = imul(result, 31) + (this.
|
|
33715
|
+
result = imul(result, 31) + (this.y3y_1 == null ? 0 : getStringHashCode(this.y3y_1)) | 0;
|
|
33705
33716
|
return result;
|
|
33706
33717
|
};
|
|
33707
33718
|
protoOf(StartNewGameMechanicAction).equals = function (other) {
|
|
@@ -33713,13 +33724,13 @@
|
|
|
33713
33724
|
return false;
|
|
33714
33725
|
if (!(this.gameId === other.gameId))
|
|
33715
33726
|
return false;
|
|
33716
|
-
if (!(this.
|
|
33727
|
+
if (!(this.y3y_1 == other.y3y_1))
|
|
33717
33728
|
return false;
|
|
33718
33729
|
return true;
|
|
33719
33730
|
};
|
|
33720
33731
|
function Companion_151() {
|
|
33721
33732
|
}
|
|
33722
|
-
protoOf(Companion_151).
|
|
33733
|
+
protoOf(Companion_151).b3z = function (reason, isGameFinished, table, transition) {
|
|
33723
33734
|
var tmp4_sessionAnalytics = table == null ? null : mapGameSessionAnalytics(table);
|
|
33724
33735
|
var tmp5_gameHistory = table == null ? null : table.gameHistory;
|
|
33725
33736
|
var tmp;
|
|
@@ -33734,7 +33745,7 @@
|
|
|
33734
33745
|
};
|
|
33735
33746
|
protoOf(Companion_151).fromTableWithAnalytics = function (reason, isGameFinished, table, transition, $super) {
|
|
33736
33747
|
transition = transition === VOID ? null : transition;
|
|
33737
|
-
return $super === VOID ? this.
|
|
33748
|
+
return $super === VOID ? this.b3z(reason, isGameFinished, table, transition) : $super.b3z.call(this, reason, isGameFinished, table, transition);
|
|
33738
33749
|
};
|
|
33739
33750
|
protoOf(Companion_151).fromTable = function (table) {
|
|
33740
33751
|
var tmp2_reason = ProcessingReason_getInstance();
|
|
@@ -33752,37 +33763,37 @@
|
|
|
33752
33763
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? true : isRoundHistorySaved;
|
|
33753
33764
|
aid = aid === VOID ? null : aid;
|
|
33754
33765
|
MechanicAction.call(this);
|
|
33755
|
-
this.
|
|
33756
|
-
this.
|
|
33757
|
-
this.
|
|
33766
|
+
this.c3z_1 = reason;
|
|
33767
|
+
this.d3z_1 = isGameFinished;
|
|
33768
|
+
this.e3z_1 = transition;
|
|
33758
33769
|
this.sessionAnalytics = sessionAnalytics;
|
|
33759
33770
|
this.gameHistory = gameHistory;
|
|
33760
33771
|
this.isRoundHistorySaved = isRoundHistorySaved;
|
|
33761
|
-
this.
|
|
33772
|
+
this.f3z_1 = aid;
|
|
33762
33773
|
}
|
|
33763
33774
|
protoOf(FinishingGameMechanicAction).y1p = function () {
|
|
33764
|
-
return this.
|
|
33775
|
+
return this.c3z_1;
|
|
33765
33776
|
};
|
|
33766
33777
|
protoOf(FinishingGameMechanicAction).x3t = function () {
|
|
33767
|
-
return this.
|
|
33778
|
+
return this.d3z_1;
|
|
33768
33779
|
};
|
|
33769
33780
|
protoOf(FinishingGameMechanicAction).j3x = function () {
|
|
33770
|
-
return this.
|
|
33781
|
+
return this.e3z_1;
|
|
33771
33782
|
};
|
|
33772
|
-
protoOf(FinishingGameMechanicAction).
|
|
33783
|
+
protoOf(FinishingGameMechanicAction).g3z = function () {
|
|
33773
33784
|
return this.sessionAnalytics;
|
|
33774
33785
|
};
|
|
33775
33786
|
protoOf(FinishingGameMechanicAction).p3t = function () {
|
|
33776
33787
|
return this.gameHistory;
|
|
33777
33788
|
};
|
|
33778
|
-
protoOf(FinishingGameMechanicAction).
|
|
33789
|
+
protoOf(FinishingGameMechanicAction).h3z = function () {
|
|
33779
33790
|
return this.isRoundHistorySaved;
|
|
33780
33791
|
};
|
|
33781
33792
|
protoOf(FinishingGameMechanicAction).m3x = function () {
|
|
33782
|
-
return this.
|
|
33793
|
+
return this.f3z_1;
|
|
33783
33794
|
};
|
|
33784
33795
|
protoOf(FinishingGameMechanicAction).toString = function () {
|
|
33785
|
-
var tmp = 'reason=' + toString(this.
|
|
33796
|
+
var tmp = 'reason=' + toString(this.c3z_1);
|
|
33786
33797
|
// Inline function 'kotlin.takeIf' call
|
|
33787
33798
|
var this_0 = 'sessionAnalytics=' + toString_0(this.sessionAnalytics);
|
|
33788
33799
|
var tmp_0;
|
|
@@ -33793,9 +33804,9 @@
|
|
|
33793
33804
|
}
|
|
33794
33805
|
var tmp_1 = tmp_0;
|
|
33795
33806
|
// Inline function 'kotlin.takeIf' call
|
|
33796
|
-
var this_1 = 'isGameFinished=' + this.
|
|
33807
|
+
var this_1 = 'isGameFinished=' + this.d3z_1;
|
|
33797
33808
|
var tmp_2;
|
|
33798
|
-
if (this.
|
|
33809
|
+
if (this.d3z_1) {
|
|
33799
33810
|
tmp_2 = this_1;
|
|
33800
33811
|
} else {
|
|
33801
33812
|
tmp_2 = null;
|
|
@@ -33811,18 +33822,18 @@
|
|
|
33811
33822
|
}
|
|
33812
33823
|
var tmp_5 = tmp_4;
|
|
33813
33824
|
// Inline function 'kotlin.takeIf' call
|
|
33814
|
-
var this_3 = 'transition=' + toString_0(this.
|
|
33825
|
+
var this_3 = 'transition=' + toString_0(this.e3z_1);
|
|
33815
33826
|
var tmp_6;
|
|
33816
|
-
if (!(this.
|
|
33827
|
+
if (!(this.e3z_1 == null)) {
|
|
33817
33828
|
tmp_6 = this_3;
|
|
33818
33829
|
} else {
|
|
33819
33830
|
tmp_6 = null;
|
|
33820
33831
|
}
|
|
33821
33832
|
var tmp_7 = tmp_6;
|
|
33822
33833
|
// Inline function 'kotlin.takeIf' call
|
|
33823
|
-
var this_4 = 'aid=' + this.
|
|
33834
|
+
var this_4 = 'aid=' + this.f3z_1;
|
|
33824
33835
|
var tmp_8;
|
|
33825
|
-
if (!(this.
|
|
33836
|
+
if (!(this.f3z_1 == null)) {
|
|
33826
33837
|
tmp_8 = this_4;
|
|
33827
33838
|
} else {
|
|
33828
33839
|
tmp_8 = null;
|
|
@@ -33831,13 +33842,13 @@
|
|
|
33831
33842
|
return 'FinishingGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp_7, tmp$ret$9])) + ')';
|
|
33832
33843
|
};
|
|
33833
33844
|
protoOf(FinishingGameMechanicAction).sc = function () {
|
|
33834
|
-
return this.
|
|
33845
|
+
return this.c3z_1;
|
|
33835
33846
|
};
|
|
33836
33847
|
protoOf(FinishingGameMechanicAction).tc = function () {
|
|
33837
|
-
return this.
|
|
33848
|
+
return this.d3z_1;
|
|
33838
33849
|
};
|
|
33839
33850
|
protoOf(FinishingGameMechanicAction).ei = function () {
|
|
33840
|
-
return this.
|
|
33851
|
+
return this.e3z_1;
|
|
33841
33852
|
};
|
|
33842
33853
|
protoOf(FinishingGameMechanicAction).s15 = function () {
|
|
33843
33854
|
return this.sessionAnalytics;
|
|
@@ -33849,29 +33860,29 @@
|
|
|
33849
33860
|
return this.isRoundHistorySaved;
|
|
33850
33861
|
};
|
|
33851
33862
|
protoOf(FinishingGameMechanicAction).m1q = function () {
|
|
33852
|
-
return this.
|
|
33863
|
+
return this.f3z_1;
|
|
33853
33864
|
};
|
|
33854
|
-
protoOf(FinishingGameMechanicAction).
|
|
33865
|
+
protoOf(FinishingGameMechanicAction).i3z = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) {
|
|
33855
33866
|
return new FinishingGameMechanicAction(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
33856
33867
|
};
|
|
33857
33868
|
protoOf(FinishingGameMechanicAction).copy = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid, $super) {
|
|
33858
|
-
reason = reason === VOID ? this.
|
|
33859
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
33860
|
-
transition = transition === VOID ? this.
|
|
33869
|
+
reason = reason === VOID ? this.c3z_1 : reason;
|
|
33870
|
+
isGameFinished = isGameFinished === VOID ? this.d3z_1 : isGameFinished;
|
|
33871
|
+
transition = transition === VOID ? this.e3z_1 : transition;
|
|
33861
33872
|
sessionAnalytics = sessionAnalytics === VOID ? this.sessionAnalytics : sessionAnalytics;
|
|
33862
33873
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
33863
33874
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? this.isRoundHistorySaved : isRoundHistorySaved;
|
|
33864
|
-
aid = aid === VOID ? this.
|
|
33865
|
-
return $super === VOID ? this.
|
|
33875
|
+
aid = aid === VOID ? this.f3z_1 : aid;
|
|
33876
|
+
return $super === VOID ? this.i3z(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) : $super.i3z.call(this, reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
33866
33877
|
};
|
|
33867
33878
|
protoOf(FinishingGameMechanicAction).hashCode = function () {
|
|
33868
|
-
var result = hashCode(this.
|
|
33869
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
33870
|
-
result = imul(result, 31) + (this.
|
|
33879
|
+
var result = hashCode(this.c3z_1);
|
|
33880
|
+
result = imul(result, 31) + getBooleanHashCode(this.d3z_1) | 0;
|
|
33881
|
+
result = imul(result, 31) + (this.e3z_1 == null ? 0 : hashCode(this.e3z_1)) | 0;
|
|
33871
33882
|
result = imul(result, 31) + (this.sessionAnalytics == null ? 0 : this.sessionAnalytics.hashCode()) | 0;
|
|
33872
33883
|
result = imul(result, 31) + (this.gameHistory == null ? 0 : this.gameHistory.hashCode()) | 0;
|
|
33873
33884
|
result = imul(result, 31) + getBooleanHashCode(this.isRoundHistorySaved) | 0;
|
|
33874
|
-
result = imul(result, 31) + (this.
|
|
33885
|
+
result = imul(result, 31) + (this.f3z_1 == null ? 0 : getStringHashCode(this.f3z_1)) | 0;
|
|
33875
33886
|
return result;
|
|
33876
33887
|
};
|
|
33877
33888
|
protoOf(FinishingGameMechanicAction).equals = function (other) {
|
|
@@ -33879,11 +33890,11 @@
|
|
|
33879
33890
|
return true;
|
|
33880
33891
|
if (!(other instanceof FinishingGameMechanicAction))
|
|
33881
33892
|
return false;
|
|
33882
|
-
if (!equals(this.
|
|
33893
|
+
if (!equals(this.c3z_1, other.c3z_1))
|
|
33883
33894
|
return false;
|
|
33884
|
-
if (!(this.
|
|
33895
|
+
if (!(this.d3z_1 === other.d3z_1))
|
|
33885
33896
|
return false;
|
|
33886
|
-
if (!equals(this.
|
|
33897
|
+
if (!equals(this.e3z_1, other.e3z_1))
|
|
33887
33898
|
return false;
|
|
33888
33899
|
if (!equals(this.sessionAnalytics, other.sessionAnalytics))
|
|
33889
33900
|
return false;
|
|
@@ -33891,7 +33902,7 @@
|
|
|
33891
33902
|
return false;
|
|
33892
33903
|
if (!(this.isRoundHistorySaved === other.isRoundHistorySaved))
|
|
33893
33904
|
return false;
|
|
33894
|
-
if (!(this.
|
|
33905
|
+
if (!(this.f3z_1 == other.f3z_1))
|
|
33895
33906
|
return false;
|
|
33896
33907
|
return true;
|
|
33897
33908
|
};
|
|
@@ -33899,47 +33910,47 @@
|
|
|
33899
33910
|
aid = aid === VOID ? null : aid;
|
|
33900
33911
|
transition = transition === VOID ? null : transition;
|
|
33901
33912
|
MechanicAction.call(this);
|
|
33902
|
-
this.
|
|
33903
|
-
this.
|
|
33904
|
-
this.
|
|
33905
|
-
this.
|
|
33913
|
+
this.j3z_1 = reason;
|
|
33914
|
+
this.k3z_1 = isGameFinished;
|
|
33915
|
+
this.l3z_1 = aid;
|
|
33916
|
+
this.m3z_1 = transition;
|
|
33906
33917
|
}
|
|
33907
33918
|
protoOf(FinishGameMechanicAction).y1p = function () {
|
|
33908
|
-
return this.
|
|
33919
|
+
return this.j3z_1;
|
|
33909
33920
|
};
|
|
33910
33921
|
protoOf(FinishGameMechanicAction).x3t = function () {
|
|
33911
|
-
return this.
|
|
33922
|
+
return this.k3z_1;
|
|
33912
33923
|
};
|
|
33913
33924
|
protoOf(FinishGameMechanicAction).m3x = function () {
|
|
33914
|
-
return this.
|
|
33925
|
+
return this.l3z_1;
|
|
33915
33926
|
};
|
|
33916
33927
|
protoOf(FinishGameMechanicAction).j3x = function () {
|
|
33917
|
-
return this.
|
|
33928
|
+
return this.m3z_1;
|
|
33918
33929
|
};
|
|
33919
33930
|
protoOf(FinishGameMechanicAction).toString = function () {
|
|
33920
|
-
var tmp = 'reason=' + toString(this.
|
|
33931
|
+
var tmp = 'reason=' + toString(this.j3z_1);
|
|
33921
33932
|
// Inline function 'kotlin.takeIf' call
|
|
33922
|
-
var this_0 = 'isGameFinished=' + this.
|
|
33933
|
+
var this_0 = 'isGameFinished=' + this.k3z_1;
|
|
33923
33934
|
var tmp_0;
|
|
33924
|
-
if (this.
|
|
33935
|
+
if (this.k3z_1) {
|
|
33925
33936
|
tmp_0 = this_0;
|
|
33926
33937
|
} else {
|
|
33927
33938
|
tmp_0 = null;
|
|
33928
33939
|
}
|
|
33929
33940
|
var tmp_1 = tmp_0;
|
|
33930
33941
|
// Inline function 'kotlin.takeIf' call
|
|
33931
|
-
var this_1 = 'hasTransition=' + !(this.
|
|
33942
|
+
var this_1 = 'hasTransition=' + !(this.m3z_1 == null);
|
|
33932
33943
|
var tmp_2;
|
|
33933
|
-
if (!(this.
|
|
33944
|
+
if (!(this.m3z_1 == null)) {
|
|
33934
33945
|
tmp_2 = this_1;
|
|
33935
33946
|
} else {
|
|
33936
33947
|
tmp_2 = null;
|
|
33937
33948
|
}
|
|
33938
33949
|
var tmp_3 = tmp_2;
|
|
33939
33950
|
// Inline function 'kotlin.takeIf' call
|
|
33940
|
-
var this_2 = 'aid=' + this.
|
|
33951
|
+
var this_2 = 'aid=' + this.l3z_1;
|
|
33941
33952
|
var tmp_4;
|
|
33942
|
-
if (!(this.
|
|
33953
|
+
if (!(this.l3z_1 == null)) {
|
|
33943
33954
|
tmp_4 = this_2;
|
|
33944
33955
|
} else {
|
|
33945
33956
|
tmp_4 = null;
|
|
@@ -33948,32 +33959,32 @@
|
|
|
33948
33959
|
return 'FinishGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp$ret$5])) + ')';
|
|
33949
33960
|
};
|
|
33950
33961
|
protoOf(FinishGameMechanicAction).sc = function () {
|
|
33951
|
-
return this.
|
|
33962
|
+
return this.j3z_1;
|
|
33952
33963
|
};
|
|
33953
33964
|
protoOf(FinishGameMechanicAction).tc = function () {
|
|
33954
|
-
return this.
|
|
33965
|
+
return this.k3z_1;
|
|
33955
33966
|
};
|
|
33956
33967
|
protoOf(FinishGameMechanicAction).ei = function () {
|
|
33957
|
-
return this.
|
|
33968
|
+
return this.l3z_1;
|
|
33958
33969
|
};
|
|
33959
33970
|
protoOf(FinishGameMechanicAction).s15 = function () {
|
|
33960
|
-
return this.
|
|
33971
|
+
return this.m3z_1;
|
|
33961
33972
|
};
|
|
33962
|
-
protoOf(FinishGameMechanicAction).
|
|
33973
|
+
protoOf(FinishGameMechanicAction).n3z = function (reason, isGameFinished, aid, transition) {
|
|
33963
33974
|
return new FinishGameMechanicAction(reason, isGameFinished, aid, transition);
|
|
33964
33975
|
};
|
|
33965
33976
|
protoOf(FinishGameMechanicAction).copy = function (reason, isGameFinished, aid, transition, $super) {
|
|
33966
|
-
reason = reason === VOID ? this.
|
|
33967
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
33968
|
-
aid = aid === VOID ? this.
|
|
33969
|
-
transition = transition === VOID ? this.
|
|
33970
|
-
return $super === VOID ? this.
|
|
33977
|
+
reason = reason === VOID ? this.j3z_1 : reason;
|
|
33978
|
+
isGameFinished = isGameFinished === VOID ? this.k3z_1 : isGameFinished;
|
|
33979
|
+
aid = aid === VOID ? this.l3z_1 : aid;
|
|
33980
|
+
transition = transition === VOID ? this.m3z_1 : transition;
|
|
33981
|
+
return $super === VOID ? this.n3z(reason, isGameFinished, aid, transition) : $super.n3z.call(this, reason, isGameFinished, aid, transition);
|
|
33971
33982
|
};
|
|
33972
33983
|
protoOf(FinishGameMechanicAction).hashCode = function () {
|
|
33973
|
-
var result = hashCode(this.
|
|
33974
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
33975
|
-
result = imul(result, 31) + (this.
|
|
33976
|
-
result = imul(result, 31) + (this.
|
|
33984
|
+
var result = hashCode(this.j3z_1);
|
|
33985
|
+
result = imul(result, 31) + getBooleanHashCode(this.k3z_1) | 0;
|
|
33986
|
+
result = imul(result, 31) + (this.l3z_1 == null ? 0 : getStringHashCode(this.l3z_1)) | 0;
|
|
33987
|
+
result = imul(result, 31) + (this.m3z_1 == null ? 0 : hashCode(this.m3z_1)) | 0;
|
|
33977
33988
|
return result;
|
|
33978
33989
|
};
|
|
33979
33990
|
protoOf(FinishGameMechanicAction).equals = function (other) {
|
|
@@ -33981,13 +33992,13 @@
|
|
|
33981
33992
|
return true;
|
|
33982
33993
|
if (!(other instanceof FinishGameMechanicAction))
|
|
33983
33994
|
return false;
|
|
33984
|
-
if (!equals(this.
|
|
33995
|
+
if (!equals(this.j3z_1, other.j3z_1))
|
|
33985
33996
|
return false;
|
|
33986
|
-
if (!(this.
|
|
33997
|
+
if (!(this.k3z_1 === other.k3z_1))
|
|
33987
33998
|
return false;
|
|
33988
|
-
if (!(this.
|
|
33999
|
+
if (!(this.l3z_1 == other.l3z_1))
|
|
33989
34000
|
return false;
|
|
33990
|
-
if (!equals(this.
|
|
34001
|
+
if (!equals(this.m3z_1, other.m3z_1))
|
|
33991
34002
|
return false;
|
|
33992
34003
|
return true;
|
|
33993
34004
|
};
|
|
@@ -33999,43 +34010,43 @@
|
|
|
33999
34010
|
actData = actData === VOID ? null : actData;
|
|
34000
34011
|
aid = aid === VOID ? null : aid;
|
|
34001
34012
|
MechanicAction.call(this);
|
|
34002
|
-
this.
|
|
34003
|
-
this.
|
|
34004
|
-
this.
|
|
34013
|
+
this.p3z_1 = currentTurnPlayerId;
|
|
34014
|
+
this.q3z_1 = sceneId;
|
|
34015
|
+
this.r3z_1 = actId;
|
|
34005
34016
|
this.sceneData = sceneData;
|
|
34006
|
-
this.
|
|
34007
|
-
this.
|
|
34017
|
+
this.s3z_1 = actData;
|
|
34018
|
+
this.t3z_1 = aid;
|
|
34008
34019
|
}
|
|
34009
|
-
protoOf(SceneMechanicAction).
|
|
34010
|
-
return this.
|
|
34020
|
+
protoOf(SceneMechanicAction).u3z = function () {
|
|
34021
|
+
return this.p3z_1;
|
|
34011
34022
|
};
|
|
34012
34023
|
protoOf(SceneMechanicAction).b2s = function () {
|
|
34013
|
-
return this.
|
|
34024
|
+
return this.q3z_1;
|
|
34014
34025
|
};
|
|
34015
34026
|
protoOf(SceneMechanicAction).j2r = function () {
|
|
34016
|
-
return this.
|
|
34027
|
+
return this.r3z_1;
|
|
34017
34028
|
};
|
|
34018
|
-
protoOf(SceneMechanicAction).
|
|
34029
|
+
protoOf(SceneMechanicAction).v3z = function () {
|
|
34019
34030
|
return this.sceneData;
|
|
34020
34031
|
};
|
|
34021
|
-
protoOf(SceneMechanicAction).
|
|
34022
|
-
return this.
|
|
34032
|
+
protoOf(SceneMechanicAction).o3z = function () {
|
|
34033
|
+
return this.s3z_1;
|
|
34023
34034
|
};
|
|
34024
34035
|
protoOf(SceneMechanicAction).m3x = function () {
|
|
34025
|
-
return this.
|
|
34036
|
+
return this.t3z_1;
|
|
34026
34037
|
};
|
|
34027
34038
|
protoOf(SceneMechanicAction).notValidateWhenFinished = function () {
|
|
34028
|
-
return this.
|
|
34039
|
+
return this.q3z_1 === 'WAITING';
|
|
34029
34040
|
};
|
|
34030
34041
|
protoOf(SceneMechanicAction).notValidateWhenFinishing = function () {
|
|
34031
|
-
return this.
|
|
34042
|
+
return this.q3z_1 === 'WAITING';
|
|
34032
34043
|
};
|
|
34033
34044
|
protoOf(SceneMechanicAction).toString = function () {
|
|
34034
|
-
var tmp = "sceneId='" + this.
|
|
34045
|
+
var tmp = "sceneId='" + this.q3z_1 + "'";
|
|
34035
34046
|
// Inline function 'kotlin.takeIf' call
|
|
34036
|
-
var this_0 = 'actId=' + this.
|
|
34047
|
+
var this_0 = 'actId=' + this.r3z_1;
|
|
34037
34048
|
var tmp_0;
|
|
34038
|
-
if (!(this.
|
|
34049
|
+
if (!(this.r3z_1 == null)) {
|
|
34039
34050
|
tmp_0 = this_0;
|
|
34040
34051
|
} else {
|
|
34041
34052
|
tmp_0 = null;
|
|
@@ -34051,18 +34062,18 @@
|
|
|
34051
34062
|
}
|
|
34052
34063
|
var tmp_3 = tmp_2;
|
|
34053
34064
|
// Inline function 'kotlin.takeIf' call
|
|
34054
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
34065
|
+
var this_2 = 'actData=' + toString_0(this.s3z_1);
|
|
34055
34066
|
var tmp_4;
|
|
34056
|
-
if (!(this.
|
|
34067
|
+
if (!(this.s3z_1 == null)) {
|
|
34057
34068
|
tmp_4 = this_2;
|
|
34058
34069
|
} else {
|
|
34059
34070
|
tmp_4 = null;
|
|
34060
34071
|
}
|
|
34061
34072
|
var tmp_5 = tmp_4;
|
|
34062
34073
|
// Inline function 'kotlin.takeIf' call
|
|
34063
|
-
var this_3 = 'aid=' + this.
|
|
34074
|
+
var this_3 = 'aid=' + this.t3z_1;
|
|
34064
34075
|
var tmp_6;
|
|
34065
|
-
if (!(this.
|
|
34076
|
+
if (!(this.t3z_1 == null)) {
|
|
34066
34077
|
tmp_6 = this_3;
|
|
34067
34078
|
} else {
|
|
34068
34079
|
tmp_6 = null;
|
|
@@ -34070,20 +34081,20 @@
|
|
|
34070
34081
|
var tmp$ret$7 = tmp_6;
|
|
34071
34082
|
return 'SceneMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp$ret$7])) + ')';
|
|
34072
34083
|
};
|
|
34073
|
-
protoOf(SceneMechanicAction).
|
|
34084
|
+
protoOf(SceneMechanicAction).w3z = function () {
|
|
34074
34085
|
var tmp = this.sceneData;
|
|
34075
34086
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
34076
34087
|
return this.sceneData.k2r();
|
|
34077
34088
|
}
|
|
34078
|
-
var tmp_0 = this.
|
|
34089
|
+
var tmp_0 = this.s3z_1;
|
|
34079
34090
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
34080
|
-
return this.
|
|
34091
|
+
return this.s3z_1.k2r();
|
|
34081
34092
|
}
|
|
34082
34093
|
return emptyList();
|
|
34083
34094
|
};
|
|
34084
34095
|
protoOf(SceneMechanicAction).o1p = function () {
|
|
34085
34096
|
// Inline function 'kotlin.requireNotNull' call
|
|
34086
|
-
var tmp0 = this.
|
|
34097
|
+
var tmp0 = this.p3z_1;
|
|
34087
34098
|
var tmp$ret$1;
|
|
34088
34099
|
$l$block: {
|
|
34089
34100
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -34098,42 +34109,42 @@
|
|
|
34098
34109
|
return tmp$ret$1;
|
|
34099
34110
|
};
|
|
34100
34111
|
protoOf(SceneMechanicAction).sc = function () {
|
|
34101
|
-
return this.
|
|
34112
|
+
return this.p3z_1;
|
|
34102
34113
|
};
|
|
34103
34114
|
protoOf(SceneMechanicAction).tc = function () {
|
|
34104
|
-
return this.
|
|
34115
|
+
return this.q3z_1;
|
|
34105
34116
|
};
|
|
34106
34117
|
protoOf(SceneMechanicAction).ei = function () {
|
|
34107
|
-
return this.
|
|
34118
|
+
return this.r3z_1;
|
|
34108
34119
|
};
|
|
34109
34120
|
protoOf(SceneMechanicAction).s15 = function () {
|
|
34110
34121
|
return this.sceneData;
|
|
34111
34122
|
};
|
|
34112
34123
|
protoOf(SceneMechanicAction).k1q = function () {
|
|
34113
|
-
return this.
|
|
34124
|
+
return this.s3z_1;
|
|
34114
34125
|
};
|
|
34115
34126
|
protoOf(SceneMechanicAction).l1q = function () {
|
|
34116
|
-
return this.
|
|
34127
|
+
return this.t3z_1;
|
|
34117
34128
|
};
|
|
34118
|
-
protoOf(SceneMechanicAction).
|
|
34129
|
+
protoOf(SceneMechanicAction).x3z = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
34119
34130
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
34120
34131
|
};
|
|
34121
34132
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
34122
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
34123
|
-
sceneId = sceneId === VOID ? this.
|
|
34124
|
-
actId = actId === VOID ? this.
|
|
34133
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.p3z_1 : currentTurnPlayerId;
|
|
34134
|
+
sceneId = sceneId === VOID ? this.q3z_1 : sceneId;
|
|
34135
|
+
actId = actId === VOID ? this.r3z_1 : actId;
|
|
34125
34136
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
34126
|
-
actData = actData === VOID ? this.
|
|
34127
|
-
aid = aid === VOID ? this.
|
|
34128
|
-
return $super === VOID ? this.
|
|
34137
|
+
actData = actData === VOID ? this.s3z_1 : actData;
|
|
34138
|
+
aid = aid === VOID ? this.t3z_1 : aid;
|
|
34139
|
+
return $super === VOID ? this.x3z(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.x3z.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
34129
34140
|
};
|
|
34130
34141
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
34131
|
-
var result = this.
|
|
34132
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
34133
|
-
result = imul(result, 31) + (this.
|
|
34142
|
+
var result = this.p3z_1 == null ? 0 : getStringHashCode(this.p3z_1);
|
|
34143
|
+
result = imul(result, 31) + getStringHashCode(this.q3z_1) | 0;
|
|
34144
|
+
result = imul(result, 31) + (this.r3z_1 == null ? 0 : getStringHashCode(this.r3z_1)) | 0;
|
|
34134
34145
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
34135
|
-
result = imul(result, 31) + (this.
|
|
34136
|
-
result = imul(result, 31) + (this.
|
|
34146
|
+
result = imul(result, 31) + (this.s3z_1 == null ? 0 : hashCode(this.s3z_1)) | 0;
|
|
34147
|
+
result = imul(result, 31) + (this.t3z_1 == null ? 0 : getStringHashCode(this.t3z_1)) | 0;
|
|
34137
34148
|
return result;
|
|
34138
34149
|
};
|
|
34139
34150
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -34141,17 +34152,17 @@
|
|
|
34141
34152
|
return true;
|
|
34142
34153
|
if (!(other instanceof SceneMechanicAction))
|
|
34143
34154
|
return false;
|
|
34144
|
-
if (!(this.
|
|
34155
|
+
if (!(this.p3z_1 == other.p3z_1))
|
|
34145
34156
|
return false;
|
|
34146
|
-
if (!(this.
|
|
34157
|
+
if (!(this.q3z_1 === other.q3z_1))
|
|
34147
34158
|
return false;
|
|
34148
|
-
if (!(this.
|
|
34159
|
+
if (!(this.r3z_1 == other.r3z_1))
|
|
34149
34160
|
return false;
|
|
34150
34161
|
if (!equals(this.sceneData, other.sceneData))
|
|
34151
34162
|
return false;
|
|
34152
|
-
if (!equals(this.
|
|
34163
|
+
if (!equals(this.s3z_1, other.s3z_1))
|
|
34153
34164
|
return false;
|
|
34154
|
-
if (!(this.
|
|
34165
|
+
if (!(this.t3z_1 == other.t3z_1))
|
|
34155
34166
|
return false;
|
|
34156
34167
|
return true;
|
|
34157
34168
|
};
|
|
@@ -34168,7 +34179,7 @@
|
|
|
34168
34179
|
this.causeState = causeState;
|
|
34169
34180
|
this.isNoneActivePlayers = isNoneActivePlayers;
|
|
34170
34181
|
this.reconnectUntilTime = reconnectUntilTime;
|
|
34171
|
-
this.
|
|
34182
|
+
this.y3z_1 = aid;
|
|
34172
34183
|
}
|
|
34173
34184
|
protoOf(PlayerConnectionChangedMechanicAction).o1p = function () {
|
|
34174
34185
|
return this.playerId;
|
|
@@ -34176,19 +34187,19 @@
|
|
|
34176
34187
|
protoOf(PlayerConnectionChangedMechanicAction).q1q = function () {
|
|
34177
34188
|
return this.state;
|
|
34178
34189
|
};
|
|
34179
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
34190
|
+
protoOf(PlayerConnectionChangedMechanicAction).z3z = function () {
|
|
34180
34191
|
return this.causeState;
|
|
34181
34192
|
};
|
|
34182
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
34193
|
+
protoOf(PlayerConnectionChangedMechanicAction).a40 = function () {
|
|
34183
34194
|
return this.isNoneActivePlayers;
|
|
34184
34195
|
};
|
|
34185
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
34196
|
+
protoOf(PlayerConnectionChangedMechanicAction).b40 = function () {
|
|
34186
34197
|
return this.reconnectUntilTime;
|
|
34187
34198
|
};
|
|
34188
34199
|
protoOf(PlayerConnectionChangedMechanicAction).m3x = function () {
|
|
34189
|
-
return this.
|
|
34200
|
+
return this.y3z_1;
|
|
34190
34201
|
};
|
|
34191
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
34202
|
+
protoOf(PlayerConnectionChangedMechanicAction).c40 = function () {
|
|
34192
34203
|
var tmp;
|
|
34193
34204
|
if (this.state.isDisconnecting) {
|
|
34194
34205
|
tmp = (!(this.causeState == null) && this.causeState.isClientDisconnectReason);
|
|
@@ -34231,9 +34242,9 @@
|
|
|
34231
34242
|
}
|
|
34232
34243
|
var tmp_6 = tmp_5;
|
|
34233
34244
|
// Inline function 'kotlin.takeIf' call
|
|
34234
|
-
var this_3 = 'aid=' + this.
|
|
34245
|
+
var this_3 = 'aid=' + this.y3z_1;
|
|
34235
34246
|
var tmp_7;
|
|
34236
|
-
if (!(this.
|
|
34247
|
+
if (!(this.y3z_1 == null)) {
|
|
34237
34248
|
tmp_7 = this_3;
|
|
34238
34249
|
} else {
|
|
34239
34250
|
tmp_7 = null;
|
|
@@ -34257,9 +34268,9 @@
|
|
|
34257
34268
|
return this.reconnectUntilTime;
|
|
34258
34269
|
};
|
|
34259
34270
|
protoOf(PlayerConnectionChangedMechanicAction).l1q = function () {
|
|
34260
|
-
return this.
|
|
34271
|
+
return this.y3z_1;
|
|
34261
34272
|
};
|
|
34262
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
34273
|
+
protoOf(PlayerConnectionChangedMechanicAction).d40 = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) {
|
|
34263
34274
|
return new PlayerConnectionChangedMechanicAction(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
34264
34275
|
};
|
|
34265
34276
|
protoOf(PlayerConnectionChangedMechanicAction).copy = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid, $super) {
|
|
@@ -34268,8 +34279,8 @@
|
|
|
34268
34279
|
causeState = causeState === VOID ? this.causeState : causeState;
|
|
34269
34280
|
isNoneActivePlayers = isNoneActivePlayers === VOID ? this.isNoneActivePlayers : isNoneActivePlayers;
|
|
34270
34281
|
reconnectUntilTime = reconnectUntilTime === VOID ? this.reconnectUntilTime : reconnectUntilTime;
|
|
34271
|
-
aid = aid === VOID ? this.
|
|
34272
|
-
return $super === VOID ? this.
|
|
34282
|
+
aid = aid === VOID ? this.y3z_1 : aid;
|
|
34283
|
+
return $super === VOID ? this.d40(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) : $super.d40.call(this, playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
34273
34284
|
};
|
|
34274
34285
|
protoOf(PlayerConnectionChangedMechanicAction).hashCode = function () {
|
|
34275
34286
|
var result = getStringHashCode(this.playerId);
|
|
@@ -34277,7 +34288,7 @@
|
|
|
34277
34288
|
result = imul(result, 31) + (this.causeState == null ? 0 : this.causeState.hashCode()) | 0;
|
|
34278
34289
|
result = imul(result, 31) + getBooleanHashCode(this.isNoneActivePlayers) | 0;
|
|
34279
34290
|
result = imul(result, 31) + (this.reconnectUntilTime == null ? 0 : getStringHashCode(this.reconnectUntilTime)) | 0;
|
|
34280
|
-
result = imul(result, 31) + (this.
|
|
34291
|
+
result = imul(result, 31) + (this.y3z_1 == null ? 0 : getStringHashCode(this.y3z_1)) | 0;
|
|
34281
34292
|
return result;
|
|
34282
34293
|
};
|
|
34283
34294
|
protoOf(PlayerConnectionChangedMechanicAction).equals = function (other) {
|
|
@@ -34295,28 +34306,32 @@
|
|
|
34295
34306
|
return false;
|
|
34296
34307
|
if (!(this.reconnectUntilTime == other.reconnectUntilTime))
|
|
34297
34308
|
return false;
|
|
34298
|
-
if (!(this.
|
|
34309
|
+
if (!(this.y3z_1 == other.y3z_1))
|
|
34299
34310
|
return false;
|
|
34300
34311
|
return true;
|
|
34301
34312
|
};
|
|
34302
|
-
function ContinueGameMechanicAction(table, reason, payload, aid) {
|
|
34313
|
+
function ContinueGameMechanicAction(table, reason, payload, aid, metadata) {
|
|
34303
34314
|
payload = payload === VOID ? null : payload;
|
|
34304
34315
|
aid = aid === VOID ? null : aid;
|
|
34305
34316
|
MechanicAction.call(this);
|
|
34306
|
-
this.
|
|
34307
|
-
this.
|
|
34308
|
-
this.
|
|
34309
|
-
this.
|
|
34317
|
+
this.e40_1 = table;
|
|
34318
|
+
this.f40_1 = reason;
|
|
34319
|
+
this.g40_1 = payload;
|
|
34320
|
+
this.h40_1 = aid;
|
|
34321
|
+
this.i40_1 = metadata;
|
|
34310
34322
|
}
|
|
34311
34323
|
protoOf(ContinueGameMechanicAction).m3x = function () {
|
|
34312
|
-
return this.
|
|
34324
|
+
return this.h40_1;
|
|
34325
|
+
};
|
|
34326
|
+
protoOf(ContinueGameMechanicAction).y3v = function () {
|
|
34327
|
+
return this.i40_1;
|
|
34313
34328
|
};
|
|
34314
34329
|
protoOf(ContinueGameMechanicAction).h15 = function () {
|
|
34315
|
-
return this.
|
|
34330
|
+
return this.e40_1.id;
|
|
34316
34331
|
};
|
|
34317
34332
|
protoOf(ContinueGameMechanicAction).t3t = function () {
|
|
34318
34333
|
// Inline function 'kotlin.collections.map' call
|
|
34319
|
-
var this_0 = this.
|
|
34334
|
+
var this_0 = this.e40_1.players;
|
|
34320
34335
|
// Inline function 'kotlin.collections.mapTo' call
|
|
34321
34336
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
34322
34337
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -34328,22 +34343,23 @@
|
|
|
34328
34343
|
return destination;
|
|
34329
34344
|
};
|
|
34330
34345
|
protoOf(ContinueGameMechanicAction).o3y = function () {
|
|
34331
|
-
return getGameCreator(this.
|
|
34346
|
+
return getGameCreator(this.e40_1.players).playerId;
|
|
34332
34347
|
};
|
|
34333
34348
|
protoOf(ContinueGameMechanicAction).k17 = function () {
|
|
34334
|
-
return this.
|
|
34349
|
+
return this.e40_1.version;
|
|
34335
34350
|
};
|
|
34336
34351
|
protoOf(ContinueGameMechanicAction).h3t = function () {
|
|
34337
|
-
return this.
|
|
34352
|
+
return this.e40_1.config;
|
|
34338
34353
|
};
|
|
34339
34354
|
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
34340
|
-
return 'ContinueGameMechanicAction(reason = ' + toString(this.
|
|
34355
|
+
return 'ContinueGameMechanicAction(reason = ' + toString(this.f40_1) + ', aid = ' + this.h40_1 + ')';
|
|
34341
34356
|
};
|
|
34342
34357
|
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
34343
|
-
var result = this.
|
|
34344
|
-
result = imul(result, 31) + hashCode(this.
|
|
34345
|
-
result = imul(result, 31) + (this.
|
|
34346
|
-
result = imul(result, 31) + (this.
|
|
34358
|
+
var result = this.e40_1.hashCode();
|
|
34359
|
+
result = imul(result, 31) + hashCode(this.f40_1) | 0;
|
|
34360
|
+
result = imul(result, 31) + (this.g40_1 == null ? 0 : hashCode(this.g40_1)) | 0;
|
|
34361
|
+
result = imul(result, 31) + (this.h40_1 == null ? 0 : getStringHashCode(this.h40_1)) | 0;
|
|
34362
|
+
result = imul(result, 31) + (this.i40_1 == null ? 0 : hashCode(this.i40_1)) | 0;
|
|
34347
34363
|
return result;
|
|
34348
34364
|
};
|
|
34349
34365
|
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
@@ -34351,31 +34367,33 @@
|
|
|
34351
34367
|
return true;
|
|
34352
34368
|
if (!(other instanceof ContinueGameMechanicAction))
|
|
34353
34369
|
return false;
|
|
34354
|
-
if (!this.
|
|
34355
|
-
return false;
|
|
34356
|
-
if (!equals(this.e40_1, other.e40_1))
|
|
34370
|
+
if (!this.e40_1.equals(other.e40_1))
|
|
34357
34371
|
return false;
|
|
34358
34372
|
if (!equals(this.f40_1, other.f40_1))
|
|
34359
34373
|
return false;
|
|
34360
|
-
if (!(this.g40_1
|
|
34374
|
+
if (!equals(this.g40_1, other.g40_1))
|
|
34375
|
+
return false;
|
|
34376
|
+
if (!(this.h40_1 == other.h40_1))
|
|
34377
|
+
return false;
|
|
34378
|
+
if (!equals(this.i40_1, other.i40_1))
|
|
34361
34379
|
return false;
|
|
34362
34380
|
return true;
|
|
34363
34381
|
};
|
|
34364
34382
|
function RestartGameMechanicAction(reason, aid) {
|
|
34365
34383
|
aid = aid === VOID ? null : aid;
|
|
34366
34384
|
MechanicAction.call(this);
|
|
34367
|
-
this.
|
|
34368
|
-
this.
|
|
34385
|
+
this.j40_1 = reason;
|
|
34386
|
+
this.k40_1 = aid;
|
|
34369
34387
|
}
|
|
34370
34388
|
protoOf(RestartGameMechanicAction).m3x = function () {
|
|
34371
|
-
return this.
|
|
34389
|
+
return this.k40_1;
|
|
34372
34390
|
};
|
|
34373
34391
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
34374
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
34392
|
+
return 'RestartGameMechanicAction(reason=' + this.j40_1.toString() + ', aid=' + this.k40_1 + ')';
|
|
34375
34393
|
};
|
|
34376
34394
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
34377
|
-
var result = this.
|
|
34378
|
-
result = imul(result, 31) + (this.
|
|
34395
|
+
var result = this.j40_1.hashCode();
|
|
34396
|
+
result = imul(result, 31) + (this.k40_1 == null ? 0 : getStringHashCode(this.k40_1)) | 0;
|
|
34379
34397
|
return result;
|
|
34380
34398
|
};
|
|
34381
34399
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -34383,9 +34401,9 @@
|
|
|
34383
34401
|
return true;
|
|
34384
34402
|
if (!(other instanceof RestartGameMechanicAction))
|
|
34385
34403
|
return false;
|
|
34386
|
-
if (!this.
|
|
34404
|
+
if (!this.j40_1.equals(other.j40_1))
|
|
34387
34405
|
return false;
|
|
34388
|
-
if (!(this.
|
|
34406
|
+
if (!(this.k40_1 == other.k40_1))
|
|
34389
34407
|
return false;
|
|
34390
34408
|
return true;
|
|
34391
34409
|
};
|
|
@@ -34393,31 +34411,31 @@
|
|
|
34393
34411
|
actData = actData === VOID ? null : actData;
|
|
34394
34412
|
aid = aid === VOID ? null : aid;
|
|
34395
34413
|
MechanicAction.call(this);
|
|
34396
|
-
this.
|
|
34397
|
-
this.
|
|
34398
|
-
this.
|
|
34399
|
-
this.
|
|
34414
|
+
this.l40_1 = sceneId;
|
|
34415
|
+
this.m40_1 = actId;
|
|
34416
|
+
this.n40_1 = actData;
|
|
34417
|
+
this.o40_1 = aid;
|
|
34400
34418
|
}
|
|
34401
34419
|
protoOf(SceneActMechanicAction).b2s = function () {
|
|
34402
|
-
return this.
|
|
34420
|
+
return this.l40_1;
|
|
34403
34421
|
};
|
|
34404
34422
|
protoOf(SceneActMechanicAction).j2r = function () {
|
|
34405
|
-
return this.
|
|
34423
|
+
return this.m40_1;
|
|
34406
34424
|
};
|
|
34407
|
-
protoOf(SceneActMechanicAction).
|
|
34408
|
-
return this.
|
|
34425
|
+
protoOf(SceneActMechanicAction).o3z = function () {
|
|
34426
|
+
return this.n40_1;
|
|
34409
34427
|
};
|
|
34410
34428
|
protoOf(SceneActMechanicAction).m3x = function () {
|
|
34411
|
-
return this.
|
|
34429
|
+
return this.o40_1;
|
|
34412
34430
|
};
|
|
34413
34431
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
34414
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
34432
|
+
return 'SceneActMechanicAction(sceneId=' + this.l40_1 + ', actId=' + this.m40_1 + ', actData=' + toString_0(this.n40_1) + ', aid=' + this.o40_1 + ')';
|
|
34415
34433
|
};
|
|
34416
34434
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
34417
|
-
var result = getStringHashCode(this.
|
|
34418
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
34419
|
-
result = imul(result, 31) + (this.
|
|
34420
|
-
result = imul(result, 31) + (this.
|
|
34435
|
+
var result = getStringHashCode(this.l40_1);
|
|
34436
|
+
result = imul(result, 31) + getStringHashCode(this.m40_1) | 0;
|
|
34437
|
+
result = imul(result, 31) + (this.n40_1 == null ? 0 : hashCode(this.n40_1)) | 0;
|
|
34438
|
+
result = imul(result, 31) + (this.o40_1 == null ? 0 : getStringHashCode(this.o40_1)) | 0;
|
|
34421
34439
|
return result;
|
|
34422
34440
|
};
|
|
34423
34441
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -34425,37 +34443,37 @@
|
|
|
34425
34443
|
return true;
|
|
34426
34444
|
if (!(other instanceof SceneActMechanicAction))
|
|
34427
34445
|
return false;
|
|
34428
|
-
if (!(this.
|
|
34446
|
+
if (!(this.l40_1 === other.l40_1))
|
|
34429
34447
|
return false;
|
|
34430
|
-
if (!(this.
|
|
34448
|
+
if (!(this.m40_1 === other.m40_1))
|
|
34431
34449
|
return false;
|
|
34432
|
-
if (!equals(this.
|
|
34450
|
+
if (!equals(this.n40_1, other.n40_1))
|
|
34433
34451
|
return false;
|
|
34434
|
-
if (!(this.
|
|
34452
|
+
if (!(this.o40_1 == other.o40_1))
|
|
34435
34453
|
return false;
|
|
34436
34454
|
return true;
|
|
34437
34455
|
};
|
|
34438
34456
|
function TeamsDataMechanicAction(team1, team2, aid) {
|
|
34439
34457
|
aid = aid === VOID ? null : aid;
|
|
34440
34458
|
MechanicAction.call(this);
|
|
34441
|
-
this.
|
|
34442
|
-
this.
|
|
34443
|
-
this.
|
|
34444
|
-
this.
|
|
34459
|
+
this.p40_1 = team1;
|
|
34460
|
+
this.q40_1 = team2;
|
|
34461
|
+
this.r40_1 = aid;
|
|
34462
|
+
this.s40_1 = listOf([this.p40_1.f1s(), this.q40_1.c1d(), this.p40_1.f1s(), this.q40_1.c1d()]);
|
|
34445
34463
|
}
|
|
34446
34464
|
protoOf(TeamsDataMechanicAction).m3x = function () {
|
|
34447
|
-
return this.
|
|
34465
|
+
return this.r40_1;
|
|
34448
34466
|
};
|
|
34449
34467
|
protoOf(TeamsDataMechanicAction).p3y = function () {
|
|
34450
|
-
return this.
|
|
34468
|
+
return this.s40_1;
|
|
34451
34469
|
};
|
|
34452
34470
|
protoOf(TeamsDataMechanicAction).toString = function () {
|
|
34453
|
-
return 'TeamsDataMechanicAction(team1=' + this.
|
|
34471
|
+
return 'TeamsDataMechanicAction(team1=' + this.p40_1.toString() + ', team2=' + this.q40_1.toString() + ', aid=' + this.r40_1 + ')';
|
|
34454
34472
|
};
|
|
34455
34473
|
protoOf(TeamsDataMechanicAction).hashCode = function () {
|
|
34456
|
-
var result = this.
|
|
34457
|
-
result = imul(result, 31) + this.
|
|
34458
|
-
result = imul(result, 31) + (this.
|
|
34474
|
+
var result = this.p40_1.hashCode();
|
|
34475
|
+
result = imul(result, 31) + this.q40_1.hashCode() | 0;
|
|
34476
|
+
result = imul(result, 31) + (this.r40_1 == null ? 0 : getStringHashCode(this.r40_1)) | 0;
|
|
34459
34477
|
return result;
|
|
34460
34478
|
};
|
|
34461
34479
|
protoOf(TeamsDataMechanicAction).equals = function (other) {
|
|
@@ -34463,32 +34481,32 @@
|
|
|
34463
34481
|
return true;
|
|
34464
34482
|
if (!(other instanceof TeamsDataMechanicAction))
|
|
34465
34483
|
return false;
|
|
34466
|
-
if (!this.
|
|
34484
|
+
if (!this.p40_1.equals(other.p40_1))
|
|
34467
34485
|
return false;
|
|
34468
|
-
if (!this.
|
|
34486
|
+
if (!this.q40_1.equals(other.q40_1))
|
|
34469
34487
|
return false;
|
|
34470
|
-
if (!(this.
|
|
34488
|
+
if (!(this.r40_1 == other.r40_1))
|
|
34471
34489
|
return false;
|
|
34472
34490
|
return true;
|
|
34473
34491
|
};
|
|
34474
34492
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
34475
34493
|
aid = aid === VOID ? null : aid;
|
|
34476
34494
|
MechanicAction.call(this);
|
|
34477
|
-
this.
|
|
34478
|
-
this.
|
|
34495
|
+
this.t40_1 = currentTurnPlayerId;
|
|
34496
|
+
this.u40_1 = aid;
|
|
34479
34497
|
}
|
|
34480
34498
|
protoOf(PlayerReadyMechanicAction).m3x = function () {
|
|
34481
|
-
return this.
|
|
34499
|
+
return this.u40_1;
|
|
34482
34500
|
};
|
|
34483
34501
|
protoOf(PlayerReadyMechanicAction).o1p = function () {
|
|
34484
|
-
return this.
|
|
34502
|
+
return this.t40_1;
|
|
34485
34503
|
};
|
|
34486
34504
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
34487
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
34505
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.t40_1 + ', aid=' + this.u40_1 + ')';
|
|
34488
34506
|
};
|
|
34489
34507
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
34490
|
-
var result = getStringHashCode(this.
|
|
34491
|
-
result = imul(result, 31) + (this.
|
|
34508
|
+
var result = getStringHashCode(this.t40_1);
|
|
34509
|
+
result = imul(result, 31) + (this.u40_1 == null ? 0 : getStringHashCode(this.u40_1)) | 0;
|
|
34492
34510
|
return result;
|
|
34493
34511
|
};
|
|
34494
34512
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -34496,9 +34514,9 @@
|
|
|
34496
34514
|
return true;
|
|
34497
34515
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
34498
34516
|
return false;
|
|
34499
|
-
if (!(this.
|
|
34517
|
+
if (!(this.t40_1 === other.t40_1))
|
|
34500
34518
|
return false;
|
|
34501
|
-
if (!(this.
|
|
34519
|
+
if (!(this.u40_1 == other.u40_1))
|
|
34502
34520
|
return false;
|
|
34503
34521
|
return true;
|
|
34504
34522
|
};
|
|
@@ -34506,27 +34524,27 @@
|
|
|
34506
34524
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
34507
34525
|
aid = aid === VOID ? null : aid;
|
|
34508
34526
|
MechanicAction.call(this);
|
|
34509
|
-
this.
|
|
34510
|
-
this.
|
|
34511
|
-
this.
|
|
34512
|
-
this.
|
|
34513
|
-
this.
|
|
34527
|
+
this.v40_1 = suit;
|
|
34528
|
+
this.w40_1 = restartRound;
|
|
34529
|
+
this.x40_1 = currentTurnPlayerId;
|
|
34530
|
+
this.y40_1 = nextTurnPlayerIds;
|
|
34531
|
+
this.z40_1 = aid;
|
|
34514
34532
|
}
|
|
34515
34533
|
protoOf(SuitChoiceMechanicAction).m3x = function () {
|
|
34516
|
-
return this.
|
|
34534
|
+
return this.z40_1;
|
|
34517
34535
|
};
|
|
34518
34536
|
protoOf(SuitChoiceMechanicAction).o1p = function () {
|
|
34519
|
-
return this.
|
|
34537
|
+
return this.x40_1;
|
|
34520
34538
|
};
|
|
34521
34539
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
34522
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
34540
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.v40_1) + ', restartRound=' + this.w40_1 + ', currentTurnPlayerId=' + this.x40_1 + ', nextTurnPlayerIds=' + toString(this.y40_1) + ', aid=' + this.z40_1 + ')';
|
|
34523
34541
|
};
|
|
34524
34542
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
34525
|
-
var result = this.
|
|
34526
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
34527
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
34528
|
-
result = imul(result, 31) + hashCode(this.
|
|
34529
|
-
result = imul(result, 31) + (this.
|
|
34543
|
+
var result = this.v40_1 == null ? 0 : this.v40_1.hashCode();
|
|
34544
|
+
result = imul(result, 31) + getBooleanHashCode(this.w40_1) | 0;
|
|
34545
|
+
result = imul(result, 31) + getStringHashCode(this.x40_1) | 0;
|
|
34546
|
+
result = imul(result, 31) + hashCode(this.y40_1) | 0;
|
|
34547
|
+
result = imul(result, 31) + (this.z40_1 == null ? 0 : getStringHashCode(this.z40_1)) | 0;
|
|
34530
34548
|
return result;
|
|
34531
34549
|
};
|
|
34532
34550
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -34534,40 +34552,40 @@
|
|
|
34534
34552
|
return true;
|
|
34535
34553
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
34536
34554
|
return false;
|
|
34537
|
-
if (!equals(this.
|
|
34555
|
+
if (!equals(this.v40_1, other.v40_1))
|
|
34538
34556
|
return false;
|
|
34539
|
-
if (!(this.
|
|
34557
|
+
if (!(this.w40_1 === other.w40_1))
|
|
34540
34558
|
return false;
|
|
34541
|
-
if (!(this.
|
|
34559
|
+
if (!(this.x40_1 === other.x40_1))
|
|
34542
34560
|
return false;
|
|
34543
|
-
if (!equals(this.
|
|
34561
|
+
if (!equals(this.y40_1, other.y40_1))
|
|
34544
34562
|
return false;
|
|
34545
|
-
if (!(this.
|
|
34563
|
+
if (!(this.z40_1 == other.z40_1))
|
|
34546
34564
|
return false;
|
|
34547
34565
|
return true;
|
|
34548
34566
|
};
|
|
34549
34567
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
34550
34568
|
aid = aid === VOID ? null : aid;
|
|
34551
34569
|
MechanicAction.call(this);
|
|
34552
|
-
this.
|
|
34553
|
-
this.
|
|
34554
|
-
this.
|
|
34555
|
-
this.
|
|
34570
|
+
this.a41_1 = isAnnounced;
|
|
34571
|
+
this.b41_1 = combinations;
|
|
34572
|
+
this.c41_1 = currentTurnPlayerId;
|
|
34573
|
+
this.d41_1 = aid;
|
|
34556
34574
|
}
|
|
34557
34575
|
protoOf(CombinationChoiceMechanicAction).m3x = function () {
|
|
34558
|
-
return this.
|
|
34576
|
+
return this.d41_1;
|
|
34559
34577
|
};
|
|
34560
34578
|
protoOf(CombinationChoiceMechanicAction).o1p = function () {
|
|
34561
|
-
return this.
|
|
34579
|
+
return this.c41_1;
|
|
34562
34580
|
};
|
|
34563
34581
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
34564
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
34582
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.a41_1 + ', combinations=' + toString(this.b41_1) + ', currentTurnPlayerId=' + this.c41_1 + ', aid=' + this.d41_1 + ')';
|
|
34565
34583
|
};
|
|
34566
34584
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
34567
|
-
var result = getBooleanHashCode(this.
|
|
34568
|
-
result = imul(result, 31) + hashCode(this.
|
|
34569
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
34570
|
-
result = imul(result, 31) + (this.
|
|
34585
|
+
var result = getBooleanHashCode(this.a41_1);
|
|
34586
|
+
result = imul(result, 31) + hashCode(this.b41_1) | 0;
|
|
34587
|
+
result = imul(result, 31) + getStringHashCode(this.c41_1) | 0;
|
|
34588
|
+
result = imul(result, 31) + (this.d41_1 == null ? 0 : getStringHashCode(this.d41_1)) | 0;
|
|
34571
34589
|
return result;
|
|
34572
34590
|
};
|
|
34573
34591
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -34575,13 +34593,13 @@
|
|
|
34575
34593
|
return true;
|
|
34576
34594
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
34577
34595
|
return false;
|
|
34578
|
-
if (!(this.
|
|
34596
|
+
if (!(this.a41_1 === other.a41_1))
|
|
34579
34597
|
return false;
|
|
34580
|
-
if (!equals(this.
|
|
34598
|
+
if (!equals(this.b41_1, other.b41_1))
|
|
34581
34599
|
return false;
|
|
34582
|
-
if (!(this.
|
|
34600
|
+
if (!(this.c41_1 === other.c41_1))
|
|
34583
34601
|
return false;
|
|
34584
|
-
if (!(this.
|
|
34602
|
+
if (!(this.d41_1 == other.d41_1))
|
|
34585
34603
|
return false;
|
|
34586
34604
|
return true;
|
|
34587
34605
|
};
|
|
@@ -34589,35 +34607,35 @@
|
|
|
34589
34607
|
combinations = combinations === VOID ? null : combinations;
|
|
34590
34608
|
aid = aid === VOID ? null : aid;
|
|
34591
34609
|
MechanicAction.call(this);
|
|
34592
|
-
this.
|
|
34593
|
-
this.
|
|
34594
|
-
this.
|
|
34595
|
-
this.
|
|
34596
|
-
this.
|
|
34610
|
+
this.e41_1 = card;
|
|
34611
|
+
this.f41_1 = combinations;
|
|
34612
|
+
this.g41_1 = currentTurnPlayerId;
|
|
34613
|
+
this.h41_1 = nextTurnPlayerIds;
|
|
34614
|
+
this.i41_1 = aid;
|
|
34597
34615
|
}
|
|
34598
34616
|
protoOf(PutCardMechanicAction).m3x = function () {
|
|
34599
|
-
return this.
|
|
34617
|
+
return this.i41_1;
|
|
34600
34618
|
};
|
|
34601
34619
|
protoOf(PutCardMechanicAction).o1p = function () {
|
|
34602
|
-
return this.
|
|
34620
|
+
return this.g41_1;
|
|
34603
34621
|
};
|
|
34604
34622
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
34605
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
34623
|
+
var tmp = "currentTurnPlayerId='" + this.g41_1 + "'";
|
|
34606
34624
|
// Inline function 'kotlin.takeIf' call
|
|
34607
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
34625
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.h41_1);
|
|
34608
34626
|
var tmp_0;
|
|
34609
34627
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
34610
|
-
if (!this.
|
|
34628
|
+
if (!this.h41_1.r()) {
|
|
34611
34629
|
tmp_0 = this_0;
|
|
34612
34630
|
} else {
|
|
34613
34631
|
tmp_0 = null;
|
|
34614
34632
|
}
|
|
34615
34633
|
var tmp_1 = tmp_0;
|
|
34616
|
-
var tmp_2 = 'card=' + this.
|
|
34634
|
+
var tmp_2 = 'card=' + this.e41_1.toString();
|
|
34617
34635
|
// Inline function 'kotlin.takeIf' call
|
|
34618
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
34636
|
+
var this_1 = 'combinations=' + toString_0(this.f41_1);
|
|
34619
34637
|
var tmp_3;
|
|
34620
|
-
var tmp0_safe_receiver = this.
|
|
34638
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
34621
34639
|
var tmp_4;
|
|
34622
34640
|
if (tmp0_safe_receiver == null) {
|
|
34623
34641
|
tmp_4 = null;
|
|
@@ -34632,9 +34650,9 @@
|
|
|
34632
34650
|
}
|
|
34633
34651
|
var tmp_5 = tmp_3;
|
|
34634
34652
|
// Inline function 'kotlin.takeIf' call
|
|
34635
|
-
var this_2 = 'aid=' + this.
|
|
34653
|
+
var this_2 = 'aid=' + this.i41_1;
|
|
34636
34654
|
var tmp_6;
|
|
34637
|
-
if (!(this.
|
|
34655
|
+
if (!(this.i41_1 == null)) {
|
|
34638
34656
|
tmp_6 = this_2;
|
|
34639
34657
|
} else {
|
|
34640
34658
|
tmp_6 = null;
|
|
@@ -34643,11 +34661,11 @@
|
|
|
34643
34661
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
34644
34662
|
};
|
|
34645
34663
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
34646
|
-
var result = this.
|
|
34647
|
-
result = imul(result, 31) + (this.
|
|
34648
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
34649
|
-
result = imul(result, 31) + hashCode(this.
|
|
34650
|
-
result = imul(result, 31) + (this.
|
|
34664
|
+
var result = this.e41_1.hashCode();
|
|
34665
|
+
result = imul(result, 31) + (this.f41_1 == null ? 0 : hashCode(this.f41_1)) | 0;
|
|
34666
|
+
result = imul(result, 31) + getStringHashCode(this.g41_1) | 0;
|
|
34667
|
+
result = imul(result, 31) + hashCode(this.h41_1) | 0;
|
|
34668
|
+
result = imul(result, 31) + (this.i41_1 == null ? 0 : getStringHashCode(this.i41_1)) | 0;
|
|
34651
34669
|
return result;
|
|
34652
34670
|
};
|
|
34653
34671
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -34655,33 +34673,33 @@
|
|
|
34655
34673
|
return true;
|
|
34656
34674
|
if (!(other instanceof PutCardMechanicAction))
|
|
34657
34675
|
return false;
|
|
34658
|
-
if (!this.
|
|
34676
|
+
if (!this.e41_1.equals(other.e41_1))
|
|
34659
34677
|
return false;
|
|
34660
|
-
if (!equals(this.
|
|
34678
|
+
if (!equals(this.f41_1, other.f41_1))
|
|
34661
34679
|
return false;
|
|
34662
|
-
if (!(this.
|
|
34680
|
+
if (!(this.g41_1 === other.g41_1))
|
|
34663
34681
|
return false;
|
|
34664
|
-
if (!equals(this.
|
|
34682
|
+
if (!equals(this.h41_1, other.h41_1))
|
|
34665
34683
|
return false;
|
|
34666
|
-
if (!(this.
|
|
34684
|
+
if (!(this.i41_1 == other.i41_1))
|
|
34667
34685
|
return false;
|
|
34668
34686
|
return true;
|
|
34669
34687
|
};
|
|
34670
34688
|
function TrumpMechanicAction(suit, aid) {
|
|
34671
34689
|
aid = aid === VOID ? null : aid;
|
|
34672
34690
|
MechanicAction.call(this);
|
|
34673
|
-
this.
|
|
34674
|
-
this.
|
|
34691
|
+
this.j41_1 = suit;
|
|
34692
|
+
this.k41_1 = aid;
|
|
34675
34693
|
}
|
|
34676
34694
|
protoOf(TrumpMechanicAction).m3x = function () {
|
|
34677
|
-
return this.
|
|
34695
|
+
return this.k41_1;
|
|
34678
34696
|
};
|
|
34679
34697
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
34680
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
34698
|
+
return 'TrumpMechanicAction(suit=' + this.j41_1.toString() + ', aid=' + this.k41_1 + ')';
|
|
34681
34699
|
};
|
|
34682
34700
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
34683
|
-
var result = this.
|
|
34684
|
-
result = imul(result, 31) + (this.
|
|
34701
|
+
var result = this.j41_1.hashCode();
|
|
34702
|
+
result = imul(result, 31) + (this.k41_1 == null ? 0 : getStringHashCode(this.k41_1)) | 0;
|
|
34685
34703
|
return result;
|
|
34686
34704
|
};
|
|
34687
34705
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -34689,29 +34707,29 @@
|
|
|
34689
34707
|
return true;
|
|
34690
34708
|
if (!(other instanceof TrumpMechanicAction))
|
|
34691
34709
|
return false;
|
|
34692
|
-
if (!this.
|
|
34710
|
+
if (!this.j41_1.equals(other.j41_1))
|
|
34693
34711
|
return false;
|
|
34694
|
-
if (!(this.
|
|
34712
|
+
if (!(this.k41_1 == other.k41_1))
|
|
34695
34713
|
return false;
|
|
34696
34714
|
return true;
|
|
34697
34715
|
};
|
|
34698
34716
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, aid) {
|
|
34699
34717
|
aid = aid === VOID ? null : aid;
|
|
34700
34718
|
MechanicAction.call(this);
|
|
34701
|
-
this.
|
|
34702
|
-
this.
|
|
34703
|
-
this.
|
|
34719
|
+
this.l41_1 = whoGotBribePlayerId;
|
|
34720
|
+
this.m41_1 = numberOfBribe;
|
|
34721
|
+
this.n41_1 = aid;
|
|
34704
34722
|
}
|
|
34705
34723
|
protoOf(PickUpBribeMechanicAction).m3x = function () {
|
|
34706
|
-
return this.
|
|
34724
|
+
return this.n41_1;
|
|
34707
34725
|
};
|
|
34708
34726
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
34709
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
34727
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.l41_1 + ', numberOfBribe=' + this.m41_1 + ', aid=' + this.n41_1 + ')';
|
|
34710
34728
|
};
|
|
34711
34729
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
34712
|
-
var result = getStringHashCode(this.
|
|
34713
|
-
result = imul(result, 31) + this.
|
|
34714
|
-
result = imul(result, 31) + (this.
|
|
34730
|
+
var result = getStringHashCode(this.l41_1);
|
|
34731
|
+
result = imul(result, 31) + this.m41_1 | 0;
|
|
34732
|
+
result = imul(result, 31) + (this.n41_1 == null ? 0 : getStringHashCode(this.n41_1)) | 0;
|
|
34715
34733
|
return result;
|
|
34716
34734
|
};
|
|
34717
34735
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -34719,29 +34737,29 @@
|
|
|
34719
34737
|
return true;
|
|
34720
34738
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
34721
34739
|
return false;
|
|
34722
|
-
if (!(this.
|
|
34740
|
+
if (!(this.l41_1 === other.l41_1))
|
|
34723
34741
|
return false;
|
|
34724
|
-
if (!(this.
|
|
34742
|
+
if (!(this.m41_1 === other.m41_1))
|
|
34725
34743
|
return false;
|
|
34726
|
-
if (!(this.
|
|
34744
|
+
if (!(this.n41_1 == other.n41_1))
|
|
34727
34745
|
return false;
|
|
34728
34746
|
return true;
|
|
34729
34747
|
};
|
|
34730
34748
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
34731
34749
|
aid = aid === VOID ? null : aid;
|
|
34732
34750
|
MechanicAction.call(this);
|
|
34733
|
-
this.
|
|
34734
|
-
this.
|
|
34751
|
+
this.o41_1 = winnerCombinations;
|
|
34752
|
+
this.p41_1 = aid;
|
|
34735
34753
|
}
|
|
34736
34754
|
protoOf(WinnerCombinationsMechanicAction).m3x = function () {
|
|
34737
|
-
return this.
|
|
34755
|
+
return this.p41_1;
|
|
34738
34756
|
};
|
|
34739
34757
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
34740
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
34758
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.o41_1) + ', aid=' + this.p41_1 + ')';
|
|
34741
34759
|
};
|
|
34742
34760
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
34743
|
-
var result = hashCode(this.
|
|
34744
|
-
result = imul(result, 31) + (this.
|
|
34761
|
+
var result = hashCode(this.o41_1);
|
|
34762
|
+
result = imul(result, 31) + (this.p41_1 == null ? 0 : getStringHashCode(this.p41_1)) | 0;
|
|
34745
34763
|
return result;
|
|
34746
34764
|
};
|
|
34747
34765
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -34749,27 +34767,27 @@
|
|
|
34749
34767
|
return true;
|
|
34750
34768
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
34751
34769
|
return false;
|
|
34752
|
-
if (!equals(this.
|
|
34770
|
+
if (!equals(this.o41_1, other.o41_1))
|
|
34753
34771
|
return false;
|
|
34754
|
-
if (!(this.
|
|
34772
|
+
if (!(this.p41_1 == other.p41_1))
|
|
34755
34773
|
return false;
|
|
34756
34774
|
return true;
|
|
34757
34775
|
};
|
|
34758
34776
|
function MessageMechanicAction(message, aid) {
|
|
34759
34777
|
aid = aid === VOID ? null : aid;
|
|
34760
34778
|
MechanicAction.call(this);
|
|
34761
|
-
this.
|
|
34762
|
-
this.
|
|
34779
|
+
this.q41_1 = message;
|
|
34780
|
+
this.r41_1 = aid;
|
|
34763
34781
|
}
|
|
34764
34782
|
protoOf(MessageMechanicAction).m3x = function () {
|
|
34765
|
-
return this.
|
|
34783
|
+
return this.r41_1;
|
|
34766
34784
|
};
|
|
34767
34785
|
protoOf(MessageMechanicAction).toString = function () {
|
|
34768
|
-
return 'MessageMechanicAction(message=' + toString(this.
|
|
34786
|
+
return 'MessageMechanicAction(message=' + toString(this.q41_1) + ', aid=' + this.r41_1 + ')';
|
|
34769
34787
|
};
|
|
34770
34788
|
protoOf(MessageMechanicAction).hashCode = function () {
|
|
34771
|
-
var result = hashCode(this.
|
|
34772
|
-
result = imul(result, 31) + (this.
|
|
34789
|
+
var result = hashCode(this.q41_1);
|
|
34790
|
+
result = imul(result, 31) + (this.r41_1 == null ? 0 : getStringHashCode(this.r41_1)) | 0;
|
|
34773
34791
|
return result;
|
|
34774
34792
|
};
|
|
34775
34793
|
protoOf(MessageMechanicAction).equals = function (other) {
|
|
@@ -34777,27 +34795,27 @@
|
|
|
34777
34795
|
return true;
|
|
34778
34796
|
if (!(other instanceof MessageMechanicAction))
|
|
34779
34797
|
return false;
|
|
34780
|
-
if (!equals(this.
|
|
34798
|
+
if (!equals(this.q41_1, other.q41_1))
|
|
34781
34799
|
return false;
|
|
34782
|
-
if (!(this.
|
|
34800
|
+
if (!(this.r41_1 == other.r41_1))
|
|
34783
34801
|
return false;
|
|
34784
34802
|
return true;
|
|
34785
34803
|
};
|
|
34786
34804
|
function ErrorAction(error, aid) {
|
|
34787
34805
|
aid = aid === VOID ? null : aid;
|
|
34788
34806
|
MechanicAction.call(this);
|
|
34789
|
-
this.
|
|
34790
|
-
this.
|
|
34807
|
+
this.s41_1 = error;
|
|
34808
|
+
this.t41_1 = aid;
|
|
34791
34809
|
}
|
|
34792
34810
|
protoOf(ErrorAction).m3x = function () {
|
|
34793
|
-
return this.
|
|
34811
|
+
return this.t41_1;
|
|
34794
34812
|
};
|
|
34795
34813
|
protoOf(ErrorAction).toString = function () {
|
|
34796
|
-
return 'ErrorAction(error=' + this.
|
|
34814
|
+
return 'ErrorAction(error=' + this.s41_1.toString() + ', aid=' + this.t41_1 + ')';
|
|
34797
34815
|
};
|
|
34798
34816
|
protoOf(ErrorAction).hashCode = function () {
|
|
34799
|
-
var result = this.
|
|
34800
|
-
result = imul(result, 31) + (this.
|
|
34817
|
+
var result = this.s41_1.hashCode();
|
|
34818
|
+
result = imul(result, 31) + (this.t41_1 == null ? 0 : getStringHashCode(this.t41_1)) | 0;
|
|
34801
34819
|
return result;
|
|
34802
34820
|
};
|
|
34803
34821
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -34805,9 +34823,9 @@
|
|
|
34805
34823
|
return true;
|
|
34806
34824
|
if (!(other instanceof ErrorAction))
|
|
34807
34825
|
return false;
|
|
34808
|
-
if (!this.
|
|
34826
|
+
if (!this.s41_1.equals(other.s41_1))
|
|
34809
34827
|
return false;
|
|
34810
|
-
if (!(this.
|
|
34828
|
+
if (!(this.t41_1 == other.t41_1))
|
|
34811
34829
|
return false;
|
|
34812
34830
|
return true;
|
|
34813
34831
|
};
|
|
@@ -35340,9 +35358,9 @@
|
|
|
35340
35358
|
}
|
|
35341
35359
|
}
|
|
35342
35360
|
function GameHelperImpl(logger) {
|
|
35343
|
-
this.
|
|
35361
|
+
this.x41_1 = logger;
|
|
35344
35362
|
}
|
|
35345
|
-
protoOf(GameHelperImpl).
|
|
35363
|
+
protoOf(GameHelperImpl).u41 = function (store, playerIds, includeBots) {
|
|
35346
35364
|
var state = store.state;
|
|
35347
35365
|
var tmp;
|
|
35348
35366
|
if (!state.q2e()) {
|
|
@@ -35388,7 +35406,7 @@
|
|
|
35388
35406
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
35389
35407
|
return copyToArray(destination_1);
|
|
35390
35408
|
};
|
|
35391
|
-
protoOf(GameHelperImpl).
|
|
35409
|
+
protoOf(GameHelperImpl).v41 = function (store, playerIds, includeBots) {
|
|
35392
35410
|
var state = store.state;
|
|
35393
35411
|
var tmp;
|
|
35394
35412
|
if (!state.q2e()) {
|
|
@@ -35559,10 +35577,10 @@
|
|
|
35559
35577
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
35560
35578
|
return copyToArray(destination);
|
|
35561
35579
|
};
|
|
35562
|
-
protoOf(GameHelperImpl).
|
|
35580
|
+
protoOf(GameHelperImpl).w41 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
35563
35581
|
var roomMode = mapToRoomMode(mode);
|
|
35564
35582
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
35565
|
-
this.
|
|
35583
|
+
this.x41_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
35566
35584
|
var options = Companion_instance_145.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
35567
35585
|
var playersMode = this.mapPlayers(players);
|
|
35568
35586
|
var pointsMode = this.mapPoints(points);
|
|
@@ -35997,40 +36015,40 @@
|
|
|
35997
36015
|
function getRandomAvatarData_0($this) {
|
|
35998
36016
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
35999
36017
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
36000
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
36018
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.e42()), avatarSet);
|
|
36001
36019
|
}
|
|
36002
36020
|
function getAvatarUrlByIndex($this, data) {
|
|
36003
36021
|
return mapToPattern($this, data);
|
|
36004
36022
|
}
|
|
36005
36023
|
function getNicknameByIndex($this, data) {
|
|
36006
|
-
return data.
|
|
36024
|
+
return data.g42_1.h42(data.f42_1);
|
|
36007
36025
|
}
|
|
36008
36026
|
function mapToPattern($this, data) {
|
|
36009
|
-
return 'debertz://raspberry.games/' + data.
|
|
36027
|
+
return 'debertz://raspberry.games/' + data.g42_1.h2_1 + '/' + data.f42_1;
|
|
36010
36028
|
}
|
|
36011
36029
|
function Companion_152() {
|
|
36012
36030
|
Companion_instance_156 = this;
|
|
36013
|
-
this.
|
|
36031
|
+
this.i42_1 = 'debertz://raspberry.games';
|
|
36014
36032
|
var tmp = this;
|
|
36015
36033
|
// Inline function 'kotlin.arrayOf' call
|
|
36016
36034
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36017
36035
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36018
|
-
tmp.
|
|
36036
|
+
tmp.j42_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
36019
36037
|
var tmp_0 = this;
|
|
36020
36038
|
// Inline function 'kotlin.arrayOf' call
|
|
36021
36039
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36022
36040
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36023
|
-
tmp_0.
|
|
36041
|
+
tmp_0.k42_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
|
|
36024
36042
|
var tmp_1 = this;
|
|
36025
36043
|
// Inline function 'kotlin.arrayOf' call
|
|
36026
36044
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36027
36045
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36028
|
-
tmp_1.
|
|
36046
|
+
tmp_1.l42_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
36029
36047
|
var tmp_2 = this;
|
|
36030
36048
|
// Inline function 'kotlin.arrayOf' call
|
|
36031
36049
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
36032
36050
|
// Inline function 'kotlin.js.asDynamic' call
|
|
36033
|
-
tmp_2.
|
|
36051
|
+
tmp_2.m42_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
|
|
36034
36052
|
}
|
|
36035
36053
|
var Companion_instance_156;
|
|
36036
36054
|
function Companion_getInstance_159() {
|
|
@@ -36041,14 +36059,14 @@
|
|
|
36041
36059
|
function AvatarSet(name, ordinal) {
|
|
36042
36060
|
Enum.call(this, name, ordinal);
|
|
36043
36061
|
}
|
|
36044
|
-
protoOf(AvatarSet).
|
|
36062
|
+
protoOf(AvatarSet).e42 = function () {
|
|
36045
36063
|
var tmp;
|
|
36046
36064
|
switch (this.h2_1) {
|
|
36047
36065
|
case 0:
|
|
36048
|
-
tmp = Companion_getInstance_159().
|
|
36066
|
+
tmp = Companion_getInstance_159().k42_1.length;
|
|
36049
36067
|
break;
|
|
36050
36068
|
case 1:
|
|
36051
|
-
tmp = Companion_getInstance_159().
|
|
36069
|
+
tmp = Companion_getInstance_159().m42_1.length;
|
|
36052
36070
|
break;
|
|
36053
36071
|
default:
|
|
36054
36072
|
noWhenBranchMatchedException();
|
|
@@ -36056,14 +36074,14 @@
|
|
|
36056
36074
|
}
|
|
36057
36075
|
return tmp;
|
|
36058
36076
|
};
|
|
36059
|
-
protoOf(AvatarSet).
|
|
36077
|
+
protoOf(AvatarSet).h42 = function (index) {
|
|
36060
36078
|
var tmp;
|
|
36061
36079
|
switch (this.h2_1) {
|
|
36062
36080
|
case 0:
|
|
36063
|
-
tmp = Companion_getInstance_159().
|
|
36081
|
+
tmp = Companion_getInstance_159().k42_1[index];
|
|
36064
36082
|
break;
|
|
36065
36083
|
case 1:
|
|
36066
|
-
tmp = Companion_getInstance_159().
|
|
36084
|
+
tmp = Companion_getInstance_159().m42_1[index];
|
|
36067
36085
|
break;
|
|
36068
36086
|
default:
|
|
36069
36087
|
noWhenBranchMatchedException();
|
|
@@ -36072,8 +36090,8 @@
|
|
|
36072
36090
|
return tmp;
|
|
36073
36091
|
};
|
|
36074
36092
|
function AvatarData(index, avatarSet) {
|
|
36075
|
-
this.
|
|
36076
|
-
this.
|
|
36093
|
+
this.f42_1 = index;
|
|
36094
|
+
this.g42_1 = avatarSet;
|
|
36077
36095
|
}
|
|
36078
36096
|
function AvatarSet_ORIGIN_getInstance() {
|
|
36079
36097
|
AvatarSet_initEntries();
|
|
@@ -36086,7 +36104,7 @@
|
|
|
36086
36104
|
function GameResourcesImpl() {
|
|
36087
36105
|
Companion_getInstance_159();
|
|
36088
36106
|
}
|
|
36089
|
-
protoOf(GameResourcesImpl).
|
|
36107
|
+
protoOf(GameResourcesImpl).b42 = function (playerId, existingNicknames) {
|
|
36090
36108
|
return createUser(this, playerId, existingNicknames);
|
|
36091
36109
|
};
|
|
36092
36110
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -36127,45 +36145,45 @@
|
|
|
36127
36145
|
}
|
|
36128
36146
|
var WARN;
|
|
36129
36147
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
36130
|
-
this.
|
|
36148
|
+
this.n42_1 = loggerCallback;
|
|
36131
36149
|
}
|
|
36132
36150
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j16 = function (tag, message, payload) {
|
|
36133
|
-
this.
|
|
36151
|
+
this.n42_1('debug', tag, message, null, payload);
|
|
36134
36152
|
};
|
|
36135
36153
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k16 = function (tag, message, exception, payload) {
|
|
36136
|
-
this.
|
|
36154
|
+
this.n42_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
36137
36155
|
};
|
|
36138
36156
|
protoOf(LoggerCallbacksWrapperLoggerOutput).n16 = function (tag, message, payload) {
|
|
36139
|
-
this.
|
|
36157
|
+
this.n42_1('debug', tag, message, null, payload);
|
|
36140
36158
|
};
|
|
36141
36159
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m16 = function (tag, message, exception, payload) {
|
|
36142
|
-
this.
|
|
36160
|
+
this.n42_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
36143
36161
|
};
|
|
36144
36162
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l16 = function (tag, message, exception, payload) {
|
|
36145
|
-
this.
|
|
36163
|
+
this.n42_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
36146
36164
|
};
|
|
36147
36165
|
function ParserHelper() {
|
|
36148
36166
|
}
|
|
36149
36167
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
36150
|
-
this.
|
|
36151
|
-
this.
|
|
36168
|
+
this.o42_1 = json;
|
|
36169
|
+
this.p42_1 = encoderDecoderProvider;
|
|
36152
36170
|
}
|
|
36153
36171
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
36154
|
-
return this.
|
|
36172
|
+
return this.p42_1.x3w(mapToDto_20(action));
|
|
36155
36173
|
};
|
|
36156
36174
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
36157
|
-
return mapFromDto_16(this.
|
|
36175
|
+
return mapFromDto_16(this.p42_1.a3x(json), fromPlayerId);
|
|
36158
36176
|
};
|
|
36159
36177
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
36160
|
-
return this.
|
|
36178
|
+
return this.p42_1.y3w(mapToDto_74(action));
|
|
36161
36179
|
};
|
|
36162
36180
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
36163
36181
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
36164
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
36182
|
+
var this_0 = mapFromClientDtoListWithPayload(this.p42_1.b3x(json), playerId, engine);
|
|
36165
36183
|
return copyToArray(this_0);
|
|
36166
36184
|
};
|
|
36167
36185
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
36168
|
-
var tmp0 = this.
|
|
36186
|
+
var tmp0 = this.o42_1;
|
|
36169
36187
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36170
36188
|
var value = mapToDto_34(round);
|
|
36171
36189
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36176,7 +36194,7 @@
|
|
|
36176
36194
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36177
36195
|
};
|
|
36178
36196
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
36179
|
-
var tmp0 = this.
|
|
36197
|
+
var tmp0 = this.o42_1;
|
|
36180
36198
|
// Inline function 'kotlin.collections.map' call
|
|
36181
36199
|
var this_0 = round.items;
|
|
36182
36200
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -36198,7 +36216,7 @@
|
|
|
36198
36216
|
return tmp0.b1w(tmp$ret$4, destination);
|
|
36199
36217
|
};
|
|
36200
36218
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
36201
|
-
var tmp0 = this.
|
|
36219
|
+
var tmp0 = this.o42_1;
|
|
36202
36220
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36203
36221
|
var value = mapToDto_33(metadata);
|
|
36204
36222
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36209,7 +36227,7 @@
|
|
|
36209
36227
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36210
36228
|
};
|
|
36211
36229
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
36212
|
-
var tmp0 = this.
|
|
36230
|
+
var tmp0 = this.o42_1;
|
|
36213
36231
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36214
36232
|
var value = mapToDto_59(config);
|
|
36215
36233
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36220,7 +36238,7 @@
|
|
|
36220
36238
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36221
36239
|
};
|
|
36222
36240
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
36223
|
-
var tmp0 = this.
|
|
36241
|
+
var tmp0 = this.o42_1;
|
|
36224
36242
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36225
36243
|
var value = mapToDto_95(transition);
|
|
36226
36244
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36232,7 +36250,7 @@
|
|
|
36232
36250
|
};
|
|
36233
36251
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
36234
36252
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36235
|
-
var this_0 = this.
|
|
36253
|
+
var this_0 = this.o42_1;
|
|
36236
36254
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36237
36255
|
var this_1 = this_0.zn();
|
|
36238
36256
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36243,7 +36261,7 @@
|
|
|
36243
36261
|
};
|
|
36244
36262
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
36245
36263
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36246
|
-
var this_0 = this.
|
|
36264
|
+
var this_0 = this.o42_1;
|
|
36247
36265
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36248
36266
|
var this_1 = this_0.zn();
|
|
36249
36267
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36253,7 +36271,7 @@
|
|
|
36253
36271
|
return mapFromDto_97(tmp$ret$2);
|
|
36254
36272
|
};
|
|
36255
36273
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
36256
|
-
var tmp0 = this.
|
|
36274
|
+
var tmp0 = this.o42_1;
|
|
36257
36275
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
36258
36276
|
var value = mapToDto_126(table);
|
|
36259
36277
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -36264,11 +36282,11 @@
|
|
|
36264
36282
|
return tmp0.b1w(tmp$ret$1, value);
|
|
36265
36283
|
};
|
|
36266
36284
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
36267
|
-
return mapFromDto_64(this.
|
|
36285
|
+
return mapFromDto_64(this.p42_1.z3w(json));
|
|
36268
36286
|
};
|
|
36269
36287
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
36270
36288
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
36271
|
-
var this_0 = this.
|
|
36289
|
+
var this_0 = this.o42_1;
|
|
36272
36290
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
36273
36291
|
var this_1 = this_0.zn();
|
|
36274
36292
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -36281,16 +36299,16 @@
|
|
|
36281
36299
|
function RatingHelper() {
|
|
36282
36300
|
}
|
|
36283
36301
|
function RatingHelperImpl(userRatingInteractor) {
|
|
36284
|
-
this.
|
|
36302
|
+
this.q42_1 = userRatingInteractor;
|
|
36285
36303
|
}
|
|
36286
36304
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
36287
|
-
return this.
|
|
36305
|
+
return this.q42_1.g3x(league, rating);
|
|
36288
36306
|
};
|
|
36289
36307
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
36290
|
-
return this.
|
|
36308
|
+
return this.q42_1.i3x(rating);
|
|
36291
36309
|
};
|
|
36292
36310
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
36293
|
-
return this.
|
|
36311
|
+
return this.q42_1.h3x();
|
|
36294
36312
|
};
|
|
36295
36313
|
function engineHelpersModule() {
|
|
36296
36314
|
return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
|
|
@@ -36395,14 +36413,14 @@
|
|
|
36395
36413
|
return new GameResourcesImpl();
|
|
36396
36414
|
}
|
|
36397
36415
|
function _get_logger__rkp4sl($this) {
|
|
36398
|
-
var tmp0 = $this.
|
|
36416
|
+
var tmp0 = $this.s42_1;
|
|
36399
36417
|
var tmp = KProperty1;
|
|
36400
36418
|
// Inline function 'kotlin.getValue' call
|
|
36401
36419
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
36402
36420
|
return tmp0.v1();
|
|
36403
36421
|
}
|
|
36404
36422
|
function _get_di__ndbzja($this) {
|
|
36405
|
-
var tmp0 = $this.
|
|
36423
|
+
var tmp0 = $this.t42_1;
|
|
36406
36424
|
var tmp = KProperty1;
|
|
36407
36425
|
// Inline function 'kotlin.getValue' call
|
|
36408
36426
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -36411,11 +36429,11 @@
|
|
|
36411
36429
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
36412
36430
|
return function () {
|
|
36413
36431
|
var tmp;
|
|
36414
|
-
if (this$0.
|
|
36432
|
+
if (this$0.r42_1 == null) {
|
|
36415
36433
|
tmp = null;
|
|
36416
36434
|
} else {
|
|
36417
36435
|
// Inline function 'kotlin.let' call
|
|
36418
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
36436
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.r42_1)]));
|
|
36419
36437
|
}
|
|
36420
36438
|
var tmp1_elvis_lhs = tmp;
|
|
36421
36439
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -36505,11 +36523,11 @@
|
|
|
36505
36523
|
}
|
|
36506
36524
|
function EngineHelpersFactory(loggerCallback) {
|
|
36507
36525
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
36508
|
-
this.
|
|
36526
|
+
this.r42_1 = loggerCallback;
|
|
36509
36527
|
var tmp = this;
|
|
36510
|
-
tmp.
|
|
36528
|
+
tmp.s42_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
36511
36529
|
var tmp_0 = this;
|
|
36512
|
-
tmp_0.
|
|
36530
|
+
tmp_0.t42_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
36513
36531
|
var tmp_1 = this;
|
|
36514
36532
|
// Inline function 'org.kodein.di.instance' call
|
|
36515
36533
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -36518,7 +36536,7 @@
|
|
|
36518
36536
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
36519
36537
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
36520
36538
|
var tmp_4 = KProperty1;
|
|
36521
|
-
tmp_1.
|
|
36539
|
+
tmp_1.u42_1 = tmp_3.n2e(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
36522
36540
|
var tmp_5 = this;
|
|
36523
36541
|
// Inline function 'org.kodein.di.instance' call
|
|
36524
36542
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -36527,7 +36545,7 @@
|
|
|
36527
36545
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
36528
36546
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
36529
36547
|
var tmp_8 = KProperty1;
|
|
36530
|
-
tmp_5.
|
|
36548
|
+
tmp_5.v42_1 = tmp_7.n2e(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
36531
36549
|
var tmp_9 = this;
|
|
36532
36550
|
// Inline function 'org.kodein.di.instance' call
|
|
36533
36551
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -36536,7 +36554,7 @@
|
|
|
36536
36554
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
36537
36555
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
36538
36556
|
var tmp_12 = KProperty1;
|
|
36539
|
-
tmp_9.
|
|
36557
|
+
tmp_9.w42_1 = tmp_11.n2e(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
36540
36558
|
var tmp_13 = this;
|
|
36541
36559
|
// Inline function 'org.kodein.di.instance' call
|
|
36542
36560
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -36545,31 +36563,31 @@
|
|
|
36545
36563
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
36546
36564
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
36547
36565
|
var tmp_16 = KProperty1;
|
|
36548
|
-
tmp_13.
|
|
36566
|
+
tmp_13.x42_1 = tmp_15.n2e(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
36549
36567
|
}
|
|
36550
|
-
protoOf(EngineHelpersFactory).
|
|
36551
|
-
var tmp0 = this.
|
|
36568
|
+
protoOf(EngineHelpersFactory).y42 = function () {
|
|
36569
|
+
var tmp0 = this.u42_1;
|
|
36552
36570
|
var tmp = KProperty1;
|
|
36553
36571
|
// Inline function 'kotlin.getValue' call
|
|
36554
36572
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
36555
36573
|
return tmp0.v1();
|
|
36556
36574
|
};
|
|
36557
|
-
protoOf(EngineHelpersFactory).
|
|
36558
|
-
var tmp0 = this.
|
|
36575
|
+
protoOf(EngineHelpersFactory).z42 = function () {
|
|
36576
|
+
var tmp0 = this.v42_1;
|
|
36559
36577
|
var tmp = KProperty1;
|
|
36560
36578
|
// Inline function 'kotlin.getValue' call
|
|
36561
36579
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
36562
36580
|
return tmp0.v1();
|
|
36563
36581
|
};
|
|
36564
|
-
protoOf(EngineHelpersFactory).
|
|
36565
|
-
var tmp0 = this.
|
|
36582
|
+
protoOf(EngineHelpersFactory).a43 = function () {
|
|
36583
|
+
var tmp0 = this.w42_1;
|
|
36566
36584
|
var tmp = KProperty1;
|
|
36567
36585
|
// Inline function 'kotlin.getValue' call
|
|
36568
36586
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
36569
36587
|
return tmp0.v1();
|
|
36570
36588
|
};
|
|
36571
|
-
protoOf(EngineHelpersFactory).
|
|
36572
|
-
var tmp0 = this.
|
|
36589
|
+
protoOf(EngineHelpersFactory).b43 = function () {
|
|
36590
|
+
var tmp0 = this.x42_1;
|
|
36573
36591
|
var tmp = KProperty1;
|
|
36574
36592
|
// Inline function 'kotlin.getValue' call
|
|
36575
36593
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -36988,6 +37006,9 @@
|
|
|
36988
37006
|
defineProp(protoOf(StartGameMechanicAction), 'users', function () {
|
|
36989
37007
|
return this.t3t();
|
|
36990
37008
|
});
|
|
37009
|
+
defineProp(protoOf(StartGameMechanicAction), 'metadata', function () {
|
|
37010
|
+
return this.y3v();
|
|
37011
|
+
});
|
|
36991
37012
|
defineProp(protoOf(StartGameMechanicAction), 'usersOrder', function () {
|
|
36992
37013
|
return this.p3y();
|
|
36993
37014
|
});
|
|
@@ -37030,7 +37051,7 @@
|
|
|
37030
37051
|
return this.j2r();
|
|
37031
37052
|
});
|
|
37032
37053
|
defineProp(protoOf(SceneMechanicAction), 'actData', function () {
|
|
37033
|
-
return this.
|
|
37054
|
+
return this.o3z();
|
|
37034
37055
|
});
|
|
37035
37056
|
defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
|
|
37036
37057
|
return this.o1p();
|
|
@@ -37040,13 +37061,16 @@
|
|
|
37040
37061
|
});
|
|
37041
37062
|
protoOf(PlayerConnectionChangedMechanicAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
37042
37063
|
protoOf(PlayerConnectionChangedMechanicAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
37043
|
-
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).
|
|
37064
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).c40);
|
|
37044
37065
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).r1r);
|
|
37045
37066
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
37046
37067
|
return this.g1v();
|
|
37047
37068
|
});
|
|
37048
37069
|
protoOf(ContinueGameMechanicAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
37049
37070
|
protoOf(ContinueGameMechanicAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
37071
|
+
defineProp(protoOf(ContinueGameMechanicAction), 'metadata', function () {
|
|
37072
|
+
return this.y3v();
|
|
37073
|
+
});
|
|
37050
37074
|
defineProp(protoOf(ContinueGameMechanicAction), 'id', function () {
|
|
37051
37075
|
return this.h15();
|
|
37052
37076
|
});
|
|
@@ -37075,7 +37099,7 @@
|
|
|
37075
37099
|
return this.j2r();
|
|
37076
37100
|
});
|
|
37077
37101
|
defineProp(protoOf(SceneActMechanicAction), 'actData', function () {
|
|
37078
|
-
return this.
|
|
37102
|
+
return this.o3z();
|
|
37079
37103
|
});
|
|
37080
37104
|
defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
|
|
37081
37105
|
return this.g1v();
|
|
@@ -37136,10 +37160,10 @@
|
|
|
37136
37160
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
37137
37161
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
37138
37162
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
37139
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
37140
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
37141
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
37142
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
37163
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).y42);
|
|
37164
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).z42);
|
|
37165
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).a43);
|
|
37166
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).b43);
|
|
37143
37167
|
//endregion
|
|
37144
37168
|
//region block: init
|
|
37145
37169
|
Companion_instance_3 = new Companion();
|
|
@@ -37749,6 +37773,10 @@
|
|
|
37749
37773
|
var $games$jass = $games.jass || ($games.jass = {});
|
|
37750
37774
|
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
37751
37775
|
var $games$jass$logic$redux = $games$jass$logic.redux || ($games$jass$logic.redux = {});
|
|
37776
|
+
var $games = _.games || (_.games = {});
|
|
37777
|
+
var $games$jass = $games.jass || ($games.jass = {});
|
|
37778
|
+
var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
|
|
37779
|
+
var $games$jass$logic$redux = $games$jass$logic.redux || ($games$jass$logic.redux = {});
|
|
37752
37780
|
var $games$jass$logic$redux$actions = $games$jass$logic$redux.actions || ($games$jass$logic$redux.actions = {});
|
|
37753
37781
|
$games$jass$logic$redux$actions.ClearAction = ClearAction;
|
|
37754
37782
|
var $games = _.games || (_.games = {});
|