Elaztek Developer Hub
Blamite Game Engine - Strings  00315.05.27.21.0015.blamite
A library containing general purpose utilities and classes for use in multiple projects.
Guerilla::Projects Namespace Reference

Namespace containing functions for working with project files. More...

Functions

STRINGS_API BlamProjectLoadProject (std::string file_path)
 Loads a project file from disk and prepares it for use. More...
 
STRINGS_API void LoadProjects ()
 Attempts to load all available project folders. More...
 
STRINGS_API void UnloadProjects ()
 Releases all project data loaded into memory. More...
 
STRINGS_API std::vector< BlamProject * > GetLoadedProjects ()
 Retrieves the list of loaded projects. More...
 

Detailed Description

Namespace containing functions for working with project files.

Function Documentation

◆ GetLoadedProjects()

std::vector< BlamProject * > Guerilla::Projects::GetLoadedProjects ( )

Retrieves the list of loaded projects.

Returns
The list of loaded projects.

◆ LoadProject()

BlamProject * Guerilla::Projects::LoadProject ( std::string  file_path)

Loads a project file from disk and prepares it for use.

Parameters
file_path- The path to the project file to load.
Returns
Pointer to the loaded project, or nullptr if the project failed to load.

◆ LoadProjects()

void Guerilla::Projects::LoadProjects ( )

Attempts to load all available project folders.

This will attempt to load all projects within the Editing Kit projects folder, as well as any configured tag paths.

◆ UnloadProjects()

void Guerilla::Projects::UnloadProjects ( )

Releases all project data loaded into memory.

Should be called at shutdown.