Pathfinder 1e for Foundry VTT
    Preparing search index...

    Hierarchy

    • HandlebarsApplication<this> & ApplicationV2<
          RenderContext,
          Configuration,
          RenderOptions,
          this,
      >
      • MacroWizard
    Index

    Constructors

    Properties

    ACTOR_ROLL_OPTIONS: { defaults: { skip: boolean } } = ...

    Available options to actor rolls

    DEFAULT_OPTIONS: {
        actions: { create: Object };
        classes: string[];
        form: {
            closeOnSubmit: boolean;
            handler: Object;
            submitOnChange: boolean;
            submitOnClose: boolean;
        };
        position: { height: number; width: number };
        tag: string;
        window: { icon: string; resizable: boolean; title: string };
    } = ...
    DEFAULT_TYPE: string[] = ...

    Default script type priority

    DOCUMENT_DEFAULTS: {
        Action: { base: { card: false; sheet: true; toggle: false; use: true } };
        Actor: { base: { roll: true } };
        Item: {
            base: { card: true; sheet: true; toggle: true; use: true };
            class: { toggle: false; use: false };
            race: { toggle: false; use: false };
            spell: { toggle: false };
            weapon: { toggle: false };
        };
    } = ...
    DOCUMENT_TYPES: string[] = ...

    Supported document types

    DROP_TYPES: string[] = ...

    Supported drop data types.

    IMAGES: {
        abilityScore: "systems/pf1/icons/skills/blue_35.jpg";
        "attack.cmb": "systems/pf1/icons/feats/improved-grapple.jpg";
        "attack.melee": "systems/pf1/icons/skills/weapon_23.jpg";
        "attack.ranged": "systems/pf1/icons/skills/arrow_07.jpg";
        bab: "systems/pf1/icons/skills/yellow_08.jpg";
        cl: "systems/pf1/icons/spells/wind-grasp-eerie-3.jpg";
        cmb: "systems/pf1/icons/feats/improved-grapple.jpg";
        concentration: "systems/pf1/icons/skills/light_01.jpg";
        defenses: "systems/pf1/icons/items/armor/shield-light-metal.png";
        initiative: "systems/pf1/icons/skills/weapon_41.jpg";
        save: "systems/pf1/icons/items/inventory/dice.jpg";
        skill: "systems/pf1/icons/items/inventory/dice.jpg";
    } = ...
    MACRO_TYPES: string[] = ...
    PARTS: { footer: { template: string }; main: { template: string } } = ...

    Accessors

    • get title(): string

      A convenience reference to the title of the Application window.

      Returns string

    Methods

    • Generate JS-safe string

      Attempts to produce easier to read string than JSON.stringify() would create.

      Parameters

      • name: string

      Returns string

    • Initialize configuration options for the Application instance. The default behavior of this method is to intelligently merge options for each class with those of their parents.

      • Array-based options are concatenated
      • Inner objects are merged
      • Otherwise, properties in the subclass replace those defined by a parent

      Parameters

      • options: any

        Options provided directly to the constructor

      Returns Configuration

      Configured options for the application instance

    • Parameters

      • options: any

      Returns {
          img: any;
          source: { document: Document<any, any, null>; type: any; uuid: string };
      }

    • Prepare context that is specific to only a single rendered part.

      It is recommended to augment or mutate the shared context so that downstream methods like _onRender have visibility into the data that was used for rendering. It is acceptable to return a different context object rather than mutating the shared context at the expense of this transparency.

      Parameters

      • partId: any

        The part being rendered

      • context: any

        Shared context provided by _prepareContext

      • options: any

        Options which configure application rendering behavior

      Returns any

      Context data for a specific part