game_client_logic_deb 1.8.107 → 1.8.117

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.
@@ -561,12 +561,21 @@ export declare namespace com.debertz.logic.data.models {
561
561
  get gamesCount(): number;
562
562
  get roundsCountTotal(): number;
563
563
  get playerAnalytics(): kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>;
564
- get allCombinationCounts(): kotlin.collections.KtMap<com.debertz.logic.data.models.table.combinations.CombinationType, number>;
564
+ get allCombinationCounts(): Array<com.debertz.logic.data.models.CombinationPair>;
565
565
  copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: kotlin.collections.KtList<com.debertz.logic.data.models.player.hand.PlayerAnalytics>): com.debertz.logic.data.models.GameSessionAnalytics;
566
566
  toString(): string;
567
567
  hashCode(): number;
568
568
  equals(other: Nullable<any>): boolean;
569
569
  }
570
+ class CombinationPair {
571
+ constructor(combinationType: com.debertz.logic.data.models.table.combinations.CombinationType, count: number);
572
+ get combinationType(): com.debertz.logic.data.models.table.combinations.CombinationType;
573
+ get count(): number;
574
+ copy(combinationType?: com.debertz.logic.data.models.table.combinations.CombinationType, count?: number): com.debertz.logic.data.models.CombinationPair;
575
+ toString(): string;
576
+ hashCode(): number;
577
+ equals(other: Nullable<any>): boolean;
578
+ }
570
579
  }
571
580
  export declare namespace com.debertz.logic.data.models.player.hand {
572
581
  class CombinationRecord {
@@ -1031,6 +1040,7 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
1031
1040
  abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
1032
1041
  protected constructor();
1033
1042
  abstract get playerId(): string;
1043
+ abstract get fromBot(): boolean;
1034
1044
  get actionTag(): string;
1035
1045
  readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1036
1046
  }
@@ -1263,7 +1273,7 @@ export declare interface ParserHelper {
1263
1273
  encodeFromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): string;
1264
1274
  decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
1265
1275
  encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
1266
- decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): 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>;
1267
1277
  encodeGameRound(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
1268
1278
  encodeGameRoundItems(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
1269
1279
  readonly __doNotUseOrImplementIt: {
@@ -1389,7 +1399,7 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
1389
1399
  interface OnlineGameMechanic extends com.debertz.logic.client.domain.mechanic.GameMechanic {
1390
1400
  readonly currentPlayerId: string;
1391
1401
  observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.redux.actions.client.from.FromClientAction> */;
1392
- mechanicAction(action: com.debertz.logic.redux.actions.mechanic.MechanicAction): void;
1402
+ mechanicActions(actions: Array<com.debertz.logic.redux.actions.mechanic.MechanicAction>): void;
1393
1403
  readonly __doNotUseOrImplementIt: {
1394
1404
  readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
1395
1405
  } & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];