game_client_logic_deb 1.8.333 → 1.8.336

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.
@@ -778,7 +778,7 @@ export declare namespace games.jass.logic.data.models.player.achievements {
778
778
  constructor(oldRating: number, newRating: number);
779
779
  get oldRating(): number;
780
780
  get newRating(): number;
781
- get isRatingUp(): boolean;
781
+ get isRatingUpOrNull(): Nullable<boolean>;
782
782
  copy(oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.Achievements;
783
783
  toString(): string;
784
784
  hashCode(): number;
@@ -972,9 +972,51 @@ export declare namespace games.jass.logic.data.models.player.state {
972
972
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
973
973
  }
974
974
  }
975
+ export declare namespace games.jass.logic.data.models.rules {
976
+ abstract class PutHigherTrumpCardMode {
977
+ private constructor();
978
+ static get DISABLED(): games.jass.logic.data.models.rules.PutHigherTrumpCardMode & {
979
+ get name(): "DISABLED";
980
+ get ordinal(): 0;
981
+ };
982
+ static get FIRST_CARD_TRUMP(): games.jass.logic.data.models.rules.PutHigherTrumpCardMode & {
983
+ get name(): "FIRST_CARD_TRUMP";
984
+ get ordinal(): 1;
985
+ };
986
+ static get ANY_CARD_TRUMP(): games.jass.logic.data.models.rules.PutHigherTrumpCardMode & {
987
+ get name(): "ANY_CARD_TRUMP";
988
+ get ordinal(): 2;
989
+ };
990
+ get name(): "DISABLED" | "FIRST_CARD_TRUMP" | "ANY_CARD_TRUMP";
991
+ get ordinal(): 0 | 1 | 2;
992
+ static values(): Array<games.jass.logic.data.models.rules.PutHigherTrumpCardMode>;
993
+ static valueOf(value: string): games.jass.logic.data.models.rules.PutHigherTrumpCardMode;
994
+ }
995
+ }
996
+ export declare namespace games.jass.logic.data.models.rules {
997
+ abstract class PutHigherTrumpCardPartnerMode {
998
+ private constructor();
999
+ static get ANY_CARD(): games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode & {
1000
+ get name(): "ANY_CARD";
1001
+ get ordinal(): 0;
1002
+ };
1003
+ static get HIGHER_TRUMP_CARD(): games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode & {
1004
+ get name(): "HIGHER_TRUMP_CARD";
1005
+ get ordinal(): 1;
1006
+ };
1007
+ static get ANY_TRUMP_CARD(): games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode & {
1008
+ get name(): "ANY_TRUMP_CARD";
1009
+ get ordinal(): 2;
1010
+ };
1011
+ get name(): "ANY_CARD" | "HIGHER_TRUMP_CARD" | "ANY_TRUMP_CARD";
1012
+ get ordinal(): 0 | 1 | 2;
1013
+ static values(): Array<games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode>;
1014
+ static valueOf(value: string): games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode;
1015
+ }
1016
+ }
975
1017
  export declare namespace games.jass.logic.data.models.rules {
976
1018
  class Rules {
977
- constructor(name: Nullable<string>, 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);
1019
+ constructor(name: Nullable<string>, 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, trumpCardStepMode: games.jass.logic.data.models.rules.PutHigherTrumpCardMode, trumpCardStepPartnerMode: games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, pointsDistributeMode: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
978
1020
  get name(): Nullable<string>;
979
1021
  get playerWhoChooseSuitGoFirst(): boolean;
980
1022
  get winnerShuffleCards(): boolean;
@@ -985,8 +1027,10 @@ export declare namespace games.jass.logic.data.models.rules {
985
1027
  get dealerCounterClockwise(): boolean;
986
1028
  get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
987
1029
  get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
1030
+ /** @deprecated use [trumpCardStepMode] */
988
1031
  get needToPutHigherTrump(): boolean;
989
- get trumpCardStepPartnerMode(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode;
1032
+ get trumpCardStepMode(): games.jass.logic.data.models.rules.PutHigherTrumpCardMode;
1033
+ get trumpCardStepPartnerMode(): games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode;
990
1034
  get combinationsWithFirstCard(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
991
1035
  get protectBella(): boolean;
992
1036
  get oneTryToProtectBella(): boolean;
@@ -995,8 +1039,6 @@ export declare namespace games.jass.logic.data.models.rules {
995
1039
  get enableTrumpSevenCombinationAfterDistribution(): boolean;
996
1040
  get checkTrumpCombination(): boolean;
997
1041
  get checkOnlyTrumpDebertz(): boolean;
998
- /** @deprecated use [pointsDistributeMode] */
999
- get distributePoints(): boolean;
1000
1042
  get pointsDistributeMode(): games.jass.logic.data.models.player.points.PointsDistributeMode;
1001
1043
  get enableFineAfterThirdByte(): boolean;
1002
1044
  get fineAfterThirdFailedContract(): number;
@@ -1005,7 +1047,7 @@ export declare namespace games.jass.logic.data.models.rules {
1005
1047
  toString(): string;
1006
1048
  equals(other: Nullable<any>): boolean;
1007
1049
  hashCode(): number;
1008
- copy(name?: Nullable<string>, 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;
1050
+ copy(name?: Nullable<string>, 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, trumpCardStepMode?: games.jass.logic.data.models.rules.PutHigherTrumpCardMode, trumpCardStepPartnerMode?: games.jass.logic.data.models.rules.PutHigherTrumpCardPartnerMode, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: 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;
1009
1051
  static get Companion(): {
1010
1052
  get HAND_CARDS_INITIAL(): number;
1011
1053
  get HAND_CARDS_FINAL(): number;
@@ -1055,27 +1097,6 @@ export declare namespace games.jass.logic.data.models.rules {
1055
1097
  static valueOf(value: string): games.jass.logic.data.models.rules.RulesSetType;
1056
1098
  }
1057
1099
  }
1058
- export declare namespace games.jass.logic.data.models.rules {
1059
- abstract class TrumpCardStepPartnerMode {
1060
- private constructor();
1061
- static get ANY_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1062
- get name(): "ANY_CARD";
1063
- get ordinal(): 0;
1064
- };
1065
- static get HIGHER_TRUMP_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1066
- get name(): "HIGHER_TRUMP_CARD";
1067
- get ordinal(): 1;
1068
- };
1069
- static get ANY_TRUMP_CARD(): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode & {
1070
- get name(): "ANY_TRUMP_CARD";
1071
- get ordinal(): 2;
1072
- };
1073
- get name(): "ANY_CARD" | "HIGHER_TRUMP_CARD" | "ANY_TRUMP_CARD";
1074
- get ordinal(): 0 | 1 | 2;
1075
- static values(): Array<games.jass.logic.data.models.rules.TrumpCardStepPartnerMode>;
1076
- static valueOf(value: string): games.jass.logic.data.models.rules.TrumpCardStepPartnerMode;
1077
- }
1078
- }
1079
1100
  export declare namespace games.jass.logic.data.models.scenes {
1080
1101
  interface ActData {
1081
1102
  readonly actId: string;
@@ -1373,8 +1394,9 @@ export declare namespace games.jass.logic.data.models.table.config {
1373
1394
  }
1374
1395
  export declare namespace games.jass.logic.data.models.table.config {
1375
1396
  class ConfigLite {
1376
- constructor(mode: games.jass.logic.data.models.table.config.RoomMode, players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
1397
+ constructor(mode: games.jass.logic.data.models.table.config.RoomMode, league: Nullable<games.jass.logic.data.models.leagues.League>, players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
1377
1398
  get mode(): games.jass.logic.data.models.table.config.RoomMode;
1399
+ get league(): Nullable<games.jass.logic.data.models.leagues.League>;
1378
1400
  get players(): games.jass.logic.data.models.table.config.PlayersMode;
1379
1401
  get points(): games.jass.logic.data.models.table.config.PointsMode;
1380
1402
  get timeoutTimeMillis(): number;
@@ -1383,7 +1405,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1383
1405
  get isChatEnabled(): boolean;
1384
1406
  get isBotsEnabled(): boolean;
1385
1407
  get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
1386
- copy(mode?: games.jass.logic.data.models.table.config.RoomMode, players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
1408
+ copy(mode?: games.jass.logic.data.models.table.config.RoomMode, league?: Nullable<games.jass.logic.data.models.leagues.League>, players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
1387
1409
  toString(): string;
1388
1410
  hashCode(): number;
1389
1411
  equals(other: Nullable<any>): boolean;
@@ -1658,7 +1680,7 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
1658
1680
  }
1659
1681
  export declare namespace games.jass.logic.redux.actions {
1660
1682
  class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
1661
- constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
1683
+ constructor(transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
1662
1684
  get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
1663
1685
  copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.ClearAction;
1664
1686
  toString(): string;