game_client_logic_deb 1.4.52 → 1.4.71

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.
@@ -15,13 +15,13 @@ export declare namespace com.logic.data.models {
15
15
  }
16
16
  export declare namespace com.logic.data.models.player {
17
17
  class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
18
- constructor(playerId: string, name: string, avatarUrl: string, isBot?: boolean, payload?: Nullable<any>);
18
+ constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, payload?: Nullable<any>);
19
19
  get playerId(): string;
20
20
  get name(): string;
21
- get avatarUrl(): string;
21
+ get avatarUrl(): Nullable<string>;
22
22
  get isBot(): boolean;
23
23
  get payload(): Nullable<any>;
24
- copy(playerId?: string, name?: string, avatarUrl?: string, isBot?: boolean, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
24
+ copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
25
25
  toString(): string;
26
26
  hashCode(): number;
27
27
  equals(other: Nullable<any>): boolean;
@@ -154,10 +154,11 @@ export declare namespace com.logic.domain.engine.definitions {
154
154
  }
155
155
  export declare namespace com.logic.domain.engine.definitions {
156
156
  interface Store<State> {
157
- readonly state: State;
157
+ readonly store: com.logic.domain.engine.definitions.Store<State>;
158
158
  dispatch: (p0: com.logic.domain.engine.definitions.Action) => void;
159
159
  readonly observe: any/* kotlinx.coroutines.flow.Flow<State> */;
160
160
  readonly replaceReducer: (p0: any/* com.logic.domain.engine.definitions.Reducer<State> */) => void;
161
+ readonly state: State;
161
162
  readonly __doNotUseOrImplementIt: {
162
163
  readonly "com.logic.domain.engine.definitions.Store": unique symbol;
163
164
  };
@@ -443,6 +444,36 @@ export declare namespace com.debertz.logic.data.models.table.config {
443
444
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
444
445
  }
445
446
  }
447
+ export declare namespace com.debertz.logic.domain.interactors.dealer {
448
+ abstract class DealerStrategy {
449
+ private constructor();
450
+ static get FAKE(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
451
+ get name(): "FAKE";
452
+ get ordinal(): 0;
453
+ };
454
+ static get BASED_ON_PREVIOUS(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
455
+ get name(): "BASED_ON_PREVIOUS";
456
+ get ordinal(): 1;
457
+ };
458
+ static get EQUAL_HAND_BY_POINTS(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
459
+ get name(): "EQUAL_HAND_BY_POINTS";
460
+ get ordinal(): 2;
461
+ };
462
+ static get EQUAL_HAND_BY_VALUE(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
463
+ get name(): "EQUAL_HAND_BY_VALUE";
464
+ get ordinal(): 3;
465
+ };
466
+ static get RANDOM(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
467
+ get name(): "RANDOM";
468
+ get ordinal(): 4;
469
+ };
470
+ shouldEqualiseHand(): boolean;
471
+ static values(): Array<com.debertz.logic.domain.interactors.dealer.DealerStrategy>;
472
+ static valueOf(value: string): com.debertz.logic.domain.interactors.dealer.DealerStrategy;
473
+ get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
474
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
475
+ }
476
+ }
446
477
  export declare namespace com.debertz.logic.redux.actions {
447
478
  const ClearAction: {
448
479
  toString(): string;
@@ -677,6 +708,7 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
677
708
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
678
709
  tutorialPassed(skipped: boolean): void;
679
710
  playerExit(): void;
711
+ error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
680
712
  readonly id: string;
681
713
  readonly table: com.debertz.logic.data.models.table.DebertzTable;
682
714
  readonly isTableExists: boolean;
@@ -691,7 +723,6 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
691
723
  readonly currentPlayerId: string;
692
724
  observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.redux.actions.client.from.FromClientAction> */;
693
725
  mechanicAction(action: com.debertz.logic.redux.actions.mechanic.MechanicAction): void;
694
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
695
726
  onCreate(): void;
696
727
  onDestroy(): void;
697
728
  getConfig(): com.debertz.logic.data.models.table.config.Config;
@@ -719,6 +750,7 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
719
750
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
720
751
  tutorialPassed(skipped: boolean): void;
721
752
  playerExit(): void;
753
+ error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
722
754
  readonly id: string;
723
755
  readonly table: com.debertz.logic.data.models.table.DebertzTable;
724
756
  readonly isTableExists: boolean;