raspberry_games_server_game_logic 1.8.294 → 1.8.298

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.
@@ -292,12 +292,16 @@ export declare namespace com.logic.data.models {
292
292
  get name(): "WRONG_PLAYER_TURN";
293
293
  get ordinal(): 3;
294
294
  };
295
+ static get DUPLICATED_PLAYER_ANSWER(): com.logic.data.models.GameErrorReason.Reason & {
296
+ get name(): "DUPLICATED_PLAYER_ANSWER";
297
+ get ordinal(): 4;
298
+ };
295
299
  static get PLAYER_DISCONNECTED(): com.logic.data.models.GameErrorReason.Reason & {
296
300
  get name(): "PLAYER_DISCONNECTED";
297
- get ordinal(): 4;
301
+ get ordinal(): 5;
298
302
  };
299
- get name(): "SERVER_ERROR" | "INTERNAL_ERROR" | "GAME_NOT_EXISTS" | "WRONG_PLAYER_TURN" | "PLAYER_DISCONNECTED";
300
- get ordinal(): 0 | 1 | 2 | 3 | 4;
303
+ get name(): "SERVER_ERROR" | "INTERNAL_ERROR" | "GAME_NOT_EXISTS" | "WRONG_PLAYER_TURN" | "DUPLICATED_PLAYER_ANSWER" | "PLAYER_DISCONNECTED";
304
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
301
305
  static values(): Array<com.logic.data.models.GameErrorReason.Reason>;
302
306
  static valueOf(value: string): com.logic.data.models.GameErrorReason.Reason;
303
307
  static get Companion(): {
@@ -967,8 +971,7 @@ export declare namespace games.jass.logic.data.models.player.state {
967
971
  }
968
972
  export declare namespace games.jass.logic.data.models.rules {
969
973
  class Rules {
970
- constructor(needToPutHigherTrump: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, contractTypes: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, distributePoints: boolean, pointsDistributeMode: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
971
- get needToPutHigherTrump(): boolean;
974
+ constructor(playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, contractTypes: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes: Array<games.jass.logic.data.models.player.bids.BidType>, needToPutHigherTrump: boolean, trumpCardStepPartnerMode: games.jass.logic.data.models.rules.TrumpCardStepPartnerMode, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, distributePoints: boolean, pointsDistributeMode: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
972
975
  get playerWhoChooseSuitGoFirst(): boolean;
973
976
  get winnerShuffleCards(): boolean;
974
977
  get playWithoutLiabilities(): boolean;
@@ -978,6 +981,8 @@ export declare namespace games.jass.logic.data.models.rules {
978
981
  get dealerCounterClockwise(): boolean;
979
982
  get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
980
983
  get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
984
+ get needToPutHigherTrump(): boolean;
985
+ get trumpCardStepPartnerMode(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode;
981
986
  get combinationsWithFirstCard(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
982
987
  get protectBella(): boolean;
983
988
  get oneTryToProtectBella(): boolean;
@@ -996,7 +1001,7 @@ export declare namespace games.jass.logic.data.models.rules {
996
1001
  toString(): string;
997
1002
  equals(other: Nullable<any>): boolean;
998
1003
  hashCode(): number;
999
- copy(needToPutHigherTrump?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, contractTypes?: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes?: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, distributePoints?: boolean, pointsDistributeMode?: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
1004
+ copy(playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, contractTypes?: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes?: Array<games.jass.logic.data.models.player.bids.BidType>, needToPutHigherTrump?: boolean, trumpCardStepPartnerMode?: games.jass.logic.data.models.rules.TrumpCardStepPartnerMode, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, distributePoints?: boolean, pointsDistributeMode?: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
1000
1005
  static get Companion(): {
1001
1006
  get HAND_CARDS_INITIAL(): number;
1002
1007
  get HAND_CARDS_FINAL(): number;
@@ -1046,6 +1051,27 @@ export declare namespace games.jass.logic.data.models.rules {
1046
1051
  static valueOf(value: string): games.jass.logic.data.models.rules.RulesSetType;
1047
1052
  }
1048
1053
  }
1054
+ export declare namespace games.jass.logic.data.models.rules {
1055
+ abstract class TrumpCardStepPartnerMode {
1056
+ private constructor();
1057
+ static get ANY_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1058
+ get name(): "ANY_CARD";
1059
+ get ordinal(): 0;
1060
+ };
1061
+ static get HIGHER_TRUMP_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1062
+ get name(): "HIGHER_TRUMP_CARD";
1063
+ get ordinal(): 1;
1064
+ };
1065
+ static get ANY_TRUMP_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1066
+ get name(): "ANY_TRUMP_CARD";
1067
+ get ordinal(): 2;
1068
+ };
1069
+ get name(): "ANY_CARD" | "HIGHER_TRUMP_CARD" | "ANY_TRUMP_CARD";
1070
+ get ordinal(): 0 | 1 | 2;
1071
+ static values(): Array<games.jass.logic.data.models.rules.TrumpCardStepPartnerMode>;
1072
+ static valueOf(value: string): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode;
1073
+ }
1074
+ }
1049
1075
  export declare namespace games.jass.logic.data.models.scenes {
1050
1076
  interface ActData {
1051
1077
  readonly actId: string;