![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
EditNodeCommand - Command to edit node properties (name, type-specific fields) More...
#include <BPCommandSystem.h>
Inheritance diagram for Olympe::Blueprint::EditNodeCommand:
Collaboration diagram for Olympe::Blueprint::EditNodeCommand:Public Member Functions | |
| EditNodeCommand (const std::string &graphId, int nodeId, const std::string &oldName, const std::string &newName, const std::string &oldSubtype, const std::string &newSubtype) | |
| 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 |
| std::string | m_OldName |
| std::string | m_NewName |
| std::string | m_OldSubtype |
| std::string | m_NewSubtype |
EditNodeCommand - Command to edit node properties (name, type-specific fields)
Definition at line 235 of file BPCommandSystem.h.
| Olympe::Blueprint::EditNodeCommand::EditNodeCommand | ( | const std::string & | graphId, |
| int | nodeId, | ||
| const std::string & | oldName, | ||
| const std::string & | newName, | ||
| const std::string & | oldSubtype, | ||
| const std::string & | newSubtype | ||
| ) |
Definition at line 511 of file BPCommandSystem.cpp.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 523 of file BPCommandSystem.cpp.
References Olympe::BT_Action, Olympe::BT_Condition, Olympe::BT_Decorator, Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NewName, m_NewSubtype, m_NodeId, and Olympe::GraphNode::name.
Here is the call graph for this function:
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 581 of file BPCommandSystem.cpp.
References m_NodeId.
|
overridevirtual |
Implements Olympe::Blueprint::EditorCommand.
Definition at line 552 of file BPCommandSystem.cpp.
References Olympe::BT_Action, Olympe::BT_Condition, Olympe::BT_Decorator, Olympe::NodeGraphManager::Get(), GetComponentTypeID_Static(), Olympe::NodeGraphManager::GetGraph(), m_GraphId, m_NodeId, m_OldName, m_OldSubtype, and Olympe::GraphNode::name.
Here is the call graph for this function:
|
private |
Definition at line 247 of file BPCommandSystem.h.
|
private |
Definition at line 250 of file BPCommandSystem.h.
Referenced by Execute().
|
private |
Definition at line 252 of file BPCommandSystem.h.
Referenced by Execute().
|
private |
Definition at line 248 of file BPCommandSystem.h.
Referenced by Execute(), GetDescription(), and Undo().
|
private |
Definition at line 249 of file BPCommandSystem.h.
Referenced by Undo().
|
private |
Definition at line 251 of file BPCommandSystem.h.
Referenced by Undo().