An Actor sheet for NPC type characters in the game system. Extends the base ActorSheetPF class.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

_filters: Set<any>

Track the set of item filters which are applied

_hiddenElems: {}

Track hidden elements of the sheet.

Type declaration

    effectiveSearch: {}

    Type declaration

      searchCompositioning: boolean

      Item search

      searchDelay: number
      searchDelayEvent: null | Timeout
      searchRefresh: boolean

      Accessors

      • get inCharacterGeneration(): boolean
      • Private

        Determine if this actor is in character generation state.

        Returns boolean

        True if character generation guides are desirable.

      Methods

      • Parameters

        • event: any
        • __namedParameters: {
              preventClose: undefined | boolean;
              preventRender: undefined | boolean;
              updateData: undefined | null;
          } = {}
          • preventClose: undefined | boolean
          • preventRender: undefined | boolean
          • updateData: undefined | null

        Returns Promise<void>

      • Add some extra data when rendering the sheet to reduce the amount of logic required within the template.

        Returns Promise<{
            actor: ActorPF;
            config: config;
            cssClass: string;
            document: ActorPF;
            editable: boolean;
            effects: EmbeddedCollection<typeof ActiveEffect, ActorData>;
            hasHD: boolean;
            isCharacter: boolean;
            isGM: boolean;
            itemTypes: ItemTypesMap;
            limited: boolean;
            options: Options;
            owner: boolean;
            race: null | PropertiesToSource<ItemDataBaseProperties>;
            skillsLocked: boolean;
            sourceData: {};
            unchainedActions: unknown;
            units: {
                distance: {
                    overland: string;
                    tactical: string;
                };
                weight: string;
            };
            usesAnySpellbook: boolean;
        }>

      • Toggle inline display of an item's summary/description by expanding or hiding info div

        Parameters

        • elem: JQuery<HTMLElement>

          The element to open. Likely will have the item class in CSS.

        • Optional instant: boolean = {}

          Whether to instantly show the expansion (true), or animate it (false)

        Returns Promise<void>

      Generated using TypeDoc