![]() |
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(), parameters, 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.
Referenced by PrefabFactory::InstantiateAIBehavior(), PrefabFactory::InstantiateAIBlackboard(), PrefabFactory::InstantiateAISenses(), PrefabFactory::InstantiateAIState(), PrefabFactory::InstantiateAnimation(), PrefabFactory::InstantiateAttackIntent(), PrefabFactory::InstantiateAudioSource(), PrefabFactory::InstantiateBehaviorTreeRuntime(), PrefabFactory::InstantiateBoundingBox(), PrefabFactory::InstantiateCamera(), PrefabFactory::InstantiateCameraBounds(), PrefabFactory::InstantiateCameraEffects(), PrefabFactory::InstantiateCameraInputBinding(), PrefabFactory::InstantiateCameraTarget(), PrefabFactory::InstantiateCollisionZone(), PrefabFactory::InstantiateController(), PrefabFactory::InstantiateFX(), PrefabFactory::InstantiateHealth(), PrefabFactory::InstantiateIdentity(), PrefabFactory::InstantiateInputMapping(), PrefabFactory::InstantiateMoveIntent(), PrefabFactory::InstantiateMovement(), PrefabFactory::InstantiateNavigationAgent(), PrefabFactory::InstantiateNPC(), PrefabFactory::InstantiatePhysicsBody(), PrefabFactory::InstantiatePlayerBinding(), PrefabFactory::InstantiatePlayerController(), PrefabFactory::InstantiatePosition(), PrefabFactory::InstantiateTriggerZone(), PrefabFactory::InstantiateVisualAnimation(), PrefabFactory::InstantiateVisualEditor(), and PrefabFactory::InstantiateVisualSprite().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 783 of file ComponentDefinition.cpp.
References parameters.
Referenced by PrefabFactory::InstantiateAIBehavior(), PrefabFactory::InstantiateAIBlackboard(), PrefabFactory::InstantiateAISenses(), PrefabFactory::InstantiateAIState(), PrefabFactory::InstantiateAnimation(), PrefabFactory::InstantiateAttackIntent(), PrefabFactory::InstantiateAudioSource(), PrefabFactory::InstantiateBehaviorTreeRuntime(), PrefabFactory::InstantiateBoundingBox(), PrefabFactory::InstantiateCamera(), PrefabFactory::InstantiateCameraBounds(), PrefabFactory::InstantiateCameraEffects(), PrefabFactory::InstantiateCameraInputBinding(), PrefabFactory::InstantiateCameraTarget(), PrefabFactory::InstantiateCollisionZone(), PrefabFactory::InstantiateController(), PrefabFactory::InstantiateFX(), PrefabFactory::InstantiateHealth(), PrefabFactory::InstantiateIdentity(), PrefabFactory::InstantiateInputMapping(), PrefabFactory::InstantiateMoveIntent(), PrefabFactory::InstantiateMovement(), PrefabFactory::InstantiateNavigationAgent(), PrefabFactory::InstantiateNPC(), PrefabFactory::InstantiatePhysicsBody(), PrefabFactory::InstantiatePlayerBinding(), PrefabFactory::InstantiatePlayerController(), PrefabFactory::InstantiatePosition(), PrefabFactory::InstantiateTriggerZone(), PrefabFactory::InstantiateVisualAnimation(), PrefabFactory::InstantiateVisualEditor(), and PrefabFactory::InstantiateVisualSprite().
Here is the caller graph for this function:| 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 FromJSON(), GetParameter(), and HasParameter().