PrivateconstructorFunction callback that is called when this event fires. This closure is called with restricted-execution privilege.
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.
Function closure that was previously passed to the subscribe method. This closure is called with restricted-execution privilege.
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.
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.