Table of Contents

Class RuntimeGameInfo

Namespace
ProjectL.Data
Assembly
Assembly-CSharp.dll
public static class RuntimeGameInfo
Inheritance
RuntimeGameInfo
Inherited Members

Properties

IsGameInProgress

public static bool IsGameInProgress { get; }

Property Value

bool

Methods

RegisterGame(GameCore)

Registers the game instance as the current game.

public static void RegisterGame(GameCore game)

Parameters

game GameCore

The game.

TryGetCurrentInfo(out Info)

Retrieves information about the current game state.

public static bool TryGetCurrentInfo(out RuntimeGameInfo.Info result)

Parameters

result RuntimeGameInfo.Info

When this methods succeeds, contains a RuntimeGameInfo.Info instance representing the current game state; or unspecified value on failure.

Returns

bool

true if a ProjectLCore.GameLogic.GameCore instance is registered; otherwise, false.

UnregisterGame()

Unregisters the current game instance.

public static void UnregisterGame()