pf1RegisterRegistry<R>: ((registry) => void)

Type Parameters

Type declaration

    • (registry): void
    • A hook event fired by the system when a registry is initialized. Substitute the Registry part of the hook name with the name of the registry, for example pf1RegisterDamageTypes.

      Parameters

      • registry: R

        The registry that is initialized.

      Returns void

      Remarks

      Called by Hooks.callAll

      See

      Example

      Hooks.on("pf1RegisterDamageTypes", (registry, model) => {
      registry.register("my-module", "bleed", {
      name: "Bleed",
      icon: "ra ra-droplet",
      color: "red",
      category: "misc",
      });
      });

Generated using TypeDoc