![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
DeleteNodeCommand - Command to delete a node from graph. More...
#include <BPCommandSystem.h>
Inheritance diagram for Olympe::Blueprint::DeleteNodeCommand:
Collaboration diagram for Olympe::Blueprint::DeleteNodeCommand:Public Member Functions | |
| DeleteNodeCommand (const std::string &graphId, int nodeId) | |
| void | Execute () override |
| void | Undo () override |
| std::string | GetDescription () const override |
Public Member Functions inherited from Olympe::Blueprint::EditorCommand | |
| virtual | ~EditorCommand ()=default |
Private Attributes | |
| std::string | m_GraphId |
| int | m_NodeId |
| json | m_NodeData |
DeleteNodeCommand - Command to delete a node from graph.
Definition at line 119 of file BPCommandSystem.h.
Definition at line 208 of file BPCommandSystem.cpp.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 214 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NodeData, m_NodeId, and Olympe::NodeTypeToString().
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 266 of file BPCommandSystem.cpp.
References m_NodeId.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 241 of file BPCommandSystem.cpp.
References Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NodeData, and Olympe::StringToNodeType().
Here is the call graph for this function:
|
private |
Definition at line 129 of file BPCommandSystem.h.
|
private |
Definition at line 131 of file BPCommandSystem.h.
|
private |
Definition at line 130 of file BPCommandSystem.h.
Referenced by Execute(), and GetDescription().