![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <PrefabLoader.h>
Public Member Functions | |
| ParameterDefinition () | |
| ParameterDefinition (const std::string &n) | |
| json | ToJson () const |
Static Public Member Functions | |
| static ParameterDefinition | FromJson (const json &data) |
Public Attributes | |
| std::string | name |
| ParameterType | type |
| std::string | defaultValue |
| std::string | description |
| bool | isRequired |
| std::vector< std::string > | allowedValues |
Definition at line 31 of file PrefabLoader.h.
|
inline |
Definition at line 40 of file PrefabLoader.h.
|
inlineexplicit |
Definition at line 45 of file PrefabLoader.h.
|
static |
Definition at line 9 of file PrefabLoader.cpp.
References GetComponentTypeID_Static(), and name.
Here is the call graph for this function:| json Olympe::ParameterDefinition::ToJson | ( | ) | const |
Definition at line 8 of file PrefabLoader.cpp.
References defaultValue, description, GetComponentTypeID_Static(), isRequired, name, and type.
Here is the call graph for this function:| std::vector<std::string> Olympe::ParameterDefinition::allowedValues |
Definition at line 38 of file PrefabLoader.h.
| std::string Olympe::ParameterDefinition::defaultValue |
Definition at line 35 of file PrefabLoader.h.
Referenced by ToJson().
| std::string Olympe::ParameterDefinition::description |
Definition at line 36 of file PrefabLoader.h.
Referenced by ToJson().
| bool Olympe::ParameterDefinition::isRequired |
Definition at line 37 of file PrefabLoader.h.
Referenced by ToJson().
| std::string Olympe::ParameterDefinition::name |
Definition at line 33 of file PrefabLoader.h.
Referenced by FromJson(), and ToJson().
| ParameterType Olympe::ParameterDefinition::type |
Definition at line 34 of file PrefabLoader.h.
Referenced by ToJson().