client_plugin_logic_deb 1.4.93 → 1.4.95

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.
@@ -577,13 +577,16 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
577
577
  }
578
578
  export declare namespace com.debertz.logic.redux.actions.client.to {
579
579
  class ActionDeliveryPayload {
580
- constructor(roomId: string, sendToPlayerIds: Array<string>, deliveryType: com.debertz.logic.redux.actions.client.to.ActionDeliveryType);
580
+ constructor(roomId: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: com.debertz.logic.redux.actions.client.to.ActionDeliveryType);
581
581
  get roomId(): string;
582
- get sendToPlayerIds(): Array<string>;
582
+ get includePlayers(): Array<string>;
583
+ get excludePlayers(): Array<string>;
583
584
  get deliveryType(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
585
+ get excludePlayerOrNull(): Nullable<string>;
586
+ get excludePlayer(): string;
584
587
  equals(other: Nullable<any>): boolean;
585
588
  hashCode(): number;
586
- copy(roomId?: string, sendToPlayerIds?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
589
+ copy(roomId?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
587
590
  toString(): string;
588
591
  static get Companion(): {
589
592
  user(roomId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
@@ -595,8 +598,8 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
595
598
  get name(): "ROOM_ALL";
596
599
  get ordinal(): 0;
597
600
  };
598
- static get ROOM_EXCEPT_CURRENT(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
599
- get name(): "ROOM_EXCEPT_CURRENT";
601
+ static get ROOM_EXCEPT_USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
602
+ get name(): "ROOM_EXCEPT_USER";
600
603
  get ordinal(): 1;
601
604
  };
602
605
  static get USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
@@ -605,7 +608,7 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
605
608
  };
606
609
  static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
607
610
  static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
608
- get name(): "ROOM_ALL" | "ROOM_EXCEPT_CURRENT" | "USER";
611
+ get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
609
612
  get ordinal(): 0 | 1 | 2;
610
613
  static get Companion(): {
611
614
  serializer(): any/* kotlinx.serialization.KSerializer<com.debertz.logic.redux.actions.client.to.ActionDeliveryType> */;
@@ -757,7 +760,6 @@ export declare interface ParserHelper {
757
760
  encodeFromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): string;
758
761
  decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
759
762
  encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
760
- decodeToClientEvent(playerId: string, table: com.debertz.logic.data.models.table.DebertzTable, json: string): com.debertz.logic.redux.actions.client.to.ToClientAction;
761
763
  decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
762
764
  readonly __doNotUseOrImplementIt: {
763
765
  readonly ParserHelper: unique symbol;
@@ -957,7 +959,7 @@ export declare namespace com.logic.plugin.utils.events {
957
959
  };
958
960
  }
959
961
  interface EventController {
960
- error(error: Error): void;
962
+ error(error: com.logic.plugin.utils.events.PluginError): void;
961
963
  success(data: Nullable<any>): void;
962
964
  endOfStream(): void;
963
965
  readonly __doNotUseOrImplementIt: {
@@ -969,7 +971,7 @@ export declare namespace com.logic.plugin.utils.events {
969
971
  interface MethodController {
970
972
  getMethodName(): string;
971
973
  getArguments(): Nullable<any>;
972
- error(error: Error): void;
974
+ error(error: com.logic.plugin.utils.events.PluginError): void;
973
975
  success(eventData?: Nullable<any>): void;
974
976
  notImplemented(): void;
975
977
  readonly __doNotUseOrImplementIt: {
@@ -978,12 +980,11 @@ export declare namespace com.logic.plugin.utils.events {
978
980
  }
979
981
  }
980
982
  export declare namespace com.logic.plugin.utils.events {
981
- class PluginError {
982
- constructor(errorCode: string, errorMessage: Nullable<string>, errorDetails: Nullable<any>);
983
+ class PluginError /* extends kotlin.Exception */ {
984
+ constructor(errorCode: string, message: Nullable<string>, cause: Nullable<Error>);
983
985
  get errorCode(): string;
984
- get errorMessage(): Nullable<string>;
985
- get errorDetails(): Nullable<any>;
986
- copy(errorCode?: string, errorMessage?: Nullable<string>, errorDetails?: Nullable<any>): com.logic.plugin.utils.events.PluginError;
986
+ get errorDetails(): Nullable<string>;
987
+ copy(errorCode?: string, message?: Nullable<string>, cause?: Nullable<Error>): com.logic.plugin.utils.events.PluginError;
987
988
  toString(): string;
988
989
  hashCode(): number;
989
990
  equals(other: Nullable<any>): boolean;