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

    Class SensesSelector

    An application that allows a user to configure an actors senses.

    The Actor instance for which to configure senses

    Hierarchy

    • HandlebarsApplication<this> & DocumentSheetV2<
          any,
          RenderContext<any>,
          Configuration<any>,
          RenderOptions,
          this,
      >
      • SensesSelector
    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Parameters

      • Optionaloptions: {}

      Returns SensesSelector

    Accessors

    • get actor(): ActorPF

      Alias the document property to actor

      Returns ActorPF

    • get convertKeys(): {
          bs: string;
          bse: string;
          dv: string;
          ls: string;
          lv: string;
          sc: string;
          ths: string;
          tr: string;
          ts: string;
      }

      Returns which keys to convert in distance or weight

      Returns {
          bs: string;
          bse: string;
          dv: string;
          ls: string;
          lv: string;
          sc: string;
          ths: string;
          tr: string;
          ts: string;
      }

      Make this a set, senses don't do different types of units

    Methods

    • Internal

      Save the new vision details for the actor.

      Parameters

      • ...this: any
      • event: SubmitEvent

        The originating form submission event

      • form: HTMLFormElement

        The form element that was submitted

      • formData: FormDataExtended

        Processed data for the submitted form

        • object

          The parsed form data object

      Returns Promise<void>