game_client_logic_deb 1.8.110 → 1.8.131

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.
@@ -975,14 +975,18 @@ export declare namespace com.debertz.logic.data.models.table.history {
975
975
  }
976
976
  export declare namespace com.debertz.logic.data.models.table.history {
977
977
  class RoundHistory {
978
- constructor(roundNumber: number, items: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>);
978
+ constructor(roundNumber: number, items: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundCommitted: Nullable<Array<string>>, roundContractState: Nullable<com.debertz.logic.data.models.player.state.RoundContractState>, roundWinners: Nullable<Array<string>>);
979
979
  get roundNumber(): number;
980
980
  get items(): Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>;
981
+ get roundCommitted(): Nullable<Array<string>>;
982
+ get roundContractState(): Nullable<com.debertz.logic.data.models.player.state.RoundContractState>;
983
+ get roundWinners(): Nullable<Array<string>>;
984
+ get roundContractStateName(): Nullable<string>;
981
985
  get isRoundEmpty(): boolean;
982
986
  equals(other: Nullable<any>): boolean;
983
987
  hashCode(): number;
984
988
  toStringShort(): string;
985
- copy(roundNumber?: number, items?: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>): com.debertz.logic.data.models.table.history.RoundHistory;
989
+ copy(roundNumber?: number, items?: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundCommitted?: Nullable<Array<string>>, roundContractState?: Nullable<com.debertz.logic.data.models.player.state.RoundContractState>, roundWinners?: Nullable<Array<string>>): com.debertz.logic.data.models.table.history.RoundHistory;
986
990
  toString(): string;
987
991
  static get Companion(): {
988
992
  initial(roundNumber: number): com.debertz.logic.data.models.table.history.RoundHistory;
@@ -1040,6 +1044,7 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
1040
1044
  abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
1041
1045
  protected constructor();
1042
1046
  abstract get playerId(): string;
1047
+ abstract get fromBot(): boolean;
1043
1048
  get actionTag(): string;
1044
1049
  readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1045
1050
  }
@@ -1115,25 +1120,21 @@ export declare namespace com.debertz.logic.redux.actions.game {
1115
1120
  get actionTag(): string;
1116
1121
  }
1117
1122
  class RoundEndedAction extends com.debertz.logic.redux.actions.game.GameAction {
1118
- constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, roundCommitted: Array<string>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners: Array<string>, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, playersRoundAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
1123
+ constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, playersRoundAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
1119
1124
  get id(): string;
1120
1125
  get gameId(): string;
1121
1126
  get roundNumber(): number;
1122
1127
  get earnedBiggestPointPlayerId(): string;
1123
- get roundCommitted(): Array<string>;
1124
- get roundContractState(): com.debertz.logic.data.models.player.state.RoundContractState;
1125
- get roundWinners(): Array<string>;
1126
1128
  get gameLosers(): Nullable<Array<string>>;
1127
1129
  get gameWinners(): Nullable<Array<string>>;
1128
1130
  get playersGameAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
1129
1131
  get playersRoundAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
1130
1132
  get gameHistory(): com.debertz.logic.data.models.table.history.GameHistory;
1131
- get roundContractStateName(): string;
1132
1133
  get isGameFinished(): boolean;
1133
1134
  toString(): string;
1134
1135
  equals(other: Nullable<any>): boolean;
1135
1136
  hashCode(): number;
1136
- copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
1137
+ copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
1137
1138
  get actionTag(): string;
1138
1139
  }
1139
1140
  class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
@@ -1272,7 +1273,7 @@ export declare interface ParserHelper {
1272
1273
  encodeFromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): string;
1273
1274
  decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
1274
1275
  encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
1275
- decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): Array<com.debertz.logic.redux.actions.mechanic.MechanicAction>;
1276
+ decodeToClientEventToMechanicActions(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): Array<com.debertz.logic.redux.actions.mechanic.MechanicAction>;
1276
1277
  encodeGameRound(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
1277
1278
  encodeGameRoundItems(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
1278
1279
  readonly __doNotUseOrImplementIt: {
@@ -1343,17 +1344,17 @@ export declare namespace com.debertz.logic.client.data.models.vm {
1343
1344
  copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, gameType?: com.debertz.logic.client.data.models.config.GameType, users?: Array<com.logic.data.models.player.GameUserInfo>, config?: com.debertz.logic.data.models.table.config.ConfigLite, gameWinners?: Nullable<Array<string>>): com.debertz.logic.client.data.models.vm.GameHistoryViewModel;
1344
1345
  }
1345
1346
  class RoundEndedHistoryViewModel /* extends com.debertz.logic.client.data.models.vm.HistoryViewModel */ {
1346
- constructor(gameId: string, roundNumber: number, items: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundCommitted: Array<string>, roundWinners: Array<string>, gameEndedHistory: Nullable<com.debertz.logic.client.data.models.vm.GameHistoryViewModel>);
1347
+ constructor(gameId: string, roundNumber: number, items: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundContractState: Nullable<com.debertz.logic.data.models.player.state.RoundContractState>, roundCommitted: Nullable<Array<string>>, roundWinners: Nullable<Array<string>>, gameEndedHistory: Nullable<com.debertz.logic.client.data.models.vm.GameHistoryViewModel>);
1347
1348
  get gameId(): string;
1348
1349
  get roundNumber(): number;
1349
1350
  get items(): Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>;
1350
- get roundContractState(): com.debertz.logic.data.models.player.state.RoundContractState;
1351
- get roundCommitted(): Array<string>;
1352
- get roundWinners(): Array<string>;
1351
+ get roundContractState(): Nullable<com.debertz.logic.data.models.player.state.RoundContractState>;
1352
+ get roundCommitted(): Nullable<Array<string>>;
1353
+ get roundWinners(): Nullable<Array<string>>;
1353
1354
  get gameEndedHistoryViewModel(): Nullable<com.debertz.logic.client.data.models.vm.GameHistoryViewModel>;
1354
1355
  equals(other: Nullable<any>): boolean;
1355
1356
  hashCode(): number;
1356
- copy(gameId?: string, roundNumber?: number, items?: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundCommitted?: Array<string>, roundWinners?: Array<string>, gameEndedHistory?: Nullable<com.debertz.logic.client.data.models.vm.GameHistoryViewModel>): com.debertz.logic.client.data.models.vm.RoundEndedHistoryViewModel;
1357
+ copy(gameId?: string, roundNumber?: number, items?: Array<com.debertz.logic.data.models.table.history.RoundHistoryItem>, roundContractState?: Nullable<com.debertz.logic.data.models.player.state.RoundContractState>, roundCommitted?: Nullable<Array<string>>, roundWinners?: Nullable<Array<string>>, gameEndedHistory?: Nullable<com.debertz.logic.client.data.models.vm.GameHistoryViewModel>): com.debertz.logic.client.data.models.vm.RoundEndedHistoryViewModel;
1357
1358
  toString(): string;
1358
1359
  }
1359
1360
  }