![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
BlueprintTemplate - Template metadata and data Stores a complete blueprint that can be reused as a template. More...
#include <TemplateManager.h>
Collaboration diagram for Olympe::BlueprintTemplate:Public Member Functions | |
| BlueprintTemplate () | |
| json | ToJson () const |
| bool | SaveToFile (const std::string &filepath) const |
Static Public Member Functions | |
| static BlueprintTemplate | FromJson (const json &j) |
| static BlueprintTemplate | LoadFromFile (const std::string &filepath) |
Public Attributes | |
| std::string | id |
| std::string | name |
| std::string | description |
| std::string | category |
| std::string | author |
| std::string | version |
| json | blueprintData |
| std::string | thumbnailPath |
| time_t | createdDate |
| time_t | modifiedDate |
BlueprintTemplate - Template metadata and data Stores a complete blueprint that can be reused as a template.
Definition at line 24 of file TemplateManager.h.
| Olympe::BlueprintTemplate::BlueprintTemplate | ( | ) |
Definition at line 24 of file TemplateManager.cpp.
Referenced by LoadFromFile().
Here is the caller graph for this function:
|
static |
Definition at line 47 of file TemplateManager.cpp.
References GetComponentTypeID_Static(), and id.
Referenced by LoadFromFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 89 of file TemplateManager.cpp.
References BlueprintTemplate(), FromJson(), and GetComponentTypeID_Static().
Referenced by Olympe::TemplateManager::ScanTemplateDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 65 of file TemplateManager.cpp.
References GetComponentTypeID_Static(), and ToJson().
Here is the call graph for this function:| json Olympe::BlueprintTemplate::ToJson | ( | ) | const |
Definition at line 30 of file TemplateManager.cpp.
References author, blueprintData, category, createdDate, description, GetComponentTypeID_Static(), id, modifiedDate, name, thumbnailPath, and version.
Referenced by SaveToFile().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string Olympe::BlueprintTemplate::author |
Definition at line 30 of file TemplateManager.h.
Referenced by ToJson().
| json Olympe::BlueprintTemplate::blueprintData |
Definition at line 32 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::category |
Definition at line 29 of file TemplateManager.h.
Referenced by ToJson().
| time_t Olympe::BlueprintTemplate::createdDate |
Definition at line 34 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::description |
Definition at line 28 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::id |
Definition at line 26 of file TemplateManager.h.
Referenced by Olympe::TemplateManager::CreateTemplateFromBlueprint(), FromJson(), and ToJson().
| time_t Olympe::BlueprintTemplate::modifiedDate |
Definition at line 35 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::name |
Definition at line 27 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::thumbnailPath |
Definition at line 33 of file TemplateManager.h.
Referenced by ToJson().
| std::string Olympe::BlueprintTemplate::version |
Definition at line 31 of file TemplateManager.h.
Referenced by ToJson().