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

    Class ChatMessagePF

    Chat Message document extension

    Extends CONFIG.ChatMessage.documentClass

    Hierarchy

    • documentClass
      • ChatMessagePF
    Index

    Constructors

    Properties

    systemRolls: undefined | object

    An object containing Pathfinder specific rolls for this chat message, with a structure grouping them by their purpose.

    title: undefined | string

    Accessors

    • get actionSource(): undefined | null | ItemAction

      Linked action.

      Returns undefined | null | ItemAction

      • Null is returned if no action is linked.
      • Undefined is returned if the linked action is not found.
    • get itemSource(): undefined | null | ItemPF

      Linked item.

      Returns undefined | null | ItemPF

      • Null is returned if no item is linked
      • Undefined if item is not found
    • get targets(): TokenPF[]

      Targeted tokens.

      Returns TokenPF[]

    Methods

    • Protected

      On Check Message creation

      Parameters

      • user: User

        User who created the message

      Returns void

    • Parameters

      • source: boolean = true

        Return source data

      • clean: boolean = true

        Clean the source data of excess data

      Returns object

      • Raw data