game_client_logic_deb 1.8.310 → 1.8.314

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 (37) hide show
  1. package/Kosi-Kaverit-kaverit.js +78 -78
  2. package/Kosi-Kodein-kodein-di.js +647 -647
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1507 -1507
  4. package/Logic_Debertz-core.js +2244 -2215
  5. package/Logic_Debertz-core.js.map +1 -1
  6. package/Logic_Debertz-engine.js +15384 -15268
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_client.d.ts +21 -15
  9. package/Logic_Debertz-game_client.js +5384 -4779
  10. package/Logic_Debertz-game_client.js.map +1 -1
  11. package/kotlin-kotlin-stdlib.js +2883 -2641
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/kotlinx-atomicfu.js +25 -25
  14. package/kotlinx-coroutines-core.js +2858 -2858
  15. package/kotlinx-coroutines-core.js.map +1 -1
  16. package/kotlinx-io-kotlinx-io-core.js +362 -362
  17. package/kotlinx-serialization-kotlinx-serialization-core.js +2038 -2038
  18. package/kotlinx-serialization-kotlinx-serialization-json.js +1569 -1569
  19. package/ktor-ktor-client-content-negotiation.js +219 -219
  20. package/ktor-ktor-client-core.js +2528 -2528
  21. package/ktor-ktor-client-logging.js +553 -553
  22. package/ktor-ktor-events.js +12 -12
  23. package/ktor-ktor-http.js +762 -762
  24. package/ktor-ktor-io.js +1659 -1659
  25. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  26. package/ktor-ktor-serialization-kotlinx.js +271 -271
  27. package/ktor-ktor-serialization.js +130 -130
  28. package/ktor-ktor-utils.js +741 -741
  29. package/ktor-ktor-websockets.js +60 -60
  30. package/package.json +1 -1
  31. package/raspberry-cardgame-lib-core.js +341 -318
  32. package/raspberry-cardgame-lib-core.js.map +1 -1
  33. package/raspberry-cardgame-lib-logger.js +102 -102
  34. package/raspberry-cardgame-lib-random.js +993 -978
  35. package/raspberry-cardgame-lib-random.js.map +1 -1
  36. package/secure-random-secure-random.js +18 -18
  37. package/uuid.js +33 -33
@@ -970,7 +970,8 @@ export declare namespace games.jass.logic.data.models.player.state {
970
970
  }
971
971
  export declare namespace games.jass.logic.data.models.rules {
972
972
  class Rules {
973
- 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);
973
+ 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);
974
+ get name(): Nullable<string>;
974
975
  get playerWhoChooseSuitGoFirst(): boolean;
975
976
  get winnerShuffleCards(): boolean;
976
977
  get playWithoutLiabilities(): boolean;
@@ -1000,7 +1001,7 @@ export declare namespace games.jass.logic.data.models.rules {
1000
1001
  toString(): string;
1001
1002
  equals(other: Nullable<any>): boolean;
1002
1003
  hashCode(): number;
1003
- 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;
1004
+ 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;
1004
1005
  static get Companion(): {
1005
1006
  get HAND_CARDS_INITIAL(): number;
1006
1007
  get HAND_CARDS_FINAL(): number;
@@ -1240,32 +1241,32 @@ export declare namespace games.jass.logic.data.models.table.combinations {
1240
1241
  get name(): "SEVEN_TRUMP";
1241
1242
  get ordinal(): 5;
1242
1243
  };
1243
- static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1244
- get name(): "FOUR_ACES";
1244
+ static get FOUR_SEVENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1245
+ get name(): "FOUR_SEVENS";
1245
1246
  get ordinal(): 6;
1246
1247
  };
1247
- static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1248
- get name(): "FOUR_KINGS";
1248
+ static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1249
+ get name(): "FOUR_NINES";
1249
1250
  get ordinal(): 7;
1250
1251
  };
1251
- static get FOUR_DAMES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1252
- get name(): "FOUR_DAMES";
1252
+ static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1253
+ get name(): "FOUR_TENS";
1253
1254
  get ordinal(): 8;
1254
1255
  };
1255
1256
  static get FOUR_JACKS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1256
1257
  get name(): "FOUR_JACKS";
1257
1258
  get ordinal(): 9;
1258
1259
  };
1259
- static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1260
- get name(): "FOUR_TENS";
1260
+ static get FOUR_QUEENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1261
+ get name(): "FOUR_QUEENS";
1261
1262
  get ordinal(): 10;
1262
1263
  };
1263
- static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1264
- get name(): "FOUR_NINES";
1264
+ static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1265
+ get name(): "FOUR_KINGS";
1265
1266
  get ordinal(): 11;
1266
1267
  };
1267
- static get FOUR_SEVENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1268
- get name(): "FOUR_SEVENS";
1268
+ static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1269
+ get name(): "FOUR_ACES";
1269
1270
  get ordinal(): 12;
1270
1271
  };
1271
1272
  static get FINE_NO_BRIBES(): games.jass.logic.data.models.table.combinations.CombinationType & {
@@ -1288,7 +1289,7 @@ export declare namespace games.jass.logic.data.models.table.combinations {
1288
1289
  get name(): "BONUS_CONTROVERSIAL_CONTRACT";
1289
1290
  get ordinal(): 17;
1290
1291
  };
1291
- get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "FIVE_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_ACES" | "FOUR_KINGS" | "FOUR_DAMES" | "FOUR_JACKS" | "FOUR_TENS" | "FOUR_NINES" | "FOUR_SEVENS" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
1292
+ 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";
1292
1293
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
1293
1294
  static values(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
1294
1295
  static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationType;
@@ -1358,6 +1359,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1358
1359
  get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1359
1360
  get league(): Nullable<games.jass.logic.data.models.leagues.League>;
1360
1361
  get mode(): games.jass.logic.data.models.table.config.RoomMode;
1362
+ getDealerStrategyOrDefault(dealerConfig: games.jass.logic.data.models.DealerConfig): games.jass.logic.domain.interactors.dealer.DealerStrategy;
1361
1363
  get playerHandCardsSize(): number;
1362
1364
  copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league?: Nullable<games.jass.logic.data.models.leagues.League>, mode?: games.jass.logic.data.models.table.config.RoomMode): games.jass.logic.data.models.table.config.Config;
1363
1365
  toString(): string;
@@ -1641,9 +1643,13 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
1641
1643
  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";
1642
1644
  get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
1643
1645
  shouldEqualiseHand(): boolean;
1646
+ isFake(): boolean;
1644
1647
  isRandomOrg(): boolean;
1645
1648
  static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1646
1649
  static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
1650
+ static get Companion(): {
1651
+ default(): games.jass.logic.domain.interactors.dealer.DealerStrategy;
1652
+ };
1647
1653
  }
1648
1654
  }
1649
1655
  export declare namespace games.jass.logic.redux.actions {