Class GameManagerExtension.RunGameFromGameManagerContext
A context used to manage the game launch routine using plugin's functionality.
public class GameManagerExtension.RunGameFromGameManagerContext
- Inheritance
-
GameManagerExtension.RunGameFromGameManagerContext
- Inherited Members
- Extension Methods
Properties
GameLaunchStartTime
Indicates when the game launched. If the game isn't running, it will return a default value.
public DateTime GameLaunchStartTime { get; }
Property Value
GameManager
The game manager instance which handles the game launch.
public required IGameManager GameManager { get; init; }
Property Value
IsFeatureAvailable
Indicates whether the Game Launch API is supported on the plugin.
public bool IsFeatureAvailable { get; }
Property Value
IsGameRunning
Indicates whether the game is currently running.
public bool IsGameRunning { get; }
Property Value
Plugin
The instance of the plugin.
public required IPlugin Plugin { get; init; }
Property Value
PluginHandle
The pointer to the plugin's library handle.
public required nint PluginHandle { get; init; }
Property Value
PresetConfig
The preset config for the region of the game.
public required IPluginPresetConfig PresetConfig { get; init; }
Property Value
PrintGameLogCallback
A delegate which is pointed to a callback to print game log while the game is running.
public required GameManagerExtension.PrintGameLog? PrintGameLogCallback { get; set; }