Elaztek Developer Hub
Blamite Game Engine - Foundry (Library)  00398.09.22.23.2015.blamite
A unified editing environment for Blamite, meant to be used as an alternative to the legacy editing tools.
Foundry::Settings::Config Namespace Reference

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

Functions

FOUNDRY_LIB_API BlamResult LoadConfig ()
 Loads the default foundry configuration file. More...
 
FOUNDRY_LIB_API bool IsConfigReady ()
 Checks whether the configuration file is ready for use. More...
 
FOUNDRY_LIB_API BlamConfigurationFile * GetConfig ()
 Retrieves the Foundry configuration. More...
 

Detailed Description

Namespace for anything related to Foundry's configuration.

Function Documentation

◆ GetConfig()

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

Retrieves the Foundry configuration.

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

◆ IsConfigReady()

bool Foundry::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 Foundry::Settings::Config::LoadConfig ( )

Loads the default foundry configuration file.

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