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

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

Functions

GUERILLA_LIB_API BlamProjectLoadProject (std::string file_path)
 Loads a project file from disk and prepares it for use. More...
 
GUERILLA_LIB_API void LoadProjects ()
 Attempts to load all available project folders. More...
 
GUERILLA_LIB_API void UnloadProjects ()
 Releases all project data loaded into memory. More...
 
GUERILLA_LIB_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.