Manages callbacks that fire before an item is used.

Hierarchy

  • ItemUseBeforeEventSignal

Constructors

Methods

Constructors

Methods

  • Parameters

    Returns ((arg) => void)

      • (arg): void
      • Parameters

        Returns void

        Remarks

        Adds a callback that will be called before an item is used.

        This function can't be called in read-only mode.

    Remarks

    Adds a callback that will be called before an item is used.

    This function can't be called in read-only mode.

  • Parameters

    Returns void

    Remarks

    Removes a callback from being called before an item is used.

    This function can't be called in read-only mode.