Description

GameInfo is a struct is used by LckCore.Initialize to register the application with the SDK and ensure proper compatibility reporting.

Usage

You typically create and populate a GameInfo struct during game startup, then pass it to LckCore.Initialize:
var gameInfo = new GameInfo
{
    GameName = "My Awesome Game",
    GameVersion = "1.0.0",
    ProjectName = "MyProject",
    CompanyName = "MyStudio",
    EngineVersion = Application.unityVersion,
    RenderPipeline = "URP",
    GraphicsAPI = SystemInfo.graphicsDeviceType.ToString()
};

var initResult = LckCore.Initialize("tracking-id-123", gameInfo);

if (!initResult.IsOk)
{
    Debug.LogError($"Initialization failed: {initResult.Message}");
}

References

Fields

FieldTypeDescription
GameNamestringDisplay name of the game.
GameVersionstringVersion string of the game.
ProjectNamestringName of the project (used internally by the SDK).
CompanyNamestringName of the company or publisher.
EngineVersionstringVersion of the game engine (e.g., Unity version).
RenderPipelinestringActive render pipeline (e.g., URP, HDRP).
GraphicsAPIstringGraphics API in use (e.g., DirectX11, Vulkan).