A Demo Project for the UnrealEngineSDK
|
UCLASS() More...
#include <DialogueGraph.h>
Public Member Functions | |
void | AutoPositionGraphNodes () const |
void | CreateGraphNodesFromDialogue () |
TArray< UDialogueGraphNode_Base * > | GetAllBaseDialogueGraphNodes () const |
TArray< UDialogueGraphNode * > | GetAllDialogueGraphNodes () const |
TArray< UDialogueGraphNode_Edge * > | GetAllEdgeDialogueGraphNodes () const |
const TArray< UEdGraphNode * > & | GetAllGraphNodes () const |
UDlgDialogue * | GetDialogue () const |
const UDialogueGraphSchema * | GetDialogueGraphSchema () const |
UDialogueGraphNode_Root * | GetRootGraphNode () const |
void | LinkGraphNodesFromDialogue () const |
bool | Modify (bool bAlwaysMarkDirty=true) override |
void | RemoveAllNodes () |
bool | RemoveGraphNode (UEdGraphNode *NodeToRemove) |
Private Member Functions | |
UDialogueGraph (const FObjectInitializer &ObjectInitializer) | |
GENERATED_BODY () | |
void | LinkGraphNodeToChildren (const TArray< UDlgNode * > &NodesDialogue, const UDlgNode &NodeDialogue, UDialogueGraphNode *NodeGraph) const |
UCLASS()
Definition at line 21 of file DialogueGraph.h.
|
private |
Definition at line 14 of file DialogueGraph.cpp.
void UDialogueGraph::AutoPositionGraphNodes | ( | ) | const |
Automatically reposition all the nodes in the graph.
Definition at line 201 of file DialogueGraph.cpp.
void UDialogueGraph::CreateGraphNodesFromDialogue | ( | ) |
Creates the graph nodes from the Dialogue that contains this graph
Definition at line 95 of file DialogueGraph.cpp.
|
private |
TArray< UDialogueGraphNode_Base * > UDialogueGraph::GetAllBaseDialogueGraphNodes | ( | ) | const |
Gets the all the dialogue graph nodes (that inherit from UDialogueGraphNode_Base). Includes Root node.
Definition at line 54 of file DialogueGraph.cpp.
TArray< UDialogueGraphNode * > UDialogueGraph::GetAllDialogueGraphNodes | ( | ) | const |
Gets the all the dialogue graph nodes (that inherit from UDialogueGraphNode). Includes Root node.
Definition at line 61 of file DialogueGraph.cpp.
TArray< UDialogueGraphNode_Edge * > UDialogueGraph::GetAllEdgeDialogueGraphNodes | ( | ) | const |
Gets the all the dialogue graph nodes (that inherit from UDialogueGraphNode_Edge).
Definition at line 68 of file DialogueGraph.cpp.
|
inline |
Gets all the graph nodes of this Graph
Definition at line 54 of file DialogueGraph.h.
|
inline |
Gets the DlgDialogue that contains this graph
Definition at line 44 of file DialogueGraph.h.
const UDialogueGraphSchema * UDialogueGraph::GetDialogueGraphSchema | ( | ) | const |
Helper method to get directly the Dialogue Graph Schema
Definition at line 227 of file DialogueGraph.cpp.
UDialogueGraphNode_Root * UDialogueGraph::GetRootGraphNode | ( | ) | const |
Gets the root graph node of this graph
Definition at line 46 of file DialogueGraph.cpp.
void UDialogueGraph::LinkGraphNodesFromDialogue | ( | ) | const |
Creates all the links between the graph nodes from the Dialogue nodes
Definition at line 136 of file DialogueGraph.cpp.
|
private |
Definition at line 156 of file DialogueGraph.cpp.
Note that the object will be modified. If we are currently recording into the transaction buffer (undo/redo), save a copy of this object into the buffer and marks the package as needing to be saved.
bAlwaysMarkDirty | if true, marks the package dirty even if we aren't currently recording an active undo/redo transaction |
Definition at line 24 of file DialogueGraph.cpp.
void UDialogueGraph::RemoveAllNodes | ( | ) |
Remove all nodes from the graph. Without notifying anyone. This operation is atomic to the graph
Definition at line 218 of file DialogueGraph.cpp.
bool UDialogueGraph::RemoveGraphNode | ( | UEdGraphNode * | NodeToRemove | ) |
Remove a node from this graph. Variant of UEdGraph::RemoveNode
Definition at line 75 of file DialogueGraph.cpp.