Beta
Manages callbacks that are connected to before a players game mode is changed.
Adds a callback that will be called before a players game mode is changed.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
Removes a callback from being called before a players game mode is changed.
Manages callbacks that are connected to before a players game mode is changed.