raspberry_games_engine_helpers 1.8.502 → 1.8.505
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
|
@@ -813,15 +813,15 @@
|
|
|
813
813
|
initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
|
|
814
814
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
815
815
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
816
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
817
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
818
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
819
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
820
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
821
|
-
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
816
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
817
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
818
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
819
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
820
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
821
|
+
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
822
822
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
823
823
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
824
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
824
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
825
825
|
initMetadataForCompanion(Companion_160);
|
|
826
826
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
827
827
|
initMetadataForCompanion(Companion_161, VOID, [SerializerFactory]);
|
|
@@ -886,15 +886,15 @@
|
|
|
886
886
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
887
887
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
888
888
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
889
|
-
return $super === VOID ? this.
|
|
889
|
+
return $super === VOID ? this.t49(store, playerIds, includeBots) : $super.t49.call(this, store, playerIds, includeBots);
|
|
890
890
|
}
|
|
891
891
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
892
892
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
893
|
-
return $super === VOID ? this.
|
|
893
|
+
return $super === VOID ? this.u49(store, playerIds, includeBots) : $super.u49.call(this, store, playerIds, includeBots);
|
|
894
894
|
}
|
|
895
895
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
896
896
|
league = league === VOID ? null : league;
|
|
897
|
-
return $super === VOID ? this.
|
|
897
|
+
return $super === VOID ? this.v49(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.v49.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
898
898
|
}
|
|
899
899
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
900
900
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
tmp = existingNicknames;
|
|
908
908
|
}
|
|
909
909
|
existingNicknames = tmp;
|
|
910
|
-
return $super === VOID ? this.
|
|
910
|
+
return $super === VOID ? this.z49(playerId, existingNicknames) : $super.z49.call(this, playerId, existingNicknames);
|
|
911
911
|
}
|
|
912
912
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
913
913
|
initMetadataForCompanion(Companion_163);
|
|
@@ -36824,11 +36824,12 @@
|
|
|
36824
36824
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
36825
36825
|
return $super === VOID ? this.a46(id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory) : $super.a46.call(this, id, gameId, roundNumber, earnedBiggestPointPlayerId, gameLosers, gameWinners, leftPermanentlyPlayers, playersGameAnalytics, playersRoundAnalytics, achievements, gameHistory);
|
|
36826
36826
|
};
|
|
36827
|
-
function PartyRestartedAction(id, roundNumber, gameHistory) {
|
|
36827
|
+
function PartyRestartedAction(id, roundNumber, gameHistory, abandonedRound) {
|
|
36828
36828
|
GameAction.call(this);
|
|
36829
36829
|
this.id = id;
|
|
36830
36830
|
this.partyNumber = roundNumber;
|
|
36831
36831
|
this.gameHistory = gameHistory;
|
|
36832
|
+
this.abandonedRound = abandonedRound;
|
|
36832
36833
|
}
|
|
36833
36834
|
protoOf(PartyRestartedAction).t15 = function () {
|
|
36834
36835
|
return this.id;
|
|
@@ -36839,6 +36840,9 @@
|
|
|
36839
36840
|
protoOf(PartyRestartedAction).a41 = function () {
|
|
36840
36841
|
return this.gameHistory;
|
|
36841
36842
|
};
|
|
36843
|
+
protoOf(PartyRestartedAction).b46 = function () {
|
|
36844
|
+
return this.abandonedRound;
|
|
36845
|
+
};
|
|
36842
36846
|
protoOf(PartyRestartedAction).pc = function () {
|
|
36843
36847
|
return this.id;
|
|
36844
36848
|
};
|
|
@@ -36848,22 +36852,27 @@
|
|
|
36848
36852
|
protoOf(PartyRestartedAction).lh = function () {
|
|
36849
36853
|
return this.gameHistory;
|
|
36850
36854
|
};
|
|
36851
|
-
protoOf(PartyRestartedAction).
|
|
36852
|
-
return
|
|
36855
|
+
protoOf(PartyRestartedAction).e16 = function () {
|
|
36856
|
+
return this.abandonedRound;
|
|
36853
36857
|
};
|
|
36854
|
-
protoOf(PartyRestartedAction).
|
|
36858
|
+
protoOf(PartyRestartedAction).c46 = function (id, roundNumber, gameHistory, abandonedRound) {
|
|
36859
|
+
return new PartyRestartedAction(id, roundNumber, gameHistory, abandonedRound);
|
|
36860
|
+
};
|
|
36861
|
+
protoOf(PartyRestartedAction).copy = function (id, roundNumber, gameHistory, abandonedRound, $super) {
|
|
36855
36862
|
id = id === VOID ? this.id : id;
|
|
36856
36863
|
roundNumber = roundNumber === VOID ? this.partyNumber : roundNumber;
|
|
36857
36864
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
36858
|
-
|
|
36865
|
+
abandonedRound = abandonedRound === VOID ? this.abandonedRound : abandonedRound;
|
|
36866
|
+
return $super === VOID ? this.c46(id, roundNumber, gameHistory, abandonedRound) : $super.c46.call(this, id, roundNumber, gameHistory, abandonedRound);
|
|
36859
36867
|
};
|
|
36860
36868
|
protoOf(PartyRestartedAction).toString = function () {
|
|
36861
|
-
return 'RoundRestartedAction(id=' + this.id + ', roundNumber=' + this.partyNumber + ', gameHistory=' + this.gameHistory.toString() + ')';
|
|
36869
|
+
return 'RoundRestartedAction(id=' + this.id + ', roundNumber=' + this.partyNumber + ', gameHistory=' + this.gameHistory.toString() + ', abandonedRound=' + this.abandonedRound.toString() + ')';
|
|
36862
36870
|
};
|
|
36863
36871
|
protoOf(PartyRestartedAction).hashCode = function () {
|
|
36864
36872
|
var result = getStringHashCode(this.id);
|
|
36865
36873
|
result = imul(result, 31) + this.partyNumber | 0;
|
|
36866
36874
|
result = imul(result, 31) + this.gameHistory.hashCode() | 0;
|
|
36875
|
+
result = imul(result, 31) + this.abandonedRound.hashCode() | 0;
|
|
36867
36876
|
return result;
|
|
36868
36877
|
};
|
|
36869
36878
|
protoOf(PartyRestartedAction).equals = function (other) {
|
|
@@ -36877,6 +36886,8 @@
|
|
|
36877
36886
|
return false;
|
|
36878
36887
|
if (!this.gameHistory.equals(other.gameHistory))
|
|
36879
36888
|
return false;
|
|
36889
|
+
if (!this.abandonedRound.equals(other.abandonedRound))
|
|
36890
|
+
return false;
|
|
36880
36891
|
return true;
|
|
36881
36892
|
};
|
|
36882
36893
|
function GameTransition() {
|
|
@@ -36885,13 +36896,13 @@
|
|
|
36885
36896
|
this.originalRoomMode = originalRoomMode;
|
|
36886
36897
|
this.q2g_1 = previousPlayers;
|
|
36887
36898
|
}
|
|
36888
|
-
protoOf(RevengeRoomTransition).
|
|
36899
|
+
protoOf(RevengeRoomTransition).f46 = function () {
|
|
36889
36900
|
return this.originalRoomMode;
|
|
36890
36901
|
};
|
|
36891
|
-
protoOf(RevengeRoomTransition).
|
|
36902
|
+
protoOf(RevengeRoomTransition).d46 = function () {
|
|
36892
36903
|
return this.q2g_1;
|
|
36893
36904
|
};
|
|
36894
|
-
protoOf(RevengeRoomTransition).
|
|
36905
|
+
protoOf(RevengeRoomTransition).e46 = function () {
|
|
36895
36906
|
// Inline function 'kotlin.emptyArray' call
|
|
36896
36907
|
return [];
|
|
36897
36908
|
};
|
|
@@ -36901,13 +36912,13 @@
|
|
|
36901
36912
|
protoOf(RevengeRoomTransition).qc = function () {
|
|
36902
36913
|
return this.q2g_1;
|
|
36903
36914
|
};
|
|
36904
|
-
protoOf(RevengeRoomTransition).
|
|
36915
|
+
protoOf(RevengeRoomTransition).g46 = function (originalRoomMode, previousPlayers) {
|
|
36905
36916
|
return new RevengeRoomTransition(originalRoomMode, previousPlayers);
|
|
36906
36917
|
};
|
|
36907
36918
|
protoOf(RevengeRoomTransition).copy = function (originalRoomMode, previousPlayers, $super) {
|
|
36908
36919
|
originalRoomMode = originalRoomMode === VOID ? this.originalRoomMode : originalRoomMode;
|
|
36909
36920
|
previousPlayers = previousPlayers === VOID ? this.q2g_1 : previousPlayers;
|
|
36910
|
-
return $super === VOID ? this.
|
|
36921
|
+
return $super === VOID ? this.g46(originalRoomMode, previousPlayers) : $super.g46.call(this, originalRoomMode, previousPlayers);
|
|
36911
36922
|
};
|
|
36912
36923
|
protoOf(RevengeRoomTransition).toString = function () {
|
|
36913
36924
|
return 'RevengeRoomTransition(originalRoomMode=' + this.originalRoomMode.toString() + ', previousPlayers=' + toString_0(this.q2g_1) + ')';
|
|
@@ -36939,13 +36950,13 @@
|
|
|
36939
36950
|
protoOf(GameToRoomTransition).j1s = function () {
|
|
36940
36951
|
return this.playerIds;
|
|
36941
36952
|
};
|
|
36942
|
-
protoOf(GameToRoomTransition).
|
|
36953
|
+
protoOf(GameToRoomTransition).d46 = function () {
|
|
36943
36954
|
return this.b3o_1;
|
|
36944
36955
|
};
|
|
36945
36956
|
protoOf(GameToRoomTransition).b43 = function () {
|
|
36946
36957
|
return true;
|
|
36947
36958
|
};
|
|
36948
|
-
protoOf(GameToRoomTransition).
|
|
36959
|
+
protoOf(GameToRoomTransition).e46 = function () {
|
|
36949
36960
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
36950
36961
|
var this_0 = this.playerIds;
|
|
36951
36962
|
return copyToArray(this_0);
|
|
@@ -36959,14 +36970,14 @@
|
|
|
36959
36970
|
protoOf(GameToRoomTransition).lh = function () {
|
|
36960
36971
|
return this.b3o_1;
|
|
36961
36972
|
};
|
|
36962
|
-
protoOf(GameToRoomTransition).
|
|
36973
|
+
protoOf(GameToRoomTransition).h46 = function (roomId, playerIds, previousPlayers) {
|
|
36963
36974
|
return new GameToRoomTransition(roomId, playerIds, previousPlayers);
|
|
36964
36975
|
};
|
|
36965
36976
|
protoOf(GameToRoomTransition).copy = function (roomId, playerIds, previousPlayers, $super) {
|
|
36966
36977
|
roomId = roomId === VOID ? this.roomId : roomId;
|
|
36967
36978
|
playerIds = playerIds === VOID ? this.playerIds : playerIds;
|
|
36968
36979
|
previousPlayers = previousPlayers === VOID ? this.b3o_1 : previousPlayers;
|
|
36969
|
-
return $super === VOID ? this.
|
|
36980
|
+
return $super === VOID ? this.h46(roomId, playerIds, previousPlayers) : $super.h46.call(this, roomId, playerIds, previousPlayers);
|
|
36970
36981
|
};
|
|
36971
36982
|
protoOf(GameToRoomTransition).toString = function () {
|
|
36972
36983
|
return 'GameToRoomTransition(roomId=' + this.roomId + ', playerIds=' + toString(this.playerIds) + ', previousPlayers=' + toString(this.b3o_1) + ')';
|
|
@@ -36999,38 +37010,38 @@
|
|
|
36999
37010
|
function StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators) {
|
|
37000
37011
|
aid = aid === VOID ? null : aid;
|
|
37001
37012
|
MechanicAction.call(this);
|
|
37002
|
-
this.
|
|
37003
|
-
this.
|
|
37004
|
-
this.
|
|
37005
|
-
this.
|
|
37006
|
-
this.
|
|
37007
|
-
this.
|
|
37008
|
-
this.
|
|
37013
|
+
this.k46_1 = config;
|
|
37014
|
+
this.l46_1 = roomId;
|
|
37015
|
+
this.m46_1 = version;
|
|
37016
|
+
this.n46_1 = gameCreatorPlayerId;
|
|
37017
|
+
this.o46_1 = users;
|
|
37018
|
+
this.p46_1 = aid;
|
|
37019
|
+
this.q46_1 = spectators;
|
|
37009
37020
|
}
|
|
37010
37021
|
protoOf(StartGameMechanicAction).x2r = function () {
|
|
37011
|
-
return this.j46_1;
|
|
37012
|
-
};
|
|
37013
|
-
protoOf(StartGameMechanicAction).t15 = function () {
|
|
37014
37022
|
return this.k46_1;
|
|
37015
37023
|
};
|
|
37016
|
-
protoOf(StartGameMechanicAction).
|
|
37024
|
+
protoOf(StartGameMechanicAction).t15 = function () {
|
|
37017
37025
|
return this.l46_1;
|
|
37018
37026
|
};
|
|
37019
|
-
protoOf(StartGameMechanicAction).
|
|
37027
|
+
protoOf(StartGameMechanicAction).u16 = function () {
|
|
37020
37028
|
return this.m46_1;
|
|
37021
37029
|
};
|
|
37022
|
-
protoOf(StartGameMechanicAction).
|
|
37030
|
+
protoOf(StartGameMechanicAction).i46 = function () {
|
|
37023
37031
|
return this.n46_1;
|
|
37024
37032
|
};
|
|
37025
|
-
protoOf(StartGameMechanicAction).
|
|
37033
|
+
protoOf(StartGameMechanicAction).f41 = function () {
|
|
37026
37034
|
return this.o46_1;
|
|
37027
37035
|
};
|
|
37028
|
-
protoOf(StartGameMechanicAction).
|
|
37036
|
+
protoOf(StartGameMechanicAction).f45 = function () {
|
|
37029
37037
|
return this.p46_1;
|
|
37030
37038
|
};
|
|
37031
|
-
protoOf(StartGameMechanicAction).
|
|
37039
|
+
protoOf(StartGameMechanicAction).u40 = function () {
|
|
37040
|
+
return this.q46_1;
|
|
37041
|
+
};
|
|
37042
|
+
protoOf(StartGameMechanicAction).j46 = function () {
|
|
37032
37043
|
// Inline function 'kotlin.collections.map' call
|
|
37033
|
-
var this_0 = this.
|
|
37044
|
+
var this_0 = this.o46_1;
|
|
37034
37045
|
// Inline function 'kotlin.collections.mapTo' call
|
|
37035
37046
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
37036
37047
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -37043,50 +37054,50 @@
|
|
|
37043
37054
|
return copyToArray(destination);
|
|
37044
37055
|
};
|
|
37045
37056
|
protoOf(StartGameMechanicAction).pc = function () {
|
|
37046
|
-
return this.
|
|
37057
|
+
return this.k46_1;
|
|
37047
37058
|
};
|
|
37048
37059
|
protoOf(StartGameMechanicAction).qc = function () {
|
|
37049
|
-
return this.
|
|
37060
|
+
return this.l46_1;
|
|
37050
37061
|
};
|
|
37051
37062
|
protoOf(StartGameMechanicAction).lh = function () {
|
|
37052
|
-
return this.
|
|
37063
|
+
return this.m46_1;
|
|
37053
37064
|
};
|
|
37054
37065
|
protoOf(StartGameMechanicAction).e16 = function () {
|
|
37055
|
-
return this.
|
|
37066
|
+
return this.n46_1;
|
|
37056
37067
|
};
|
|
37057
37068
|
protoOf(StartGameMechanicAction).g1p = function () {
|
|
37058
|
-
return this.
|
|
37069
|
+
return this.o46_1;
|
|
37059
37070
|
};
|
|
37060
37071
|
protoOf(StartGameMechanicAction).n1q = function () {
|
|
37061
|
-
return this.
|
|
37072
|
+
return this.p46_1;
|
|
37062
37073
|
};
|
|
37063
37074
|
protoOf(StartGameMechanicAction).o1q = function () {
|
|
37064
|
-
return this.
|
|
37075
|
+
return this.q46_1;
|
|
37065
37076
|
};
|
|
37066
|
-
protoOf(StartGameMechanicAction).
|
|
37077
|
+
protoOf(StartGameMechanicAction).r46 = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators) {
|
|
37067
37078
|
return new StartGameMechanicAction(config, roomId, version, gameCreatorPlayerId, users, aid, spectators);
|
|
37068
37079
|
};
|
|
37069
37080
|
protoOf(StartGameMechanicAction).copy = function (config, roomId, version, gameCreatorPlayerId, users, aid, spectators, $super) {
|
|
37070
|
-
config = config === VOID ? this.
|
|
37071
|
-
roomId = roomId === VOID ? this.
|
|
37072
|
-
version = version === VOID ? this.
|
|
37073
|
-
gameCreatorPlayerId = gameCreatorPlayerId === VOID ? this.
|
|
37074
|
-
users = users === VOID ? this.
|
|
37075
|
-
aid = aid === VOID ? this.
|
|
37076
|
-
spectators = spectators === VOID ? this.
|
|
37077
|
-
return $super === VOID ? this.
|
|
37081
|
+
config = config === VOID ? this.k46_1 : config;
|
|
37082
|
+
roomId = roomId === VOID ? this.l46_1 : roomId;
|
|
37083
|
+
version = version === VOID ? this.m46_1 : version;
|
|
37084
|
+
gameCreatorPlayerId = gameCreatorPlayerId === VOID ? this.n46_1 : gameCreatorPlayerId;
|
|
37085
|
+
users = users === VOID ? this.o46_1 : users;
|
|
37086
|
+
aid = aid === VOID ? this.p46_1 : aid;
|
|
37087
|
+
spectators = spectators === VOID ? this.q46_1 : spectators;
|
|
37088
|
+
return $super === VOID ? this.r46(config, roomId, version, gameCreatorPlayerId, users, aid, spectators) : $super.r46.call(this, config, roomId, version, gameCreatorPlayerId, users, aid, spectators);
|
|
37078
37089
|
};
|
|
37079
37090
|
protoOf(StartGameMechanicAction).toString = function () {
|
|
37080
|
-
return 'StartGameMechanicAction(config=' + this.
|
|
37091
|
+
return 'StartGameMechanicAction(config=' + this.k46_1.toString() + ', roomId=' + this.l46_1 + ', version=' + this.m46_1 + ', gameCreatorPlayerId=' + this.n46_1 + ', users=' + toString(this.o46_1) + ', aid=' + this.p46_1 + ', spectators=' + toString(this.q46_1) + ')';
|
|
37081
37092
|
};
|
|
37082
37093
|
protoOf(StartGameMechanicAction).hashCode = function () {
|
|
37083
|
-
var result = this.
|
|
37084
|
-
result = imul(result, 31) + getStringHashCode(this.k46_1) | 0;
|
|
37094
|
+
var result = this.k46_1.hashCode();
|
|
37085
37095
|
result = imul(result, 31) + getStringHashCode(this.l46_1) | 0;
|
|
37086
37096
|
result = imul(result, 31) + getStringHashCode(this.m46_1) | 0;
|
|
37087
|
-
result = imul(result, 31) +
|
|
37088
|
-
result = imul(result, 31) + (this.o46_1
|
|
37089
|
-
result = imul(result, 31) +
|
|
37097
|
+
result = imul(result, 31) + getStringHashCode(this.n46_1) | 0;
|
|
37098
|
+
result = imul(result, 31) + hashCode(this.o46_1) | 0;
|
|
37099
|
+
result = imul(result, 31) + (this.p46_1 == null ? 0 : getStringHashCode(this.p46_1)) | 0;
|
|
37100
|
+
result = imul(result, 31) + hashCode(this.q46_1) | 0;
|
|
37090
37101
|
return result;
|
|
37091
37102
|
};
|
|
37092
37103
|
protoOf(StartGameMechanicAction).equals = function (other) {
|
|
@@ -37094,19 +37105,19 @@
|
|
|
37094
37105
|
return true;
|
|
37095
37106
|
if (!(other instanceof StartGameMechanicAction))
|
|
37096
37107
|
return false;
|
|
37097
|
-
if (!this.
|
|
37098
|
-
return false;
|
|
37099
|
-
if (!(this.k46_1 === other.k46_1))
|
|
37108
|
+
if (!this.k46_1.equals(other.k46_1))
|
|
37100
37109
|
return false;
|
|
37101
37110
|
if (!(this.l46_1 === other.l46_1))
|
|
37102
37111
|
return false;
|
|
37103
37112
|
if (!(this.m46_1 === other.m46_1))
|
|
37104
37113
|
return false;
|
|
37105
|
-
if (!
|
|
37114
|
+
if (!(this.n46_1 === other.n46_1))
|
|
37106
37115
|
return false;
|
|
37107
|
-
if (!(this.o46_1
|
|
37116
|
+
if (!equals(this.o46_1, other.o46_1))
|
|
37108
37117
|
return false;
|
|
37109
|
-
if (!
|
|
37118
|
+
if (!(this.p46_1 == other.p46_1))
|
|
37119
|
+
return false;
|
|
37120
|
+
if (!equals(this.q46_1, other.q46_1))
|
|
37110
37121
|
return false;
|
|
37111
37122
|
return true;
|
|
37112
37123
|
};
|
|
@@ -37115,16 +37126,16 @@
|
|
|
37115
37126
|
MechanicAction.call(this);
|
|
37116
37127
|
this.previousGameId = previousGameId;
|
|
37117
37128
|
this.gameId = gameId;
|
|
37118
|
-
this.
|
|
37129
|
+
this.s46_1 = aid;
|
|
37119
37130
|
}
|
|
37120
|
-
protoOf(StartNewGameMechanicAction).
|
|
37131
|
+
protoOf(StartNewGameMechanicAction).t46 = function () {
|
|
37121
37132
|
return this.previousGameId;
|
|
37122
37133
|
};
|
|
37123
37134
|
protoOf(StartNewGameMechanicAction).x15 = function () {
|
|
37124
37135
|
return this.gameId;
|
|
37125
37136
|
};
|
|
37126
37137
|
protoOf(StartNewGameMechanicAction).f45 = function () {
|
|
37127
|
-
return this.
|
|
37138
|
+
return this.s46_1;
|
|
37128
37139
|
};
|
|
37129
37140
|
protoOf(StartNewGameMechanicAction).pc = function () {
|
|
37130
37141
|
return this.previousGameId;
|
|
@@ -37133,24 +37144,24 @@
|
|
|
37133
37144
|
return this.gameId;
|
|
37134
37145
|
};
|
|
37135
37146
|
protoOf(StartNewGameMechanicAction).lh = function () {
|
|
37136
|
-
return this.
|
|
37147
|
+
return this.s46_1;
|
|
37137
37148
|
};
|
|
37138
|
-
protoOf(StartNewGameMechanicAction).
|
|
37149
|
+
protoOf(StartNewGameMechanicAction).u46 = function (previousGameId, gameId, aid) {
|
|
37139
37150
|
return new StartNewGameMechanicAction(previousGameId, gameId, aid);
|
|
37140
37151
|
};
|
|
37141
37152
|
protoOf(StartNewGameMechanicAction).copy = function (previousGameId, gameId, aid, $super) {
|
|
37142
37153
|
previousGameId = previousGameId === VOID ? this.previousGameId : previousGameId;
|
|
37143
37154
|
gameId = gameId === VOID ? this.gameId : gameId;
|
|
37144
|
-
aid = aid === VOID ? this.
|
|
37145
|
-
return $super === VOID ? this.
|
|
37155
|
+
aid = aid === VOID ? this.s46_1 : aid;
|
|
37156
|
+
return $super === VOID ? this.u46(previousGameId, gameId, aid) : $super.u46.call(this, previousGameId, gameId, aid);
|
|
37146
37157
|
};
|
|
37147
37158
|
protoOf(StartNewGameMechanicAction).toString = function () {
|
|
37148
|
-
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.
|
|
37159
|
+
return 'StartNewGameMechanicAction(previousGameId=' + this.previousGameId + ', gameId=' + this.gameId + ', aid=' + this.s46_1 + ')';
|
|
37149
37160
|
};
|
|
37150
37161
|
protoOf(StartNewGameMechanicAction).hashCode = function () {
|
|
37151
37162
|
var result = getStringHashCode(this.previousGameId);
|
|
37152
37163
|
result = imul(result, 31) + getStringHashCode(this.gameId) | 0;
|
|
37153
|
-
result = imul(result, 31) + (this.
|
|
37164
|
+
result = imul(result, 31) + (this.s46_1 == null ? 0 : getStringHashCode(this.s46_1)) | 0;
|
|
37154
37165
|
return result;
|
|
37155
37166
|
};
|
|
37156
37167
|
protoOf(StartNewGameMechanicAction).equals = function (other) {
|
|
@@ -37162,7 +37173,7 @@
|
|
|
37162
37173
|
return false;
|
|
37163
37174
|
if (!(this.gameId === other.gameId))
|
|
37164
37175
|
return false;
|
|
37165
|
-
if (!(this.
|
|
37176
|
+
if (!(this.s46_1 == other.s46_1))
|
|
37166
37177
|
return false;
|
|
37167
37178
|
return true;
|
|
37168
37179
|
};
|
|
@@ -37173,7 +37184,7 @@
|
|
|
37173
37184
|
this.table = table;
|
|
37174
37185
|
this.reason = reason;
|
|
37175
37186
|
this.payload = payload;
|
|
37176
|
-
this.
|
|
37187
|
+
this.v46_1 = aid;
|
|
37177
37188
|
}
|
|
37178
37189
|
protoOf(ContinueGameMechanicAction).t2f = function () {
|
|
37179
37190
|
return this.table;
|
|
@@ -37185,7 +37196,7 @@
|
|
|
37185
37196
|
return this.payload;
|
|
37186
37197
|
};
|
|
37187
37198
|
protoOf(ContinueGameMechanicAction).f45 = function () {
|
|
37188
|
-
return this.
|
|
37199
|
+
return this.v46_1;
|
|
37189
37200
|
};
|
|
37190
37201
|
protoOf(ContinueGameMechanicAction).t15 = function () {
|
|
37191
37202
|
return this.table.id;
|
|
@@ -37216,7 +37227,7 @@
|
|
|
37216
37227
|
}
|
|
37217
37228
|
return destination;
|
|
37218
37229
|
};
|
|
37219
|
-
protoOf(ContinueGameMechanicAction).
|
|
37230
|
+
protoOf(ContinueGameMechanicAction).j46 = function () {
|
|
37220
37231
|
// Inline function 'kotlin.collections.map' call
|
|
37221
37232
|
var this_0 = this.users;
|
|
37222
37233
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -37230,7 +37241,7 @@
|
|
|
37230
37241
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37231
37242
|
return copyToArray(destination);
|
|
37232
37243
|
};
|
|
37233
|
-
protoOf(ContinueGameMechanicAction).
|
|
37244
|
+
protoOf(ContinueGameMechanicAction).i46 = function () {
|
|
37234
37245
|
return getGameCreator(this.table.players).playerId;
|
|
37235
37246
|
};
|
|
37236
37247
|
protoOf(ContinueGameMechanicAction).u16 = function () {
|
|
@@ -37240,7 +37251,7 @@
|
|
|
37240
37251
|
return this.table.config;
|
|
37241
37252
|
};
|
|
37242
37253
|
protoOf(ContinueGameMechanicAction).toString = function () {
|
|
37243
|
-
return 'ContinueGameMechanicAction(reason = ' + toString(this.reason) + ', aid = ' + this.
|
|
37254
|
+
return 'ContinueGameMechanicAction(reason = ' + toString(this.reason) + ', aid = ' + this.v46_1 + ')';
|
|
37244
37255
|
};
|
|
37245
37256
|
protoOf(ContinueGameMechanicAction).pc = function () {
|
|
37246
37257
|
return this.table;
|
|
@@ -37252,23 +37263,23 @@
|
|
|
37252
37263
|
return this.payload;
|
|
37253
37264
|
};
|
|
37254
37265
|
protoOf(ContinueGameMechanicAction).e16 = function () {
|
|
37255
|
-
return this.
|
|
37266
|
+
return this.v46_1;
|
|
37256
37267
|
};
|
|
37257
|
-
protoOf(ContinueGameMechanicAction).
|
|
37268
|
+
protoOf(ContinueGameMechanicAction).w46 = function (table, reason, payload, aid) {
|
|
37258
37269
|
return new ContinueGameMechanicAction(table, reason, payload, aid);
|
|
37259
37270
|
};
|
|
37260
37271
|
protoOf(ContinueGameMechanicAction).copy = function (table, reason, payload, aid, $super) {
|
|
37261
37272
|
table = table === VOID ? this.table : table;
|
|
37262
37273
|
reason = reason === VOID ? this.reason : reason;
|
|
37263
37274
|
payload = payload === VOID ? this.payload : payload;
|
|
37264
|
-
aid = aid === VOID ? this.
|
|
37265
|
-
return $super === VOID ? this.
|
|
37275
|
+
aid = aid === VOID ? this.v46_1 : aid;
|
|
37276
|
+
return $super === VOID ? this.w46(table, reason, payload, aid) : $super.w46.call(this, table, reason, payload, aid);
|
|
37266
37277
|
};
|
|
37267
37278
|
protoOf(ContinueGameMechanicAction).hashCode = function () {
|
|
37268
37279
|
var result = this.table.hashCode();
|
|
37269
37280
|
result = imul(result, 31) + hashCode(this.reason) | 0;
|
|
37270
37281
|
result = imul(result, 31) + (this.payload == null ? 0 : hashCode(this.payload)) | 0;
|
|
37271
|
-
result = imul(result, 31) + (this.
|
|
37282
|
+
result = imul(result, 31) + (this.v46_1 == null ? 0 : getStringHashCode(this.v46_1)) | 0;
|
|
37272
37283
|
return result;
|
|
37273
37284
|
};
|
|
37274
37285
|
protoOf(ContinueGameMechanicAction).equals = function (other) {
|
|
@@ -37282,13 +37293,13 @@
|
|
|
37282
37293
|
return false;
|
|
37283
37294
|
if (!equals(this.payload, other.payload))
|
|
37284
37295
|
return false;
|
|
37285
|
-
if (!(this.
|
|
37296
|
+
if (!(this.v46_1 == other.v46_1))
|
|
37286
37297
|
return false;
|
|
37287
37298
|
return true;
|
|
37288
37299
|
};
|
|
37289
37300
|
function Companion_162() {
|
|
37290
37301
|
}
|
|
37291
|
-
protoOf(Companion_162).
|
|
37302
|
+
protoOf(Companion_162).x46 = function (reason, isGameFinished, table, transition) {
|
|
37292
37303
|
var tmp4_sessionAnalytics = table == null ? null : mapGameSessionAnalytics(table);
|
|
37293
37304
|
var tmp5_gameHistory = table == null ? null : table.gameHistory;
|
|
37294
37305
|
var tmp;
|
|
@@ -37303,7 +37314,7 @@
|
|
|
37303
37314
|
};
|
|
37304
37315
|
protoOf(Companion_162).fromTableWithAnalytics = function (reason, isGameFinished, table, transition, $super) {
|
|
37305
37316
|
transition = transition === VOID ? null : transition;
|
|
37306
|
-
return $super === VOID ? this.
|
|
37317
|
+
return $super === VOID ? this.x46(reason, isGameFinished, table, transition) : $super.x46.call(this, reason, isGameFinished, table, transition);
|
|
37307
37318
|
};
|
|
37308
37319
|
protoOf(Companion_162).fromTable = function (table) {
|
|
37309
37320
|
var tmp2_reason = ProcessingReason_getInstance();
|
|
@@ -37321,37 +37332,37 @@
|
|
|
37321
37332
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? true : isRoundHistorySaved;
|
|
37322
37333
|
aid = aid === VOID ? null : aid;
|
|
37323
37334
|
MechanicAction.call(this);
|
|
37324
|
-
this.
|
|
37325
|
-
this.
|
|
37326
|
-
this.
|
|
37335
|
+
this.y46_1 = reason;
|
|
37336
|
+
this.z46_1 = isGameFinished;
|
|
37337
|
+
this.a47_1 = transition;
|
|
37327
37338
|
this.sessionAnalytics = sessionAnalytics;
|
|
37328
37339
|
this.gameHistory = gameHistory;
|
|
37329
37340
|
this.isRoundHistorySaved = isRoundHistorySaved;
|
|
37330
|
-
this.
|
|
37341
|
+
this.b47_1 = aid;
|
|
37331
37342
|
}
|
|
37332
37343
|
protoOf(FinishingGameMechanicAction).b1q = function () {
|
|
37333
|
-
return this.
|
|
37344
|
+
return this.y46_1;
|
|
37334
37345
|
};
|
|
37335
37346
|
protoOf(FinishingGameMechanicAction).j41 = function () {
|
|
37336
|
-
return this.
|
|
37347
|
+
return this.z46_1;
|
|
37337
37348
|
};
|
|
37338
37349
|
protoOf(FinishingGameMechanicAction).c45 = function () {
|
|
37339
|
-
return this.
|
|
37350
|
+
return this.a47_1;
|
|
37340
37351
|
};
|
|
37341
|
-
protoOf(FinishingGameMechanicAction).
|
|
37352
|
+
protoOf(FinishingGameMechanicAction).c47 = function () {
|
|
37342
37353
|
return this.sessionAnalytics;
|
|
37343
37354
|
};
|
|
37344
37355
|
protoOf(FinishingGameMechanicAction).a41 = function () {
|
|
37345
37356
|
return this.gameHistory;
|
|
37346
37357
|
};
|
|
37347
|
-
protoOf(FinishingGameMechanicAction).
|
|
37358
|
+
protoOf(FinishingGameMechanicAction).d47 = function () {
|
|
37348
37359
|
return this.isRoundHistorySaved;
|
|
37349
37360
|
};
|
|
37350
37361
|
protoOf(FinishingGameMechanicAction).f45 = function () {
|
|
37351
|
-
return this.
|
|
37362
|
+
return this.b47_1;
|
|
37352
37363
|
};
|
|
37353
37364
|
protoOf(FinishingGameMechanicAction).toString = function () {
|
|
37354
|
-
var tmp = 'reason=' + toString(this.
|
|
37365
|
+
var tmp = 'reason=' + toString(this.y46_1);
|
|
37355
37366
|
// Inline function 'kotlin.takeIf' call
|
|
37356
37367
|
var this_0 = 'sessionAnalytics=' + toString_0(this.sessionAnalytics);
|
|
37357
37368
|
var tmp_0;
|
|
@@ -37362,9 +37373,9 @@
|
|
|
37362
37373
|
}
|
|
37363
37374
|
var tmp_1 = tmp_0;
|
|
37364
37375
|
// Inline function 'kotlin.takeIf' call
|
|
37365
|
-
var this_1 = 'isGameFinished=' + this.
|
|
37376
|
+
var this_1 = 'isGameFinished=' + this.z46_1;
|
|
37366
37377
|
var tmp_2;
|
|
37367
|
-
if (this.
|
|
37378
|
+
if (this.z46_1) {
|
|
37368
37379
|
tmp_2 = this_1;
|
|
37369
37380
|
} else {
|
|
37370
37381
|
tmp_2 = null;
|
|
@@ -37380,18 +37391,18 @@
|
|
|
37380
37391
|
}
|
|
37381
37392
|
var tmp_5 = tmp_4;
|
|
37382
37393
|
// Inline function 'kotlin.takeIf' call
|
|
37383
|
-
var this_3 = 'transition=' + toString_0(this.
|
|
37394
|
+
var this_3 = 'transition=' + toString_0(this.a47_1);
|
|
37384
37395
|
var tmp_6;
|
|
37385
|
-
if (!(this.
|
|
37396
|
+
if (!(this.a47_1 == null)) {
|
|
37386
37397
|
tmp_6 = this_3;
|
|
37387
37398
|
} else {
|
|
37388
37399
|
tmp_6 = null;
|
|
37389
37400
|
}
|
|
37390
37401
|
var tmp_7 = tmp_6;
|
|
37391
37402
|
// Inline function 'kotlin.takeIf' call
|
|
37392
|
-
var this_4 = 'aid=' + this.
|
|
37403
|
+
var this_4 = 'aid=' + this.b47_1;
|
|
37393
37404
|
var tmp_8;
|
|
37394
|
-
if (!(this.
|
|
37405
|
+
if (!(this.b47_1 == null)) {
|
|
37395
37406
|
tmp_8 = this_4;
|
|
37396
37407
|
} else {
|
|
37397
37408
|
tmp_8 = null;
|
|
@@ -37400,13 +37411,13 @@
|
|
|
37400
37411
|
return 'FinishingGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp_7, tmp$ret$9])) + ')';
|
|
37401
37412
|
};
|
|
37402
37413
|
protoOf(FinishingGameMechanicAction).pc = function () {
|
|
37403
|
-
return this.
|
|
37414
|
+
return this.y46_1;
|
|
37404
37415
|
};
|
|
37405
37416
|
protoOf(FinishingGameMechanicAction).qc = function () {
|
|
37406
|
-
return this.
|
|
37417
|
+
return this.z46_1;
|
|
37407
37418
|
};
|
|
37408
37419
|
protoOf(FinishingGameMechanicAction).lh = function () {
|
|
37409
|
-
return this.
|
|
37420
|
+
return this.a47_1;
|
|
37410
37421
|
};
|
|
37411
37422
|
protoOf(FinishingGameMechanicAction).e16 = function () {
|
|
37412
37423
|
return this.sessionAnalytics;
|
|
@@ -37418,29 +37429,29 @@
|
|
|
37418
37429
|
return this.isRoundHistorySaved;
|
|
37419
37430
|
};
|
|
37420
37431
|
protoOf(FinishingGameMechanicAction).o1q = function () {
|
|
37421
|
-
return this.
|
|
37432
|
+
return this.b47_1;
|
|
37422
37433
|
};
|
|
37423
|
-
protoOf(FinishingGameMechanicAction).
|
|
37434
|
+
protoOf(FinishingGameMechanicAction).e47 = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) {
|
|
37424
37435
|
return new FinishingGameMechanicAction(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
37425
37436
|
};
|
|
37426
37437
|
protoOf(FinishingGameMechanicAction).copy = function (reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid, $super) {
|
|
37427
|
-
reason = reason === VOID ? this.
|
|
37428
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
37429
|
-
transition = transition === VOID ? this.
|
|
37438
|
+
reason = reason === VOID ? this.y46_1 : reason;
|
|
37439
|
+
isGameFinished = isGameFinished === VOID ? this.z46_1 : isGameFinished;
|
|
37440
|
+
transition = transition === VOID ? this.a47_1 : transition;
|
|
37430
37441
|
sessionAnalytics = sessionAnalytics === VOID ? this.sessionAnalytics : sessionAnalytics;
|
|
37431
37442
|
gameHistory = gameHistory === VOID ? this.gameHistory : gameHistory;
|
|
37432
37443
|
isRoundHistorySaved = isRoundHistorySaved === VOID ? this.isRoundHistorySaved : isRoundHistorySaved;
|
|
37433
|
-
aid = aid === VOID ? this.
|
|
37434
|
-
return $super === VOID ? this.
|
|
37444
|
+
aid = aid === VOID ? this.b47_1 : aid;
|
|
37445
|
+
return $super === VOID ? this.e47(reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid) : $super.e47.call(this, reason, isGameFinished, transition, sessionAnalytics, gameHistory, isRoundHistorySaved, aid);
|
|
37435
37446
|
};
|
|
37436
37447
|
protoOf(FinishingGameMechanicAction).hashCode = function () {
|
|
37437
|
-
var result = hashCode(this.
|
|
37438
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
37439
|
-
result = imul(result, 31) + (this.
|
|
37448
|
+
var result = hashCode(this.y46_1);
|
|
37449
|
+
result = imul(result, 31) + getBooleanHashCode(this.z46_1) | 0;
|
|
37450
|
+
result = imul(result, 31) + (this.a47_1 == null ? 0 : hashCode(this.a47_1)) | 0;
|
|
37440
37451
|
result = imul(result, 31) + (this.sessionAnalytics == null ? 0 : this.sessionAnalytics.hashCode()) | 0;
|
|
37441
37452
|
result = imul(result, 31) + (this.gameHistory == null ? 0 : this.gameHistory.hashCode()) | 0;
|
|
37442
37453
|
result = imul(result, 31) + getBooleanHashCode(this.isRoundHistorySaved) | 0;
|
|
37443
|
-
result = imul(result, 31) + (this.
|
|
37454
|
+
result = imul(result, 31) + (this.b47_1 == null ? 0 : getStringHashCode(this.b47_1)) | 0;
|
|
37444
37455
|
return result;
|
|
37445
37456
|
};
|
|
37446
37457
|
protoOf(FinishingGameMechanicAction).equals = function (other) {
|
|
@@ -37448,11 +37459,11 @@
|
|
|
37448
37459
|
return true;
|
|
37449
37460
|
if (!(other instanceof FinishingGameMechanicAction))
|
|
37450
37461
|
return false;
|
|
37451
|
-
if (!equals(this.
|
|
37462
|
+
if (!equals(this.y46_1, other.y46_1))
|
|
37452
37463
|
return false;
|
|
37453
|
-
if (!(this.
|
|
37464
|
+
if (!(this.z46_1 === other.z46_1))
|
|
37454
37465
|
return false;
|
|
37455
|
-
if (!equals(this.
|
|
37466
|
+
if (!equals(this.a47_1, other.a47_1))
|
|
37456
37467
|
return false;
|
|
37457
37468
|
if (!equals(this.sessionAnalytics, other.sessionAnalytics))
|
|
37458
37469
|
return false;
|
|
@@ -37460,7 +37471,7 @@
|
|
|
37460
37471
|
return false;
|
|
37461
37472
|
if (!(this.isRoundHistorySaved === other.isRoundHistorySaved))
|
|
37462
37473
|
return false;
|
|
37463
|
-
if (!(this.
|
|
37474
|
+
if (!(this.b47_1 == other.b47_1))
|
|
37464
37475
|
return false;
|
|
37465
37476
|
return true;
|
|
37466
37477
|
};
|
|
@@ -37468,47 +37479,47 @@
|
|
|
37468
37479
|
aid = aid === VOID ? null : aid;
|
|
37469
37480
|
transition = transition === VOID ? null : transition;
|
|
37470
37481
|
MechanicAction.call(this);
|
|
37471
|
-
this.
|
|
37472
|
-
this.
|
|
37473
|
-
this.
|
|
37474
|
-
this.
|
|
37482
|
+
this.f47_1 = reason;
|
|
37483
|
+
this.g47_1 = isGameFinished;
|
|
37484
|
+
this.h47_1 = aid;
|
|
37485
|
+
this.i47_1 = transition;
|
|
37475
37486
|
}
|
|
37476
37487
|
protoOf(FinishGameMechanicAction).b1q = function () {
|
|
37477
|
-
return this.
|
|
37488
|
+
return this.f47_1;
|
|
37478
37489
|
};
|
|
37479
37490
|
protoOf(FinishGameMechanicAction).j41 = function () {
|
|
37480
|
-
return this.
|
|
37491
|
+
return this.g47_1;
|
|
37481
37492
|
};
|
|
37482
37493
|
protoOf(FinishGameMechanicAction).f45 = function () {
|
|
37483
|
-
return this.
|
|
37494
|
+
return this.h47_1;
|
|
37484
37495
|
};
|
|
37485
37496
|
protoOf(FinishGameMechanicAction).c45 = function () {
|
|
37486
|
-
return this.
|
|
37497
|
+
return this.i47_1;
|
|
37487
37498
|
};
|
|
37488
37499
|
protoOf(FinishGameMechanicAction).toString = function () {
|
|
37489
|
-
var tmp = 'reason=' + toString(this.
|
|
37500
|
+
var tmp = 'reason=' + toString(this.f47_1);
|
|
37490
37501
|
// Inline function 'kotlin.takeIf' call
|
|
37491
|
-
var this_0 = 'isGameFinished=' + this.
|
|
37502
|
+
var this_0 = 'isGameFinished=' + this.g47_1;
|
|
37492
37503
|
var tmp_0;
|
|
37493
|
-
if (this.
|
|
37504
|
+
if (this.g47_1) {
|
|
37494
37505
|
tmp_0 = this_0;
|
|
37495
37506
|
} else {
|
|
37496
37507
|
tmp_0 = null;
|
|
37497
37508
|
}
|
|
37498
37509
|
var tmp_1 = tmp_0;
|
|
37499
37510
|
// Inline function 'kotlin.takeIf' call
|
|
37500
|
-
var this_1 = 'hasTransition=' + !(this.
|
|
37511
|
+
var this_1 = 'hasTransition=' + !(this.i47_1 == null);
|
|
37501
37512
|
var tmp_2;
|
|
37502
|
-
if (!(this.
|
|
37513
|
+
if (!(this.i47_1 == null)) {
|
|
37503
37514
|
tmp_2 = this_1;
|
|
37504
37515
|
} else {
|
|
37505
37516
|
tmp_2 = null;
|
|
37506
37517
|
}
|
|
37507
37518
|
var tmp_3 = tmp_2;
|
|
37508
37519
|
// Inline function 'kotlin.takeIf' call
|
|
37509
|
-
var this_2 = 'aid=' + this.
|
|
37520
|
+
var this_2 = 'aid=' + this.h47_1;
|
|
37510
37521
|
var tmp_4;
|
|
37511
|
-
if (!(this.
|
|
37522
|
+
if (!(this.h47_1 == null)) {
|
|
37512
37523
|
tmp_4 = this_2;
|
|
37513
37524
|
} else {
|
|
37514
37525
|
tmp_4 = null;
|
|
@@ -37517,32 +37528,32 @@
|
|
|
37517
37528
|
return 'FinishGameMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp$ret$5])) + ')';
|
|
37518
37529
|
};
|
|
37519
37530
|
protoOf(FinishGameMechanicAction).pc = function () {
|
|
37520
|
-
return this.
|
|
37531
|
+
return this.f47_1;
|
|
37521
37532
|
};
|
|
37522
37533
|
protoOf(FinishGameMechanicAction).qc = function () {
|
|
37523
|
-
return this.
|
|
37534
|
+
return this.g47_1;
|
|
37524
37535
|
};
|
|
37525
37536
|
protoOf(FinishGameMechanicAction).lh = function () {
|
|
37526
|
-
return this.
|
|
37537
|
+
return this.h47_1;
|
|
37527
37538
|
};
|
|
37528
37539
|
protoOf(FinishGameMechanicAction).e16 = function () {
|
|
37529
|
-
return this.
|
|
37540
|
+
return this.i47_1;
|
|
37530
37541
|
};
|
|
37531
|
-
protoOf(FinishGameMechanicAction).
|
|
37542
|
+
protoOf(FinishGameMechanicAction).j47 = function (reason, isGameFinished, aid, transition) {
|
|
37532
37543
|
return new FinishGameMechanicAction(reason, isGameFinished, aid, transition);
|
|
37533
37544
|
};
|
|
37534
37545
|
protoOf(FinishGameMechanicAction).copy = function (reason, isGameFinished, aid, transition, $super) {
|
|
37535
|
-
reason = reason === VOID ? this.
|
|
37536
|
-
isGameFinished = isGameFinished === VOID ? this.
|
|
37537
|
-
aid = aid === VOID ? this.
|
|
37538
|
-
transition = transition === VOID ? this.
|
|
37539
|
-
return $super === VOID ? this.
|
|
37546
|
+
reason = reason === VOID ? this.f47_1 : reason;
|
|
37547
|
+
isGameFinished = isGameFinished === VOID ? this.g47_1 : isGameFinished;
|
|
37548
|
+
aid = aid === VOID ? this.h47_1 : aid;
|
|
37549
|
+
transition = transition === VOID ? this.i47_1 : transition;
|
|
37550
|
+
return $super === VOID ? this.j47(reason, isGameFinished, aid, transition) : $super.j47.call(this, reason, isGameFinished, aid, transition);
|
|
37540
37551
|
};
|
|
37541
37552
|
protoOf(FinishGameMechanicAction).hashCode = function () {
|
|
37542
|
-
var result = hashCode(this.
|
|
37543
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
37544
|
-
result = imul(result, 31) + (this.
|
|
37545
|
-
result = imul(result, 31) + (this.
|
|
37553
|
+
var result = hashCode(this.f47_1);
|
|
37554
|
+
result = imul(result, 31) + getBooleanHashCode(this.g47_1) | 0;
|
|
37555
|
+
result = imul(result, 31) + (this.h47_1 == null ? 0 : getStringHashCode(this.h47_1)) | 0;
|
|
37556
|
+
result = imul(result, 31) + (this.i47_1 == null ? 0 : hashCode(this.i47_1)) | 0;
|
|
37546
37557
|
return result;
|
|
37547
37558
|
};
|
|
37548
37559
|
protoOf(FinishGameMechanicAction).equals = function (other) {
|
|
@@ -37550,13 +37561,13 @@
|
|
|
37550
37561
|
return true;
|
|
37551
37562
|
if (!(other instanceof FinishGameMechanicAction))
|
|
37552
37563
|
return false;
|
|
37553
|
-
if (!equals(this.
|
|
37564
|
+
if (!equals(this.f47_1, other.f47_1))
|
|
37554
37565
|
return false;
|
|
37555
|
-
if (!(this.
|
|
37566
|
+
if (!(this.g47_1 === other.g47_1))
|
|
37556
37567
|
return false;
|
|
37557
|
-
if (!(this.
|
|
37568
|
+
if (!(this.h47_1 == other.h47_1))
|
|
37558
37569
|
return false;
|
|
37559
|
-
if (!equals(this.
|
|
37570
|
+
if (!equals(this.i47_1, other.i47_1))
|
|
37560
37571
|
return false;
|
|
37561
37572
|
return true;
|
|
37562
37573
|
};
|
|
@@ -37568,40 +37579,40 @@
|
|
|
37568
37579
|
actData = actData === VOID ? null : actData;
|
|
37569
37580
|
aid = aid === VOID ? null : aid;
|
|
37570
37581
|
MechanicAction.call(this);
|
|
37571
|
-
this.
|
|
37572
|
-
this.
|
|
37573
|
-
this.
|
|
37582
|
+
this.l47_1 = currentTurnPlayerId;
|
|
37583
|
+
this.m47_1 = sceneId;
|
|
37584
|
+
this.n47_1 = actId;
|
|
37574
37585
|
this.sceneData = sceneData;
|
|
37575
|
-
this.
|
|
37576
|
-
this.
|
|
37586
|
+
this.o47_1 = actData;
|
|
37587
|
+
this.p47_1 = aid;
|
|
37577
37588
|
}
|
|
37578
|
-
protoOf(SceneMechanicAction).
|
|
37579
|
-
return this.
|
|
37589
|
+
protoOf(SceneMechanicAction).q47 = function () {
|
|
37590
|
+
return this.l47_1;
|
|
37580
37591
|
};
|
|
37581
37592
|
protoOf(SceneMechanicAction).o2w = function () {
|
|
37582
|
-
return this.
|
|
37593
|
+
return this.m47_1;
|
|
37583
37594
|
};
|
|
37584
37595
|
protoOf(SceneMechanicAction).w2v = function () {
|
|
37585
|
-
return this.
|
|
37596
|
+
return this.n47_1;
|
|
37586
37597
|
};
|
|
37587
|
-
protoOf(SceneMechanicAction).
|
|
37598
|
+
protoOf(SceneMechanicAction).r47 = function () {
|
|
37588
37599
|
return this.sceneData;
|
|
37589
37600
|
};
|
|
37590
|
-
protoOf(SceneMechanicAction).
|
|
37591
|
-
return this.
|
|
37601
|
+
protoOf(SceneMechanicAction).k47 = function () {
|
|
37602
|
+
return this.o47_1;
|
|
37592
37603
|
};
|
|
37593
37604
|
protoOf(SceneMechanicAction).f45 = function () {
|
|
37594
|
-
return this.
|
|
37605
|
+
return this.p47_1;
|
|
37595
37606
|
};
|
|
37596
37607
|
protoOf(SceneMechanicAction).ignoreValidation = function () {
|
|
37597
|
-
return this.
|
|
37608
|
+
return this.m47_1 === 'WAITING';
|
|
37598
37609
|
};
|
|
37599
37610
|
protoOf(SceneMechanicAction).toString = function () {
|
|
37600
|
-
var tmp = "sceneId='" + this.
|
|
37611
|
+
var tmp = "sceneId='" + this.m47_1 + "'";
|
|
37601
37612
|
// Inline function 'kotlin.takeIf' call
|
|
37602
|
-
var this_0 = 'actId=' + this.
|
|
37613
|
+
var this_0 = 'actId=' + this.n47_1;
|
|
37603
37614
|
var tmp_0;
|
|
37604
|
-
if (!(this.
|
|
37615
|
+
if (!(this.n47_1 == null)) {
|
|
37605
37616
|
tmp_0 = this_0;
|
|
37606
37617
|
} else {
|
|
37607
37618
|
tmp_0 = null;
|
|
@@ -37617,18 +37628,18 @@
|
|
|
37617
37628
|
}
|
|
37618
37629
|
var tmp_3 = tmp_2;
|
|
37619
37630
|
// Inline function 'kotlin.takeIf' call
|
|
37620
|
-
var this_2 = 'actData=' + toString_0(this.
|
|
37631
|
+
var this_2 = 'actData=' + toString_0(this.o47_1);
|
|
37621
37632
|
var tmp_4;
|
|
37622
|
-
if (!(this.
|
|
37633
|
+
if (!(this.o47_1 == null)) {
|
|
37623
37634
|
tmp_4 = this_2;
|
|
37624
37635
|
} else {
|
|
37625
37636
|
tmp_4 = null;
|
|
37626
37637
|
}
|
|
37627
37638
|
var tmp_5 = tmp_4;
|
|
37628
37639
|
// Inline function 'kotlin.takeIf' call
|
|
37629
|
-
var this_3 = 'aid=' + this.
|
|
37640
|
+
var this_3 = 'aid=' + this.p47_1;
|
|
37630
37641
|
var tmp_6;
|
|
37631
|
-
if (!(this.
|
|
37642
|
+
if (!(this.p47_1 == null)) {
|
|
37632
37643
|
tmp_6 = this_3;
|
|
37633
37644
|
} else {
|
|
37634
37645
|
tmp_6 = null;
|
|
@@ -37636,20 +37647,20 @@
|
|
|
37636
37647
|
var tmp$ret$7 = tmp_6;
|
|
37637
37648
|
return 'SceneMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_3, tmp_5, tmp$ret$7])) + ')';
|
|
37638
37649
|
};
|
|
37639
|
-
protoOf(SceneMechanicAction).
|
|
37650
|
+
protoOf(SceneMechanicAction).s47 = function () {
|
|
37640
37651
|
var tmp = this.sceneData;
|
|
37641
37652
|
if (!(tmp == null) ? isInterface(tmp, PlayerTurnSceneSupport) : false) {
|
|
37642
37653
|
return this.sceneData.x2v();
|
|
37643
37654
|
}
|
|
37644
|
-
var tmp_0 = this.
|
|
37655
|
+
var tmp_0 = this.o47_1;
|
|
37645
37656
|
if (!(tmp_0 == null) ? isInterface(tmp_0, PlayerTurnSceneSupport) : false) {
|
|
37646
|
-
return this.
|
|
37657
|
+
return this.o47_1.x2v();
|
|
37647
37658
|
}
|
|
37648
37659
|
return emptyList();
|
|
37649
37660
|
};
|
|
37650
37661
|
protoOf(SceneMechanicAction).s1p = function () {
|
|
37651
37662
|
// Inline function 'kotlin.requireNotNull' call
|
|
37652
|
-
var tmp0 = this.
|
|
37663
|
+
var tmp0 = this.l47_1;
|
|
37653
37664
|
var tmp$ret$1;
|
|
37654
37665
|
$l$block: {
|
|
37655
37666
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -37664,42 +37675,42 @@
|
|
|
37664
37675
|
return tmp$ret$1;
|
|
37665
37676
|
};
|
|
37666
37677
|
protoOf(SceneMechanicAction).pc = function () {
|
|
37667
|
-
return this.
|
|
37678
|
+
return this.l47_1;
|
|
37668
37679
|
};
|
|
37669
37680
|
protoOf(SceneMechanicAction).qc = function () {
|
|
37670
|
-
return this.
|
|
37681
|
+
return this.m47_1;
|
|
37671
37682
|
};
|
|
37672
37683
|
protoOf(SceneMechanicAction).lh = function () {
|
|
37673
|
-
return this.
|
|
37684
|
+
return this.n47_1;
|
|
37674
37685
|
};
|
|
37675
37686
|
protoOf(SceneMechanicAction).e16 = function () {
|
|
37676
37687
|
return this.sceneData;
|
|
37677
37688
|
};
|
|
37678
37689
|
protoOf(SceneMechanicAction).g1p = function () {
|
|
37679
|
-
return this.
|
|
37690
|
+
return this.o47_1;
|
|
37680
37691
|
};
|
|
37681
37692
|
protoOf(SceneMechanicAction).n1q = function () {
|
|
37682
|
-
return this.
|
|
37693
|
+
return this.p47_1;
|
|
37683
37694
|
};
|
|
37684
|
-
protoOf(SceneMechanicAction).
|
|
37695
|
+
protoOf(SceneMechanicAction).t47 = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) {
|
|
37685
37696
|
return new SceneMechanicAction(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
37686
37697
|
};
|
|
37687
37698
|
protoOf(SceneMechanicAction).copy = function (currentTurnPlayerId, sceneId, actId, sceneData, actData, aid, $super) {
|
|
37688
|
-
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.
|
|
37689
|
-
sceneId = sceneId === VOID ? this.
|
|
37690
|
-
actId = actId === VOID ? this.
|
|
37699
|
+
currentTurnPlayerId = currentTurnPlayerId === VOID ? this.l47_1 : currentTurnPlayerId;
|
|
37700
|
+
sceneId = sceneId === VOID ? this.m47_1 : sceneId;
|
|
37701
|
+
actId = actId === VOID ? this.n47_1 : actId;
|
|
37691
37702
|
sceneData = sceneData === VOID ? this.sceneData : sceneData;
|
|
37692
|
-
actData = actData === VOID ? this.
|
|
37693
|
-
aid = aid === VOID ? this.
|
|
37694
|
-
return $super === VOID ? this.
|
|
37703
|
+
actData = actData === VOID ? this.o47_1 : actData;
|
|
37704
|
+
aid = aid === VOID ? this.p47_1 : aid;
|
|
37705
|
+
return $super === VOID ? this.t47(currentTurnPlayerId, sceneId, actId, sceneData, actData, aid) : $super.t47.call(this, currentTurnPlayerId, sceneId, actId, sceneData, actData, aid);
|
|
37695
37706
|
};
|
|
37696
37707
|
protoOf(SceneMechanicAction).hashCode = function () {
|
|
37697
|
-
var result = this.
|
|
37698
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
37699
|
-
result = imul(result, 31) + (this.
|
|
37708
|
+
var result = this.l47_1 == null ? 0 : getStringHashCode(this.l47_1);
|
|
37709
|
+
result = imul(result, 31) + getStringHashCode(this.m47_1) | 0;
|
|
37710
|
+
result = imul(result, 31) + (this.n47_1 == null ? 0 : getStringHashCode(this.n47_1)) | 0;
|
|
37700
37711
|
result = imul(result, 31) + (this.sceneData == null ? 0 : hashCode(this.sceneData)) | 0;
|
|
37701
|
-
result = imul(result, 31) + (this.
|
|
37702
|
-
result = imul(result, 31) + (this.
|
|
37712
|
+
result = imul(result, 31) + (this.o47_1 == null ? 0 : hashCode(this.o47_1)) | 0;
|
|
37713
|
+
result = imul(result, 31) + (this.p47_1 == null ? 0 : getStringHashCode(this.p47_1)) | 0;
|
|
37703
37714
|
return result;
|
|
37704
37715
|
};
|
|
37705
37716
|
protoOf(SceneMechanicAction).equals = function (other) {
|
|
@@ -37707,17 +37718,17 @@
|
|
|
37707
37718
|
return true;
|
|
37708
37719
|
if (!(other instanceof SceneMechanicAction))
|
|
37709
37720
|
return false;
|
|
37710
|
-
if (!(this.
|
|
37721
|
+
if (!(this.l47_1 == other.l47_1))
|
|
37711
37722
|
return false;
|
|
37712
|
-
if (!(this.
|
|
37723
|
+
if (!(this.m47_1 === other.m47_1))
|
|
37713
37724
|
return false;
|
|
37714
|
-
if (!(this.
|
|
37725
|
+
if (!(this.n47_1 == other.n47_1))
|
|
37715
37726
|
return false;
|
|
37716
37727
|
if (!equals(this.sceneData, other.sceneData))
|
|
37717
37728
|
return false;
|
|
37718
|
-
if (!equals(this.
|
|
37729
|
+
if (!equals(this.o47_1, other.o47_1))
|
|
37719
37730
|
return false;
|
|
37720
|
-
if (!(this.
|
|
37731
|
+
if (!(this.p47_1 == other.p47_1))
|
|
37721
37732
|
return false;
|
|
37722
37733
|
return true;
|
|
37723
37734
|
};
|
|
@@ -37728,26 +37739,26 @@
|
|
|
37728
37739
|
MechanicAction.call(this);
|
|
37729
37740
|
this.team1 = team1;
|
|
37730
37741
|
this.team2 = team2;
|
|
37731
|
-
this.
|
|
37742
|
+
this.u47_1 = aid;
|
|
37732
37743
|
var tmp = this;
|
|
37733
37744
|
// Inline function 'kotlin.arrayOf' call
|
|
37734
37745
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37735
37746
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37736
|
-
tmp.
|
|
37747
|
+
tmp.v47_1 = [this.team1.first, this.team2.first, this.team1.second, this.team2.second];
|
|
37737
37748
|
}
|
|
37738
|
-
protoOf(TeamsDataMechanicAction).
|
|
37749
|
+
protoOf(TeamsDataMechanicAction).w47 = function () {
|
|
37739
37750
|
return this.team1;
|
|
37740
37751
|
};
|
|
37741
|
-
protoOf(TeamsDataMechanicAction).
|
|
37752
|
+
protoOf(TeamsDataMechanicAction).x47 = function () {
|
|
37742
37753
|
return this.team2;
|
|
37743
37754
|
};
|
|
37744
37755
|
protoOf(TeamsDataMechanicAction).f45 = function () {
|
|
37745
|
-
return this.t47_1;
|
|
37746
|
-
};
|
|
37747
|
-
protoOf(TeamsDataMechanicAction).i46 = function () {
|
|
37748
37756
|
return this.u47_1;
|
|
37749
37757
|
};
|
|
37750
|
-
protoOf(TeamsDataMechanicAction).
|
|
37758
|
+
protoOf(TeamsDataMechanicAction).j46 = function () {
|
|
37759
|
+
return this.v47_1;
|
|
37760
|
+
};
|
|
37761
|
+
protoOf(TeamsDataMechanicAction).y47 = function (sceneId) {
|
|
37751
37762
|
return 'CHOOSE_PARTNER' === sceneId;
|
|
37752
37763
|
};
|
|
37753
37764
|
protoOf(TeamsDataMechanicAction).z1v = function () {
|
|
@@ -37797,24 +37808,24 @@
|
|
|
37797
37808
|
return this.team2;
|
|
37798
37809
|
};
|
|
37799
37810
|
protoOf(TeamsDataMechanicAction).lh = function () {
|
|
37800
|
-
return this.
|
|
37811
|
+
return this.u47_1;
|
|
37801
37812
|
};
|
|
37802
|
-
protoOf(TeamsDataMechanicAction).
|
|
37813
|
+
protoOf(TeamsDataMechanicAction).z47 = function (team1, team2, aid) {
|
|
37803
37814
|
return new TeamsDataMechanicAction(team1, team2, aid);
|
|
37804
37815
|
};
|
|
37805
37816
|
protoOf(TeamsDataMechanicAction).copy = function (team1, team2, aid, $super) {
|
|
37806
37817
|
team1 = team1 === VOID ? this.team1 : team1;
|
|
37807
37818
|
team2 = team2 === VOID ? this.team2 : team2;
|
|
37808
|
-
aid = aid === VOID ? this.
|
|
37809
|
-
return $super === VOID ? this.
|
|
37819
|
+
aid = aid === VOID ? this.u47_1 : aid;
|
|
37820
|
+
return $super === VOID ? this.z47(team1, team2, aid) : $super.z47.call(this, team1, team2, aid);
|
|
37810
37821
|
};
|
|
37811
37822
|
protoOf(TeamsDataMechanicAction).toString = function () {
|
|
37812
|
-
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.
|
|
37823
|
+
return 'TeamsDataMechanicAction(team1=' + this.team1.toString() + ', team2=' + this.team2.toString() + ', aid=' + this.u47_1 + ')';
|
|
37813
37824
|
};
|
|
37814
37825
|
protoOf(TeamsDataMechanicAction).hashCode = function () {
|
|
37815
37826
|
var result = this.team1.hashCode();
|
|
37816
37827
|
result = imul(result, 31) + this.team2.hashCode() | 0;
|
|
37817
|
-
result = imul(result, 31) + (this.
|
|
37828
|
+
result = imul(result, 31) + (this.u47_1 == null ? 0 : getStringHashCode(this.u47_1)) | 0;
|
|
37818
37829
|
return result;
|
|
37819
37830
|
};
|
|
37820
37831
|
protoOf(TeamsDataMechanicAction).equals = function (other) {
|
|
@@ -37826,7 +37837,7 @@
|
|
|
37826
37837
|
return false;
|
|
37827
37838
|
if (!this.team2.equals(other.team2))
|
|
37828
37839
|
return false;
|
|
37829
|
-
if (!(this.
|
|
37840
|
+
if (!(this.u47_1 == other.u47_1))
|
|
37830
37841
|
return false;
|
|
37831
37842
|
return true;
|
|
37832
37843
|
};
|
|
@@ -37842,7 +37853,7 @@
|
|
|
37842
37853
|
this.causeState = causeState;
|
|
37843
37854
|
this.isNoneActivePlayers = isNoneActivePlayers;
|
|
37844
37855
|
this.reconnectUntilTime = reconnectUntilTime;
|
|
37845
|
-
this.
|
|
37856
|
+
this.a48_1 = aid;
|
|
37846
37857
|
}
|
|
37847
37858
|
protoOf(PlayerConnectionChangedMechanicAction).s1p = function () {
|
|
37848
37859
|
return this.playerId;
|
|
@@ -37850,20 +37861,20 @@
|
|
|
37850
37861
|
protoOf(PlayerConnectionChangedMechanicAction).s1q = function () {
|
|
37851
37862
|
return this.state;
|
|
37852
37863
|
};
|
|
37853
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37864
|
+
protoOf(PlayerConnectionChangedMechanicAction).b48 = function () {
|
|
37854
37865
|
return this.previousState;
|
|
37855
37866
|
};
|
|
37856
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37867
|
+
protoOf(PlayerConnectionChangedMechanicAction).c48 = function () {
|
|
37857
37868
|
return this.causeState;
|
|
37858
37869
|
};
|
|
37859
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37870
|
+
protoOf(PlayerConnectionChangedMechanicAction).d48 = function () {
|
|
37860
37871
|
return this.isNoneActivePlayers;
|
|
37861
37872
|
};
|
|
37862
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37873
|
+
protoOf(PlayerConnectionChangedMechanicAction).e48 = function () {
|
|
37863
37874
|
return this.reconnectUntilTime;
|
|
37864
37875
|
};
|
|
37865
37876
|
protoOf(PlayerConnectionChangedMechanicAction).f45 = function () {
|
|
37866
|
-
return this.
|
|
37877
|
+
return this.a48_1;
|
|
37867
37878
|
};
|
|
37868
37879
|
protoOf(PlayerConnectionChangedMechanicAction).x1r = function () {
|
|
37869
37880
|
return this.originState.isShouldBeDisconnectedFromSockets;
|
|
@@ -37871,7 +37882,7 @@
|
|
|
37871
37882
|
protoOf(PlayerConnectionChangedMechanicAction).y1r = function () {
|
|
37872
37883
|
return this.originState.isShouldBeUnsubscribedFromSockets;
|
|
37873
37884
|
};
|
|
37874
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37885
|
+
protoOf(PlayerConnectionChangedMechanicAction).f48 = function () {
|
|
37875
37886
|
var tmp;
|
|
37876
37887
|
if (this.state.isDisconnecting) {
|
|
37877
37888
|
// Inline function 'kotlin.requireNotNull' call
|
|
@@ -37927,9 +37938,9 @@
|
|
|
37927
37938
|
}
|
|
37928
37939
|
var tmp_6 = tmp_5;
|
|
37929
37940
|
// Inline function 'kotlin.takeIf' call
|
|
37930
|
-
var this_3 = 'aid=' + this.
|
|
37941
|
+
var this_3 = 'aid=' + this.a48_1;
|
|
37931
37942
|
var tmp_7;
|
|
37932
|
-
if (!(this.
|
|
37943
|
+
if (!(this.a48_1 == null)) {
|
|
37933
37944
|
tmp_7 = this_3;
|
|
37934
37945
|
} else {
|
|
37935
37946
|
tmp_7 = null;
|
|
@@ -37959,9 +37970,9 @@
|
|
|
37959
37970
|
return this.reconnectUntilTime;
|
|
37960
37971
|
};
|
|
37961
37972
|
protoOf(PlayerConnectionChangedMechanicAction).o1q = function () {
|
|
37962
|
-
return this.
|
|
37973
|
+
return this.a48_1;
|
|
37963
37974
|
};
|
|
37964
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
37975
|
+
protoOf(PlayerConnectionChangedMechanicAction).g48 = function (playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid) {
|
|
37965
37976
|
return new PlayerConnectionChangedMechanicAction(playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
37966
37977
|
};
|
|
37967
37978
|
protoOf(PlayerConnectionChangedMechanicAction).copy = function (playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid, $super) {
|
|
@@ -37971,8 +37982,8 @@
|
|
|
37971
37982
|
causeState = causeState === VOID ? this.causeState : causeState;
|
|
37972
37983
|
isNoneActivePlayers = isNoneActivePlayers === VOID ? this.isNoneActivePlayers : isNoneActivePlayers;
|
|
37973
37984
|
reconnectUntilTime = reconnectUntilTime === VOID ? this.reconnectUntilTime : reconnectUntilTime;
|
|
37974
|
-
aid = aid === VOID ? this.
|
|
37975
|
-
return $super === VOID ? this.
|
|
37985
|
+
aid = aid === VOID ? this.a48_1 : aid;
|
|
37986
|
+
return $super === VOID ? this.g48(playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid) : $super.g48.call(this, playerId, state, previousState, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
37976
37987
|
};
|
|
37977
37988
|
protoOf(PlayerConnectionChangedMechanicAction).hashCode = function () {
|
|
37978
37989
|
var result = getStringHashCode(this.playerId);
|
|
@@ -37981,7 +37992,7 @@
|
|
|
37981
37992
|
result = imul(result, 31) + (this.causeState == null ? 0 : this.causeState.hashCode()) | 0;
|
|
37982
37993
|
result = imul(result, 31) + getBooleanHashCode(this.isNoneActivePlayers) | 0;
|
|
37983
37994
|
result = imul(result, 31) + (this.reconnectUntilTime == null ? 0 : getStringHashCode(this.reconnectUntilTime)) | 0;
|
|
37984
|
-
result = imul(result, 31) + (this.
|
|
37995
|
+
result = imul(result, 31) + (this.a48_1 == null ? 0 : getStringHashCode(this.a48_1)) | 0;
|
|
37985
37996
|
return result;
|
|
37986
37997
|
};
|
|
37987
37998
|
protoOf(PlayerConnectionChangedMechanicAction).equals = function (other) {
|
|
@@ -38001,7 +38012,7 @@
|
|
|
38001
38012
|
return false;
|
|
38002
38013
|
if (!(this.reconnectUntilTime == other.reconnectUntilTime))
|
|
38003
38014
|
return false;
|
|
38004
|
-
if (!(this.
|
|
38015
|
+
if (!(this.a48_1 == other.a48_1))
|
|
38005
38016
|
return false;
|
|
38006
38017
|
return true;
|
|
38007
38018
|
};
|
|
@@ -38009,34 +38020,34 @@
|
|
|
38009
38020
|
aid = aid === VOID ? null : aid;
|
|
38010
38021
|
MechanicAction.call(this);
|
|
38011
38022
|
this.message = message;
|
|
38012
|
-
this.
|
|
38023
|
+
this.h48_1 = aid;
|
|
38013
38024
|
}
|
|
38014
38025
|
protoOf(MessageMechanicAction).e = function () {
|
|
38015
38026
|
return this.message;
|
|
38016
38027
|
};
|
|
38017
38028
|
protoOf(MessageMechanicAction).f45 = function () {
|
|
38018
|
-
return this.
|
|
38029
|
+
return this.h48_1;
|
|
38019
38030
|
};
|
|
38020
38031
|
protoOf(MessageMechanicAction).pc = function () {
|
|
38021
38032
|
return this.message;
|
|
38022
38033
|
};
|
|
38023
38034
|
protoOf(MessageMechanicAction).qc = function () {
|
|
38024
|
-
return this.
|
|
38035
|
+
return this.h48_1;
|
|
38025
38036
|
};
|
|
38026
|
-
protoOf(MessageMechanicAction).
|
|
38037
|
+
protoOf(MessageMechanicAction).i48 = function (message, aid) {
|
|
38027
38038
|
return new MessageMechanicAction(message, aid);
|
|
38028
38039
|
};
|
|
38029
38040
|
protoOf(MessageMechanicAction).copy = function (message, aid, $super) {
|
|
38030
38041
|
message = message === VOID ? this.message : message;
|
|
38031
|
-
aid = aid === VOID ? this.
|
|
38032
|
-
return $super === VOID ? this.
|
|
38042
|
+
aid = aid === VOID ? this.h48_1 : aid;
|
|
38043
|
+
return $super === VOID ? this.i48(message, aid) : $super.i48.call(this, message, aid);
|
|
38033
38044
|
};
|
|
38034
38045
|
protoOf(MessageMechanicAction).toString = function () {
|
|
38035
|
-
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.
|
|
38046
|
+
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.h48_1 + ')';
|
|
38036
38047
|
};
|
|
38037
38048
|
protoOf(MessageMechanicAction).hashCode = function () {
|
|
38038
38049
|
var result = hashCode(this.message);
|
|
38039
|
-
result = imul(result, 31) + (this.
|
|
38050
|
+
result = imul(result, 31) + (this.h48_1 == null ? 0 : getStringHashCode(this.h48_1)) | 0;
|
|
38040
38051
|
return result;
|
|
38041
38052
|
};
|
|
38042
38053
|
protoOf(MessageMechanicAction).equals = function (other) {
|
|
@@ -38046,25 +38057,25 @@
|
|
|
38046
38057
|
return false;
|
|
38047
38058
|
if (!equals(this.message, other.message))
|
|
38048
38059
|
return false;
|
|
38049
|
-
if (!(this.
|
|
38060
|
+
if (!(this.h48_1 == other.h48_1))
|
|
38050
38061
|
return false;
|
|
38051
38062
|
return true;
|
|
38052
38063
|
};
|
|
38053
38064
|
function RestartGameMechanicAction(reason, aid) {
|
|
38054
38065
|
aid = aid === VOID ? null : aid;
|
|
38055
38066
|
MechanicAction.call(this);
|
|
38056
|
-
this.
|
|
38057
|
-
this.
|
|
38067
|
+
this.j48_1 = reason;
|
|
38068
|
+
this.k48_1 = aid;
|
|
38058
38069
|
}
|
|
38059
38070
|
protoOf(RestartGameMechanicAction).f45 = function () {
|
|
38060
|
-
return this.
|
|
38071
|
+
return this.k48_1;
|
|
38061
38072
|
};
|
|
38062
38073
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
38063
|
-
return 'RestartGameMechanicAction(reason=' + toString(this.
|
|
38074
|
+
return 'RestartGameMechanicAction(reason=' + toString(this.j48_1) + ', aid=' + this.k48_1 + ')';
|
|
38064
38075
|
};
|
|
38065
38076
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
38066
|
-
var result = hashCode(this.
|
|
38067
|
-
result = imul(result, 31) + (this.
|
|
38077
|
+
var result = hashCode(this.j48_1);
|
|
38078
|
+
result = imul(result, 31) + (this.k48_1 == null ? 0 : getStringHashCode(this.k48_1)) | 0;
|
|
38068
38079
|
return result;
|
|
38069
38080
|
};
|
|
38070
38081
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -38072,9 +38083,9 @@
|
|
|
38072
38083
|
return true;
|
|
38073
38084
|
if (!(other instanceof RestartGameMechanicAction))
|
|
38074
38085
|
return false;
|
|
38075
|
-
if (!equals(this.
|
|
38086
|
+
if (!equals(this.j48_1, other.j48_1))
|
|
38076
38087
|
return false;
|
|
38077
|
-
if (!(this.
|
|
38088
|
+
if (!(this.k48_1 == other.k48_1))
|
|
38078
38089
|
return false;
|
|
38079
38090
|
return true;
|
|
38080
38091
|
};
|
|
@@ -38082,31 +38093,31 @@
|
|
|
38082
38093
|
actData = actData === VOID ? null : actData;
|
|
38083
38094
|
aid = aid === VOID ? null : aid;
|
|
38084
38095
|
MechanicAction.call(this);
|
|
38085
|
-
this.
|
|
38086
|
-
this.
|
|
38087
|
-
this.
|
|
38088
|
-
this.
|
|
38096
|
+
this.l48_1 = sceneId;
|
|
38097
|
+
this.m48_1 = actId;
|
|
38098
|
+
this.n48_1 = actData;
|
|
38099
|
+
this.o48_1 = aid;
|
|
38089
38100
|
}
|
|
38090
38101
|
protoOf(SceneActMechanicAction).o2w = function () {
|
|
38091
|
-
return this.k48_1;
|
|
38092
|
-
};
|
|
38093
|
-
protoOf(SceneActMechanicAction).w2v = function () {
|
|
38094
38102
|
return this.l48_1;
|
|
38095
38103
|
};
|
|
38096
|
-
protoOf(SceneActMechanicAction).
|
|
38104
|
+
protoOf(SceneActMechanicAction).w2v = function () {
|
|
38097
38105
|
return this.m48_1;
|
|
38098
38106
|
};
|
|
38099
|
-
protoOf(SceneActMechanicAction).
|
|
38107
|
+
protoOf(SceneActMechanicAction).k47 = function () {
|
|
38100
38108
|
return this.n48_1;
|
|
38101
38109
|
};
|
|
38110
|
+
protoOf(SceneActMechanicAction).f45 = function () {
|
|
38111
|
+
return this.o48_1;
|
|
38112
|
+
};
|
|
38102
38113
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
38103
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
38114
|
+
return 'SceneActMechanicAction(sceneId=' + this.l48_1 + ', actId=' + this.m48_1 + ', actData=' + toString_0(this.n48_1) + ', aid=' + this.o48_1 + ')';
|
|
38104
38115
|
};
|
|
38105
38116
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
38106
|
-
var result = getStringHashCode(this.
|
|
38107
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38108
|
-
result = imul(result, 31) + (this.
|
|
38109
|
-
result = imul(result, 31) + (this.
|
|
38117
|
+
var result = getStringHashCode(this.l48_1);
|
|
38118
|
+
result = imul(result, 31) + getStringHashCode(this.m48_1) | 0;
|
|
38119
|
+
result = imul(result, 31) + (this.n48_1 == null ? 0 : hashCode(this.n48_1)) | 0;
|
|
38120
|
+
result = imul(result, 31) + (this.o48_1 == null ? 0 : getStringHashCode(this.o48_1)) | 0;
|
|
38110
38121
|
return result;
|
|
38111
38122
|
};
|
|
38112
38123
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -38114,34 +38125,34 @@
|
|
|
38114
38125
|
return true;
|
|
38115
38126
|
if (!(other instanceof SceneActMechanicAction))
|
|
38116
38127
|
return false;
|
|
38117
|
-
if (!(this.k48_1 === other.k48_1))
|
|
38118
|
-
return false;
|
|
38119
38128
|
if (!(this.l48_1 === other.l48_1))
|
|
38120
38129
|
return false;
|
|
38121
|
-
if (!
|
|
38130
|
+
if (!(this.m48_1 === other.m48_1))
|
|
38122
38131
|
return false;
|
|
38123
|
-
if (!(this.n48_1
|
|
38132
|
+
if (!equals(this.n48_1, other.n48_1))
|
|
38133
|
+
return false;
|
|
38134
|
+
if (!(this.o48_1 == other.o48_1))
|
|
38124
38135
|
return false;
|
|
38125
38136
|
return true;
|
|
38126
38137
|
};
|
|
38127
38138
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
38128
38139
|
aid = aid === VOID ? null : aid;
|
|
38129
38140
|
MechanicAction.call(this);
|
|
38130
|
-
this.
|
|
38131
|
-
this.
|
|
38141
|
+
this.p48_1 = currentTurnPlayerId;
|
|
38142
|
+
this.q48_1 = aid;
|
|
38132
38143
|
}
|
|
38133
38144
|
protoOf(PlayerReadyMechanicAction).f45 = function () {
|
|
38134
|
-
return this.
|
|
38145
|
+
return this.q48_1;
|
|
38135
38146
|
};
|
|
38136
38147
|
protoOf(PlayerReadyMechanicAction).s1p = function () {
|
|
38137
|
-
return this.
|
|
38148
|
+
return this.p48_1;
|
|
38138
38149
|
};
|
|
38139
38150
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
38140
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
38151
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.p48_1 + ', aid=' + this.q48_1 + ')';
|
|
38141
38152
|
};
|
|
38142
38153
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
38143
|
-
var result = getStringHashCode(this.
|
|
38144
|
-
result = imul(result, 31) + (this.
|
|
38154
|
+
var result = getStringHashCode(this.p48_1);
|
|
38155
|
+
result = imul(result, 31) + (this.q48_1 == null ? 0 : getStringHashCode(this.q48_1)) | 0;
|
|
38145
38156
|
return result;
|
|
38146
38157
|
};
|
|
38147
38158
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -38149,9 +38160,9 @@
|
|
|
38149
38160
|
return true;
|
|
38150
38161
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
38151
38162
|
return false;
|
|
38152
|
-
if (!(this.
|
|
38163
|
+
if (!(this.p48_1 === other.p48_1))
|
|
38153
38164
|
return false;
|
|
38154
|
-
if (!(this.
|
|
38165
|
+
if (!(this.q48_1 == other.q48_1))
|
|
38155
38166
|
return false;
|
|
38156
38167
|
return true;
|
|
38157
38168
|
};
|
|
@@ -38159,27 +38170,27 @@
|
|
|
38159
38170
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
38160
38171
|
aid = aid === VOID ? null : aid;
|
|
38161
38172
|
MechanicAction.call(this);
|
|
38162
|
-
this.
|
|
38163
|
-
this.
|
|
38164
|
-
this.
|
|
38165
|
-
this.
|
|
38166
|
-
this.
|
|
38173
|
+
this.r48_1 = suit;
|
|
38174
|
+
this.s48_1 = restartRound;
|
|
38175
|
+
this.t48_1 = currentTurnPlayerId;
|
|
38176
|
+
this.u48_1 = nextTurnPlayerIds;
|
|
38177
|
+
this.v48_1 = aid;
|
|
38167
38178
|
}
|
|
38168
38179
|
protoOf(SuitChoiceMechanicAction).f45 = function () {
|
|
38169
|
-
return this.
|
|
38180
|
+
return this.v48_1;
|
|
38170
38181
|
};
|
|
38171
38182
|
protoOf(SuitChoiceMechanicAction).s1p = function () {
|
|
38172
|
-
return this.
|
|
38183
|
+
return this.t48_1;
|
|
38173
38184
|
};
|
|
38174
38185
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
38175
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
38186
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.r48_1) + ', restartRound=' + this.s48_1 + ', currentTurnPlayerId=' + this.t48_1 + ', nextTurnPlayerIds=' + toString(this.u48_1) + ', aid=' + this.v48_1 + ')';
|
|
38176
38187
|
};
|
|
38177
38188
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
38178
|
-
var result = this.
|
|
38179
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
38180
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38181
|
-
result = imul(result, 31) + hashCode(this.
|
|
38182
|
-
result = imul(result, 31) + (this.
|
|
38189
|
+
var result = this.r48_1 == null ? 0 : this.r48_1.hashCode();
|
|
38190
|
+
result = imul(result, 31) + getBooleanHashCode(this.s48_1) | 0;
|
|
38191
|
+
result = imul(result, 31) + getStringHashCode(this.t48_1) | 0;
|
|
38192
|
+
result = imul(result, 31) + hashCode(this.u48_1) | 0;
|
|
38193
|
+
result = imul(result, 31) + (this.v48_1 == null ? 0 : getStringHashCode(this.v48_1)) | 0;
|
|
38183
38194
|
return result;
|
|
38184
38195
|
};
|
|
38185
38196
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -38187,43 +38198,43 @@
|
|
|
38187
38198
|
return true;
|
|
38188
38199
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
38189
38200
|
return false;
|
|
38190
|
-
if (!equals(this.
|
|
38191
|
-
return false;
|
|
38192
|
-
if (!(this.r48_1 === other.r48_1))
|
|
38201
|
+
if (!equals(this.r48_1, other.r48_1))
|
|
38193
38202
|
return false;
|
|
38194
38203
|
if (!(this.s48_1 === other.s48_1))
|
|
38195
38204
|
return false;
|
|
38196
|
-
if (!
|
|
38205
|
+
if (!(this.t48_1 === other.t48_1))
|
|
38197
38206
|
return false;
|
|
38198
|
-
if (!(this.u48_1
|
|
38207
|
+
if (!equals(this.u48_1, other.u48_1))
|
|
38208
|
+
return false;
|
|
38209
|
+
if (!(this.v48_1 == other.v48_1))
|
|
38199
38210
|
return false;
|
|
38200
38211
|
return true;
|
|
38201
38212
|
};
|
|
38202
38213
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
38203
38214
|
aid = aid === VOID ? null : aid;
|
|
38204
38215
|
MechanicAction.call(this);
|
|
38205
|
-
this.
|
|
38206
|
-
this.
|
|
38207
|
-
this.
|
|
38208
|
-
this.
|
|
38216
|
+
this.w48_1 = isAnnounced;
|
|
38217
|
+
this.x48_1 = combinations;
|
|
38218
|
+
this.y48_1 = currentTurnPlayerId;
|
|
38219
|
+
this.z48_1 = aid;
|
|
38209
38220
|
}
|
|
38210
38221
|
protoOf(CombinationChoiceMechanicAction).f45 = function () {
|
|
38211
|
-
return this.
|
|
38222
|
+
return this.z48_1;
|
|
38212
38223
|
};
|
|
38213
38224
|
protoOf(CombinationChoiceMechanicAction).y1v = function () {
|
|
38214
38225
|
return true;
|
|
38215
38226
|
};
|
|
38216
38227
|
protoOf(CombinationChoiceMechanicAction).s1p = function () {
|
|
38217
|
-
return this.
|
|
38228
|
+
return this.y48_1;
|
|
38218
38229
|
};
|
|
38219
38230
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
38220
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
38231
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.w48_1 + ', combinations=' + toString(this.x48_1) + ', currentTurnPlayerId=' + this.y48_1 + ', aid=' + this.z48_1 + ')';
|
|
38221
38232
|
};
|
|
38222
38233
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
38223
|
-
var result = getBooleanHashCode(this.
|
|
38224
|
-
result = imul(result, 31) + hashCode(this.
|
|
38225
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38226
|
-
result = imul(result, 31) + (this.
|
|
38234
|
+
var result = getBooleanHashCode(this.w48_1);
|
|
38235
|
+
result = imul(result, 31) + hashCode(this.x48_1) | 0;
|
|
38236
|
+
result = imul(result, 31) + getStringHashCode(this.y48_1) | 0;
|
|
38237
|
+
result = imul(result, 31) + (this.z48_1 == null ? 0 : getStringHashCode(this.z48_1)) | 0;
|
|
38227
38238
|
return result;
|
|
38228
38239
|
};
|
|
38229
38240
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -38231,13 +38242,13 @@
|
|
|
38231
38242
|
return true;
|
|
38232
38243
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
38233
38244
|
return false;
|
|
38234
|
-
if (!(this.
|
|
38245
|
+
if (!(this.w48_1 === other.w48_1))
|
|
38235
38246
|
return false;
|
|
38236
|
-
if (!equals(this.
|
|
38247
|
+
if (!equals(this.x48_1, other.x48_1))
|
|
38237
38248
|
return false;
|
|
38238
|
-
if (!(this.
|
|
38249
|
+
if (!(this.y48_1 === other.y48_1))
|
|
38239
38250
|
return false;
|
|
38240
|
-
if (!(this.
|
|
38251
|
+
if (!(this.z48_1 == other.z48_1))
|
|
38241
38252
|
return false;
|
|
38242
38253
|
return true;
|
|
38243
38254
|
};
|
|
@@ -38245,36 +38256,36 @@
|
|
|
38245
38256
|
combinations = combinations === VOID ? null : combinations;
|
|
38246
38257
|
aid = aid === VOID ? null : aid;
|
|
38247
38258
|
MechanicAction.call(this);
|
|
38248
|
-
this.
|
|
38249
|
-
this.
|
|
38250
|
-
this.
|
|
38251
|
-
this.
|
|
38252
|
-
this.
|
|
38253
|
-
this.
|
|
38259
|
+
this.a49_1 = card;
|
|
38260
|
+
this.b49_1 = combinations;
|
|
38261
|
+
this.c49_1 = canNextPlayerTakeAllCards;
|
|
38262
|
+
this.d49_1 = currentTurnPlayerId;
|
|
38263
|
+
this.e49_1 = nextTurnPlayerIds;
|
|
38264
|
+
this.f49_1 = aid;
|
|
38254
38265
|
}
|
|
38255
38266
|
protoOf(PutCardMechanicAction).f45 = function () {
|
|
38256
|
-
return this.
|
|
38267
|
+
return this.f49_1;
|
|
38257
38268
|
};
|
|
38258
38269
|
protoOf(PutCardMechanicAction).s1p = function () {
|
|
38259
|
-
return this.
|
|
38270
|
+
return this.d49_1;
|
|
38260
38271
|
};
|
|
38261
38272
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
38262
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
38273
|
+
var tmp = "currentTurnPlayerId='" + this.d49_1 + "'";
|
|
38263
38274
|
// Inline function 'kotlin.takeIf' call
|
|
38264
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
38275
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.e49_1);
|
|
38265
38276
|
var tmp_0;
|
|
38266
38277
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
38267
|
-
if (!this.
|
|
38278
|
+
if (!this.e49_1.r()) {
|
|
38268
38279
|
tmp_0 = this_0;
|
|
38269
38280
|
} else {
|
|
38270
38281
|
tmp_0 = null;
|
|
38271
38282
|
}
|
|
38272
38283
|
var tmp_1 = tmp_0;
|
|
38273
|
-
var tmp_2 = 'card=' + this.
|
|
38284
|
+
var tmp_2 = 'card=' + this.a49_1.toString();
|
|
38274
38285
|
// Inline function 'kotlin.takeIf' call
|
|
38275
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
38286
|
+
var this_1 = 'combinations=' + toString_0(this.b49_1);
|
|
38276
38287
|
var tmp_3;
|
|
38277
|
-
var tmp0_safe_receiver = this.
|
|
38288
|
+
var tmp0_safe_receiver = this.b49_1;
|
|
38278
38289
|
var tmp_4;
|
|
38279
38290
|
if (tmp0_safe_receiver == null) {
|
|
38280
38291
|
tmp_4 = null;
|
|
@@ -38289,9 +38300,9 @@
|
|
|
38289
38300
|
}
|
|
38290
38301
|
var tmp_5 = tmp_3;
|
|
38291
38302
|
// Inline function 'kotlin.takeIf' call
|
|
38292
|
-
var this_2 = 'aid=' + this.
|
|
38303
|
+
var this_2 = 'aid=' + this.f49_1;
|
|
38293
38304
|
var tmp_6;
|
|
38294
|
-
if (!(this.
|
|
38305
|
+
if (!(this.f49_1 == null)) {
|
|
38295
38306
|
tmp_6 = this_2;
|
|
38296
38307
|
} else {
|
|
38297
38308
|
tmp_6 = null;
|
|
@@ -38300,12 +38311,12 @@
|
|
|
38300
38311
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
38301
38312
|
};
|
|
38302
38313
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
38303
|
-
var result = this.
|
|
38304
|
-
result = imul(result, 31) + (this.
|
|
38305
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
38306
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
38307
|
-
result = imul(result, 31) + hashCode(this.
|
|
38308
|
-
result = imul(result, 31) + (this.
|
|
38314
|
+
var result = this.a49_1.hashCode();
|
|
38315
|
+
result = imul(result, 31) + (this.b49_1 == null ? 0 : hashCode(this.b49_1)) | 0;
|
|
38316
|
+
result = imul(result, 31) + getBooleanHashCode(this.c49_1) | 0;
|
|
38317
|
+
result = imul(result, 31) + getStringHashCode(this.d49_1) | 0;
|
|
38318
|
+
result = imul(result, 31) + hashCode(this.e49_1) | 0;
|
|
38319
|
+
result = imul(result, 31) + (this.f49_1 == null ? 0 : getStringHashCode(this.f49_1)) | 0;
|
|
38309
38320
|
return result;
|
|
38310
38321
|
};
|
|
38311
38322
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -38313,35 +38324,35 @@
|
|
|
38313
38324
|
return true;
|
|
38314
38325
|
if (!(other instanceof PutCardMechanicAction))
|
|
38315
38326
|
return false;
|
|
38316
|
-
if (!this.
|
|
38317
|
-
return false;
|
|
38318
|
-
if (!equals(this.a49_1, other.a49_1))
|
|
38327
|
+
if (!this.a49_1.equals(other.a49_1))
|
|
38319
38328
|
return false;
|
|
38320
|
-
if (!(this.b49_1
|
|
38329
|
+
if (!equals(this.b49_1, other.b49_1))
|
|
38321
38330
|
return false;
|
|
38322
38331
|
if (!(this.c49_1 === other.c49_1))
|
|
38323
38332
|
return false;
|
|
38324
|
-
if (!
|
|
38333
|
+
if (!(this.d49_1 === other.d49_1))
|
|
38334
|
+
return false;
|
|
38335
|
+
if (!equals(this.e49_1, other.e49_1))
|
|
38325
38336
|
return false;
|
|
38326
|
-
if (!(this.
|
|
38337
|
+
if (!(this.f49_1 == other.f49_1))
|
|
38327
38338
|
return false;
|
|
38328
38339
|
return true;
|
|
38329
38340
|
};
|
|
38330
38341
|
function TrumpMechanicAction(suit, aid) {
|
|
38331
38342
|
aid = aid === VOID ? null : aid;
|
|
38332
38343
|
MechanicAction.call(this);
|
|
38333
|
-
this.
|
|
38334
|
-
this.
|
|
38344
|
+
this.g49_1 = suit;
|
|
38345
|
+
this.h49_1 = aid;
|
|
38335
38346
|
}
|
|
38336
38347
|
protoOf(TrumpMechanicAction).f45 = function () {
|
|
38337
|
-
return this.
|
|
38348
|
+
return this.h49_1;
|
|
38338
38349
|
};
|
|
38339
38350
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
38340
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
38351
|
+
return 'TrumpMechanicAction(suit=' + this.g49_1.toString() + ', aid=' + this.h49_1 + ')';
|
|
38341
38352
|
};
|
|
38342
38353
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
38343
|
-
var result = this.
|
|
38344
|
-
result = imul(result, 31) + (this.
|
|
38354
|
+
var result = this.g49_1.hashCode();
|
|
38355
|
+
result = imul(result, 31) + (this.h49_1 == null ? 0 : getStringHashCode(this.h49_1)) | 0;
|
|
38345
38356
|
return result;
|
|
38346
38357
|
};
|
|
38347
38358
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -38349,34 +38360,34 @@
|
|
|
38349
38360
|
return true;
|
|
38350
38361
|
if (!(other instanceof TrumpMechanicAction))
|
|
38351
38362
|
return false;
|
|
38352
|
-
if (!this.
|
|
38363
|
+
if (!this.g49_1.equals(other.g49_1))
|
|
38353
38364
|
return false;
|
|
38354
|
-
if (!(this.
|
|
38365
|
+
if (!(this.h49_1 == other.h49_1))
|
|
38355
38366
|
return false;
|
|
38356
38367
|
return true;
|
|
38357
38368
|
};
|
|
38358
38369
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
38359
38370
|
aid = aid === VOID ? null : aid;
|
|
38360
38371
|
MechanicAction.call(this);
|
|
38361
|
-
this.
|
|
38362
|
-
this.
|
|
38363
|
-
this.
|
|
38364
|
-
this.
|
|
38372
|
+
this.i49_1 = whoGotBribePlayerId;
|
|
38373
|
+
this.j49_1 = numberOfBribe;
|
|
38374
|
+
this.k49_1 = canNextPlayerTakeAllCards;
|
|
38375
|
+
this.l49_1 = aid;
|
|
38365
38376
|
}
|
|
38366
38377
|
protoOf(PickUpBribeMechanicAction).f45 = function () {
|
|
38367
|
-
return this.
|
|
38378
|
+
return this.l49_1;
|
|
38368
38379
|
};
|
|
38369
38380
|
protoOf(PickUpBribeMechanicAction).y1v = function () {
|
|
38370
38381
|
return true;
|
|
38371
38382
|
};
|
|
38372
38383
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
38373
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
38384
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.i49_1 + ', numberOfBribe=' + this.j49_1 + ', canNextPlayerTakeAllCards=' + this.k49_1 + ', aid=' + this.l49_1 + ')';
|
|
38374
38385
|
};
|
|
38375
38386
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
38376
|
-
var result = getStringHashCode(this.
|
|
38377
|
-
result = imul(result, 31) + this.
|
|
38378
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
38379
|
-
result = imul(result, 31) + (this.
|
|
38387
|
+
var result = getStringHashCode(this.i49_1);
|
|
38388
|
+
result = imul(result, 31) + this.j49_1 | 0;
|
|
38389
|
+
result = imul(result, 31) + getBooleanHashCode(this.k49_1) | 0;
|
|
38390
|
+
result = imul(result, 31) + (this.l49_1 == null ? 0 : getStringHashCode(this.l49_1)) | 0;
|
|
38380
38391
|
return result;
|
|
38381
38392
|
};
|
|
38382
38393
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -38384,36 +38395,36 @@
|
|
|
38384
38395
|
return true;
|
|
38385
38396
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
38386
38397
|
return false;
|
|
38387
|
-
if (!(this.h49_1 === other.h49_1))
|
|
38388
|
-
return false;
|
|
38389
38398
|
if (!(this.i49_1 === other.i49_1))
|
|
38390
38399
|
return false;
|
|
38391
38400
|
if (!(this.j49_1 === other.j49_1))
|
|
38392
38401
|
return false;
|
|
38393
|
-
if (!(this.k49_1
|
|
38402
|
+
if (!(this.k49_1 === other.k49_1))
|
|
38403
|
+
return false;
|
|
38404
|
+
if (!(this.l49_1 == other.l49_1))
|
|
38394
38405
|
return false;
|
|
38395
38406
|
return true;
|
|
38396
38407
|
};
|
|
38397
38408
|
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
38398
38409
|
aid = aid === VOID ? null : aid;
|
|
38399
38410
|
MechanicAction.call(this);
|
|
38400
|
-
this.
|
|
38401
|
-
this.
|
|
38402
|
-
this.
|
|
38411
|
+
this.m49_1 = currentTurnPlayerId;
|
|
38412
|
+
this.n49_1 = playersCards;
|
|
38413
|
+
this.o49_1 = aid;
|
|
38403
38414
|
}
|
|
38404
38415
|
protoOf(TakeAllRemainingCardsMechanicAction).f45 = function () {
|
|
38405
|
-
return this.
|
|
38416
|
+
return this.o49_1;
|
|
38406
38417
|
};
|
|
38407
38418
|
protoOf(TakeAllRemainingCardsMechanicAction).s1p = function () {
|
|
38408
|
-
return this.
|
|
38419
|
+
return this.m49_1;
|
|
38409
38420
|
};
|
|
38410
38421
|
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
38411
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.
|
|
38422
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.m49_1 + ', playersCards=' + toString(this.n49_1) + ', aid=' + this.o49_1 + ')';
|
|
38412
38423
|
};
|
|
38413
38424
|
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
38414
|
-
var result = getStringHashCode(this.
|
|
38415
|
-
result = imul(result, 31) + hashCode(this.
|
|
38416
|
-
result = imul(result, 31) + (this.
|
|
38425
|
+
var result = getStringHashCode(this.m49_1);
|
|
38426
|
+
result = imul(result, 31) + hashCode(this.n49_1) | 0;
|
|
38427
|
+
result = imul(result, 31) + (this.o49_1 == null ? 0 : getStringHashCode(this.o49_1)) | 0;
|
|
38417
38428
|
return result;
|
|
38418
38429
|
};
|
|
38419
38430
|
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
@@ -38421,32 +38432,32 @@
|
|
|
38421
38432
|
return true;
|
|
38422
38433
|
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
38423
38434
|
return false;
|
|
38424
|
-
if (!(this.
|
|
38435
|
+
if (!(this.m49_1 === other.m49_1))
|
|
38425
38436
|
return false;
|
|
38426
|
-
if (!equals(this.
|
|
38437
|
+
if (!equals(this.n49_1, other.n49_1))
|
|
38427
38438
|
return false;
|
|
38428
|
-
if (!(this.
|
|
38439
|
+
if (!(this.o49_1 == other.o49_1))
|
|
38429
38440
|
return false;
|
|
38430
38441
|
return true;
|
|
38431
38442
|
};
|
|
38432
38443
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
38433
38444
|
aid = aid === VOID ? null : aid;
|
|
38434
38445
|
MechanicAction.call(this);
|
|
38435
|
-
this.
|
|
38436
|
-
this.
|
|
38446
|
+
this.p49_1 = winnerCombinations;
|
|
38447
|
+
this.q49_1 = aid;
|
|
38437
38448
|
}
|
|
38438
38449
|
protoOf(WinnerCombinationsMechanicAction).f45 = function () {
|
|
38439
|
-
return this.
|
|
38450
|
+
return this.q49_1;
|
|
38440
38451
|
};
|
|
38441
38452
|
protoOf(WinnerCombinationsMechanicAction).y1v = function () {
|
|
38442
38453
|
return true;
|
|
38443
38454
|
};
|
|
38444
38455
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
38445
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
38456
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.p49_1) + ', aid=' + this.q49_1 + ')';
|
|
38446
38457
|
};
|
|
38447
38458
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
38448
|
-
var result = hashCode(this.
|
|
38449
|
-
result = imul(result, 31) + (this.
|
|
38459
|
+
var result = hashCode(this.p49_1);
|
|
38460
|
+
result = imul(result, 31) + (this.q49_1 == null ? 0 : getStringHashCode(this.q49_1)) | 0;
|
|
38450
38461
|
return result;
|
|
38451
38462
|
};
|
|
38452
38463
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -38454,27 +38465,27 @@
|
|
|
38454
38465
|
return true;
|
|
38455
38466
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
38456
38467
|
return false;
|
|
38457
|
-
if (!equals(this.
|
|
38468
|
+
if (!equals(this.p49_1, other.p49_1))
|
|
38458
38469
|
return false;
|
|
38459
|
-
if (!(this.
|
|
38470
|
+
if (!(this.q49_1 == other.q49_1))
|
|
38460
38471
|
return false;
|
|
38461
38472
|
return true;
|
|
38462
38473
|
};
|
|
38463
38474
|
function ErrorAction(error, aid) {
|
|
38464
38475
|
aid = aid === VOID ? null : aid;
|
|
38465
38476
|
MechanicAction.call(this);
|
|
38466
|
-
this.
|
|
38467
|
-
this.
|
|
38477
|
+
this.r49_1 = error;
|
|
38478
|
+
this.s49_1 = aid;
|
|
38468
38479
|
}
|
|
38469
38480
|
protoOf(ErrorAction).f45 = function () {
|
|
38470
|
-
return this.
|
|
38481
|
+
return this.s49_1;
|
|
38471
38482
|
};
|
|
38472
38483
|
protoOf(ErrorAction).toString = function () {
|
|
38473
|
-
return 'ErrorAction(error=' + this.
|
|
38484
|
+
return 'ErrorAction(error=' + this.r49_1.toString() + ', aid=' + this.s49_1 + ')';
|
|
38474
38485
|
};
|
|
38475
38486
|
protoOf(ErrorAction).hashCode = function () {
|
|
38476
|
-
var result = this.
|
|
38477
|
-
result = imul(result, 31) + (this.
|
|
38487
|
+
var result = this.r49_1.hashCode();
|
|
38488
|
+
result = imul(result, 31) + (this.s49_1 == null ? 0 : getStringHashCode(this.s49_1)) | 0;
|
|
38478
38489
|
return result;
|
|
38479
38490
|
};
|
|
38480
38491
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -38482,9 +38493,9 @@
|
|
|
38482
38493
|
return true;
|
|
38483
38494
|
if (!(other instanceof ErrorAction))
|
|
38484
38495
|
return false;
|
|
38485
|
-
if (!this.
|
|
38496
|
+
if (!this.r49_1.equals(other.r49_1))
|
|
38486
38497
|
return false;
|
|
38487
|
-
if (!(this.
|
|
38498
|
+
if (!(this.s49_1 == other.s49_1))
|
|
38488
38499
|
return false;
|
|
38489
38500
|
return true;
|
|
38490
38501
|
};
|
|
@@ -39105,9 +39116,9 @@
|
|
|
39105
39116
|
}
|
|
39106
39117
|
}
|
|
39107
39118
|
function GameHelperImpl(logger) {
|
|
39108
|
-
this.
|
|
39119
|
+
this.w49_1 = logger;
|
|
39109
39120
|
}
|
|
39110
|
-
protoOf(GameHelperImpl).
|
|
39121
|
+
protoOf(GameHelperImpl).t49 = function (store, playerIds, includeBots) {
|
|
39111
39122
|
var state = store.state;
|
|
39112
39123
|
var tmp;
|
|
39113
39124
|
if (!state.v2f()) {
|
|
@@ -39153,7 +39164,7 @@
|
|
|
39153
39164
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
39154
39165
|
return copyToArray(destination_1);
|
|
39155
39166
|
};
|
|
39156
|
-
protoOf(GameHelperImpl).
|
|
39167
|
+
protoOf(GameHelperImpl).u49 = function (store, playerIds, includeBots) {
|
|
39157
39168
|
var state = store.state;
|
|
39158
39169
|
var tmp;
|
|
39159
39170
|
if (!state.v2f()) {
|
|
@@ -39324,10 +39335,10 @@
|
|
|
39324
39335
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
39325
39336
|
return copyToArray(destination);
|
|
39326
39337
|
};
|
|
39327
|
-
protoOf(GameHelperImpl).
|
|
39338
|
+
protoOf(GameHelperImpl).v49 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
39328
39339
|
var roomMode = mapToRoomMode(mode);
|
|
39329
39340
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
39330
|
-
this.
|
|
39341
|
+
this.w49_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
39331
39342
|
var options = Companion_instance_156.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
39332
39343
|
var playersMode = this.mapPlayers(players);
|
|
39333
39344
|
var pointsMode = this.mapPoints(points);
|
|
@@ -39801,40 +39812,40 @@
|
|
|
39801
39812
|
function getRandomAvatarData_0($this) {
|
|
39802
39813
|
var avatarSetNumber = Default_getInstance().td(get_entries_4().c1());
|
|
39803
39814
|
var avatarSet = get_entries_4().d1(avatarSetNumber);
|
|
39804
|
-
return new AvatarData(Default_getInstance().td(avatarSet.
|
|
39815
|
+
return new AvatarData(Default_getInstance().td(avatarSet.c4a()), avatarSet);
|
|
39805
39816
|
}
|
|
39806
39817
|
function getAvatarUrlByIndex($this, data) {
|
|
39807
39818
|
return mapToPattern($this, data);
|
|
39808
39819
|
}
|
|
39809
39820
|
function getNicknameByIndex($this, data) {
|
|
39810
|
-
return data.
|
|
39821
|
+
return data.e4a_1.f4a(data.d4a_1);
|
|
39811
39822
|
}
|
|
39812
39823
|
function mapToPattern($this, data) {
|
|
39813
|
-
return 'debertz://raspberry.games/' + data.
|
|
39824
|
+
return 'debertz://raspberry.games/' + data.e4a_1.x2_1 + '/' + data.d4a_1;
|
|
39814
39825
|
}
|
|
39815
39826
|
function Companion_163() {
|
|
39816
39827
|
Companion_instance_167 = this;
|
|
39817
|
-
this.
|
|
39828
|
+
this.g4a_1 = 'debertz://raspberry.games';
|
|
39818
39829
|
var tmp = this;
|
|
39819
39830
|
// Inline function 'kotlin.arrayOf' call
|
|
39820
39831
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
39821
39832
|
// Inline function 'kotlin.js.asDynamic' call
|
|
39822
|
-
tmp.
|
|
39833
|
+
tmp.h4a_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
39823
39834
|
var tmp_0 = this;
|
|
39824
39835
|
// Inline function 'kotlin.arrayOf' call
|
|
39825
39836
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
39826
39837
|
// Inline function 'kotlin.js.asDynamic' call
|
|
39827
|
-
tmp_0.
|
|
39838
|
+
tmp_0.i4a_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'];
|
|
39828
39839
|
var tmp_1 = this;
|
|
39829
39840
|
// Inline function 'kotlin.arrayOf' call
|
|
39830
39841
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
39831
39842
|
// Inline function 'kotlin.js.asDynamic' call
|
|
39832
|
-
tmp_1.
|
|
39843
|
+
tmp_1.j4a_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
39833
39844
|
var tmp_2 = this;
|
|
39834
39845
|
// Inline function 'kotlin.arrayOf' call
|
|
39835
39846
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
39836
39847
|
// Inline function 'kotlin.js.asDynamic' call
|
|
39837
|
-
tmp_2.
|
|
39848
|
+
tmp_2.k4a_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'];
|
|
39838
39849
|
}
|
|
39839
39850
|
var Companion_instance_167;
|
|
39840
39851
|
function Companion_getInstance_171() {
|
|
@@ -39845,14 +39856,14 @@
|
|
|
39845
39856
|
function AvatarSet(name, ordinal) {
|
|
39846
39857
|
Enum.call(this, name, ordinal);
|
|
39847
39858
|
}
|
|
39848
|
-
protoOf(AvatarSet).
|
|
39859
|
+
protoOf(AvatarSet).c4a = function () {
|
|
39849
39860
|
var tmp;
|
|
39850
39861
|
switch (this.x2_1) {
|
|
39851
39862
|
case 0:
|
|
39852
|
-
tmp = Companion_getInstance_171().
|
|
39863
|
+
tmp = Companion_getInstance_171().i4a_1.length;
|
|
39853
39864
|
break;
|
|
39854
39865
|
case 1:
|
|
39855
|
-
tmp = Companion_getInstance_171().
|
|
39866
|
+
tmp = Companion_getInstance_171().k4a_1.length;
|
|
39856
39867
|
break;
|
|
39857
39868
|
default:
|
|
39858
39869
|
noWhenBranchMatchedException();
|
|
@@ -39860,14 +39871,14 @@
|
|
|
39860
39871
|
}
|
|
39861
39872
|
return tmp;
|
|
39862
39873
|
};
|
|
39863
|
-
protoOf(AvatarSet).
|
|
39874
|
+
protoOf(AvatarSet).f4a = function (index) {
|
|
39864
39875
|
var tmp;
|
|
39865
39876
|
switch (this.x2_1) {
|
|
39866
39877
|
case 0:
|
|
39867
|
-
tmp = Companion_getInstance_171().
|
|
39878
|
+
tmp = Companion_getInstance_171().i4a_1[index];
|
|
39868
39879
|
break;
|
|
39869
39880
|
case 1:
|
|
39870
|
-
tmp = Companion_getInstance_171().
|
|
39881
|
+
tmp = Companion_getInstance_171().k4a_1[index];
|
|
39871
39882
|
break;
|
|
39872
39883
|
default:
|
|
39873
39884
|
noWhenBranchMatchedException();
|
|
@@ -39876,8 +39887,8 @@
|
|
|
39876
39887
|
return tmp;
|
|
39877
39888
|
};
|
|
39878
39889
|
function AvatarData(index, avatarSet) {
|
|
39879
|
-
this.
|
|
39880
|
-
this.
|
|
39890
|
+
this.d4a_1 = index;
|
|
39891
|
+
this.e4a_1 = avatarSet;
|
|
39881
39892
|
}
|
|
39882
39893
|
function AvatarSet_ORIGIN_getInstance() {
|
|
39883
39894
|
AvatarSet_initEntries();
|
|
@@ -39890,7 +39901,7 @@
|
|
|
39890
39901
|
function GameResourcesImpl() {
|
|
39891
39902
|
Companion_getInstance_171();
|
|
39892
39903
|
}
|
|
39893
|
-
protoOf(GameResourcesImpl).
|
|
39904
|
+
protoOf(GameResourcesImpl).z49 = function (playerId, existingNicknames) {
|
|
39894
39905
|
return createUser(this, playerId, existingNicknames);
|
|
39895
39906
|
};
|
|
39896
39907
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -39931,45 +39942,45 @@
|
|
|
39931
39942
|
}
|
|
39932
39943
|
var WARN;
|
|
39933
39944
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
39934
|
-
this.
|
|
39945
|
+
this.l4a_1 = loggerCallback;
|
|
39935
39946
|
}
|
|
39936
39947
|
protoOf(LoggerCallbacksWrapperLoggerOutput).s14 = function (tag, message, payload) {
|
|
39937
|
-
this.
|
|
39948
|
+
this.l4a_1('debug', tag, message, null, payload);
|
|
39938
39949
|
};
|
|
39939
39950
|
protoOf(LoggerCallbacksWrapperLoggerOutput).t14 = function (tag, message, exception, payload) {
|
|
39940
|
-
this.
|
|
39951
|
+
this.l4a_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
39941
39952
|
};
|
|
39942
39953
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w14 = function (tag, message, payload) {
|
|
39943
|
-
this.
|
|
39954
|
+
this.l4a_1('debug', tag, message, null, payload);
|
|
39944
39955
|
};
|
|
39945
39956
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v14 = function (tag, message, exception, payload) {
|
|
39946
|
-
this.
|
|
39957
|
+
this.l4a_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
39947
39958
|
};
|
|
39948
39959
|
protoOf(LoggerCallbacksWrapperLoggerOutput).u14 = function (tag, message, exception, payload) {
|
|
39949
|
-
this.
|
|
39960
|
+
this.l4a_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
39950
39961
|
};
|
|
39951
39962
|
function ParserHelper() {
|
|
39952
39963
|
}
|
|
39953
39964
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
39954
|
-
this.
|
|
39955
|
-
this.
|
|
39965
|
+
this.m4a_1 = json;
|
|
39966
|
+
this.n4a_1 = encoderDecoderProvider;
|
|
39956
39967
|
}
|
|
39957
39968
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
39958
|
-
return this.
|
|
39969
|
+
return this.n4a_1.q44(mapToDto_20(action));
|
|
39959
39970
|
};
|
|
39960
39971
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
39961
|
-
return mapFromDto_16(this.
|
|
39972
|
+
return mapFromDto_16(this.n4a_1.u44(json), fromPlayerId);
|
|
39962
39973
|
};
|
|
39963
39974
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
39964
|
-
return this.
|
|
39975
|
+
return this.n4a_1.r44(mapToDto_81(action));
|
|
39965
39976
|
};
|
|
39966
39977
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
39967
39978
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
39968
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
39979
|
+
var this_0 = mapFromClientDtoListWithPayload(this.n4a_1.v44(json), playerId, engine);
|
|
39969
39980
|
return copyToArray(this_0);
|
|
39970
39981
|
};
|
|
39971
39982
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
39972
|
-
var tmp0 = this.
|
|
39983
|
+
var tmp0 = this.m4a_1;
|
|
39973
39984
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
39974
39985
|
var value = mapToDto_35(round);
|
|
39975
39986
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -39980,7 +39991,7 @@
|
|
|
39980
39991
|
return tmp0.m24(tmp$ret$1, value);
|
|
39981
39992
|
};
|
|
39982
39993
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
39983
|
-
var tmp0 = this.
|
|
39994
|
+
var tmp0 = this.m4a_1;
|
|
39984
39995
|
// Inline function 'kotlin.collections.map' call
|
|
39985
39996
|
var this_0 = round.items;
|
|
39986
39997
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -40002,7 +40013,7 @@
|
|
|
40002
40013
|
return tmp0.m24(tmp$ret$4, destination);
|
|
40003
40014
|
};
|
|
40004
40015
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
40005
|
-
var tmp0 = this.
|
|
40016
|
+
var tmp0 = this.m4a_1;
|
|
40006
40017
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40007
40018
|
var value = mapToDto_34(metadata);
|
|
40008
40019
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40013,7 +40024,7 @@
|
|
|
40013
40024
|
return tmp0.m24(tmp$ret$1, value);
|
|
40014
40025
|
};
|
|
40015
40026
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
40016
|
-
var tmp0 = this.
|
|
40027
|
+
var tmp0 = this.m4a_1;
|
|
40017
40028
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40018
40029
|
var value = mapToDto_66(config);
|
|
40019
40030
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40024,7 +40035,7 @@
|
|
|
40024
40035
|
return tmp0.m24(tmp$ret$1, value);
|
|
40025
40036
|
};
|
|
40026
40037
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
40027
|
-
var tmp0 = this.
|
|
40038
|
+
var tmp0 = this.m4a_1;
|
|
40028
40039
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40029
40040
|
var value = mapToDto_103(transition);
|
|
40030
40041
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40036,7 +40047,7 @@
|
|
|
40036
40047
|
};
|
|
40037
40048
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
40038
40049
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
40039
|
-
var this_0 = this.
|
|
40050
|
+
var this_0 = this.m4a_1;
|
|
40040
40051
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
40041
40052
|
var this_1 = this_0.jn();
|
|
40042
40053
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -40046,7 +40057,7 @@
|
|
|
40046
40057
|
return mapFromDto_73(tmp$ret$2);
|
|
40047
40058
|
};
|
|
40048
40059
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (jsonTable, jsonActions) {
|
|
40049
|
-
var tmp = this.
|
|
40060
|
+
var tmp = this.n4a_1.s44(jsonTable);
|
|
40050
40061
|
// Inline function 'kotlin.collections.map' call
|
|
40051
40062
|
// Inline function 'kotlin.collections.mapTo' call
|
|
40052
40063
|
var destination = ArrayList_init_$Create$(jsonActions.length);
|
|
@@ -40055,13 +40066,13 @@
|
|
|
40055
40066
|
while (inductionVariable < last) {
|
|
40056
40067
|
var item = jsonActions[inductionVariable];
|
|
40057
40068
|
inductionVariable = inductionVariable + 1 | 0;
|
|
40058
|
-
var tmp$ret$0 = this.
|
|
40069
|
+
var tmp$ret$0 = this.n4a_1.u44(item);
|
|
40059
40070
|
destination.a1(tmp$ret$0);
|
|
40060
40071
|
}
|
|
40061
40072
|
return mapFromDto_104(new TableStateWithActionsDto(tmp, destination));
|
|
40062
40073
|
};
|
|
40063
40074
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
40064
|
-
var tmp0 = this.
|
|
40075
|
+
var tmp0 = this.m4a_1;
|
|
40065
40076
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40066
40077
|
var value = mapToDto_134(table);
|
|
40067
40078
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40072,11 +40083,11 @@
|
|
|
40072
40083
|
return tmp0.m24(tmp$ret$1, value);
|
|
40073
40084
|
};
|
|
40074
40085
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
40075
|
-
return mapFromDto_71(this.
|
|
40086
|
+
return mapFromDto_71(this.n4a_1.t44(json));
|
|
40076
40087
|
};
|
|
40077
40088
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
40078
40089
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
40079
|
-
var this_0 = this.
|
|
40090
|
+
var this_0 = this.m4a_1;
|
|
40080
40091
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
40081
40092
|
var this_1 = this_0.jn();
|
|
40082
40093
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -40089,8 +40100,8 @@
|
|
|
40089
40100
|
function RatingHelper() {
|
|
40090
40101
|
}
|
|
40091
40102
|
function RatingHelperImpl(json, userRatingInteractor) {
|
|
40092
|
-
this.
|
|
40093
|
-
this.
|
|
40103
|
+
this.o4a_1 = json;
|
|
40104
|
+
this.p4a_1 = userRatingInteractor;
|
|
40094
40105
|
}
|
|
40095
40106
|
protoOf(RatingHelperImpl).getBotRatingRange = function (league, leaguesConfig) {
|
|
40096
40107
|
var maxRatingFactor = 0.3;
|
|
@@ -40117,16 +40128,16 @@
|
|
|
40117
40128
|
return valueOf_1(tmp$ret$1);
|
|
40118
40129
|
};
|
|
40119
40130
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating, leaguesConfig) {
|
|
40120
|
-
return this.
|
|
40131
|
+
return this.p4a_1.z44(league, rating, leaguesConfig);
|
|
40121
40132
|
};
|
|
40122
40133
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating, leaguesConfig) {
|
|
40123
|
-
return this.
|
|
40134
|
+
return this.p4a_1.a45(rating, leaguesConfig);
|
|
40124
40135
|
};
|
|
40125
40136
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
40126
40137
|
return Companion_instance_9.defaultConfig();
|
|
40127
40138
|
};
|
|
40128
40139
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
40129
|
-
var tmp0 = this.
|
|
40140
|
+
var tmp0 = this.o4a_1;
|
|
40130
40141
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40131
40142
|
var value = mapToDto_49(Companion_instance_9.defaultConfig());
|
|
40132
40143
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40139,14 +40150,14 @@
|
|
|
40139
40150
|
protoOf(RatingHelperImpl).decodeGameSettings = function (json) {
|
|
40140
40151
|
var defaultConfig = Companion_instance_9.defaultConfig();
|
|
40141
40152
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
40142
|
-
var this_0 = this.
|
|
40153
|
+
var this_0 = this.o4a_1;
|
|
40143
40154
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
40144
40155
|
var this_1 = this_0.jn();
|
|
40145
40156
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
40146
40157
|
var this_2 = serializer(this_1, createKType(getKClass(EngineSettingsDto), arrayOf([]), false));
|
|
40147
40158
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
40148
40159
|
var settingsDto = this_0.n24(tmp$ret$1, json);
|
|
40149
|
-
var tmp0 = this.
|
|
40160
|
+
var tmp0 = this.o4a_1;
|
|
40150
40161
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40151
40162
|
var value = settingsDto.l36_1;
|
|
40152
40163
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40158,7 +40169,7 @@
|
|
|
40158
40169
|
return mapFromDto_48(settingsDto.o36(VOID, tmp$ret$5), defaultConfig);
|
|
40159
40170
|
};
|
|
40160
40171
|
protoOf(RatingHelperImpl).encodeGameSettings = function (engineSettings) {
|
|
40161
|
-
var tmp0 = this.
|
|
40172
|
+
var tmp0 = this.o4a_1;
|
|
40162
40173
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
40163
40174
|
var value = mapToDto_52(engineSettings);
|
|
40164
40175
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -40277,14 +40288,14 @@
|
|
|
40277
40288
|
return new GameResourcesImpl();
|
|
40278
40289
|
}
|
|
40279
40290
|
function _get_logger__rkp4sl($this) {
|
|
40280
|
-
var tmp0 = $this.
|
|
40291
|
+
var tmp0 = $this.r4a_1;
|
|
40281
40292
|
var tmp = KProperty1;
|
|
40282
40293
|
// Inline function 'kotlin.getValue' call
|
|
40283
40294
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
40284
40295
|
return tmp0.j2();
|
|
40285
40296
|
}
|
|
40286
40297
|
function _get_di__ndbzja($this) {
|
|
40287
|
-
var tmp0 = $this.
|
|
40298
|
+
var tmp0 = $this.s4a_1;
|
|
40288
40299
|
var tmp = KProperty1;
|
|
40289
40300
|
// Inline function 'kotlin.getValue' call
|
|
40290
40301
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -40293,11 +40304,11 @@
|
|
|
40293
40304
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
40294
40305
|
return function () {
|
|
40295
40306
|
var tmp;
|
|
40296
|
-
if (this$0.
|
|
40307
|
+
if (this$0.q4a_1 == null) {
|
|
40297
40308
|
tmp = null;
|
|
40298
40309
|
} else {
|
|
40299
40310
|
// Inline function 'kotlin.let' call
|
|
40300
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
40311
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.q4a_1)]));
|
|
40301
40312
|
}
|
|
40302
40313
|
var tmp1_elvis_lhs = tmp;
|
|
40303
40314
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -40387,11 +40398,11 @@
|
|
|
40387
40398
|
}
|
|
40388
40399
|
function EngineHelpersFactory(loggerCallback) {
|
|
40389
40400
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
40390
|
-
this.
|
|
40401
|
+
this.q4a_1 = loggerCallback;
|
|
40391
40402
|
var tmp = this;
|
|
40392
|
-
tmp.
|
|
40403
|
+
tmp.r4a_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
40393
40404
|
var tmp_0 = this;
|
|
40394
|
-
tmp_0.
|
|
40405
|
+
tmp_0.s4a_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
40395
40406
|
var tmp_1 = this;
|
|
40396
40407
|
// Inline function 'org.kodein.di.instance' call
|
|
40397
40408
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -40400,7 +40411,7 @@
|
|
|
40400
40411
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
40401
40412
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
40402
40413
|
var tmp_4 = KProperty1;
|
|
40403
|
-
tmp_1.
|
|
40414
|
+
tmp_1.t4a_1 = tmp_3.c24(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
40404
40415
|
var tmp_5 = this;
|
|
40405
40416
|
// Inline function 'org.kodein.di.instance' call
|
|
40406
40417
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -40409,7 +40420,7 @@
|
|
|
40409
40420
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
40410
40421
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
40411
40422
|
var tmp_8 = KProperty1;
|
|
40412
|
-
tmp_5.
|
|
40423
|
+
tmp_5.u4a_1 = tmp_7.c24(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
40413
40424
|
var tmp_9 = this;
|
|
40414
40425
|
// Inline function 'org.kodein.di.instance' call
|
|
40415
40426
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -40418,7 +40429,7 @@
|
|
|
40418
40429
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
40419
40430
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
40420
40431
|
var tmp_12 = KProperty1;
|
|
40421
|
-
tmp_9.
|
|
40432
|
+
tmp_9.v4a_1 = tmp_11.c24(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
40422
40433
|
var tmp_13 = this;
|
|
40423
40434
|
// Inline function 'org.kodein.di.instance' call
|
|
40424
40435
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -40427,31 +40438,31 @@
|
|
|
40427
40438
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
40428
40439
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
40429
40440
|
var tmp_16 = KProperty1;
|
|
40430
|
-
tmp_13.
|
|
40441
|
+
tmp_13.w4a_1 = tmp_15.c24(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
40431
40442
|
}
|
|
40432
|
-
protoOf(EngineHelpersFactory).
|
|
40433
|
-
var tmp0 = this.
|
|
40443
|
+
protoOf(EngineHelpersFactory).x4a = function () {
|
|
40444
|
+
var tmp0 = this.t4a_1;
|
|
40434
40445
|
var tmp = KProperty1;
|
|
40435
40446
|
// Inline function 'kotlin.getValue' call
|
|
40436
40447
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
40437
40448
|
return tmp0.j2();
|
|
40438
40449
|
};
|
|
40439
|
-
protoOf(EngineHelpersFactory).
|
|
40440
|
-
var tmp0 = this.
|
|
40450
|
+
protoOf(EngineHelpersFactory).y4a = function () {
|
|
40451
|
+
var tmp0 = this.u4a_1;
|
|
40441
40452
|
var tmp = KProperty1;
|
|
40442
40453
|
// Inline function 'kotlin.getValue' call
|
|
40443
40454
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
40444
40455
|
return tmp0.j2();
|
|
40445
40456
|
};
|
|
40446
|
-
protoOf(EngineHelpersFactory).
|
|
40447
|
-
var tmp0 = this.
|
|
40457
|
+
protoOf(EngineHelpersFactory).z4a = function () {
|
|
40458
|
+
var tmp0 = this.v4a_1;
|
|
40448
40459
|
var tmp = KProperty1;
|
|
40449
40460
|
// Inline function 'kotlin.getValue' call
|
|
40450
40461
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
40451
40462
|
return tmp0.j2();
|
|
40452
40463
|
};
|
|
40453
|
-
protoOf(EngineHelpersFactory).
|
|
40454
|
-
var tmp0 = this.
|
|
40464
|
+
protoOf(EngineHelpersFactory).a4b = function () {
|
|
40465
|
+
var tmp0 = this.w4a_1;
|
|
40455
40466
|
var tmp = KProperty1;
|
|
40456
40467
|
// Inline function 'kotlin.getValue' call
|
|
40457
40468
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -40461,10 +40472,10 @@
|
|
|
40461
40472
|
this.min = min;
|
|
40462
40473
|
this.max = max;
|
|
40463
40474
|
}
|
|
40464
|
-
protoOf(BotRatingRange).
|
|
40475
|
+
protoOf(BotRatingRange).b4b = function () {
|
|
40465
40476
|
return this.min;
|
|
40466
40477
|
};
|
|
40467
|
-
protoOf(BotRatingRange).
|
|
40478
|
+
protoOf(BotRatingRange).c4b = function () {
|
|
40468
40479
|
return this.max;
|
|
40469
40480
|
};
|
|
40470
40481
|
protoOf(BotRatingRange).pc = function () {
|
|
@@ -40473,13 +40484,13 @@
|
|
|
40473
40484
|
protoOf(BotRatingRange).qc = function () {
|
|
40474
40485
|
return this.max;
|
|
40475
40486
|
};
|
|
40476
|
-
protoOf(BotRatingRange).
|
|
40487
|
+
protoOf(BotRatingRange).d4b = function (min, max) {
|
|
40477
40488
|
return new BotRatingRange(min, max);
|
|
40478
40489
|
};
|
|
40479
40490
|
protoOf(BotRatingRange).copy = function (min, max, $super) {
|
|
40480
40491
|
min = min === VOID ? this.min : min;
|
|
40481
40492
|
max = max === VOID ? this.max : max;
|
|
40482
|
-
return $super === VOID ? this.
|
|
40493
|
+
return $super === VOID ? this.d4b(min, max) : $super.d4b.call(this, min, max);
|
|
40483
40494
|
};
|
|
40484
40495
|
protoOf(BotRatingRange).toString = function () {
|
|
40485
40496
|
return 'BotRatingRange(min=' + this.min + ', max=' + this.max + ')';
|
|
@@ -41133,22 +41144,22 @@
|
|
|
41133
41144
|
});
|
|
41134
41145
|
protoOf(RevengeRoomTransition).b43 = get_isEnableChoosePartnerScreen;
|
|
41135
41146
|
defineProp(protoOf(RevengeRoomTransition), 'previousPlayers', function () {
|
|
41136
|
-
return this.
|
|
41147
|
+
return this.d46();
|
|
41137
41148
|
});
|
|
41138
41149
|
defineProp(protoOf(RevengeRoomTransition), 'readyPlayerIdsArray', function () {
|
|
41139
|
-
return this.
|
|
41150
|
+
return this.e46();
|
|
41140
41151
|
});
|
|
41141
41152
|
defineProp(protoOf(RevengeRoomTransition), 'isEnableChoosePartnerScreen', function () {
|
|
41142
41153
|
return this.b43();
|
|
41143
41154
|
});
|
|
41144
41155
|
defineProp(protoOf(GameToRoomTransition), 'previousPlayers', function () {
|
|
41145
|
-
return this.
|
|
41156
|
+
return this.d46();
|
|
41146
41157
|
});
|
|
41147
41158
|
defineProp(protoOf(GameToRoomTransition), 'isEnableChoosePartnerScreen', function () {
|
|
41148
41159
|
return this.b43();
|
|
41149
41160
|
});
|
|
41150
41161
|
defineProp(protoOf(GameToRoomTransition), 'readyPlayerIdsArray', function () {
|
|
41151
|
-
return this.
|
|
41162
|
+
return this.e46();
|
|
41152
41163
|
});
|
|
41153
41164
|
protoOf(MechanicAction).w1v = get_actionTag;
|
|
41154
41165
|
defineProp(protoOf(MechanicAction), 'aid', function () {
|
|
@@ -41167,7 +41178,7 @@
|
|
|
41167
41178
|
return this.u16();
|
|
41168
41179
|
});
|
|
41169
41180
|
defineProp(protoOf(StartGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
41170
|
-
return this.
|
|
41181
|
+
return this.i46();
|
|
41171
41182
|
});
|
|
41172
41183
|
defineProp(protoOf(StartGameMechanicAction), 'users', function () {
|
|
41173
41184
|
return this.f41();
|
|
@@ -41176,7 +41187,7 @@
|
|
|
41176
41187
|
return this.u40();
|
|
41177
41188
|
});
|
|
41178
41189
|
defineProp(protoOf(StartGameMechanicAction), 'usersOrder', function () {
|
|
41179
|
-
return this.
|
|
41190
|
+
return this.j46();
|
|
41180
41191
|
});
|
|
41181
41192
|
defineProp(protoOf(StartGameMechanicAction), 'actionTag', function () {
|
|
41182
41193
|
return this.w1v();
|
|
@@ -41195,10 +41206,10 @@
|
|
|
41195
41206
|
return this.u40();
|
|
41196
41207
|
});
|
|
41197
41208
|
defineProp(protoOf(ContinueGameMechanicAction), 'usersOrder', function () {
|
|
41198
|
-
return this.
|
|
41209
|
+
return this.j46();
|
|
41199
41210
|
});
|
|
41200
41211
|
defineProp(protoOf(ContinueGameMechanicAction), 'gameCreatorPlayerId', function () {
|
|
41201
|
-
return this.
|
|
41212
|
+
return this.i46();
|
|
41202
41213
|
});
|
|
41203
41214
|
defineProp(protoOf(ContinueGameMechanicAction), 'version', function () {
|
|
41204
41215
|
return this.u16();
|
|
@@ -41242,7 +41253,7 @@
|
|
|
41242
41253
|
return this.w2v();
|
|
41243
41254
|
});
|
|
41244
41255
|
defineProp(protoOf(SceneMechanicAction), 'actData', function () {
|
|
41245
|
-
return this.
|
|
41256
|
+
return this.k47();
|
|
41246
41257
|
});
|
|
41247
41258
|
defineProp(protoOf(SceneMechanicAction), 'playerId', function () {
|
|
41248
41259
|
return this.s1p();
|
|
@@ -41254,14 +41265,14 @@
|
|
|
41254
41265
|
protoOf(TeamsDataMechanicAction).y1v = manualExpectantHandling;
|
|
41255
41266
|
protoOf(TeamsDataMechanicAction).a1w = get_isAutoStartTimer;
|
|
41256
41267
|
defineProp(protoOf(TeamsDataMechanicAction), 'usersOrder', function () {
|
|
41257
|
-
return this.
|
|
41268
|
+
return this.j46();
|
|
41258
41269
|
});
|
|
41259
41270
|
defineProp(protoOf(TeamsDataMechanicAction), 'actionTag', function () {
|
|
41260
41271
|
return this.w1v();
|
|
41261
41272
|
});
|
|
41262
41273
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).x1r);
|
|
41263
41274
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeUnsubscribedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).y1r);
|
|
41264
|
-
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'originState', protoOf(PlayerConnectionChangedMechanicAction).
|
|
41275
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'originState', protoOf(PlayerConnectionChangedMechanicAction).f48);
|
|
41265
41276
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).t1r);
|
|
41266
41277
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
41267
41278
|
return this.w1v();
|
|
@@ -41281,7 +41292,7 @@
|
|
|
41281
41292
|
return this.w2v();
|
|
41282
41293
|
});
|
|
41283
41294
|
defineProp(protoOf(SceneActMechanicAction), 'actData', function () {
|
|
41284
|
-
return this.
|
|
41295
|
+
return this.k47();
|
|
41285
41296
|
});
|
|
41286
41297
|
defineProp(protoOf(SceneActMechanicAction), 'actionTag', function () {
|
|
41287
41298
|
return this.w1v();
|
|
@@ -41343,10 +41354,10 @@
|
|
|
41343
41354
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
41344
41355
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
41345
41356
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
41346
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
41347
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
41348
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
41349
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
41357
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).x4a);
|
|
41358
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).y4a);
|
|
41359
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).z4a);
|
|
41360
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).a4b);
|
|
41350
41361
|
//endregion
|
|
41351
41362
|
//region block: init
|
|
41352
41363
|
Companion_instance_3 = new Companion();
|