raspberry_games_engine_helpers 1.8.418 → 1.8.420
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
|
@@ -796,15 +796,15 @@
|
|
|
796
796
|
initMetadataForClass(ClearAction, 'ClearAction', VOID, VOID, [Action, NotValidateIfGameFinished]);
|
|
797
797
|
initMetadataForClass(FromClientActionPayloadProvider, 'FromClientActionPayloadProvider');
|
|
798
798
|
initMetadataForClass(FromClientAction, 'FromClientAction', VOID, VOID, [Action]);
|
|
799
|
-
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
800
|
-
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
801
|
-
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
802
|
-
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
803
|
-
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
804
|
-
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
799
|
+
initMetadataForClass(PartnerSelectedFromClientAction, 'PartnerSelectedFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
800
|
+
initMetadataForClass(PlayerReadyFromClientAction, 'PlayerReadyFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
801
|
+
initMetadataForClass(SuitChoiceFromClientAction, 'SuitChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
802
|
+
initMetadataForClass(CombinationChoiceFromClientAction, 'CombinationChoiceFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
803
|
+
initMetadataForClass(CardFromClientAction, 'CardFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
804
|
+
initMetadataForClass(TakeAllRemainingCardsFromClientAction, 'TakeAllRemainingCardsFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
805
805
|
initMetadataForClass(MessageFromClientAction, 'MessageFromClientAction', VOID, FromClientAction);
|
|
806
806
|
initMetadataForClass(ExitFromClientAction, 'ExitFromClientAction', VOID, FromClientAction);
|
|
807
|
-
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction,
|
|
807
|
+
initMetadataForClass(RequestedCardDecksFromClientAction, 'RequestedCardDecksFromClientAction', VOID, FromClientAction, [FromClientAction, PlayerIdContract, Action]);
|
|
808
808
|
initMetadataForCompanion(Companion_157);
|
|
809
809
|
initMetadataForClass(ActionDeliveryPayload, 'ActionDeliveryPayload');
|
|
810
810
|
initMetadataForCompanion(Companion_158, VOID, [SerializerFactory]);
|
|
@@ -842,42 +842,42 @@
|
|
|
842
842
|
initMetadataForClass(RevengeRoomTransition, 'RevengeRoomTransition', VOID, VOID, [GameTransition]);
|
|
843
843
|
initMetadataForClass(GameToRoomTransition, 'GameToRoomTransition', VOID, VOID, [GameTransition]);
|
|
844
844
|
initMetadataForClass(MechanicAction, 'MechanicAction', VOID, VOID, [BufferedAction]);
|
|
845
|
-
initMetadataForInterface(FirstMechanicAction, 'FirstMechanicAction', VOID, VOID, [Action, IgnoreBufferForAction]);
|
|
846
845
|
initMetadataForInterface(PlayerOrderChangeMechanicAction, 'PlayerOrderChangeMechanicAction', VOID, VOID, [Action]);
|
|
847
|
-
|
|
846
|
+
initMetadataForInterface(FirstMechanicAction, 'FirstMechanicAction', VOID, VOID, [Action, IgnoreBufferForAction, PlayerOrderChangeMechanicAction]);
|
|
847
|
+
initMetadataForClass(StartGameMechanicAction, 'StartGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction]);
|
|
848
848
|
initMetadataForClass(StartNewGameMechanicAction, 'StartNewGameMechanicAction', VOID, MechanicAction);
|
|
849
|
-
initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction,
|
|
849
|
+
initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, NotValidateIfGameFinished]);
|
|
850
850
|
initMetadataForCompanion(Companion_159);
|
|
851
851
|
initMetadataForInterface(TerminatedAction, 'TerminatedAction', VOID, VOID, [Action]);
|
|
852
852
|
initMetadataForClass(FinishingGameMechanicAction, 'FinishingGameMechanicAction', VOID, MechanicAction, [MechanicAction, TerminatedAction, NotValidateIfGameFinishing]);
|
|
853
853
|
initMetadataForClass(FinishGameMechanicAction, 'FinishGameMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, TerminatedAction]);
|
|
854
854
|
initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
|
|
855
|
-
initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction,
|
|
855
|
+
initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerIdContract, NotValidateIfGameFinished]);
|
|
856
856
|
initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction, PlayerOrderChangeMechanicAction]);
|
|
857
857
|
initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
858
858
|
initMetadataForClass(MessageMechanicAction, 'MessageMechanicAction', VOID, MechanicAction, [MechanicAction, IgnoreBufferForAction]);
|
|
859
859
|
initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
860
|
-
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction,
|
|
861
|
-
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
862
|
-
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
863
|
-
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
864
|
-
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
860
|
+
initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
|
|
861
|
+
initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
862
|
+
initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
863
|
+
initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, InterceptableAction]);
|
|
864
|
+
initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
865
865
|
initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, InterceptableAction]);
|
|
866
866
|
initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, InterceptableAction]);
|
|
867
|
-
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action,
|
|
867
|
+
initMetadataForClass(TakeAllRemainingCardsMechanicAction, 'TakeAllRemainingCardsMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
|
|
868
868
|
initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, InterceptableAction]);
|
|
869
869
|
initMetadataForClass(ErrorAction, 'ErrorAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
|
|
870
870
|
function filterLivePlayers(store, playerIds, includeBots, $super) {
|
|
871
871
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
872
|
-
return $super === VOID ? this.
|
|
872
|
+
return $super === VOID ? this.e45(store, playerIds, includeBots) : $super.e45.call(this, store, playerIds, includeBots);
|
|
873
873
|
}
|
|
874
874
|
function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
|
|
875
875
|
includeBots = includeBots === VOID ? false : includeBots;
|
|
876
|
-
return $super === VOID ? this.
|
|
876
|
+
return $super === VOID ? this.f45(store, playerIds, includeBots) : $super.f45.call(this, store, playerIds, includeBots);
|
|
877
877
|
}
|
|
878
878
|
function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
|
|
879
879
|
league = league === VOID ? null : league;
|
|
880
|
-
return $super === VOID ? this.
|
|
880
|
+
return $super === VOID ? this.g45(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.g45.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
|
|
881
881
|
}
|
|
882
882
|
initMetadataForInterface(GameHelper, 'GameHelper');
|
|
883
883
|
initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
|
|
@@ -890,7 +890,7 @@
|
|
|
890
890
|
tmp = existingNicknames;
|
|
891
891
|
}
|
|
892
892
|
existingNicknames = tmp;
|
|
893
|
-
return $super === VOID ? this.
|
|
893
|
+
return $super === VOID ? this.k45(playerId, existingNicknames) : $super.k45.call(this, playerId, existingNicknames);
|
|
894
894
|
}
|
|
895
895
|
initMetadataForInterface(GameResources, 'GameResources');
|
|
896
896
|
initMetadataForCompanion(Companion_160);
|
|
@@ -35956,11 +35956,27 @@
|
|
|
35956
35956
|
return this.l43_1;
|
|
35957
35957
|
};
|
|
35958
35958
|
protoOf(PlayerConnectionChangedMechanicAction).p43 = function () {
|
|
35959
|
+
return this.originState.isClientDisconnectReason;
|
|
35960
|
+
};
|
|
35961
|
+
protoOf(PlayerConnectionChangedMechanicAction).q43 = function () {
|
|
35959
35962
|
var tmp;
|
|
35960
35963
|
if (this.state.isDisconnecting) {
|
|
35961
|
-
|
|
35964
|
+
// Inline function 'kotlin.requireNotNull' call
|
|
35965
|
+
var tmp0 = this.causeState;
|
|
35966
|
+
var tmp$ret$1;
|
|
35967
|
+
$l$block: {
|
|
35968
|
+
// Inline function 'kotlin.requireNotNull' call
|
|
35969
|
+
if (tmp0 == null) {
|
|
35970
|
+
var message = 'Required value was null.';
|
|
35971
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
35972
|
+
} else {
|
|
35973
|
+
tmp$ret$1 = tmp0;
|
|
35974
|
+
break $l$block;
|
|
35975
|
+
}
|
|
35976
|
+
}
|
|
35977
|
+
tmp = tmp$ret$1;
|
|
35962
35978
|
} else {
|
|
35963
|
-
tmp = this.state
|
|
35979
|
+
tmp = this.state;
|
|
35964
35980
|
}
|
|
35965
35981
|
return tmp;
|
|
35966
35982
|
};
|
|
@@ -36026,7 +36042,7 @@
|
|
|
36026
36042
|
protoOf(PlayerConnectionChangedMechanicAction).k1q = function () {
|
|
36027
36043
|
return this.l43_1;
|
|
36028
36044
|
};
|
|
36029
|
-
protoOf(PlayerConnectionChangedMechanicAction).
|
|
36045
|
+
protoOf(PlayerConnectionChangedMechanicAction).r43 = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) {
|
|
36030
36046
|
return new PlayerConnectionChangedMechanicAction(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
36031
36047
|
};
|
|
36032
36048
|
protoOf(PlayerConnectionChangedMechanicAction).copy = function (playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid, $super) {
|
|
@@ -36036,7 +36052,7 @@
|
|
|
36036
36052
|
isNoneActivePlayers = isNoneActivePlayers === VOID ? this.isNoneActivePlayers : isNoneActivePlayers;
|
|
36037
36053
|
reconnectUntilTime = reconnectUntilTime === VOID ? this.reconnectUntilTime : reconnectUntilTime;
|
|
36038
36054
|
aid = aid === VOID ? this.l43_1 : aid;
|
|
36039
|
-
return $super === VOID ? this.
|
|
36055
|
+
return $super === VOID ? this.r43(playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid) : $super.r43.call(this, playerId, state, causeState, isNoneActivePlayers, reconnectUntilTime, aid);
|
|
36040
36056
|
};
|
|
36041
36057
|
protoOf(PlayerConnectionChangedMechanicAction).hashCode = function () {
|
|
36042
36058
|
var result = getStringHashCode(this.playerId);
|
|
@@ -36070,34 +36086,34 @@
|
|
|
36070
36086
|
aid = aid === VOID ? null : aid;
|
|
36071
36087
|
MechanicAction.call(this);
|
|
36072
36088
|
this.message = message;
|
|
36073
|
-
this.
|
|
36089
|
+
this.s43_1 = aid;
|
|
36074
36090
|
}
|
|
36075
36091
|
protoOf(MessageMechanicAction).e = function () {
|
|
36076
36092
|
return this.message;
|
|
36077
36093
|
};
|
|
36078
36094
|
protoOf(MessageMechanicAction).u40 = function () {
|
|
36079
|
-
return this.
|
|
36095
|
+
return this.s43_1;
|
|
36080
36096
|
};
|
|
36081
36097
|
protoOf(MessageMechanicAction).sc = function () {
|
|
36082
36098
|
return this.message;
|
|
36083
36099
|
};
|
|
36084
36100
|
protoOf(MessageMechanicAction).tc = function () {
|
|
36085
|
-
return this.
|
|
36101
|
+
return this.s43_1;
|
|
36086
36102
|
};
|
|
36087
|
-
protoOf(MessageMechanicAction).
|
|
36103
|
+
protoOf(MessageMechanicAction).t43 = function (message, aid) {
|
|
36088
36104
|
return new MessageMechanicAction(message, aid);
|
|
36089
36105
|
};
|
|
36090
36106
|
protoOf(MessageMechanicAction).copy = function (message, aid, $super) {
|
|
36091
36107
|
message = message === VOID ? this.message : message;
|
|
36092
|
-
aid = aid === VOID ? this.
|
|
36093
|
-
return $super === VOID ? this.
|
|
36108
|
+
aid = aid === VOID ? this.s43_1 : aid;
|
|
36109
|
+
return $super === VOID ? this.t43(message, aid) : $super.t43.call(this, message, aid);
|
|
36094
36110
|
};
|
|
36095
36111
|
protoOf(MessageMechanicAction).toString = function () {
|
|
36096
|
-
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.
|
|
36112
|
+
return 'MessageMechanicAction(message=' + toString(this.message) + ', aid=' + this.s43_1 + ')';
|
|
36097
36113
|
};
|
|
36098
36114
|
protoOf(MessageMechanicAction).hashCode = function () {
|
|
36099
36115
|
var result = hashCode(this.message);
|
|
36100
|
-
result = imul(result, 31) + (this.
|
|
36116
|
+
result = imul(result, 31) + (this.s43_1 == null ? 0 : getStringHashCode(this.s43_1)) | 0;
|
|
36101
36117
|
return result;
|
|
36102
36118
|
};
|
|
36103
36119
|
protoOf(MessageMechanicAction).equals = function (other) {
|
|
@@ -36107,25 +36123,25 @@
|
|
|
36107
36123
|
return false;
|
|
36108
36124
|
if (!equals(this.message, other.message))
|
|
36109
36125
|
return false;
|
|
36110
|
-
if (!(this.
|
|
36126
|
+
if (!(this.s43_1 == other.s43_1))
|
|
36111
36127
|
return false;
|
|
36112
36128
|
return true;
|
|
36113
36129
|
};
|
|
36114
36130
|
function RestartGameMechanicAction(reason, aid) {
|
|
36115
36131
|
aid = aid === VOID ? null : aid;
|
|
36116
36132
|
MechanicAction.call(this);
|
|
36117
|
-
this.
|
|
36118
|
-
this.
|
|
36133
|
+
this.u43_1 = reason;
|
|
36134
|
+
this.v43_1 = aid;
|
|
36119
36135
|
}
|
|
36120
36136
|
protoOf(RestartGameMechanicAction).u40 = function () {
|
|
36121
|
-
return this.
|
|
36137
|
+
return this.v43_1;
|
|
36122
36138
|
};
|
|
36123
36139
|
protoOf(RestartGameMechanicAction).toString = function () {
|
|
36124
|
-
return 'RestartGameMechanicAction(reason=' + this.
|
|
36140
|
+
return 'RestartGameMechanicAction(reason=' + this.u43_1.toString() + ', aid=' + this.v43_1 + ')';
|
|
36125
36141
|
};
|
|
36126
36142
|
protoOf(RestartGameMechanicAction).hashCode = function () {
|
|
36127
|
-
var result = this.
|
|
36128
|
-
result = imul(result, 31) + (this.
|
|
36143
|
+
var result = this.u43_1.hashCode();
|
|
36144
|
+
result = imul(result, 31) + (this.v43_1 == null ? 0 : getStringHashCode(this.v43_1)) | 0;
|
|
36129
36145
|
return result;
|
|
36130
36146
|
};
|
|
36131
36147
|
protoOf(RestartGameMechanicAction).equals = function (other) {
|
|
@@ -36133,9 +36149,9 @@
|
|
|
36133
36149
|
return true;
|
|
36134
36150
|
if (!(other instanceof RestartGameMechanicAction))
|
|
36135
36151
|
return false;
|
|
36136
|
-
if (!this.
|
|
36152
|
+
if (!this.u43_1.equals(other.u43_1))
|
|
36137
36153
|
return false;
|
|
36138
|
-
if (!(this.
|
|
36154
|
+
if (!(this.v43_1 == other.v43_1))
|
|
36139
36155
|
return false;
|
|
36140
36156
|
return true;
|
|
36141
36157
|
};
|
|
@@ -36143,31 +36159,31 @@
|
|
|
36143
36159
|
actData = actData === VOID ? null : actData;
|
|
36144
36160
|
aid = aid === VOID ? null : aid;
|
|
36145
36161
|
MechanicAction.call(this);
|
|
36146
|
-
this.
|
|
36147
|
-
this.
|
|
36148
|
-
this.
|
|
36149
|
-
this.
|
|
36162
|
+
this.w43_1 = sceneId;
|
|
36163
|
+
this.x43_1 = actId;
|
|
36164
|
+
this.y43_1 = actData;
|
|
36165
|
+
this.z43_1 = aid;
|
|
36150
36166
|
}
|
|
36151
36167
|
protoOf(SceneActMechanicAction).o2t = function () {
|
|
36152
|
-
return this.
|
|
36168
|
+
return this.w43_1;
|
|
36153
36169
|
};
|
|
36154
36170
|
protoOf(SceneActMechanicAction).w2s = function () {
|
|
36155
|
-
return this.
|
|
36171
|
+
return this.x43_1;
|
|
36156
36172
|
};
|
|
36157
36173
|
protoOf(SceneActMechanicAction).v42 = function () {
|
|
36158
|
-
return this.
|
|
36174
|
+
return this.y43_1;
|
|
36159
36175
|
};
|
|
36160
36176
|
protoOf(SceneActMechanicAction).u40 = function () {
|
|
36161
|
-
return this.
|
|
36177
|
+
return this.z43_1;
|
|
36162
36178
|
};
|
|
36163
36179
|
protoOf(SceneActMechanicAction).toString = function () {
|
|
36164
|
-
return 'SceneActMechanicAction(sceneId=' + this.
|
|
36180
|
+
return 'SceneActMechanicAction(sceneId=' + this.w43_1 + ', actId=' + this.x43_1 + ', actData=' + toString_0(this.y43_1) + ', aid=' + this.z43_1 + ')';
|
|
36165
36181
|
};
|
|
36166
36182
|
protoOf(SceneActMechanicAction).hashCode = function () {
|
|
36167
|
-
var result = getStringHashCode(this.
|
|
36168
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36169
|
-
result = imul(result, 31) + (this.
|
|
36170
|
-
result = imul(result, 31) + (this.
|
|
36183
|
+
var result = getStringHashCode(this.w43_1);
|
|
36184
|
+
result = imul(result, 31) + getStringHashCode(this.x43_1) | 0;
|
|
36185
|
+
result = imul(result, 31) + (this.y43_1 == null ? 0 : hashCode(this.y43_1)) | 0;
|
|
36186
|
+
result = imul(result, 31) + (this.z43_1 == null ? 0 : getStringHashCode(this.z43_1)) | 0;
|
|
36171
36187
|
return result;
|
|
36172
36188
|
};
|
|
36173
36189
|
protoOf(SceneActMechanicAction).equals = function (other) {
|
|
@@ -36175,34 +36191,34 @@
|
|
|
36175
36191
|
return true;
|
|
36176
36192
|
if (!(other instanceof SceneActMechanicAction))
|
|
36177
36193
|
return false;
|
|
36178
|
-
if (!(this.v43_1 === other.v43_1))
|
|
36179
|
-
return false;
|
|
36180
36194
|
if (!(this.w43_1 === other.w43_1))
|
|
36181
36195
|
return false;
|
|
36182
|
-
if (!
|
|
36196
|
+
if (!(this.x43_1 === other.x43_1))
|
|
36197
|
+
return false;
|
|
36198
|
+
if (!equals(this.y43_1, other.y43_1))
|
|
36183
36199
|
return false;
|
|
36184
|
-
if (!(this.
|
|
36200
|
+
if (!(this.z43_1 == other.z43_1))
|
|
36185
36201
|
return false;
|
|
36186
36202
|
return true;
|
|
36187
36203
|
};
|
|
36188
36204
|
function PlayerReadyMechanicAction(currentTurnPlayerId, aid) {
|
|
36189
36205
|
aid = aid === VOID ? null : aid;
|
|
36190
36206
|
MechanicAction.call(this);
|
|
36191
|
-
this.
|
|
36192
|
-
this.
|
|
36207
|
+
this.a44_1 = currentTurnPlayerId;
|
|
36208
|
+
this.b44_1 = aid;
|
|
36193
36209
|
}
|
|
36194
36210
|
protoOf(PlayerReadyMechanicAction).u40 = function () {
|
|
36195
|
-
return this.
|
|
36211
|
+
return this.b44_1;
|
|
36196
36212
|
};
|
|
36197
36213
|
protoOf(PlayerReadyMechanicAction).o1p = function () {
|
|
36198
|
-
return this.
|
|
36214
|
+
return this.a44_1;
|
|
36199
36215
|
};
|
|
36200
36216
|
protoOf(PlayerReadyMechanicAction).toString = function () {
|
|
36201
|
-
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.
|
|
36217
|
+
return 'PlayerReadyMechanicAction(currentTurnPlayerId=' + this.a44_1 + ', aid=' + this.b44_1 + ')';
|
|
36202
36218
|
};
|
|
36203
36219
|
protoOf(PlayerReadyMechanicAction).hashCode = function () {
|
|
36204
|
-
var result = getStringHashCode(this.
|
|
36205
|
-
result = imul(result, 31) + (this.
|
|
36220
|
+
var result = getStringHashCode(this.a44_1);
|
|
36221
|
+
result = imul(result, 31) + (this.b44_1 == null ? 0 : getStringHashCode(this.b44_1)) | 0;
|
|
36206
36222
|
return result;
|
|
36207
36223
|
};
|
|
36208
36224
|
protoOf(PlayerReadyMechanicAction).equals = function (other) {
|
|
@@ -36210,9 +36226,9 @@
|
|
|
36210
36226
|
return true;
|
|
36211
36227
|
if (!(other instanceof PlayerReadyMechanicAction))
|
|
36212
36228
|
return false;
|
|
36213
|
-
if (!(this.
|
|
36229
|
+
if (!(this.a44_1 === other.a44_1))
|
|
36214
36230
|
return false;
|
|
36215
|
-
if (!(this.
|
|
36231
|
+
if (!(this.b44_1 == other.b44_1))
|
|
36216
36232
|
return false;
|
|
36217
36233
|
return true;
|
|
36218
36234
|
};
|
|
@@ -36220,27 +36236,27 @@
|
|
|
36220
36236
|
restartRound = restartRound === VOID ? false : restartRound;
|
|
36221
36237
|
aid = aid === VOID ? null : aid;
|
|
36222
36238
|
MechanicAction.call(this);
|
|
36223
|
-
this.
|
|
36224
|
-
this.
|
|
36225
|
-
this.
|
|
36226
|
-
this.
|
|
36227
|
-
this.
|
|
36239
|
+
this.c44_1 = suit;
|
|
36240
|
+
this.d44_1 = restartRound;
|
|
36241
|
+
this.e44_1 = currentTurnPlayerId;
|
|
36242
|
+
this.f44_1 = nextTurnPlayerIds;
|
|
36243
|
+
this.g44_1 = aid;
|
|
36228
36244
|
}
|
|
36229
36245
|
protoOf(SuitChoiceMechanicAction).u40 = function () {
|
|
36230
|
-
return this.
|
|
36246
|
+
return this.g44_1;
|
|
36231
36247
|
};
|
|
36232
36248
|
protoOf(SuitChoiceMechanicAction).o1p = function () {
|
|
36233
|
-
return this.
|
|
36249
|
+
return this.e44_1;
|
|
36234
36250
|
};
|
|
36235
36251
|
protoOf(SuitChoiceMechanicAction).toString = function () {
|
|
36236
|
-
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.
|
|
36252
|
+
return 'SuitChoiceMechanicAction(suit=' + toString_0(this.c44_1) + ', restartRound=' + this.d44_1 + ', currentTurnPlayerId=' + this.e44_1 + ', nextTurnPlayerIds=' + toString(this.f44_1) + ', aid=' + this.g44_1 + ')';
|
|
36237
36253
|
};
|
|
36238
36254
|
protoOf(SuitChoiceMechanicAction).hashCode = function () {
|
|
36239
|
-
var result = this.
|
|
36240
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36241
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36242
|
-
result = imul(result, 31) + hashCode(this.
|
|
36243
|
-
result = imul(result, 31) + (this.
|
|
36255
|
+
var result = this.c44_1 == null ? 0 : this.c44_1.hashCode();
|
|
36256
|
+
result = imul(result, 31) + getBooleanHashCode(this.d44_1) | 0;
|
|
36257
|
+
result = imul(result, 31) + getStringHashCode(this.e44_1) | 0;
|
|
36258
|
+
result = imul(result, 31) + hashCode(this.f44_1) | 0;
|
|
36259
|
+
result = imul(result, 31) + (this.g44_1 == null ? 0 : getStringHashCode(this.g44_1)) | 0;
|
|
36244
36260
|
return result;
|
|
36245
36261
|
};
|
|
36246
36262
|
protoOf(SuitChoiceMechanicAction).equals = function (other) {
|
|
@@ -36248,43 +36264,43 @@
|
|
|
36248
36264
|
return true;
|
|
36249
36265
|
if (!(other instanceof SuitChoiceMechanicAction))
|
|
36250
36266
|
return false;
|
|
36251
|
-
if (!equals(this.
|
|
36252
|
-
return false;
|
|
36253
|
-
if (!(this.c44_1 === other.c44_1))
|
|
36267
|
+
if (!equals(this.c44_1, other.c44_1))
|
|
36254
36268
|
return false;
|
|
36255
36269
|
if (!(this.d44_1 === other.d44_1))
|
|
36256
36270
|
return false;
|
|
36257
|
-
if (!
|
|
36271
|
+
if (!(this.e44_1 === other.e44_1))
|
|
36258
36272
|
return false;
|
|
36259
|
-
if (!(this.f44_1
|
|
36273
|
+
if (!equals(this.f44_1, other.f44_1))
|
|
36274
|
+
return false;
|
|
36275
|
+
if (!(this.g44_1 == other.g44_1))
|
|
36260
36276
|
return false;
|
|
36261
36277
|
return true;
|
|
36262
36278
|
};
|
|
36263
36279
|
function CombinationChoiceMechanicAction(isAnnounced, combinations, currentTurnPlayerId, aid) {
|
|
36264
36280
|
aid = aid === VOID ? null : aid;
|
|
36265
36281
|
MechanicAction.call(this);
|
|
36266
|
-
this.
|
|
36267
|
-
this.
|
|
36268
|
-
this.
|
|
36269
|
-
this.
|
|
36282
|
+
this.h44_1 = isAnnounced;
|
|
36283
|
+
this.i44_1 = combinations;
|
|
36284
|
+
this.j44_1 = currentTurnPlayerId;
|
|
36285
|
+
this.k44_1 = aid;
|
|
36270
36286
|
}
|
|
36271
36287
|
protoOf(CombinationChoiceMechanicAction).u40 = function () {
|
|
36272
|
-
return this.
|
|
36288
|
+
return this.k44_1;
|
|
36273
36289
|
};
|
|
36274
36290
|
protoOf(CombinationChoiceMechanicAction).k1v = function () {
|
|
36275
36291
|
return true;
|
|
36276
36292
|
};
|
|
36277
36293
|
protoOf(CombinationChoiceMechanicAction).o1p = function () {
|
|
36278
|
-
return this.
|
|
36294
|
+
return this.j44_1;
|
|
36279
36295
|
};
|
|
36280
36296
|
protoOf(CombinationChoiceMechanicAction).toString = function () {
|
|
36281
|
-
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.
|
|
36297
|
+
return 'CombinationChoiceMechanicAction(isAnnounced=' + this.h44_1 + ', combinations=' + toString(this.i44_1) + ', currentTurnPlayerId=' + this.j44_1 + ', aid=' + this.k44_1 + ')';
|
|
36282
36298
|
};
|
|
36283
36299
|
protoOf(CombinationChoiceMechanicAction).hashCode = function () {
|
|
36284
|
-
var result = getBooleanHashCode(this.
|
|
36285
|
-
result = imul(result, 31) + hashCode(this.
|
|
36286
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36287
|
-
result = imul(result, 31) + (this.
|
|
36300
|
+
var result = getBooleanHashCode(this.h44_1);
|
|
36301
|
+
result = imul(result, 31) + hashCode(this.i44_1) | 0;
|
|
36302
|
+
result = imul(result, 31) + getStringHashCode(this.j44_1) | 0;
|
|
36303
|
+
result = imul(result, 31) + (this.k44_1 == null ? 0 : getStringHashCode(this.k44_1)) | 0;
|
|
36288
36304
|
return result;
|
|
36289
36305
|
};
|
|
36290
36306
|
protoOf(CombinationChoiceMechanicAction).equals = function (other) {
|
|
@@ -36292,13 +36308,13 @@
|
|
|
36292
36308
|
return true;
|
|
36293
36309
|
if (!(other instanceof CombinationChoiceMechanicAction))
|
|
36294
36310
|
return false;
|
|
36295
|
-
if (!(this.
|
|
36311
|
+
if (!(this.h44_1 === other.h44_1))
|
|
36296
36312
|
return false;
|
|
36297
|
-
if (!equals(this.
|
|
36313
|
+
if (!equals(this.i44_1, other.i44_1))
|
|
36298
36314
|
return false;
|
|
36299
|
-
if (!(this.
|
|
36315
|
+
if (!(this.j44_1 === other.j44_1))
|
|
36300
36316
|
return false;
|
|
36301
|
-
if (!(this.
|
|
36317
|
+
if (!(this.k44_1 == other.k44_1))
|
|
36302
36318
|
return false;
|
|
36303
36319
|
return true;
|
|
36304
36320
|
};
|
|
@@ -36306,36 +36322,36 @@
|
|
|
36306
36322
|
combinations = combinations === VOID ? null : combinations;
|
|
36307
36323
|
aid = aid === VOID ? null : aid;
|
|
36308
36324
|
MechanicAction.call(this);
|
|
36309
|
-
this.
|
|
36310
|
-
this.
|
|
36311
|
-
this.
|
|
36312
|
-
this.
|
|
36313
|
-
this.
|
|
36314
|
-
this.
|
|
36325
|
+
this.l44_1 = card;
|
|
36326
|
+
this.m44_1 = combinations;
|
|
36327
|
+
this.n44_1 = canNextPlayerTakeAllCards;
|
|
36328
|
+
this.o44_1 = currentTurnPlayerId;
|
|
36329
|
+
this.p44_1 = nextTurnPlayerIds;
|
|
36330
|
+
this.q44_1 = aid;
|
|
36315
36331
|
}
|
|
36316
36332
|
protoOf(PutCardMechanicAction).u40 = function () {
|
|
36317
|
-
return this.
|
|
36333
|
+
return this.q44_1;
|
|
36318
36334
|
};
|
|
36319
36335
|
protoOf(PutCardMechanicAction).o1p = function () {
|
|
36320
|
-
return this.
|
|
36336
|
+
return this.o44_1;
|
|
36321
36337
|
};
|
|
36322
36338
|
protoOf(PutCardMechanicAction).toString = function () {
|
|
36323
|
-
var tmp = "currentTurnPlayerId='" + this.
|
|
36339
|
+
var tmp = "currentTurnPlayerId='" + this.o44_1 + "'";
|
|
36324
36340
|
// Inline function 'kotlin.takeIf' call
|
|
36325
|
-
var this_0 = 'nextTurnPlayerIds=' + toString(this.
|
|
36341
|
+
var this_0 = 'nextTurnPlayerIds=' + toString(this.p44_1);
|
|
36326
36342
|
var tmp_0;
|
|
36327
36343
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
36328
|
-
if (!this.
|
|
36344
|
+
if (!this.p44_1.r()) {
|
|
36329
36345
|
tmp_0 = this_0;
|
|
36330
36346
|
} else {
|
|
36331
36347
|
tmp_0 = null;
|
|
36332
36348
|
}
|
|
36333
36349
|
var tmp_1 = tmp_0;
|
|
36334
|
-
var tmp_2 = 'card=' + this.
|
|
36350
|
+
var tmp_2 = 'card=' + this.l44_1.toString();
|
|
36335
36351
|
// Inline function 'kotlin.takeIf' call
|
|
36336
|
-
var this_1 = 'combinations=' + toString_0(this.
|
|
36352
|
+
var this_1 = 'combinations=' + toString_0(this.m44_1);
|
|
36337
36353
|
var tmp_3;
|
|
36338
|
-
var tmp0_safe_receiver = this.
|
|
36354
|
+
var tmp0_safe_receiver = this.m44_1;
|
|
36339
36355
|
var tmp_4;
|
|
36340
36356
|
if (tmp0_safe_receiver == null) {
|
|
36341
36357
|
tmp_4 = null;
|
|
@@ -36350,9 +36366,9 @@
|
|
|
36350
36366
|
}
|
|
36351
36367
|
var tmp_5 = tmp_3;
|
|
36352
36368
|
// Inline function 'kotlin.takeIf' call
|
|
36353
|
-
var this_2 = 'aid=' + this.
|
|
36369
|
+
var this_2 = 'aid=' + this.q44_1;
|
|
36354
36370
|
var tmp_6;
|
|
36355
|
-
if (!(this.
|
|
36371
|
+
if (!(this.q44_1 == null)) {
|
|
36356
36372
|
tmp_6 = this_2;
|
|
36357
36373
|
} else {
|
|
36358
36374
|
tmp_6 = null;
|
|
@@ -36361,12 +36377,12 @@
|
|
|
36361
36377
|
return 'PutCardMechanicAction(' + joinToString(listOfNotNull([tmp, tmp_1, tmp_2, tmp_5, tmp$ret$7])) + ')';
|
|
36362
36378
|
};
|
|
36363
36379
|
protoOf(PutCardMechanicAction).hashCode = function () {
|
|
36364
|
-
var result = this.
|
|
36365
|
-
result = imul(result, 31) + (this.
|
|
36366
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36367
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
36368
|
-
result = imul(result, 31) + hashCode(this.
|
|
36369
|
-
result = imul(result, 31) + (this.
|
|
36380
|
+
var result = this.l44_1.hashCode();
|
|
36381
|
+
result = imul(result, 31) + (this.m44_1 == null ? 0 : hashCode(this.m44_1)) | 0;
|
|
36382
|
+
result = imul(result, 31) + getBooleanHashCode(this.n44_1) | 0;
|
|
36383
|
+
result = imul(result, 31) + getStringHashCode(this.o44_1) | 0;
|
|
36384
|
+
result = imul(result, 31) + hashCode(this.p44_1) | 0;
|
|
36385
|
+
result = imul(result, 31) + (this.q44_1 == null ? 0 : getStringHashCode(this.q44_1)) | 0;
|
|
36370
36386
|
return result;
|
|
36371
36387
|
};
|
|
36372
36388
|
protoOf(PutCardMechanicAction).equals = function (other) {
|
|
@@ -36374,35 +36390,35 @@
|
|
|
36374
36390
|
return true;
|
|
36375
36391
|
if (!(other instanceof PutCardMechanicAction))
|
|
36376
36392
|
return false;
|
|
36377
|
-
if (!this.
|
|
36378
|
-
return false;
|
|
36379
|
-
if (!equals(this.l44_1, other.l44_1))
|
|
36393
|
+
if (!this.l44_1.equals(other.l44_1))
|
|
36380
36394
|
return false;
|
|
36381
|
-
if (!(this.m44_1
|
|
36395
|
+
if (!equals(this.m44_1, other.m44_1))
|
|
36382
36396
|
return false;
|
|
36383
36397
|
if (!(this.n44_1 === other.n44_1))
|
|
36384
36398
|
return false;
|
|
36385
|
-
if (!
|
|
36399
|
+
if (!(this.o44_1 === other.o44_1))
|
|
36386
36400
|
return false;
|
|
36387
|
-
if (!(this.p44_1
|
|
36401
|
+
if (!equals(this.p44_1, other.p44_1))
|
|
36402
|
+
return false;
|
|
36403
|
+
if (!(this.q44_1 == other.q44_1))
|
|
36388
36404
|
return false;
|
|
36389
36405
|
return true;
|
|
36390
36406
|
};
|
|
36391
36407
|
function TrumpMechanicAction(suit, aid) {
|
|
36392
36408
|
aid = aid === VOID ? null : aid;
|
|
36393
36409
|
MechanicAction.call(this);
|
|
36394
|
-
this.
|
|
36395
|
-
this.
|
|
36410
|
+
this.r44_1 = suit;
|
|
36411
|
+
this.s44_1 = aid;
|
|
36396
36412
|
}
|
|
36397
36413
|
protoOf(TrumpMechanicAction).u40 = function () {
|
|
36398
|
-
return this.
|
|
36414
|
+
return this.s44_1;
|
|
36399
36415
|
};
|
|
36400
36416
|
protoOf(TrumpMechanicAction).toString = function () {
|
|
36401
|
-
return 'TrumpMechanicAction(suit=' + this.
|
|
36417
|
+
return 'TrumpMechanicAction(suit=' + this.r44_1.toString() + ', aid=' + this.s44_1 + ')';
|
|
36402
36418
|
};
|
|
36403
36419
|
protoOf(TrumpMechanicAction).hashCode = function () {
|
|
36404
|
-
var result = this.
|
|
36405
|
-
result = imul(result, 31) + (this.
|
|
36420
|
+
var result = this.r44_1.hashCode();
|
|
36421
|
+
result = imul(result, 31) + (this.s44_1 == null ? 0 : getStringHashCode(this.s44_1)) | 0;
|
|
36406
36422
|
return result;
|
|
36407
36423
|
};
|
|
36408
36424
|
protoOf(TrumpMechanicAction).equals = function (other) {
|
|
@@ -36410,34 +36426,34 @@
|
|
|
36410
36426
|
return true;
|
|
36411
36427
|
if (!(other instanceof TrumpMechanicAction))
|
|
36412
36428
|
return false;
|
|
36413
|
-
if (!this.
|
|
36429
|
+
if (!this.r44_1.equals(other.r44_1))
|
|
36414
36430
|
return false;
|
|
36415
|
-
if (!(this.
|
|
36431
|
+
if (!(this.s44_1 == other.s44_1))
|
|
36416
36432
|
return false;
|
|
36417
36433
|
return true;
|
|
36418
36434
|
};
|
|
36419
36435
|
function PickUpBribeMechanicAction(whoGotBribePlayerId, numberOfBribe, canNextPlayerTakeAllCards, aid) {
|
|
36420
36436
|
aid = aid === VOID ? null : aid;
|
|
36421
36437
|
MechanicAction.call(this);
|
|
36422
|
-
this.
|
|
36423
|
-
this.
|
|
36424
|
-
this.
|
|
36425
|
-
this.
|
|
36438
|
+
this.t44_1 = whoGotBribePlayerId;
|
|
36439
|
+
this.u44_1 = numberOfBribe;
|
|
36440
|
+
this.v44_1 = canNextPlayerTakeAllCards;
|
|
36441
|
+
this.w44_1 = aid;
|
|
36426
36442
|
}
|
|
36427
36443
|
protoOf(PickUpBribeMechanicAction).u40 = function () {
|
|
36428
|
-
return this.
|
|
36444
|
+
return this.w44_1;
|
|
36429
36445
|
};
|
|
36430
36446
|
protoOf(PickUpBribeMechanicAction).k1v = function () {
|
|
36431
36447
|
return true;
|
|
36432
36448
|
};
|
|
36433
36449
|
protoOf(PickUpBribeMechanicAction).toString = function () {
|
|
36434
|
-
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.
|
|
36450
|
+
return 'PickUpBribeMechanicAction(whoGotBribePlayerId=' + this.t44_1 + ', numberOfBribe=' + this.u44_1 + ', canNextPlayerTakeAllCards=' + this.v44_1 + ', aid=' + this.w44_1 + ')';
|
|
36435
36451
|
};
|
|
36436
36452
|
protoOf(PickUpBribeMechanicAction).hashCode = function () {
|
|
36437
|
-
var result = getStringHashCode(this.
|
|
36438
|
-
result = imul(result, 31) + this.
|
|
36439
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
36440
|
-
result = imul(result, 31) + (this.
|
|
36453
|
+
var result = getStringHashCode(this.t44_1);
|
|
36454
|
+
result = imul(result, 31) + this.u44_1 | 0;
|
|
36455
|
+
result = imul(result, 31) + getBooleanHashCode(this.v44_1) | 0;
|
|
36456
|
+
result = imul(result, 31) + (this.w44_1 == null ? 0 : getStringHashCode(this.w44_1)) | 0;
|
|
36441
36457
|
return result;
|
|
36442
36458
|
};
|
|
36443
36459
|
protoOf(PickUpBribeMechanicAction).equals = function (other) {
|
|
@@ -36445,36 +36461,36 @@
|
|
|
36445
36461
|
return true;
|
|
36446
36462
|
if (!(other instanceof PickUpBribeMechanicAction))
|
|
36447
36463
|
return false;
|
|
36448
|
-
if (!(this.s44_1 === other.s44_1))
|
|
36449
|
-
return false;
|
|
36450
36464
|
if (!(this.t44_1 === other.t44_1))
|
|
36451
36465
|
return false;
|
|
36452
36466
|
if (!(this.u44_1 === other.u44_1))
|
|
36453
36467
|
return false;
|
|
36454
|
-
if (!(this.v44_1
|
|
36468
|
+
if (!(this.v44_1 === other.v44_1))
|
|
36469
|
+
return false;
|
|
36470
|
+
if (!(this.w44_1 == other.w44_1))
|
|
36455
36471
|
return false;
|
|
36456
36472
|
return true;
|
|
36457
36473
|
};
|
|
36458
36474
|
function TakeAllRemainingCardsMechanicAction(currentTurnPlayerId, playersCards, aid) {
|
|
36459
36475
|
aid = aid === VOID ? null : aid;
|
|
36460
36476
|
MechanicAction.call(this);
|
|
36461
|
-
this.
|
|
36462
|
-
this.
|
|
36463
|
-
this.
|
|
36477
|
+
this.x44_1 = currentTurnPlayerId;
|
|
36478
|
+
this.y44_1 = playersCards;
|
|
36479
|
+
this.z44_1 = aid;
|
|
36464
36480
|
}
|
|
36465
36481
|
protoOf(TakeAllRemainingCardsMechanicAction).u40 = function () {
|
|
36466
|
-
return this.
|
|
36482
|
+
return this.z44_1;
|
|
36467
36483
|
};
|
|
36468
36484
|
protoOf(TakeAllRemainingCardsMechanicAction).o1p = function () {
|
|
36469
|
-
return this.
|
|
36485
|
+
return this.x44_1;
|
|
36470
36486
|
};
|
|
36471
36487
|
protoOf(TakeAllRemainingCardsMechanicAction).toString = function () {
|
|
36472
|
-
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.
|
|
36488
|
+
return 'TakeAllRemainingCardsMechanicAction(currentTurnPlayerId=' + this.x44_1 + ', playersCards=' + toString(this.y44_1) + ', aid=' + this.z44_1 + ')';
|
|
36473
36489
|
};
|
|
36474
36490
|
protoOf(TakeAllRemainingCardsMechanicAction).hashCode = function () {
|
|
36475
|
-
var result = getStringHashCode(this.
|
|
36476
|
-
result = imul(result, 31) + hashCode(this.
|
|
36477
|
-
result = imul(result, 31) + (this.
|
|
36491
|
+
var result = getStringHashCode(this.x44_1);
|
|
36492
|
+
result = imul(result, 31) + hashCode(this.y44_1) | 0;
|
|
36493
|
+
result = imul(result, 31) + (this.z44_1 == null ? 0 : getStringHashCode(this.z44_1)) | 0;
|
|
36478
36494
|
return result;
|
|
36479
36495
|
};
|
|
36480
36496
|
protoOf(TakeAllRemainingCardsMechanicAction).equals = function (other) {
|
|
@@ -36482,32 +36498,32 @@
|
|
|
36482
36498
|
return true;
|
|
36483
36499
|
if (!(other instanceof TakeAllRemainingCardsMechanicAction))
|
|
36484
36500
|
return false;
|
|
36485
|
-
if (!(this.
|
|
36501
|
+
if (!(this.x44_1 === other.x44_1))
|
|
36486
36502
|
return false;
|
|
36487
|
-
if (!equals(this.
|
|
36503
|
+
if (!equals(this.y44_1, other.y44_1))
|
|
36488
36504
|
return false;
|
|
36489
|
-
if (!(this.
|
|
36505
|
+
if (!(this.z44_1 == other.z44_1))
|
|
36490
36506
|
return false;
|
|
36491
36507
|
return true;
|
|
36492
36508
|
};
|
|
36493
36509
|
function WinnerCombinationsMechanicAction(winnerCombinations, aid) {
|
|
36494
36510
|
aid = aid === VOID ? null : aid;
|
|
36495
36511
|
MechanicAction.call(this);
|
|
36496
|
-
this.
|
|
36497
|
-
this.
|
|
36512
|
+
this.a45_1 = winnerCombinations;
|
|
36513
|
+
this.b45_1 = aid;
|
|
36498
36514
|
}
|
|
36499
36515
|
protoOf(WinnerCombinationsMechanicAction).u40 = function () {
|
|
36500
|
-
return this.
|
|
36516
|
+
return this.b45_1;
|
|
36501
36517
|
};
|
|
36502
36518
|
protoOf(WinnerCombinationsMechanicAction).k1v = function () {
|
|
36503
36519
|
return true;
|
|
36504
36520
|
};
|
|
36505
36521
|
protoOf(WinnerCombinationsMechanicAction).toString = function () {
|
|
36506
|
-
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.
|
|
36522
|
+
return 'WinnerCombinationsMechanicAction(winnerCombinations=' + toString(this.a45_1) + ', aid=' + this.b45_1 + ')';
|
|
36507
36523
|
};
|
|
36508
36524
|
protoOf(WinnerCombinationsMechanicAction).hashCode = function () {
|
|
36509
|
-
var result = hashCode(this.
|
|
36510
|
-
result = imul(result, 31) + (this.
|
|
36525
|
+
var result = hashCode(this.a45_1);
|
|
36526
|
+
result = imul(result, 31) + (this.b45_1 == null ? 0 : getStringHashCode(this.b45_1)) | 0;
|
|
36511
36527
|
return result;
|
|
36512
36528
|
};
|
|
36513
36529
|
protoOf(WinnerCombinationsMechanicAction).equals = function (other) {
|
|
@@ -36515,27 +36531,27 @@
|
|
|
36515
36531
|
return true;
|
|
36516
36532
|
if (!(other instanceof WinnerCombinationsMechanicAction))
|
|
36517
36533
|
return false;
|
|
36518
|
-
if (!equals(this.
|
|
36534
|
+
if (!equals(this.a45_1, other.a45_1))
|
|
36519
36535
|
return false;
|
|
36520
|
-
if (!(this.
|
|
36536
|
+
if (!(this.b45_1 == other.b45_1))
|
|
36521
36537
|
return false;
|
|
36522
36538
|
return true;
|
|
36523
36539
|
};
|
|
36524
36540
|
function ErrorAction(error, aid) {
|
|
36525
36541
|
aid = aid === VOID ? null : aid;
|
|
36526
36542
|
MechanicAction.call(this);
|
|
36527
|
-
this.
|
|
36528
|
-
this.
|
|
36543
|
+
this.c45_1 = error;
|
|
36544
|
+
this.d45_1 = aid;
|
|
36529
36545
|
}
|
|
36530
36546
|
protoOf(ErrorAction).u40 = function () {
|
|
36531
|
-
return this.
|
|
36547
|
+
return this.d45_1;
|
|
36532
36548
|
};
|
|
36533
36549
|
protoOf(ErrorAction).toString = function () {
|
|
36534
|
-
return 'ErrorAction(error=' + this.
|
|
36550
|
+
return 'ErrorAction(error=' + this.c45_1.toString() + ', aid=' + this.d45_1 + ')';
|
|
36535
36551
|
};
|
|
36536
36552
|
protoOf(ErrorAction).hashCode = function () {
|
|
36537
|
-
var result = this.
|
|
36538
|
-
result = imul(result, 31) + (this.
|
|
36553
|
+
var result = this.c45_1.hashCode();
|
|
36554
|
+
result = imul(result, 31) + (this.d45_1 == null ? 0 : getStringHashCode(this.d45_1)) | 0;
|
|
36539
36555
|
return result;
|
|
36540
36556
|
};
|
|
36541
36557
|
protoOf(ErrorAction).equals = function (other) {
|
|
@@ -36543,9 +36559,9 @@
|
|
|
36543
36559
|
return true;
|
|
36544
36560
|
if (!(other instanceof ErrorAction))
|
|
36545
36561
|
return false;
|
|
36546
|
-
if (!this.
|
|
36562
|
+
if (!this.c45_1.equals(other.c45_1))
|
|
36547
36563
|
return false;
|
|
36548
|
-
if (!(this.
|
|
36564
|
+
if (!(this.d45_1 == other.d45_1))
|
|
36549
36565
|
return false;
|
|
36550
36566
|
return true;
|
|
36551
36567
|
};
|
|
@@ -37078,9 +37094,9 @@
|
|
|
37078
37094
|
}
|
|
37079
37095
|
}
|
|
37080
37096
|
function GameHelperImpl(logger) {
|
|
37081
|
-
this.
|
|
37097
|
+
this.h45_1 = logger;
|
|
37082
37098
|
}
|
|
37083
|
-
protoOf(GameHelperImpl).
|
|
37099
|
+
protoOf(GameHelperImpl).e45 = function (store, playerIds, includeBots) {
|
|
37084
37100
|
var state = store.state;
|
|
37085
37101
|
var tmp;
|
|
37086
37102
|
if (!state.x2e()) {
|
|
@@ -37126,7 +37142,7 @@
|
|
|
37126
37142
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37127
37143
|
return copyToArray(destination_1);
|
|
37128
37144
|
};
|
|
37129
|
-
protoOf(GameHelperImpl).
|
|
37145
|
+
protoOf(GameHelperImpl).f45 = function (store, playerIds, includeBots) {
|
|
37130
37146
|
var state = store.state;
|
|
37131
37147
|
var tmp;
|
|
37132
37148
|
if (!state.x2e()) {
|
|
@@ -37297,10 +37313,10 @@
|
|
|
37297
37313
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37298
37314
|
return copyToArray(destination);
|
|
37299
37315
|
};
|
|
37300
|
-
protoOf(GameHelperImpl).
|
|
37316
|
+
protoOf(GameHelperImpl).g45 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
|
|
37301
37317
|
var roomMode = mapToRoomMode(mode);
|
|
37302
37318
|
var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
|
|
37303
|
-
this.
|
|
37319
|
+
this.h45_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
|
|
37304
37320
|
var options = Companion_instance_153.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
|
|
37305
37321
|
var playersMode = this.mapPlayers(players);
|
|
37306
37322
|
var pointsMode = this.mapPoints(points);
|
|
@@ -37735,40 +37751,40 @@
|
|
|
37735
37751
|
function getRandomAvatarData_0($this) {
|
|
37736
37752
|
var avatarSetNumber = Default_getInstance().wd(get_entries_5().o());
|
|
37737
37753
|
var avatarSet = get_entries_5().p(avatarSetNumber);
|
|
37738
|
-
return new AvatarData(Default_getInstance().wd(avatarSet.
|
|
37754
|
+
return new AvatarData(Default_getInstance().wd(avatarSet.n45()), avatarSet);
|
|
37739
37755
|
}
|
|
37740
37756
|
function getAvatarUrlByIndex($this, data) {
|
|
37741
37757
|
return mapToPattern($this, data);
|
|
37742
37758
|
}
|
|
37743
37759
|
function getNicknameByIndex($this, data) {
|
|
37744
|
-
return data.
|
|
37760
|
+
return data.p45_1.q45(data.o45_1);
|
|
37745
37761
|
}
|
|
37746
37762
|
function mapToPattern($this, data) {
|
|
37747
|
-
return 'debertz://raspberry.games/' + data.
|
|
37763
|
+
return 'debertz://raspberry.games/' + data.p45_1.h2_1 + '/' + data.o45_1;
|
|
37748
37764
|
}
|
|
37749
37765
|
function Companion_160() {
|
|
37750
37766
|
Companion_instance_164 = this;
|
|
37751
|
-
this.
|
|
37767
|
+
this.r45_1 = 'debertz://raspberry.games';
|
|
37752
37768
|
var tmp = this;
|
|
37753
37769
|
// Inline function 'kotlin.arrayOf' call
|
|
37754
37770
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37755
37771
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37756
|
-
tmp.
|
|
37772
|
+
tmp.s45_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
|
|
37757
37773
|
var tmp_0 = this;
|
|
37758
37774
|
// Inline function 'kotlin.arrayOf' call
|
|
37759
37775
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37760
37776
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37761
|
-
tmp_0.
|
|
37777
|
+
tmp_0.t45_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'];
|
|
37762
37778
|
var tmp_1 = this;
|
|
37763
37779
|
// Inline function 'kotlin.arrayOf' call
|
|
37764
37780
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37765
37781
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37766
|
-
tmp_1.
|
|
37782
|
+
tmp_1.u45_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
|
|
37767
37783
|
var tmp_2 = this;
|
|
37768
37784
|
// Inline function 'kotlin.arrayOf' call
|
|
37769
37785
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
37770
37786
|
// Inline function 'kotlin.js.asDynamic' call
|
|
37771
|
-
tmp_2.
|
|
37787
|
+
tmp_2.v45_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'];
|
|
37772
37788
|
}
|
|
37773
37789
|
var Companion_instance_164;
|
|
37774
37790
|
function Companion_getInstance_167() {
|
|
@@ -37779,14 +37795,14 @@
|
|
|
37779
37795
|
function AvatarSet(name, ordinal) {
|
|
37780
37796
|
Enum.call(this, name, ordinal);
|
|
37781
37797
|
}
|
|
37782
|
-
protoOf(AvatarSet).
|
|
37798
|
+
protoOf(AvatarSet).n45 = function () {
|
|
37783
37799
|
var tmp;
|
|
37784
37800
|
switch (this.h2_1) {
|
|
37785
37801
|
case 0:
|
|
37786
|
-
tmp = Companion_getInstance_167().
|
|
37802
|
+
tmp = Companion_getInstance_167().t45_1.length;
|
|
37787
37803
|
break;
|
|
37788
37804
|
case 1:
|
|
37789
|
-
tmp = Companion_getInstance_167().
|
|
37805
|
+
tmp = Companion_getInstance_167().v45_1.length;
|
|
37790
37806
|
break;
|
|
37791
37807
|
default:
|
|
37792
37808
|
noWhenBranchMatchedException();
|
|
@@ -37794,14 +37810,14 @@
|
|
|
37794
37810
|
}
|
|
37795
37811
|
return tmp;
|
|
37796
37812
|
};
|
|
37797
|
-
protoOf(AvatarSet).
|
|
37813
|
+
protoOf(AvatarSet).q45 = function (index) {
|
|
37798
37814
|
var tmp;
|
|
37799
37815
|
switch (this.h2_1) {
|
|
37800
37816
|
case 0:
|
|
37801
|
-
tmp = Companion_getInstance_167().
|
|
37817
|
+
tmp = Companion_getInstance_167().t45_1[index];
|
|
37802
37818
|
break;
|
|
37803
37819
|
case 1:
|
|
37804
|
-
tmp = Companion_getInstance_167().
|
|
37820
|
+
tmp = Companion_getInstance_167().v45_1[index];
|
|
37805
37821
|
break;
|
|
37806
37822
|
default:
|
|
37807
37823
|
noWhenBranchMatchedException();
|
|
@@ -37810,8 +37826,8 @@
|
|
|
37810
37826
|
return tmp;
|
|
37811
37827
|
};
|
|
37812
37828
|
function AvatarData(index, avatarSet) {
|
|
37813
|
-
this.
|
|
37814
|
-
this.
|
|
37829
|
+
this.o45_1 = index;
|
|
37830
|
+
this.p45_1 = avatarSet;
|
|
37815
37831
|
}
|
|
37816
37832
|
function AvatarSet_ORIGIN_getInstance() {
|
|
37817
37833
|
AvatarSet_initEntries();
|
|
@@ -37824,7 +37840,7 @@
|
|
|
37824
37840
|
function GameResourcesImpl() {
|
|
37825
37841
|
Companion_getInstance_167();
|
|
37826
37842
|
}
|
|
37827
|
-
protoOf(GameResourcesImpl).
|
|
37843
|
+
protoOf(GameResourcesImpl).k45 = function (playerId, existingNicknames) {
|
|
37828
37844
|
return createUser(this, playerId, existingNicknames);
|
|
37829
37845
|
};
|
|
37830
37846
|
protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
|
|
@@ -37865,45 +37881,45 @@
|
|
|
37865
37881
|
}
|
|
37866
37882
|
var WARN;
|
|
37867
37883
|
function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
|
|
37868
|
-
this.
|
|
37884
|
+
this.w45_1 = loggerCallback;
|
|
37869
37885
|
}
|
|
37870
37886
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i15 = function (tag, message, payload) {
|
|
37871
|
-
this.
|
|
37887
|
+
this.w45_1('debug', tag, message, null, payload);
|
|
37872
37888
|
};
|
|
37873
37889
|
protoOf(LoggerCallbacksWrapperLoggerOutput).j15 = function (tag, message, exception, payload) {
|
|
37874
|
-
this.
|
|
37890
|
+
this.w45_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
37875
37891
|
};
|
|
37876
37892
|
protoOf(LoggerCallbacksWrapperLoggerOutput).m15 = function (tag, message, payload) {
|
|
37877
|
-
this.
|
|
37893
|
+
this.w45_1('debug', tag, message, null, payload);
|
|
37878
37894
|
};
|
|
37879
37895
|
protoOf(LoggerCallbacksWrapperLoggerOutput).l15 = function (tag, message, exception, payload) {
|
|
37880
|
-
this.
|
|
37896
|
+
this.w45_1('debug', tag, generateMsg(message, exception), exception, payload);
|
|
37881
37897
|
};
|
|
37882
37898
|
protoOf(LoggerCallbacksWrapperLoggerOutput).k15 = function (tag, message, exception, payload) {
|
|
37883
|
-
this.
|
|
37899
|
+
this.w45_1('warn', tag, generateMsg(message, exception), exception, payload);
|
|
37884
37900
|
};
|
|
37885
37901
|
function ParserHelper() {
|
|
37886
37902
|
}
|
|
37887
37903
|
function ParserHelperImpl(json, encoderDecoderProvider) {
|
|
37888
|
-
this.
|
|
37889
|
-
this.
|
|
37904
|
+
this.x45_1 = json;
|
|
37905
|
+
this.y45_1 = encoderDecoderProvider;
|
|
37890
37906
|
}
|
|
37891
37907
|
protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
|
|
37892
|
-
return this.
|
|
37908
|
+
return this.y45_1.f40(mapToDto_20(action));
|
|
37893
37909
|
};
|
|
37894
37910
|
protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
|
|
37895
|
-
return mapFromDto_16(this.
|
|
37911
|
+
return mapFromDto_16(this.y45_1.i40(json), fromPlayerId);
|
|
37896
37912
|
};
|
|
37897
37913
|
protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
|
|
37898
|
-
return this.
|
|
37914
|
+
return this.y45_1.g40(mapToDto_78(action));
|
|
37899
37915
|
};
|
|
37900
37916
|
protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
|
|
37901
37917
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
37902
|
-
var this_0 = mapFromClientDtoListWithPayload(this.
|
|
37918
|
+
var this_0 = mapFromClientDtoListWithPayload(this.y45_1.j40(json), playerId, engine);
|
|
37903
37919
|
return copyToArray(this_0);
|
|
37904
37920
|
};
|
|
37905
37921
|
protoOf(ParserHelperImpl).encodeGameRound = function (round) {
|
|
37906
|
-
var tmp0 = this.
|
|
37922
|
+
var tmp0 = this.x45_1;
|
|
37907
37923
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37908
37924
|
var value = mapToDto_35(round);
|
|
37909
37925
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37914,7 +37930,7 @@
|
|
|
37914
37930
|
return tmp0.o23(tmp$ret$1, value);
|
|
37915
37931
|
};
|
|
37916
37932
|
protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
|
|
37917
|
-
var tmp0 = this.
|
|
37933
|
+
var tmp0 = this.x45_1;
|
|
37918
37934
|
// Inline function 'kotlin.collections.map' call
|
|
37919
37935
|
var this_0 = round.items;
|
|
37920
37936
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -37936,7 +37952,7 @@
|
|
|
37936
37952
|
return tmp0.o23(tmp$ret$4, destination);
|
|
37937
37953
|
};
|
|
37938
37954
|
protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
|
|
37939
|
-
var tmp0 = this.
|
|
37955
|
+
var tmp0 = this.x45_1;
|
|
37940
37956
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37941
37957
|
var value = mapToDto_34(metadata);
|
|
37942
37958
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37947,7 +37963,7 @@
|
|
|
37947
37963
|
return tmp0.o23(tmp$ret$1, value);
|
|
37948
37964
|
};
|
|
37949
37965
|
protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
|
|
37950
|
-
var tmp0 = this.
|
|
37966
|
+
var tmp0 = this.x45_1;
|
|
37951
37967
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37952
37968
|
var value = mapToDto_63(config);
|
|
37953
37969
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37958,7 +37974,7 @@
|
|
|
37958
37974
|
return tmp0.o23(tmp$ret$1, value);
|
|
37959
37975
|
};
|
|
37960
37976
|
protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
|
|
37961
|
-
var tmp0 = this.
|
|
37977
|
+
var tmp0 = this.x45_1;
|
|
37962
37978
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37963
37979
|
var value = mapToDto_100(transition);
|
|
37964
37980
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37970,7 +37986,7 @@
|
|
|
37970
37986
|
};
|
|
37971
37987
|
protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
|
|
37972
37988
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37973
|
-
var this_0 = this.
|
|
37989
|
+
var this_0 = this.x45_1;
|
|
37974
37990
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37975
37991
|
var this_1 = this_0.zn();
|
|
37976
37992
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37981,7 +37997,7 @@
|
|
|
37981
37997
|
};
|
|
37982
37998
|
protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
|
|
37983
37999
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
37984
|
-
var this_0 = this.
|
|
38000
|
+
var this_0 = this.x45_1;
|
|
37985
38001
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
37986
38002
|
var this_1 = this_0.zn();
|
|
37987
38003
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -37991,7 +38007,7 @@
|
|
|
37991
38007
|
return mapFromDto_99(tmp$ret$2);
|
|
37992
38008
|
};
|
|
37993
38009
|
protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
|
|
37994
|
-
var tmp0 = this.
|
|
38010
|
+
var tmp0 = this.x45_1;
|
|
37995
38011
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37996
38012
|
var value = mapToDto_131(table);
|
|
37997
38013
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38002,11 +38018,11 @@
|
|
|
38002
38018
|
return tmp0.o23(tmp$ret$1, value);
|
|
38003
38019
|
};
|
|
38004
38020
|
protoOf(ParserHelperImpl).decodeTableLite = function (json) {
|
|
38005
|
-
return mapFromDto_66(this.
|
|
38021
|
+
return mapFromDto_66(this.y45_1.h40(json));
|
|
38006
38022
|
};
|
|
38007
38023
|
protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
|
|
38008
38024
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
38009
|
-
var this_0 = this.
|
|
38025
|
+
var this_0 = this.x45_1;
|
|
38010
38026
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
38011
38027
|
var this_1 = this_0.zn();
|
|
38012
38028
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
@@ -38019,20 +38035,20 @@
|
|
|
38019
38035
|
function RatingHelper() {
|
|
38020
38036
|
}
|
|
38021
38037
|
function RatingHelperImpl(json, userRatingInteractor) {
|
|
38022
|
-
this.
|
|
38023
|
-
this.
|
|
38038
|
+
this.z45_1 = json;
|
|
38039
|
+
this.a46_1 = userRatingInteractor;
|
|
38024
38040
|
}
|
|
38025
38041
|
protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
|
|
38026
|
-
return this.
|
|
38042
|
+
return this.a46_1.o40(league, rating);
|
|
38027
38043
|
};
|
|
38028
38044
|
protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
|
|
38029
|
-
return this.
|
|
38045
|
+
return this.a46_1.q40(rating);
|
|
38030
38046
|
};
|
|
38031
38047
|
protoOf(RatingHelperImpl).getLeaguesConfig = function () {
|
|
38032
|
-
return this.
|
|
38048
|
+
return this.a46_1.p40();
|
|
38033
38049
|
};
|
|
38034
38050
|
protoOf(RatingHelperImpl).getLeaguesConfigJson = function () {
|
|
38035
|
-
var tmp0 = this.
|
|
38051
|
+
var tmp0 = this.z45_1;
|
|
38036
38052
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
38037
38053
|
var value = mapToDto_47(this.getLeaguesConfig());
|
|
38038
38054
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -38151,14 +38167,14 @@
|
|
|
38151
38167
|
return new GameResourcesImpl();
|
|
38152
38168
|
}
|
|
38153
38169
|
function _get_logger__rkp4sl($this) {
|
|
38154
|
-
var tmp0 = $this.
|
|
38170
|
+
var tmp0 = $this.c46_1;
|
|
38155
38171
|
var tmp = KProperty1;
|
|
38156
38172
|
// Inline function 'kotlin.getValue' call
|
|
38157
38173
|
getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
|
|
38158
38174
|
return tmp0.v1();
|
|
38159
38175
|
}
|
|
38160
38176
|
function _get_di__ndbzja($this) {
|
|
38161
|
-
var tmp0 = $this.
|
|
38177
|
+
var tmp0 = $this.d46_1;
|
|
38162
38178
|
var tmp = KProperty1;
|
|
38163
38179
|
// Inline function 'kotlin.getValue' call
|
|
38164
38180
|
getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
|
|
@@ -38167,11 +38183,11 @@
|
|
|
38167
38183
|
function EngineHelpersFactory$logger$delegate$lambda(this$0) {
|
|
38168
38184
|
return function () {
|
|
38169
38185
|
var tmp;
|
|
38170
|
-
if (this$0.
|
|
38186
|
+
if (this$0.b46_1 == null) {
|
|
38171
38187
|
tmp = null;
|
|
38172
38188
|
} else {
|
|
38173
38189
|
// Inline function 'kotlin.let' call
|
|
38174
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
38190
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.b46_1)]));
|
|
38175
38191
|
}
|
|
38176
38192
|
var tmp1_elvis_lhs = tmp;
|
|
38177
38193
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -38261,11 +38277,11 @@
|
|
|
38261
38277
|
}
|
|
38262
38278
|
function EngineHelpersFactory(loggerCallback) {
|
|
38263
38279
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
38264
|
-
this.
|
|
38280
|
+
this.b46_1 = loggerCallback;
|
|
38265
38281
|
var tmp = this;
|
|
38266
|
-
tmp.
|
|
38282
|
+
tmp.c46_1 = lazy_0(EngineHelpersFactory$logger$delegate$lambda(this));
|
|
38267
38283
|
var tmp_0 = this;
|
|
38268
|
-
tmp_0.
|
|
38284
|
+
tmp_0.d46_1 = lazy_0(EngineHelpersFactory$di$delegate$lambda(this));
|
|
38269
38285
|
var tmp_1 = this;
|
|
38270
38286
|
// Inline function 'org.kodein.di.instance' call
|
|
38271
38287
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -38274,7 +38290,7 @@
|
|
|
38274
38290
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
38275
38291
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
38276
38292
|
var tmp_4 = KProperty1;
|
|
38277
|
-
tmp_1.
|
|
38293
|
+
tmp_1.e46_1 = tmp_3.j23(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
|
|
38278
38294
|
var tmp_5 = this;
|
|
38279
38295
|
// Inline function 'org.kodein.di.instance' call
|
|
38280
38296
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -38283,7 +38299,7 @@
|
|
|
38283
38299
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
38284
38300
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
38285
38301
|
var tmp_8 = KProperty1;
|
|
38286
|
-
tmp_5.
|
|
38302
|
+
tmp_5.f46_1 = tmp_7.j23(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
|
|
38287
38303
|
var tmp_9 = this;
|
|
38288
38304
|
// Inline function 'org.kodein.di.instance' call
|
|
38289
38305
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -38292,7 +38308,7 @@
|
|
|
38292
38308
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
38293
38309
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
38294
38310
|
var tmp_12 = KProperty1;
|
|
38295
|
-
tmp_9.
|
|
38311
|
+
tmp_9.g46_1 = tmp_11.j23(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
|
|
38296
38312
|
var tmp_13 = this;
|
|
38297
38313
|
// Inline function 'org.kodein.di.instance' call
|
|
38298
38314
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -38301,31 +38317,31 @@
|
|
|
38301
38317
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
38302
38318
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
38303
38319
|
var tmp_16 = KProperty1;
|
|
38304
|
-
tmp_13.
|
|
38320
|
+
tmp_13.h46_1 = tmp_15.j23(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
|
|
38305
38321
|
}
|
|
38306
|
-
protoOf(EngineHelpersFactory).
|
|
38307
|
-
var tmp0 = this.
|
|
38322
|
+
protoOf(EngineHelpersFactory).i46 = function () {
|
|
38323
|
+
var tmp0 = this.e46_1;
|
|
38308
38324
|
var tmp = KProperty1;
|
|
38309
38325
|
// Inline function 'kotlin.getValue' call
|
|
38310
38326
|
getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
|
|
38311
38327
|
return tmp0.v1();
|
|
38312
38328
|
};
|
|
38313
|
-
protoOf(EngineHelpersFactory).
|
|
38314
|
-
var tmp0 = this.
|
|
38329
|
+
protoOf(EngineHelpersFactory).j46 = function () {
|
|
38330
|
+
var tmp0 = this.f46_1;
|
|
38315
38331
|
var tmp = KProperty1;
|
|
38316
38332
|
// Inline function 'kotlin.getValue' call
|
|
38317
38333
|
getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
|
|
38318
38334
|
return tmp0.v1();
|
|
38319
38335
|
};
|
|
38320
|
-
protoOf(EngineHelpersFactory).
|
|
38321
|
-
var tmp0 = this.
|
|
38336
|
+
protoOf(EngineHelpersFactory).k46 = function () {
|
|
38337
|
+
var tmp0 = this.g46_1;
|
|
38322
38338
|
var tmp = KProperty1;
|
|
38323
38339
|
// Inline function 'kotlin.getValue' call
|
|
38324
38340
|
getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
|
|
38325
38341
|
return tmp0.v1();
|
|
38326
38342
|
};
|
|
38327
|
-
protoOf(EngineHelpersFactory).
|
|
38328
|
-
var tmp0 = this.
|
|
38343
|
+
protoOf(EngineHelpersFactory).l46 = function () {
|
|
38344
|
+
var tmp0 = this.h46_1;
|
|
38329
38345
|
var tmp = KProperty1;
|
|
38330
38346
|
// Inline function 'kotlin.getValue' call
|
|
38331
38347
|
getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
|
|
@@ -39077,6 +39093,7 @@
|
|
|
39077
39093
|
});
|
|
39078
39094
|
protoOf(PlayerConnectionChangedMechanicAction).ignoreValidation = ignoreValidation;
|
|
39079
39095
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isShouldBeDisconnectedFromSockets', protoOf(PlayerConnectionChangedMechanicAction).p43);
|
|
39096
|
+
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'originState', protoOf(PlayerConnectionChangedMechanicAction).q43);
|
|
39080
39097
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'isDeleted', protoOf(PlayerConnectionChangedMechanicAction).r1r);
|
|
39081
39098
|
defineProp(protoOf(PlayerConnectionChangedMechanicAction), 'actionTag', function () {
|
|
39082
39099
|
return this.i1v();
|
|
@@ -39158,10 +39175,10 @@
|
|
|
39158
39175
|
protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
|
|
39159
39176
|
protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
|
|
39160
39177
|
protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
|
|
39161
|
-
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).
|
|
39162
|
-
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).
|
|
39163
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).
|
|
39164
|
-
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).
|
|
39178
|
+
defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).i46);
|
|
39179
|
+
defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).j46);
|
|
39180
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).k46);
|
|
39181
|
+
defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).l46);
|
|
39165
39182
|
//endregion
|
|
39166
39183
|
//region block: init
|
|
39167
39184
|
Companion_instance_3 = new Companion();
|