Script API - v1.26.0.25
    Preparing search index...

    Class ShutdownBeforeEventSignal

    Advertisement

    Provides an adaptable interface for callers to subscribe to an event that fires before the game world shuts down. This event occurs after players have left, but before the world has closed.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • callback: (arg0: ShutdownEvent) => void

        Function callback that is called when this event fires. This closure is called with restricted-execution privilege.

      Returns (arg0: ShutdownEvent) => void

      Closure that is called with restricted-execution privilege.

      Adds a new subscriber callback to this event.

      This function can't be called in restricted-execution mode.

      This function can be called in early-execution mode.

    • Parameters

      • callback: (arg0: ShutdownEvent) => void

        Function closure that was previously passed to the subscribe method. This closure is called with restricted-execution privilege.

      Returns void

      Removes a subscriber callback previously subscribed to via the subscribe method.

      This function can't be called in restricted-execution mode.

      This function can be called in early-execution mode.

    Advertisement