![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <BTNodeGraphManager.h>
Public Member Functions | |
| GraphNode ()=default | |
| GraphNode (int nodeId, NodeType nodeType, const std::string &nodeName="") | |
Public Attributes | |
| int | id = 0 |
| NodeType | type = NodeType::BT_Action |
| std::string | name |
| float | posX = 0.0f |
| float | posY = 0.0f |
| std::string | actionType |
| std::string | conditionType |
| std::string | decoratorType |
| std::string | subgraphUUID |
| std::map< std::string, std::string > | parameters |
| std::vector< int > | childIds |
| int | decoratorChildId = -1 |
| std::string | eventType |
| Event type that triggers this OnEvent node Only used for BT_OnEvent nodes. | |
| std::string | eventMessage |
| Optional event message filter for OnEvent nodes If set, only events with matching message field trigger this node. | |
| uint32_t | onEventRootIndex = ~0u |
| Index of this node in its graph's event roots array (m_eventRootIds) Only valid if this is an OnEvent node. | |
Definition at line 197 of file BTNodeGraphManager.h.
|
default |
|
inline |
Definition at line 251 of file BTNodeGraphManager.h.
| std::string Olympe::GraphNode::actionType |
Definition at line 206 of file BTNodeGraphManager.h.
Referenced by Olympe::Blueprint::DuplicateNodeCommand::Execute(), and Olympe::NodeGraphPanel::RenderGraph().
| std::vector<int> Olympe::GraphNode::childIds |
Definition at line 222 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraph::LinkNodes(), and Olympe::NodeGraph::UnlinkNodes().
| std::string Olympe::GraphNode::conditionType |
Definition at line 209 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraphPanel::RenderGraph().
| int Olympe::GraphNode::decoratorChildId = -1 |
Definition at line 225 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraph::LinkNodes(), and Olympe::NodeGraph::UnlinkNodes().
| std::string Olympe::GraphNode::decoratorType |
Definition at line 212 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraphPanel::RenderGraph().
| std::string Olympe::GraphNode::eventMessage |
Optional event message filter for OnEvent nodes If set, only events with matching message field trigger this node.
Definition at line 242 of file BTNodeGraphManager.h.
| std::string Olympe::GraphNode::eventType |
Event type that triggers this OnEvent node Only used for BT_OnEvent nodes.
Value is event type ID string (e.g., "Olympe_EventType_AI_Explosion")
Definition at line 236 of file BTNodeGraphManager.h.
| int Olympe::GraphNode::id = 0 |
Definition at line 199 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraph::CreateNode(), Olympe::NodeGraph::DuplicateNodes(), Olympe::NodeGraph::FromJson(), and Olympe::NodeGraph::PasteNodesFromClipboard().
| std::string Olympe::GraphNode::name |
Definition at line 201 of file BTNodeGraphManager.h.
Referenced by Olympe::Blueprint::EditNodeCommand::Execute(), Olympe::NodeGraphPanel::RenderGraph(), Olympe::BTNodePropertyPanel::RenderNodeBasicInfo(), and Olympe::Blueprint::EditNodeCommand::Undo().
| uint32_t Olympe::GraphNode::onEventRootIndex = ~0u |
Index of this node in its graph's event roots array (m_eventRootIds) Only valid if this is an OnEvent node.
Used for fast lookup.
Definition at line 248 of file BTNodeGraphManager.h.
| std::map<std::string, std::string> Olympe::GraphNode::parameters |
Definition at line 219 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraphPanel::RenderContextMenu().
| float Olympe::GraphNode::posX = 0.0f |
Definition at line 202 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraphClipboard::CopySelectedNodes(), Olympe::Blueprint::MoveNodeCommand::Execute(), and Olympe::Blueprint::MoveNodeCommand::Undo().
| float Olympe::GraphNode::posY = 0.0f |
Definition at line 203 of file BTNodeGraphManager.h.
| std::string Olympe::GraphNode::subgraphUUID |
Definition at line 216 of file BTNodeGraphManager.h.
| NodeType Olympe::GraphNode::type = NodeType::BT_Action |
Definition at line 200 of file BTNodeGraphManager.h.
Referenced by Olympe::NodeGraph::LinkNodes().