GameData.GameData Method

Loads a game config file.

GameData GameData(const char[] file)

Parameters

const char[] file

File to load. The path must be relative to the 'gamedata' folder under the config folder and the extension should be omitted.

Return Value

A handle to the game config file or null on failure.