game_client_logic_deb 1.4.27 → 1.4.29

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.
@@ -513,11 +513,53 @@ export namespace com.debertz.logic.redux.actions.client.from {
513
513
  readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
514
514
  }
515
515
  }
516
+ export namespace com.debertz.logic.redux.actions.client.to {
517
+ class ActionDeliveryPayload {
518
+ constructor(roomId: string, sendToPlayerIds: Array<string>, deliveryType: com.debertz.logic.redux.actions.client.to.ActionDeliveryType);
519
+ get roomId(): string;
520
+ get sendToPlayerIds(): Array<string>;
521
+ get deliveryType(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
522
+ equals(other: Nullable<any>): boolean;
523
+ hashCode(): number;
524
+ component1(): string;
525
+ component2(): Array<string>;
526
+ component3(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
527
+ copy(roomId?: string, sendToPlayerIds?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
528
+ toString(): string;
529
+ static get Companion(): {
530
+ user(roomId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
531
+ };
532
+ }
533
+ abstract class ActionDeliveryType {
534
+ private constructor();
535
+ static get ROOM_ALL(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
536
+ get name(): "ROOM_ALL";
537
+ get ordinal(): 0;
538
+ };
539
+ static get ROOM_EXCEPT_CURRENT(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
540
+ get name(): "ROOM_EXCEPT_CURRENT";
541
+ get ordinal(): 1;
542
+ };
543
+ static get USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
544
+ get name(): "USER";
545
+ get ordinal(): 2;
546
+ };
547
+ static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
548
+ static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
549
+ get name(): "ROOM_ALL" | "ROOM_EXCEPT_CURRENT" | "USER";
550
+ get ordinal(): 0 | 1 | 2;
551
+ static get Companion(): {
552
+ serializer(): any/* kotlinx.serialization.KSerializer<com.debertz.logic.redux.actions.client.to.ActionDeliveryType> */;
553
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
554
+ }
555
+ }
516
556
  export namespace com.debertz.logic.redux.actions.client.to {
517
557
  abstract class ToClientAction implements com.logic.domain.engine.definitions.Action {
518
558
  protected constructor();
519
- abstract get sendToPlayerId(): string;
520
- abstract get roomId(): string;
559
+ abstract get deliveryPayload(): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
560
+ get sendToPlayerId(): string;
561
+ get sendToPlayerIds(): Array<string>;
562
+ get roomId(): string;
521
563
  get actionTag(): string;
522
564
  readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
523
565
  }
@@ -681,7 +723,7 @@ export interface ParserHelper {
681
723
  decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
682
724
  encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
683
725
  decodeToClientEvent(playerId: string, table: com.debertz.logic.data.models.table.DebertzTable, json: string): com.debertz.logic.redux.actions.client.to.ToClientAction;
684
- decodeToClientEventToMechanicAction(playerId: string, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
726
+ decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
685
727
  readonly __doNotUseOrImplementIt: {
686
728
  readonly ParserHelper: unique symbol;
687
729
  };