A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UDialogueGraph Class Reference

UCLASS() More...

#include <DialogueGraph.h>

Inheritance diagram for UDialogueGraph:
[legend]

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
 
UDlgDialogueGetDialogue () const
 
const UDialogueGraphSchemaGetDialogueGraphSchema () const
 
UDialogueGraphNode_RootGetRootGraphNode () 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
 

Detailed Description

UCLASS()

Definition at line 21 of file DialogueGraph.h.

Constructor & Destructor Documentation

◆ UDialogueGraph()

UDialogueGraph::UDialogueGraph ( const FObjectInitializer & ObjectInitializer)
private

Definition at line 14 of file DialogueGraph.cpp.

Member Function Documentation

◆ AutoPositionGraphNodes()

void UDialogueGraph::AutoPositionGraphNodes ( ) const

Automatically reposition all the nodes in the graph.

Definition at line 201 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateGraphNodesFromDialogue()

void UDialogueGraph::CreateGraphNodesFromDialogue ( )

Creates the graph nodes from the Dialogue that contains this graph

Definition at line 95 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GENERATED_BODY()

UDialogueGraph::GENERATED_BODY ( )
private

◆ GetAllBaseDialogueGraphNodes()

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.

Here is the caller graph for this function:

◆ GetAllDialogueGraphNodes()

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.

Here is the caller graph for this function:

◆ GetAllEdgeDialogueGraphNodes()

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.

Here is the caller graph for this function:

◆ GetAllGraphNodes()

const TArray< UEdGraphNode * > & UDialogueGraph::GetAllGraphNodes ( ) const
inline

Gets all the graph nodes of this Graph

Definition at line 54 of file DialogueGraph.h.

Here is the caller graph for this function:

◆ GetDialogue()

UDlgDialogue * UDialogueGraph::GetDialogue ( ) const
inline

Gets the DlgDialogue that contains this graph

Definition at line 44 of file DialogueGraph.h.

Here is the caller graph for this function:

◆ GetDialogueGraphSchema()

const UDialogueGraphSchema * UDialogueGraph::GetDialogueGraphSchema ( ) const

Helper method to get directly the Dialogue Graph Schema

Definition at line 227 of file DialogueGraph.cpp.

Here is the caller graph for this function:

◆ GetRootGraphNode()

UDialogueGraphNode_Root * UDialogueGraph::GetRootGraphNode ( ) const

Gets the root graph node of this graph

Definition at line 46 of file DialogueGraph.cpp.

Here is the caller graph for this function:

◆ LinkGraphNodesFromDialogue()

void UDialogueGraph::LinkGraphNodesFromDialogue ( ) const

Creates all the links between the graph nodes from the Dialogue nodes

Definition at line 136 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LinkGraphNodeToChildren()

void UDialogueGraph::LinkGraphNodeToChildren ( const TArray< UDlgNode * > & NodesDialogue,
const UDlgNode & NodeDialogue,
UDialogueGraphNode * NodeGraph ) const
private

Definition at line 156 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Modify()

bool UDialogueGraph::Modify ( bool bAlwaysMarkDirty = true)
override

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.

Parameters
bAlwaysMarkDirtyif true, marks the package dirty even if we aren't currently recording an active undo/redo transaction
Returns
true if the object was saved to the transaction buffer

Definition at line 24 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RemoveAllNodes()

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.

Here is the call graph for this function:

◆ RemoveGraphNode()

bool UDialogueGraph::RemoveGraphNode ( UEdGraphNode * NodeToRemove)

Remove a node from this graph. Variant of UEdGraph::RemoveNode

Definition at line 75 of file DialogueGraph.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: