A GDevelop runtime event callback.
The instance of the current RuntimeScene. Can be null if used between the load of GDAPI and a game frame, since the game is hijacked at the scene update.
The instance of the current RuntimeGame. Can be null if used between the load of GDAPI and a game frame, since the game is hijacked at the scene update.
If game is null, hack into the game to get it.
If currentScene is null, hack into the game to get it.
Polyfills missing GDevelop API features for games made with older versions of GDevelop.
Loads a GDevelop extension.
The extension to load.
Registers a callback function for a GDevelop runtime event.
The event on which you want your callback to be called.
The callback to register.
Unregisters a previously registered callback function.
A list of registerable callbacks. Note that FIRST_SCENE_LOADED will never actually be called, as mods are always loaded after the first scene has finished loading.