14.1 Beta 1 SDK
IGameLaunchingPlugin9.2
public interface Unbroken.LaunchBox.Plugins.IGameLaunchingPlugin
Implement this interface in order to handle specific game launching events in LaunchBox and Big Box. Added in LaunchBox and Big Box 9.2-beta-3.
Methods
void OnAfterGameLaunched(Unbroken.LaunchBox.Plugins.Data.IGame game, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? app, Unbroken.LaunchBox.Plugins.Data.IEmulator? emulator)void OnBeforeGameLaunching(Unbroken.LaunchBox.Plugins.Data.IGame? game, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? app, Unbroken.LaunchBox.Plugins.Data.IEmulator? emulator)void OnGameExited()
OnAfterGameLaunched 9.2
void OnAfterGameLaunched(Unbroken.LaunchBox.Plugins.Data.IGame game, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? app, Unbroken.LaunchBox.Plugins.Data.IEmulator? emulator)
Called immediately after a particular game or additional app has launched. At this point the game was successfully launched and should be running.
game9.2- The game that was launched.
app9.2- The additional application that was launched. Will be null if the game was launched without a specific additional application.
emulator9.2- The emulator that was launched. Will be null if the game was launched without an emulator.
OnBeforeGameLaunching 9.2
void OnBeforeGameLaunching(Unbroken.LaunchBox.Plugins.Data.IGame? game, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? app, Unbroken.LaunchBox.Plugins.Data.IEmulator? emulator)
Called immediately before a particular game or additional app begins launching. At this point the game is not guaranteed to launch successfully if the startup file does not exist or some other anomaly is encountered.
game9.2- The game that is launching.
app9.2- The additional application that is launching. Will be null if the game is launching without a specific additional application.
emulator9.2- The emulator that is launching. Will be null if the game is launching without an emulator.
OnGameExited 9.2
void OnGameExited()
Called immediately after the game or additional app exits. Please note that in some cases this event may fire immediately after launching the game (such as if the game is a Steam game). This happens when the game's launched process exits immediately instead of continuing running.