![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ComponentDefinition.h>
Public Member Functions | |
| bool | HasParameter (const std::string &name) const |
| const ComponentParameter * | GetParameter (const std::string &name) const |
Static Public Member Functions | |
| static ComponentDefinition | FromJSON (const nlohmann::json &jsonObj) |
Public Attributes | |
| std::string | componentType |
| std::map< std::string, ComponentParameter > | parameters |
Definition at line 79 of file ComponentDefinition.h.
|
static |
Definition at line 732 of file ComponentDefinition.cpp.
References componentType, GetComponentTypeID_Static(), ParseParameterWithSchema(), and SYSTEM_LOG.
Referenced by PrefabScanner::ParsePrefab().
Here is the call graph for this function:
Here is the caller graph for this function:| const ComponentParameter * ComponentDefinition::GetParameter | ( | const std::string & | name | ) | const |
Definition at line 788 of file ComponentDefinition.cpp.
References GetComponentTypeID_Static(), and parameters.
Here is the call graph for this function:Definition at line 783 of file ComponentDefinition.cpp.
References parameters.
| std::string ComponentDefinition::componentType |
Definition at line 81 of file ComponentDefinition.h.
Referenced by PrefabFactory::CreateEntityWithOverrides(), and FromJSON().
| std::map<std::string, ComponentParameter> ComponentDefinition::parameters |
Definition at line 82 of file ComponentDefinition.h.
Referenced by GetParameter(), and HasParameter().