Body, Mind & Soul — API Reference
    Preparing search index...

    Class default

    Hierarchy

    • any
      • default
    Index
    • Returns default

    _dropZoneAttached: boolean = false

    Guard against duplicate drop-zone listeners

    _isDragging: boolean = false

    Track whether something is being dragged (for showing empty dropzone)

    DEFAULT_OPTIONS: {
        classes: string[];
        id: string;
        window: { frame: boolean; positioned: boolean };
    } = ...
    PARTS: { hotbar: { template: string } } = ...
    • Add a deck ID to the hotbar setting.

      Parameters

      • id: string

      Returns Promise<void>

    • Returns (
          | {
              icon: string;
              label: string;
              onClick: (_event: any, li: any) => void;
              visible?: undefined;
          }
          | {
              icon: string;
              label: string;
              onClick: (_event: any, li: any) => Promise<void>;
              visible: () => boolean;
          }
      )[]

    • – insert into #ui-bottom above the hotbar

      Parameters

      • element: any

      Returns void

    • Parameters

      • options: any

      Returns any

    • Handle drop data — accept Cards (from sidebar) and CharacterDeck (from actor sheet).

      Parameters

      • data: object

      Returns Promise<any>

    • Parameters

      • context: any
      • options: any

      Returns void

    • Scry workflow: prompt for count, then open ScryDialog.

      Parameters

      • deckId: string

      Returns Promise<any>

    • Parameters

      • options: any

      Returns Promise<any>

    • Remove a deck ID from the hotbar setting.

      Parameters

      • id: string

      Returns Promise<void>

    • Set up native drag-and-drop on the hotbar element (once).

      Returns void

    • Set up global drag listeners to show/hide the empty dropzone. Uses capture phase so we see the event even if a handler stops propagation. Called once during initialization.

      Returns void