game_client_logic_deb 1.8.225 → 1.8.232

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.
@@ -93,17 +93,17 @@ export declare namespace games.raspberry.card_game.random.data.models {
93
93
  }
94
94
  export declare namespace games.raspberry.card_game.random.data.models {
95
95
  class GameCardDecksRecord {
96
- constructor(id: string, signature: Nullable<string>, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
97
- get id(): string;
96
+ constructor(poolId: string, signature: Nullable<string>, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
97
+ get poolId(): string;
98
98
  get signature(): Nullable<string>;
99
99
  get userData(): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
100
100
  get rounds(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>;
101
- copy(id?: string, signature?: Nullable<string>, userData?: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
101
+ copy(poolId?: string, signature?: Nullable<string>, userData?: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
102
102
  toString(): string;
103
103
  hashCode(): number;
104
104
  equals(other: Nullable<any>): boolean;
105
105
  static get Companion(): {
106
- firstRound(id: string, signature: Nullable<string>, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
106
+ firstRound(poolId: string, signature: Nullable<string>, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
107
107
  newRound(gameCardDecksRecord: games.raspberry.card_game.random.data.models.GameCardDecksRecord, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
108
108
  };
109
109
  }
@@ -552,7 +552,7 @@ export declare namespace games.jass.logic.data.models {
552
552
  equals(other: Nullable<any>): boolean;
553
553
  static get Companion(): {
554
554
  getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
555
- getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
555
+ getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
556
556
  };
557
557
  }
558
558
  }
@@ -811,6 +811,27 @@ export declare namespace games.jass.logic.data.models.player.hand {
811
811
  equals(other: Nullable<any>): boolean;
812
812
  }
813
813
  }
814
+ export declare namespace games.jass.logic.data.models.player.points {
815
+ abstract class PointsDistributeMode {
816
+ private constructor();
817
+ static get ALL(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
818
+ get name(): "ALL";
819
+ get ordinal(): 0;
820
+ };
821
+ static get HIGHEST_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
822
+ get name(): "HIGHEST_PLAYER";
823
+ get ordinal(): 1;
824
+ };
825
+ static get HIGHER_THEN_FAILED_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
826
+ get name(): "HIGHER_THEN_FAILED_PLAYER";
827
+ get ordinal(): 2;
828
+ };
829
+ get name(): "ALL" | "HIGHEST_PLAYER" | "HIGHER_THEN_FAILED_PLAYER";
830
+ get ordinal(): 0 | 1 | 2;
831
+ static values(): Array<games.jass.logic.data.models.player.points.PointsDistributeMode>;
832
+ static valueOf(value: string): games.jass.logic.data.models.player.points.PointsDistributeMode;
833
+ }
834
+ }
814
835
  export declare namespace games.jass.logic.data.models.player.state {
815
836
  abstract class RoundContractState {
816
837
  private constructor();
@@ -867,7 +888,7 @@ export declare namespace games.jass.logic.data.models.player.state {
867
888
  }
868
889
  export declare namespace games.jass.logic.data.models.rules {
869
890
  class Rules {
870
- 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, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
891
+ 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);
871
892
  get needToPutHigherTrump(): boolean;
872
893
  get playerWhoChooseSuitGoFirst(): boolean;
873
894
  get winnerShuffleCards(): boolean;
@@ -886,7 +907,9 @@ export declare namespace games.jass.logic.data.models.rules {
886
907
  get enableTrumpSevenCombinationAfterDistribution(): boolean;
887
908
  get checkTrumpCombination(): boolean;
888
909
  get checkOnlyTrumpDebertz(): boolean;
910
+ /** @deprecated use [pointsDistributeMode] */
889
911
  get distributePoints(): boolean;
912
+ get pointsDistributeMode(): games.jass.logic.data.models.player.points.PointsDistributeMode;
890
913
  get enableFineAfterThirdByte(): boolean;
891
914
  get fineAfterThirdFailedContract(): number;
892
915
  get enableFineIfNoBribes(): boolean;
@@ -894,7 +917,7 @@ export declare namespace games.jass.logic.data.models.rules {
894
917
  toString(): string;
895
918
  equals(other: Nullable<any>): boolean;
896
919
  hashCode(): number;
897
- 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, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
920
+ 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;
898
921
  static get Companion(): {
899
922
  get HAND_CARDS_INITIAL(): number;
900
923
  get HAND_CARDS_FINAL(): number;
@@ -962,12 +985,13 @@ export declare namespace games.jass.logic.data.models.scenes {
962
985
  }
963
986
  export declare namespace games.jass.logic.data.models.table {
964
987
  class JassTable {
965
- constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
988
+ constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
966
989
  get id(): string;
967
990
  get version(): string;
968
991
  get createdAt(): any/* kotlinx.datetime.Instant */;
969
992
  get config(): games.jass.logic.data.models.table.config.Config;
970
993
  get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
994
+ get spectators(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>;
971
995
  get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
972
996
  get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
973
997
  get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
@@ -984,11 +1008,11 @@ export declare namespace games.jass.logic.data.models.table {
984
1008
  get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
985
1009
  get isGameFinished(): boolean;
986
1010
  toString(): string;
987
- copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: games.jass.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
1011
+ copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: games.jass.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
988
1012
  hashCode(): number;
989
1013
  equals(other: Nullable<any>): boolean;
990
1014
  static get Companion(): {
991
- initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>): games.jass.logic.data.models.table.JassTable;
1015
+ initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>): games.jass.logic.data.models.table.JassTable;
992
1016
  };
993
1017
  }
994
1018
  }
@@ -1416,7 +1440,10 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
1416
1440
  }
1417
1441
  }
1418
1442
  export declare namespace games.jass.logic.redux.actions {
1419
- const ClearAction: {
1443
+ class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
1444
+ constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>);
1445
+ get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
1446
+ copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>): games.jass.logic.redux.actions.ClearAction;
1420
1447
  toString(): string;
1421
1448
  hashCode(): number;
1422
1449
  equals(other: Nullable<any>): boolean;
@@ -1424,7 +1451,7 @@ export declare namespace games.jass.logic.redux.actions {
1424
1451
  notValidateWhenFinishing(): boolean;
1425
1452
  notValidateWhenFinished(): boolean;
1426
1453
  readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
1427
- } & com.logic.redux.store.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
1454
+ }
1428
1455
  }
1429
1456
  export declare namespace games.jass.logic.redux.actions.client.from {
1430
1457
  abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
@@ -1542,6 +1569,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1542
1569
  constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
1543
1570
  get roomId(): string;
1544
1571
  get playerIds(): kotlin.collections.KtList<string>;
1572
+ get playerIdsArray(): Array<string>;
1545
1573
  copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1546
1574
  toString(): string;
1547
1575
  hashCode(): number;
@@ -1566,14 +1594,15 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1566
1594
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
1567
1595
  }
1568
1596
  class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
1569
- constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>);
1597
+ constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid: Nullable<string> | undefined, spectators: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
1570
1598
  get config(): games.jass.logic.data.models.table.config.Config;
1571
1599
  get id(): string;
1572
1600
  get version(): string;
1573
1601
  get gameCreatorPlayerId(): string;
1574
1602
  get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1575
1603
  get aid(): Nullable<string>;
1576
- copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
1604
+ get spectators(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1605
+ copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>, spectators?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
1577
1606
  toString(): string;
1578
1607
  hashCode(): number;
1579
1608
  equals(other: Nullable<any>): boolean;
@@ -1813,6 +1842,7 @@ export declare namespace games.jass.logic.client.domain.mechanic {
1813
1842
  switchChat(open: boolean): void;
1814
1843
  foreground(foreground: boolean): void;
1815
1844
  updateConfig(updateConfig: any/* games.jass.logic.client.data.models.config.UpdateConfigModel */): void;
1845
+ clientMessage(message: any/* games.jass.logic.data.models.messages.Message */): void;
1816
1846
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
1817
1847
  tutorialPassed(skipped: boolean): void;
1818
1848
  playerExit(): void;