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

    Class Trait<TraitKeys>

    Trait interface

    Set of traits.

    Object mapping or registry

    Type Parameters

    • TraitKeys

      List of trait types.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    base: Set<TraitKeys>
    custom: Set<TraitKeys> = ...
    standard: Set<TraitKeys> = ...

    Accessors

    • get empty(): boolean

      Does this trait have anything?

      Returns boolean

    • get labels(): Record<TraitKeys, string>
      Internal

      Labels

      Returns Record<TraitKeys, string>

    • get names(): string[]

      Names of the traits.

      Returns string[]

    • get total(): Set<TraitKeys>

      All traits, both standard and custom.

      Returns Set<TraitKeys>

    Methods

    • Parameters

      • __namedParameters: { sheet?: boolean } = {}

      Returns Trait<any>