game_client_logic_deb 1.4.13 → 1.4.20

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.
@@ -226,6 +226,8 @@ export namespace com.debertz.logic {
226
226
  interface GameStoreContract {
227
227
  readonly id: string;
228
228
  readonly table: com.debertz.logic.data.models.table.DebertzTable;
229
+ readonly isTableExists: boolean;
230
+ readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
229
231
  readonly __doNotUseOrImplementIt: {
230
232
  readonly "com.debertz.logic.GameStoreContract": unique symbol;
231
233
  };
@@ -248,6 +250,34 @@ export namespace com.debertz.logic.data.models {
248
250
  equals(other: Nullable<any>): boolean;
249
251
  }
250
252
  }
253
+ export namespace com.debertz.logic.data.models {
254
+ abstract class GameLifecycleState {
255
+ private constructor();
256
+ static get CREATED(): com.debertz.logic.data.models.GameLifecycleState & {
257
+ get name(): "CREATED";
258
+ get ordinal(): 0;
259
+ };
260
+ static get CREATING(): com.debertz.logic.data.models.GameLifecycleState & {
261
+ get name(): "CREATING";
262
+ get ordinal(): 1;
263
+ };
264
+ static get FINISHING(): com.debertz.logic.data.models.GameLifecycleState & {
265
+ get name(): "FINISHING";
266
+ get ordinal(): 2;
267
+ };
268
+ static get FINISHED(): com.debertz.logic.data.models.GameLifecycleState & {
269
+ get name(): "FINISHED";
270
+ get ordinal(): 3;
271
+ };
272
+ static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
273
+ static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
274
+ get name(): "CREATED" | "CREATING" | "FINISHING" | "FINISHED";
275
+ get ordinal(): 0 | 1 | 2 | 3;
276
+ static get Companion(): {
277
+ serializer(): any/* kotlinx.serialization.KSerializer<com.debertz.logic.data.models.GameLifecycleState> */;
278
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
279
+ }
280
+ }
251
281
  export namespace com.debertz.logic.data.models.scenes {
252
282
  interface ActData {
253
283
  readonly actId: string;
@@ -616,10 +646,11 @@ export namespace com.debertz.logic.redux.actions.mechanic {
616
646
  } & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
617
647
  }
618
648
  class PlayerConnectionChangedMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
619
- constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers: boolean);
649
+ constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers: boolean, timeToReconnect?: Nullable<string>);
620
650
  get playerId(): string;
621
651
  get state(): com.logic.data.models.player.PlayerConnectionState;
622
652
  get isNoneActivePlayers(): boolean;
653
+ get timeToReconnect(): Nullable<string>;
623
654
  get isLive(): boolean;
624
655
  get isTimeOut(): boolean;
625
656
  get isLostConnection(): boolean;
@@ -629,7 +660,8 @@ export namespace com.debertz.logic.redux.actions.mechanic {
629
660
  component1(): string;
630
661
  component2(): com.logic.data.models.player.PlayerConnectionState;
631
662
  component3(): boolean;
632
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers?: boolean): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
663
+ component4(): Nullable<string>;
664
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers?: boolean, timeToReconnect?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
633
665
  toString(): string;
634
666
  hashCode(): number;
635
667
  equals(other: Nullable<any>): boolean;
@@ -683,6 +715,8 @@ export namespace com.debertz.logic.client.domain.mechanic {
683
715
  playerExit(): void;
684
716
  readonly id: string;
685
717
  readonly table: com.debertz.logic.data.models.table.DebertzTable;
718
+ readonly isTableExists: boolean;
719
+ readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
686
720
  readonly __doNotUseOrImplementIt: {
687
721
  readonly "com.debertz.logic.client.domain.mechanic.GameMechanic": unique symbol;
688
722
  } & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
@@ -723,6 +757,8 @@ export namespace com.debertz.logic.client.domain.mechanic.online {
723
757
  playerExit(): void;
724
758
  readonly id: string;
725
759
  readonly table: com.debertz.logic.data.models.table.DebertzTable;
760
+ readonly isTableExists: boolean;
761
+ readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
726
762
  readonly __doNotUseOrImplementIt: {
727
763
  readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
728
764
  } & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];