client_plugin_logic_deb 1.8.461 → 1.8.468

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.
Files changed (42) hide show
  1. package/Kosi-Kaverit-kaverit.js +5 -5
  2. package/Kosi-Kodein-kodein-di.js +17 -17
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +37 -37
  4. package/Logic_Debertz-ai_module.js +299 -299
  5. package/Logic_Debertz-client_plugin.d.ts +46 -20
  6. package/Logic_Debertz-client_plugin.js +2039 -2039
  7. package/Logic_Debertz-core.js +607 -518
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +13385 -12690
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_client.js +6712 -6712
  12. package/Logic_Debertz-game_client.js.map +1 -1
  13. package/Logic_Debertz-game_server.js +1052 -1052
  14. package/error-library-error.js +1 -1
  15. package/kotlin-kotlin-stdlib.js +159 -149
  16. package/kotlin-kotlin-stdlib.js.map +1 -1
  17. package/kotlinx-atomicfu.js +1 -1
  18. package/kotlinx-coroutines-core.js +29 -29
  19. package/kotlinx-coroutines-core.js.map +1 -1
  20. package/kotlinx-io-kotlinx-io-bytestring.js +5 -5
  21. package/kotlinx-io-kotlinx-io-core.js +12 -12
  22. package/kotlinx-serialization-kotlinx-serialization-core.js +88 -58
  23. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json.js +54 -54
  25. package/ktor-ktor-client-content-negotiation.js +10 -10
  26. package/ktor-ktor-client-core.js +29 -29
  27. package/ktor-ktor-client-logging.js +14 -14
  28. package/ktor-ktor-events.js +2 -2
  29. package/ktor-ktor-http-cio.js +13 -13
  30. package/ktor-ktor-http.js +38 -38
  31. package/ktor-ktor-io.js +16 -16
  32. package/ktor-ktor-serialization-kotlinx.js +8 -8
  33. package/ktor-ktor-serialization.js +2 -2
  34. package/ktor-ktor-utils.js +22 -22
  35. package/ktor-ktor-websockets.js +2 -2
  36. package/package.json +1 -1
  37. package/random-library-crypto-rand.js +3 -3
  38. package/random-library-secure-random.js +1 -1
  39. package/raspberry-cardgame-lib-core.js +8 -8
  40. package/raspberry-cardgame-lib-logger.js +4 -4
  41. package/raspberry-cardgame-lib-random.js +14 -14
  42. package/uuid.js +4 -4
@@ -1622,7 +1622,7 @@ export declare namespace games.jass.logic.data.models.rules {
1622
1622
  }
1623
1623
  export declare namespace games.jass.logic.data.models.rules {
1624
1624
  class Rules {
1625
- 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);
1625
+ 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);
1626
1626
  get name(): Nullable<string>;
1627
1627
  get playerWhoChooseSuitGoFirst(): boolean;
1628
1628
  get winnerShuffleCards(): boolean;
@@ -1650,10 +1650,16 @@ export declare namespace games.jass.logic.data.models.rules {
1650
1650
  get fineAfterThirdFailedContract(): number;
1651
1651
  get enableFineIfNoBribes(): boolean;
1652
1652
  get fineIfNoBribes(): number;
1653
+ get winTargetPoints(): number;
1654
+ get noTrumpScoreMultiplier(): number;
1655
+ get enableCapot(): boolean;
1656
+ get capotBonus(): number;
1657
+ get enableGeneral(): boolean;
1658
+ get generalBonus(): number;
1653
1659
  toString(): string;
1654
1660
  equals(other: Nullable<any>): boolean;
1655
1661
  hashCode(): number;
1656
- 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;
1662
+ 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;
1657
1663
  }
1658
1664
  namespace Rules {
1659
1665
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -1675,6 +1681,10 @@ export declare namespace games.jass.logic.data.models.rules {
1675
1681
  belotBulgarian(): games.jass.logic.data.models.rules.Rules;
1676
1682
  debertzCommon(): games.jass.logic.data.models.rules.Rules;
1677
1683
  belot(): games.jass.logic.data.models.rules.Rules;
1684
+ beloteFrancaise(): games.jass.logic.data.models.rules.Rules;
1685
+ coinche(): games.jass.logic.data.models.rules.Rules;
1686
+ baloot(): games.jass.logic.data.models.rules.Rules;
1687
+ pilotta(): games.jass.logic.data.models.rules.Rules;
1678
1688
  custom(): games.jass.logic.data.models.rules.Rules;
1679
1689
  private constructor();
1680
1690
  }
@@ -1685,32 +1695,52 @@ export declare namespace games.jass.logic.data.models.rules {
1685
1695
  export declare namespace games.jass.logic.data.models.rules {
1686
1696
  abstract class RulesSetType {
1687
1697
  private constructor();
1688
- static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
1689
- get name(): "belot";
1698
+ static get debertzKharkiv(): games.jass.logic.data.models.rules.RulesSetType & {
1699
+ get name(): "debertzKharkiv";
1690
1700
  get ordinal(): 0;
1691
1701
  };
1692
- static get klabor(): games.jass.logic.data.models.rules.RulesSetType & {
1693
- get name(): "klabor";
1702
+ static get debertzSaltivka(): games.jass.logic.data.models.rules.RulesSetType & {
1703
+ get name(): "debertzSaltivka";
1694
1704
  get ordinal(): 1;
1695
1705
  };
1696
1706
  static get debertzCommon(): games.jass.logic.data.models.rules.RulesSetType & {
1697
1707
  get name(): "debertzCommon";
1698
1708
  get ordinal(): 2;
1699
1709
  };
1700
- static get debertzKharkiv(): games.jass.logic.data.models.rules.RulesSetType & {
1701
- get name(): "debertzKharkiv";
1710
+ static get klabor(): games.jass.logic.data.models.rules.RulesSetType & {
1711
+ get name(): "klabor";
1702
1712
  get ordinal(): 3;
1703
1713
  };
1704
- static get debertzSaltivka(): games.jass.logic.data.models.rules.RulesSetType & {
1705
- get name(): "debertzSaltivka";
1714
+ static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
1715
+ get name(): "belot";
1706
1716
  get ordinal(): 4;
1707
1717
  };
1718
+ static get belotBulgarian(): games.jass.logic.data.models.rules.RulesSetType & {
1719
+ get name(): "belotBulgarian";
1720
+ get ordinal(): 5;
1721
+ };
1722
+ static get beloteFrancaise(): games.jass.logic.data.models.rules.RulesSetType & {
1723
+ get name(): "beloteFrancaise";
1724
+ get ordinal(): 6;
1725
+ };
1726
+ static get coinche(): games.jass.logic.data.models.rules.RulesSetType & {
1727
+ get name(): "coinche";
1728
+ get ordinal(): 7;
1729
+ };
1730
+ static get baloot(): games.jass.logic.data.models.rules.RulesSetType & {
1731
+ get name(): "baloot";
1732
+ get ordinal(): 8;
1733
+ };
1734
+ static get pilotta(): games.jass.logic.data.models.rules.RulesSetType & {
1735
+ get name(): "pilotta";
1736
+ get ordinal(): 9;
1737
+ };
1708
1738
  static get custom(): games.jass.logic.data.models.rules.RulesSetType & {
1709
1739
  get name(): "custom";
1710
- get ordinal(): 5;
1740
+ get ordinal(): 10;
1711
1741
  };
1712
- get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
1713
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
1742
+ get name(): "debertzKharkiv" | "debertzSaltivka" | "debertzCommon" | "klabor" | "belot" | "belotBulgarian" | "beloteFrancaise" | "coinche" | "baloot" | "pilotta" | "custom";
1743
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
1714
1744
  get value(): string;
1715
1745
  getRules(): games.jass.logic.data.models.rules.Rules;
1716
1746
  get isCustom(): boolean;
@@ -2504,16 +2534,12 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
2504
2534
  get name(): "OFFLINE_SHUFFLE_SIMULATION";
2505
2535
  get ordinal(): 6;
2506
2536
  };
2507
- static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
2508
- get name(): "EQUAL_HAND_BY_POINTS";
2509
- get ordinal(): 7;
2510
- };
2511
2537
  static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
2512
2538
  get name(): "EQUAL_HAND_BY_VALUE";
2513
- get ordinal(): 8;
2539
+ get ordinal(): 7;
2514
2540
  };
2515
- get name(): "STANDARD" | "REQUEST_HOST_STANDARD" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED" | "FAKE" | "BASED_ON_PREVIOUS" | "OFFLINE_SHUFFLE_SIMULATION" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE";
2516
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
2541
+ get name(): "STANDARD" | "REQUEST_HOST_STANDARD" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED" | "FAKE" | "BASED_ON_PREVIOUS" | "OFFLINE_SHUFFLE_SIMULATION" | "EQUAL_HAND_BY_VALUE";
2542
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
2517
2543
  shouldEqualiseHand(): boolean;
2518
2544
  isFake(): boolean;
2519
2545
  isRandomOrg(): boolean;