Table of Contents

Class GameManagerExtension.RunGameFromGameManagerContext

Namespace
Hi3Helper.Plugin.Core.Utility
Assembly
Hi3Helper.Plugin.Core.dll

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

DateTime

GameManager

The game manager instance which handles the game launch.

public required IGameManager GameManager { get; init; }

Property Value

IGameManager

IsFeatureAvailable

Indicates whether the Game Launch API is supported on the plugin.

public bool IsFeatureAvailable { get; }

Property Value

bool

IsGameRunning

Indicates whether the game is currently running.

public bool IsGameRunning { get; }

Property Value

bool

Plugin

The instance of the plugin.

public required IPlugin Plugin { get; init; }

Property Value

IPlugin

PluginHandle

The pointer to the plugin's library handle.

public required nint PluginHandle { get; init; }

Property Value

nint

PresetConfig

The preset config for the region of the game.

public required IPluginPresetConfig PresetConfig { get; init; }

Property Value

IPluginPresetConfig

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; }

Property Value

GameManagerExtension.PrintGameLog