Class RuntimeGameInfo
public static class RuntimeGameInfo
- Inheritance
-
RuntimeGameInfo
- Inherited Members
Properties
IsGameInProgress
public static bool IsGameInProgress { get; }
Property Value
Methods
RegisterGame(GameCore)
Registers the game instance as the current game.
public static void RegisterGame(GameCore game)
Parameters
game
GameCoreThe game.
TryGetCurrentInfo(out Info)
Retrieves information about the current game state.
public static bool TryGetCurrentInfo(out RuntimeGameInfo.Info result)
Parameters
result
RuntimeGameInfo.InfoWhen this methods succeeds, contains a RuntimeGameInfo.Info instance representing the current game state; or unspecified value on failure.
Returns
UnregisterGame()
Unregisters the current game instance.
public static void UnregisterGame()