• Registers a status effect.

    Parameters

    • name: string

      The name of the status effect.

    • handlerClass: StatusClass
    • description: IStatusDescription

      The definition of the status effect.

      The decorated property will be injected with the id of the registered status effect.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, StatusType>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc