Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00402.09.29.23.0627.blamite
The tag editor for the Blamite Game Engine.
Guerilla::Settings::Config Namespace Reference

Namespace for anything related to Guerilla's configuration. More...

Functions

GUERILLA_LIB_API BlamResult LoadConfig ()
 Loads the default guerilla configuration file. More...
 
GUERILLA_LIB_API void UnloadConfig ()
 Unloads the guerilla configuration file. More...
 
GUERILLA_LIB_API bool IsConfigReady ()
 Checks whether the configuration file is ready for use. More...
 
GUERILLA_LIB_API BlamConfigurationFile * GetConfig ()
 Retrieves the Guerilla configuration. More...
 

Detailed Description

Namespace for anything related to Guerilla's configuration.

Function Documentation

◆ GetConfig()

BlamConfigurationFile * Guerilla::Settings::Config::GetConfig ( )

Retrieves the Guerilla configuration.

Returns
Pointer to the config if it is available, otherwise returns NULL.

◆ IsConfigReady()

bool Guerilla::Settings::Config::IsConfigReady ( )

Checks whether the configuration file is ready for use.

Returns
true if the configuration file is ready, otherwise returns `false.

◆ LoadConfig()

BlamResult Guerilla::Settings::Config::LoadConfig ( )

Loads the default guerilla configuration file.

Returns
#BlamResult::Success_OK if the file loaded successfully, otherwise returns an error code.

◆ UnloadConfig()

void Guerilla::Settings::Config::UnloadConfig ( )

Unloads the guerilla configuration file.