This namespace contains hook events fired by the system. All hooks introduced by the system are prefixed with pf1 to namespace them. Each hook contains a remark denoting whether it is called with Hooks.callAll or Hooks.call. Only hooks that are called with Hooks.call can be stopped by returning false from the callback.

Example

Registering callback

Hooks.on("pf1PostReady", () => {
console.log("The system is now ready.");
});

Example

Stopping a process by returning false

Hooks.on("pf1PreActorRollSkill", () => {
return false; // No chat message will be posted
});

Index

Interfaces

Functions

Actions

Actor

Actor Rolls

Actor Sheet

Changes

Combat

D20 Rolls

Initialization

Item

Item Links

Migration

Party

Registry

Roll Data

Sheet Events

Generated using TypeDoc