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

    Class ChatMessagePF

    Chat Message document extension

    Extends CONFIG.ChatMessage.documentClass

    Hierarchy

    • documentClass
      • ChatMessagePF
    Index

    Properties

    systemRolls: object | undefined

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

    Accessors

    • get actionSource(): Action | null | undefined

      Linked action.

      Returns Action | null | undefined

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

      Linked item.

      Returns ItemPF | null | undefined

      • 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