4#include "CoreMinimal.h"
5#include "EdGraph/EdGraph.h"
9#include "DialogueGraph.generated.h"
34 bool Modify(
bool bAlwaysMarkDirty = true) override;
45 return CastChecked<UDlgDialogue>(GetOuter());
52 const TArray<UEdGraphNode*>& GetAllGraphNodes()
const {
return Nodes; }
55 TArray<UDialogueGraphNode_Base*> GetAllBaseDialogueGraphNodes()
const;
58 TArray<UDialogueGraphNode*> GetAllDialogueGraphNodes()
const;
61 TArray<UDialogueGraphNode_Edge*> GetAllEdgeDialogueGraphNodes()
const;
64 void CreateGraphNodesFromDialogue();
67 void LinkGraphNodesFromDialogue()
const;
70 void AutoPositionGraphNodes()
const;
73 void RemoveAllNodes();
82 void LinkGraphNodeToChildren(
83 const TArray<UDlgNode*>& NodesDialogue,
bool RemoveGraphNode(UEdGraphNode *NodeToRemove)
const TArray< UEdGraphNode * > & GetAllGraphNodes() const
UDialogueGraph(const FObjectInitializer &ObjectInitializer)
UDlgDialogue * GetDialogue() const
void LinkGraphNodesFromDialogue() const
UDialogueGraphNode_Root * GetRootGraphNode() const
void LinkGraphNodeToChildren(const TArray< UDlgNode * > &NodesDialogue, const UDlgNode &NodeDialogue, UDialogueGraphNode *NodeGraph) const
bool Modify(bool bAlwaysMarkDirty=true) override
const UDialogueGraphSchema * GetDialogueGraphSchema() const
TArray< UDialogueGraphNode_Edge * > GetAllEdgeDialogueGraphNodes() const
void AutoPositionGraphNodes() const
TArray< UDialogueGraphNode_Base * > GetAllBaseDialogueGraphNodes() const
TArray< UDialogueGraphNode * > GetAllDialogueGraphNodes() const
void CreateGraphNodesFromDialogue()
UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))
UCLASS(BlueprintType, Abstract, EditInlineNew, ClassGroup = "Dialogue")