client_plugin_logic_deb 1.8.477 → 1.8.479

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.
@@ -1446,7 +1446,7 @@ export declare namespace games.jass.logic.data.models.player.bids {
1446
1446
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1447
1447
  namespace $metadata$ {
1448
1448
  abstract class constructor /* implements kotlinx.serialization.internal.SerializerFactory */ {
1449
- get belotBalgarian(): Array<games.jass.logic.data.models.player.bids.BidType>;
1449
+ get belotBulgarian(): Array<games.jass.logic.data.models.player.bids.BidType>;
1450
1450
  get coinche(): Array<games.jass.logic.data.models.player.bids.BidType>;
1451
1451
  private constructor();
1452
1452
  }
@@ -1650,7 +1650,7 @@ export declare namespace games.jass.logic.data.models.rules {
1650
1650
  }
1651
1651
  export declare namespace games.jass.logic.data.models.rules {
1652
1652
  class Rules {
1653
- 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, winTargetPoints: number, noTrumpScoreMultiplier: number, enableCapot: boolean, capotBonus: number, enableGeneral: boolean, generalBonus: number);
1653
+ constructor(name: Nullable<string>, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, enableRedealOnWeakHand: boolean, weakHandThreshold: number, 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, supportedPointsModes: Array<games.jass.logic.data.models.table.config.PointsMode>, scoreRoundingStep: number, scoreDivisor: number, noTrumpScoreMultiplier: number, enableCapot: boolean, capotBonus: number, enableGeneral: boolean, generalBonus: number, supportedPlayersModes: Array<games.jass.logic.data.models.table.config.PlayersMode>);
1654
1654
  get name(): Nullable<string>;
1655
1655
  get playerWhoChooseSuitGoFirst(): boolean;
1656
1656
  get winnerShuffleCards(): boolean;
@@ -1659,6 +1659,8 @@ export declare namespace games.jass.logic.data.models.rules {
1659
1659
  get dealerInitialCardsCount(): number;
1660
1660
  get dealerFinalCardsCount(): number;
1661
1661
  get dealerCounterClockwise(): boolean;
1662
+ get enableRedealOnWeakHand(): boolean;
1663
+ get weakHandThreshold(): number;
1662
1664
  get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
1663
1665
  get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
1664
1666
  /** @deprecated use [trumpCardStepMode] */
@@ -1678,16 +1680,20 @@ export declare namespace games.jass.logic.data.models.rules {
1678
1680
  get fineAfterThirdFailedContract(): number;
1679
1681
  get enableFineIfNoBribes(): boolean;
1680
1682
  get fineIfNoBribes(): number;
1681
- get winTargetPoints(): number;
1683
+ get supportedPointsModes(): Array<games.jass.logic.data.models.table.config.PointsMode>;
1684
+ get scoreRoundingStep(): number;
1685
+ get scoreDivisor(): number;
1682
1686
  get noTrumpScoreMultiplier(): number;
1683
1687
  get enableCapot(): boolean;
1684
1688
  get capotBonus(): number;
1685
1689
  get enableGeneral(): boolean;
1686
1690
  get generalBonus(): number;
1691
+ get supportedPlayersModes(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
1692
+ get hasGamePointConversion(): boolean;
1687
1693
  toString(): string;
1688
1694
  equals(other: Nullable<any>): boolean;
1689
1695
  hashCode(): number;
1690
- 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, winTargetPoints?: number, noTrumpScoreMultiplier?: number, enableCapot?: boolean, capotBonus?: number, enableGeneral?: boolean, generalBonus?: number): games.jass.logic.data.models.rules.Rules;
1696
+ copy(name?: Nullable<string>, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, enableRedealOnWeakHand?: boolean, weakHandThreshold?: number, 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, supportedPointsModes?: Array<games.jass.logic.data.models.table.config.PointsMode>, scoreRoundingStep?: number, scoreDivisor?: number, noTrumpScoreMultiplier?: number, enableCapot?: boolean, capotBonus?: number, enableGeneral?: boolean, generalBonus?: number, supportedPlayersModes?: Array<games.jass.logic.data.models.table.config.PlayersMode>): games.jass.logic.data.models.rules.Rules;
1691
1697
  }
1692
1698
  namespace Rules {
1693
1699
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -1703,12 +1709,21 @@ export declare namespace games.jass.logic.data.models.rules {
1703
1709
  abstract class constructor {
1704
1710
  get HAND_CARDS_INITIAL(): number;
1705
1711
  get HAND_CARDS_FINAL(): number;
1712
+ get DEFAULT_SCORE_DIVISOR(): number;
1713
+ get DEFAULT_SCORE_ROUNDING_STEP(): number;
1714
+ get DEFAULT_FINE_POINTS(): number;
1715
+ get DEFAULT_CAPOT_BONUS(): number;
1716
+ get DEFAULT_GENERAL_BONUS(): number;
1717
+ get DEBERTZ_PLAYERS_MODES(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
1718
+ get BELOT_PLAYERS_MODES(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
1719
+ get DEBERTZ_POINTS_MODES(): Array<games.jass.logic.data.models.table.config.PointsMode>;
1720
+ get BELOT_POINTS_MODES(): Array<games.jass.logic.data.models.table.config.PointsMode>;
1706
1721
  kharkiv(): games.jass.logic.data.models.rules.Rules;
1707
1722
  saltivka(): games.jass.logic.data.models.rules.Rules;
1708
1723
  klabor(): games.jass.logic.data.models.rules.Rules;
1709
1724
  belotBulgarian(): games.jass.logic.data.models.rules.Rules;
1710
1725
  debertzCommon(): games.jass.logic.data.models.rules.Rules;
1711
- belot(): games.jass.logic.data.models.rules.Rules;
1726
+ belotBalkans(): games.jass.logic.data.models.rules.Rules;
1712
1727
  beloteFrancaise(): games.jass.logic.data.models.rules.Rules;
1713
1728
  beloteLaTourne(): games.jass.logic.data.models.rules.Rules;
1714
1729
  coinche(): games.jass.logic.data.models.rules.Rules;
@@ -1740,8 +1755,8 @@ export declare namespace games.jass.logic.data.models.rules {
1740
1755
  get name(): "klabor";
1741
1756
  get ordinal(): 3;
1742
1757
  };
1743
- static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
1744
- get name(): "belot";
1758
+ static get belotBalkans(): games.jass.logic.data.models.rules.RulesSetType & {
1759
+ get name(): "belotBalkans";
1745
1760
  get ordinal(): 4;
1746
1761
  };
1747
1762
  static get belotBulgarian(): games.jass.logic.data.models.rules.RulesSetType & {
@@ -1772,7 +1787,7 @@ export declare namespace games.jass.logic.data.models.rules {
1772
1787
  get name(): "custom";
1773
1788
  get ordinal(): 11;
1774
1789
  };
1775
- get name(): "debertzKharkiv" | "debertzSaltivka" | "debertzCommon" | "klabor" | "belot" | "belotBulgarian" | "beloteFrancaise" | "beloteLaTourne" | "coinche" | "baloot" | "pilotta" | "custom";
1790
+ get name(): "debertzKharkiv" | "debertzSaltivka" | "debertzCommon" | "klabor" | "belotBalkans" | "belotBulgarian" | "beloteFrancaise" | "beloteLaTourne" | "coinche" | "baloot" | "pilotta" | "custom";
1776
1791
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
1777
1792
  get value(): string;
1778
1793
  getRules(): games.jass.logic.data.models.rules.Rules;
@@ -2011,52 +2026,60 @@ export declare namespace games.jass.logic.data.models.table.combinations {
2011
2026
  get name(): "FOUR_SEVENS";
2012
2027
  get ordinal(): 6;
2013
2028
  };
2029
+ static get WEAK_HAND(): games.jass.logic.data.models.table.combinations.CombinationType & {
2030
+ get name(): "WEAK_HAND";
2031
+ get ordinal(): 7;
2032
+ };
2014
2033
  static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
2015
2034
  get name(): "FOUR_NINES";
2016
- get ordinal(): 7;
2035
+ get ordinal(): 8;
2017
2036
  };
2018
2037
  static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
2019
2038
  get name(): "FOUR_TENS";
2020
- get ordinal(): 8;
2039
+ get ordinal(): 9;
2021
2040
  };
2022
2041
  static get FOUR_JACKS(): games.jass.logic.data.models.table.combinations.CombinationType & {
2023
2042
  get name(): "FOUR_JACKS";
2024
- get ordinal(): 9;
2043
+ get ordinal(): 10;
2025
2044
  };
2026
2045
  static get FOUR_QUEENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
2027
2046
  get name(): "FOUR_QUEENS";
2028
- get ordinal(): 10;
2047
+ get ordinal(): 11;
2029
2048
  };
2030
2049
  static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
2031
2050
  get name(): "FOUR_KINGS";
2032
- get ordinal(): 11;
2051
+ get ordinal(): 12;
2033
2052
  };
2034
2053
  static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
2035
2054
  get name(): "FOUR_ACES";
2036
- get ordinal(): 12;
2055
+ get ordinal(): 13;
2037
2056
  };
2038
2057
  static get FINE_NO_BRIBES(): games.jass.logic.data.models.table.combinations.CombinationType & {
2039
2058
  get name(): "FINE_NO_BRIBES";
2040
- get ordinal(): 13;
2059
+ get ordinal(): 14;
2041
2060
  };
2042
2061
  static get FINE_THIRD_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
2043
2062
  get name(): "FINE_THIRD_FAILED_CONTRACT";
2044
- get ordinal(): 14;
2063
+ get ordinal(): 15;
2045
2064
  };
2046
2065
  static get BONUS_LAST_BRIBE(): games.jass.logic.data.models.table.combinations.CombinationType & {
2047
2066
  get name(): "BONUS_LAST_BRIBE";
2048
- get ordinal(): 15;
2067
+ get ordinal(): 16;
2068
+ };
2069
+ static get BONUS_CAPOT(): games.jass.logic.data.models.table.combinations.CombinationType & {
2070
+ get name(): "BONUS_CAPOT";
2071
+ get ordinal(): 17;
2049
2072
  };
2050
2073
  static get BONUS_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
2051
2074
  get name(): "BONUS_FAILED_CONTRACT";
2052
- get ordinal(): 16;
2075
+ get ordinal(): 18;
2053
2076
  };
2054
2077
  static get BONUS_CONTROVERSIAL_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
2055
2078
  get name(): "BONUS_CONTROVERSIAL_CONTRACT";
2056
- get ordinal(): 17;
2079
+ get ordinal(): 19;
2057
2080
  };
2058
- get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "FIVE_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_SEVENS" | "FOUR_NINES" | "FOUR_TENS" | "FOUR_JACKS" | "FOUR_QUEENS" | "FOUR_KINGS" | "FOUR_ACES" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
2059
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
2081
+ get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "FIVE_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_SEVENS" | "WEAK_HAND" | "FOUR_NINES" | "FOUR_TENS" | "FOUR_JACKS" | "FOUR_QUEENS" | "FOUR_KINGS" | "FOUR_ACES" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_CAPOT" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
2082
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19;
2060
2083
  static values(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
2061
2084
  static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationType;
2062
2085
  }
@@ -2273,24 +2296,48 @@ export declare namespace games.jass.logic.data.models.table.config {
2273
2296
  export declare namespace games.jass.logic.data.models.table.config {
2274
2297
  abstract class PointsMode {
2275
2298
  private constructor();
2276
- static get SMALL(): games.jass.logic.data.models.table.config.PointsMode & {
2277
- get name(): "SMALL";
2299
+ static get POINTS_10(): games.jass.logic.data.models.table.config.PointsMode & {
2300
+ get name(): "POINTS_10";
2278
2301
  get ordinal(): 0;
2279
2302
  };
2280
- static get MEDIUM(): games.jass.logic.data.models.table.config.PointsMode & {
2281
- get name(): "MEDIUM";
2303
+ static get POINTS_151(): games.jass.logic.data.models.table.config.PointsMode & {
2304
+ get name(): "POINTS_151";
2282
2305
  get ordinal(): 1;
2283
2306
  };
2284
- static get BIG(): games.jass.logic.data.models.table.config.PointsMode & {
2285
- get name(): "BIG";
2307
+ static get POINTS_152(): games.jass.logic.data.models.table.config.PointsMode & {
2308
+ get name(): "POINTS_152";
2286
2309
  get ordinal(): 2;
2287
2310
  };
2288
- static get TEST(): games.jass.logic.data.models.table.config.PointsMode & {
2289
- get name(): "TEST";
2311
+ static get POINTS_251(): games.jass.logic.data.models.table.config.PointsMode & {
2312
+ get name(): "POINTS_251";
2290
2313
  get ordinal(): 3;
2291
2314
  };
2292
- get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
2293
- get ordinal(): 0 | 1 | 2 | 3;
2315
+ static get POINTS_301(): games.jass.logic.data.models.table.config.PointsMode & {
2316
+ get name(): "POINTS_301";
2317
+ get ordinal(): 4;
2318
+ };
2319
+ static get POINTS_351(): games.jass.logic.data.models.table.config.PointsMode & {
2320
+ get name(): "POINTS_351";
2321
+ get ordinal(): 5;
2322
+ };
2323
+ static get POINTS_501(): games.jass.logic.data.models.table.config.PointsMode & {
2324
+ get name(): "POINTS_501";
2325
+ get ordinal(): 6;
2326
+ };
2327
+ static get POINTS_1000(): games.jass.logic.data.models.table.config.PointsMode & {
2328
+ get name(): "POINTS_1000";
2329
+ get ordinal(): 7;
2330
+ };
2331
+ static get POINTS_1001(): games.jass.logic.data.models.table.config.PointsMode & {
2332
+ get name(): "POINTS_1001";
2333
+ get ordinal(): 8;
2334
+ };
2335
+ static get POINTS_2000(): games.jass.logic.data.models.table.config.PointsMode & {
2336
+ get name(): "POINTS_2000";
2337
+ get ordinal(): 9;
2338
+ };
2339
+ get name(): "POINTS_10" | "POINTS_151" | "POINTS_152" | "POINTS_251" | "POINTS_301" | "POINTS_351" | "POINTS_501" | "POINTS_1000" | "POINTS_1001" | "POINTS_2000";
2340
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
2294
2341
  get value(): number;
2295
2342
  static values(): Array<games.jass.logic.data.models.table.config.PointsMode>;
2296
2343
  static valueOf(value: string): games.jass.logic.data.models.table.config.PointsMode;