Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PrefabBlueprint Struct Reference

#include <PrefabScanner.h>

+ Collaboration diagram for PrefabBlueprint:

Public Member Functions

 PrefabBlueprint ()
 
bool HasCategory (const std::string &category) const
 
void AddCategory (const std::string &category)
 

Public Attributes

std::string prefabName
 
std::string prefabType
 
std::string filePath
 
std::string version
 
std::string description
 
std::vector< ComponentDefinitioncomponents
 
ResourceRefs resources
 
bool isValid
 
bool isDynamic = false
 
std::vector< std::string > errors
 
std::vector< std::string > categories
 

Detailed Description

Examples
/home/runner/work/Olympe-Engine/Olympe-Engine/Source/World.h.

Definition at line 27 of file PrefabScanner.h.

Constructor & Destructor Documentation

◆ PrefabBlueprint()

PrefabBlueprint::PrefabBlueprint ( )
inline

Definition at line 41 of file PrefabScanner.h.

Member Function Documentation

◆ AddCategory()

void PrefabBlueprint::AddCategory ( const std::string &  category)
inline

Definition at line 50 of file PrefabScanner.h.

References categories, and HasCategory().

+ Here is the call graph for this function:

◆ HasCategory()

bool PrefabBlueprint::HasCategory ( const std::string &  category) const
inline

Definition at line 44 of file PrefabScanner.h.

References categories.

Referenced by AddCategory().

+ Here is the caller graph for this function:

Member Data Documentation

◆ categories

std::vector<std::string> PrefabBlueprint::categories

Definition at line 39 of file PrefabScanner.h.

Referenced by AddCategory(), and HasCategory().

◆ components

std::vector<ComponentDefinition> PrefabBlueprint::components

Definition at line 34 of file PrefabScanner.h.

Referenced by PrefabFactory::PreloadAllPrefabs().

◆ description

std::string PrefabBlueprint::description

Definition at line 33 of file PrefabScanner.h.

◆ errors

std::vector<std::string> PrefabBlueprint::errors

Definition at line 38 of file PrefabScanner.h.

◆ filePath

std::string PrefabBlueprint::filePath

Definition at line 31 of file PrefabScanner.h.

Referenced by PrefabScanner::ParsePrefab().

◆ isDynamic

bool PrefabBlueprint::isDynamic = false

Definition at line 37 of file PrefabScanner.h.

◆ isValid

bool PrefabBlueprint::isValid

Definition at line 36 of file PrefabScanner.h.

◆ prefabName

std::string PrefabBlueprint::prefabName

Definition at line 29 of file PrefabScanner.h.

◆ prefabType

std::string PrefabBlueprint::prefabType

Definition at line 30 of file PrefabScanner.h.

◆ resources

ResourceRefs PrefabBlueprint::resources

Definition at line 35 of file PrefabScanner.h.

◆ version

std::string PrefabBlueprint::version

Definition at line 32 of file PrefabScanner.h.


The documentation for this struct was generated from the following file: