Hierarchy

  • FormApplication
    • HealthConfig

Constructors

Accessors

  • get defaultOptions(): InsertKeys<{
        baseApplication: undefined | null | string;
        classes: undefined | any[];
        closeOnSubmit: undefined | boolean;
        dragDrop: undefined | any[];
        editable: undefined | boolean;
        filters: undefined | any[];
        height: undefined | null | number | "auto";
        id: undefined | string;
        left: undefined | null | number;
        minimizable: undefined | boolean;
        popOut: undefined | boolean;
        resizable: undefined | boolean;
        scale: undefined | null | number;
        scrollY: undefined | any[];
        sheetConfig: undefined | boolean;
        submitOnChange: undefined | boolean;
        submitOnClose: undefined | boolean;
        tabs: undefined | any[];
        template: undefined | null | string;
        title: undefined | string;
        top: undefined | null | number;
        width: undefined | null | number;
    }, OmitByValue<{}, never>>
  • Returns InsertKeys<{
        baseApplication: undefined | null | string;
        classes: undefined | any[];
        closeOnSubmit: undefined | boolean;
        dragDrop: undefined | any[];
        editable: undefined | boolean;
        filters: undefined | any[];
        height: undefined | null | number | "auto";
        id: undefined | string;
        left: undefined | null | number;
        minimizable: undefined | boolean;
        popOut: undefined | boolean;
        resizable: undefined | boolean;
        scale: undefined | null | number;
        scrollY: undefined | any[];
        sheetConfig: undefined | boolean;
        submitOnChange: undefined | boolean;
        submitOnClose: undefined | boolean;
        tabs: undefined | any[];
        template: undefined | null | string;
        title: undefined | string;
        top: undefined | null | number;
        width: undefined | null | number;
    }, OmitByValue<{}, never>>

  • get defaultSettings(): {
        continuity: string;
        hitdice: {
            NPC: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
            PC: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
            Racial: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
        };
        hitdieOptions: string[];
        rounding: string;
        variants: {
            npc: {
                allowWoundThresholdOverride: boolean;
                useWoundThresholds: number;
                useWoundsAndVigor: boolean;
            };
            pc: {
                allowWoundThresholdOverride: boolean;
                useWoundThresholds: number;
                useWoundsAndVigor: boolean;
            };
        };
    }
  • Returns {
        continuity: string;
        hitdice: {
            NPC: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
            PC: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
            Racial: {
                auto: boolean;
                maximized: number;
                rate: number;
            };
        };
        hitdieOptions: string[];
        rounding: string;
        variants: {
            npc: {
                allowWoundThresholdOverride: boolean;
                useWoundThresholds: number;
                useWoundsAndVigor: boolean;
            };
            pc: {
                allowWoundThresholdOverride: boolean;
                useWoundThresholds: number;
                useWoundsAndVigor: boolean;
            };
        };
    }

    • continuity: string
    • hitdice: {
          NPC: {
              auto: boolean;
              maximized: number;
              rate: number;
          };
          PC: {
              auto: boolean;
              maximized: number;
              rate: number;
          };
          Racial: {
              auto: boolean;
              maximized: number;
              rate: number;
          };
      }
      • NPC: {
            auto: boolean;
            maximized: number;
            rate: number;
        }
        • auto: boolean
        • maximized: number
        • rate: number
      • PC: {
            auto: boolean;
            maximized: number;
            rate: number;
        }
        • auto: boolean
        • maximized: number
        • rate: number
      • Racial: {
            auto: boolean;
            maximized: number;
            rate: number;
        }
        • auto: boolean
        • maximized: number
        • rate: number
    • hitdieOptions: string[]
    • rounding: string
    • variants: {
          npc: {
              allowWoundThresholdOverride: boolean;
              useWoundThresholds: number;
              useWoundsAndVigor: boolean;
          };
          pc: {
              allowWoundThresholdOverride: boolean;
              useWoundThresholds: number;
              useWoundsAndVigor: boolean;
          };
      }
      • npc: {
            allowWoundThresholdOverride: boolean;
            useWoundThresholds: number;
            useWoundsAndVigor: boolean;
        }
        • allowWoundThresholdOverride: boolean
        • useWoundThresholds: number
        • useWoundsAndVigor: boolean
      • pc: {
            allowWoundThresholdOverride: boolean;
            useWoundThresholds: number;
            useWoundsAndVigor: boolean;
        }
        • allowWoundThresholdOverride: boolean
        • useWoundThresholds: number
        • useWoundsAndVigor: boolean

Methods

  • Private

    Handle button click to reset default settings

    Parameters

    • event: Event

      {Event} The initial button click event

    Returns Promise<unknown>

  • This method is called upon form submission after form data is validated.

    Parameters

    • event: any
    • formData: any

    Returns Promise<void>

  • Activate the default set of listeners for the Document sheet These listeners handle basic stuff like form submission or updating images.

    Parameters

    • html: any

    Returns void

Generated using TypeDoc