![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <EntityPrefabEditorPlugin.h>
Inheritance diagram for Olympe::EntityPrefabEditorPlugin:
Collaboration diagram for Olympe::EntityPrefabEditorPlugin:Public Member Functions | |
| EntityPrefabEditorPlugin () | |
| virtual | ~EntityPrefabEditorPlugin () |
| std::string | GetBlueprintType () const override |
| std::string | GetDisplayName () const override |
| std::string | GetDescription () const override |
| std::string | GetIconPath () const override |
| std::string | GetDefaultFolder () const override |
| nlohmann::json | CreateNew (const std::string &name) override |
| bool | CanHandle (const nlohmann::json &blueprint) const override |
| std::vector< ValidationError > | Validate (const nlohmann::json &blueprint) override |
| void | RenderEditor (nlohmann::json &blueprintData, EditorContext_st &ctx) override |
| void | RenderProperties (const nlohmann::json &blueprintData) override |
| void | RenderToolbar (nlohmann::json &blueprintData) override |
Public Member Functions inherited from Olympe::BlueprintEditorPlugin | |
| virtual | ~BlueprintEditorPlugin ()=default |
Private Member Functions | |
| void | RenderComponentPropertiesEditor (nlohmann::json &properties, EditorContext_st &ctx) |
| void | AddComponentToBlueprint (nlohmann::json &blueprintData, const std::string &type) |
| std::vector< std::string > | GetAvailableComponentTypes () |
| std::string | GetCurrentTimestamp () |
Definition at line 13 of file EntityPrefabEditorPlugin.h.
| Olympe::EntityPrefabEditorPlugin::EntityPrefabEditorPlugin | ( | ) |
Definition at line 16 of file EntityPrefabEditorPlugin.cpp.
|
virtual |
Definition at line 20 of file EntityPrefabEditorPlugin.cpp.
|
private |
Definition at line 285 of file EntityPrefabEditorPlugin.cpp.
References GetComponentTypeID_Static().
Referenced by RenderEditor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 81 of file EntityPrefabEditorPlugin.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:Implements Olympe::BlueprintEditorPlugin.
Definition at line 42 of file EntityPrefabEditorPlugin.cpp.
References GetComponentTypeID_Static(), and GetCurrentTimestamp().
Here is the call graph for this function:
|
private |
Definition at line 294 of file EntityPrefabEditorPlugin.cpp.
Referenced by RenderEditor().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 20 of file EntityPrefabEditorPlugin.h.
|
private |
Definition at line 24 of file EntityPrefabEditorPlugin.cpp.
References GetComponentTypeID_Static().
Referenced by CreateNew().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 24 of file EntityPrefabEditorPlugin.h.
|
inlineoverridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 22 of file EntityPrefabEditorPlugin.h.
|
inlineoverridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 21 of file EntityPrefabEditorPlugin.h.
|
inlineoverridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 23 of file EntityPrefabEditorPlugin.h.
|
private |
Definition at line 227 of file EntityPrefabEditorPlugin.cpp.
References GetComponentTypeID_Static(), and RenderComponentPropertiesEditor().
Referenced by RenderComponentPropertiesEditor(), and RenderEditor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 124 of file EntityPrefabEditorPlugin.cpp.
References AddComponentToBlueprint(), GetAvailableComponentTypes(), GetComponentTypeID_Static(), and RenderComponentPropertiesEditor().
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 205 of file EntityPrefabEditorPlugin.cpp.
|
overridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 219 of file EntityPrefabEditorPlugin.cpp.
|
overridevirtual |
Implements Olympe::BlueprintEditorPlugin.
Definition at line 94 of file EntityPrefabEditorPlugin.cpp.
References Olympe::Error, GetComponentTypeID_Static(), and Olympe::ValidationError::nodeId.
Here is the call graph for this function: