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

UCLASS() More...

#include <DialogueGraphNode_Root.h>

Inheritance diagram for UDialogueGraphNode_Root:
[legend]

Public Member Functions

void AllocateDefaultPins () override
 
void ApplyCompilerWarnings ()
 
void AutowireNewNode (UEdGraphPin *FromPin) override
 
bool CanCreateUnderSpecifiedSchema (const UEdGraphSchema *Schema) const override
 
bool CanDuplicateNode () const override
 
bool CanHaveInputConnections () const override
 
bool CanHaveOutputConnections () const override
 
bool CanSplitPin (const UEdGraphPin *Pin) const override
 
bool CanUserDeleteNode () const override
 
void CheckAll () const override
 
void CheckDialogueNodeIndexMatchesNode () const
 
void CheckDialogueNodeSyncWithGraphNode (bool bStrictCheck=false) const
 
void ClearCompilerMessage ()
 
int32 EstimateNodeWidth () const
 
int32 GetChildEdgeIndexForChildNodeIndex (int32 ChildNodeIndex) const
 
TArray< UDialogueGraphNode_Edge * > GetChildEdgeNodes (bool bCheckParent=true) const
 
TArray< UDialogueGraphNode * > GetChildNodes () const
 
void GetContextMenuActions (const FGraphNodeContextMenuBuilder &Context) const override
 
FIntPoint GetDefaultEdgePosition () const
 
UDlgDialogueGetDialogue () const
 
UDialogueGraphGetDialogueGraph () const
 
const UDialogueGraphSchemaGetDialogueGraphSchema () const
 
template<typename DlgNodeType >
const DlgNodeType & GetDialogueNode () const
 
const UDlgNodeGetDialogueNode () const
 
int32 GetDialogueNodeIndex () const override
 
FString GetDocumentationExcerptName () const override
 
FString GetDocumentationLink () const override
 
bool GetForceHideNode () const
 
FSlateIcon GetIconAndTint (FLinearColor &OutColor) const override
 
UEdGraphPin * GetInputPin () const
 
template<typename DlgNodeType >
DlgNodeType * GetMutableDialogueNode ()
 
UDlgNodeGetMutableDialogueNode () const
 
FLinearColor GetNodeBackgroundColor () const override
 
int32 GetNodeDepth () const
 
FText GetNodeTitle (ENodeTitleType::Type TitleType) const override
 
FLinearColor GetNodeTitleColor () const override
 
TSharedPtr< SGraphNodeGetNodeWidget () const
 
UEdGraphPin * GetOutputPin () const
 
TArray< UDialogueGraphNode_Edge * > GetParentEdgeNodes (bool bCheckChild=true) const
 
TArray< UDialogueGraphNode * > GetParentNodes () const
 
virtual FIntPoint GetPosition () const
 
FText GetTooltipText () const override
 
bool HasChildEdgeNode (const UDialogueGraphNode_Edge *ChildEdgeToFind) const
 
bool HasEnterConditions () const
 
bool HasEnterEvents () const
 
bool HasGenericDataSet () const
 
bool HasInputPin () const
 
bool HasOutputConnectionToNode (const UEdGraphNode *TargetNode) const override
 
bool HasOutputPin () const
 
bool HasParentEdgeNode (const UDialogueGraphNode_Edge *ParentEdgeToFind) const
 
bool HasVoicePropertiesSet () const
 
bool IsDialogueNodeSet () const
 
bool IsEndNode () const
 
bool IsRootNode () const override
 
bool IsSelectorFirstNode () const
 
bool IsSelectorNode () const
 
bool IsSelectorRandomNode () const
 
bool IsSpeechNode () const
 
bool IsSpeechSequenceNode () const
 
bool IsVirtualParentNode () const
 
bool Modify (bool bAlwaysMarkDirty=true) override
 
void NodeConnectionListChanged () override
 
void PinConnectionListChanged (UEdGraphPin *Pin) override
 
void PostCopyNode () override
 
void PostDuplicate (bool bDuplicateForPIE) override
 
void PostEditChangeChainProperty (struct FPropertyChangedChainEvent &PropertyChangedEvent) override
 
void PostEditChangeProperty (FPropertyChangedEvent &PropertyChangedEvent) override
 
void PostEditImport () override
 
void PostLoad () override
 
void PostPlacedNewNode () override
 
void PrepareForCopying () override
 
void ReconstructNode () override
 
void RemovePinAt (int32 PinIndex, EEdGraphPinDirection PinDirection) override
 
void SetCompilerWarningMessage (FString Message)
 
virtual void SetDialogueNode (UDlgNode *InNode)
 
void SetDialogueNodeDataChecked (int32 InIndex, UDlgNode *InNode)
 
void SetDialogueNodeIndex (int32 InIndex) override
 
void SetEdges (const TArray< FDlgEdge > &InEdges)
 
void SetEdgeTargetIndexAt (int32 EdgeIndex, int32 NewTargetIndex)
 
void SetEdgeTextAt (int32 EdgeIndex, const FText &NewText)
 
void SetForceHideNode (bool bHide)
 
void SetNodeDepth (int32 NewNodeDepth)
 
virtual void SetPosition (int32 X, int32 Y)
 
bool ShouldDrawNode () const
 
bool ShowPaletteIconOnNode () const override
 
void SortChildrenBasedOnXLocation ()
 
void UpdateEdgesFromDialogueNode ()
 

Static Public Member Functions

static FName GetMemberNameDialogueNode ()
 
static FName GetMemberNameNodeIndex ()
 

Protected Member Functions

virtual void CreateInputPin ()
 
virtual void CreateOutputPin ()
 
void OnDialogueNodePropertyChanged (const FPropertyChangedEvent &PropertyChangedEvent, int32 EdgeIndexChanged)
 
void OnDialoguePropertyChanged (const FPropertyChangedEvent &PropertyChangedEvent) override
 
void RegisterListeners () override
 
void ResetDialogueNodeOwner ()
 

Protected Attributes

bool bForceHideNode = false
 
UDlgNodeDialogueNode
 UPROPERTY(EditAnywhere, Instanced, Category = DialogueGraphNode, Meta = (ShowOnlyInnerProperties))
 
int32 NodeDepth = INDEX_NONE
 UPROPERTY()
 
int32 NodeIndex = INDEX_NONE
 UPROPERTY(VisibleAnywhere, Category = DialogueGraphNode)
 

Static Protected Attributes

static constexpr int32 INDEX_PIN_Input = 0
 
static constexpr int32 INDEX_PIN_Output = 1
 

Private Member Functions

bool DoesEdgeMatchEdgeIndex (const FDlgEdge &Edge, int32 EdgeIndex, FString &OutMessage) const
 
const FDiffNodeEdgeLinkedToPinResult FindDifferenceBetweenNodeEdgesAndLinkedToPins () const
 
 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Definition at line 14 of file DialogueGraphNode_Root.h.

Member Function Documentation

◆ AllocateDefaultPins()

void UDialogueGraphNode_Base::AllocateDefaultPins ( )
overrideinherited

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Definition at line 34 of file DialogueGraphNode_Base.cpp.

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

◆ ApplyCompilerWarnings()

void UDialogueGraphNode::ApplyCompilerWarnings ( )
inherited

Checks the node for warnings and applies the compiler warnings messages

Definition at line 484 of file DialogueGraphNode.cpp.

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

◆ AutowireNewNode()

void UDialogueGraphNode::AutowireNewNode ( UEdGraphPin * FromPin)
overrideinherited

Autowire a newly created node.

Parameters
FromPinThe source pin that caused the new node to be created (typically a drag-release context menu creation).

Definition at line 256 of file DialogueGraphNode.cpp.

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

◆ CanCreateUnderSpecifiedSchema()

bool UDialogueGraphNode_Base::CanCreateUnderSpecifiedSchema ( const UEdGraphSchema * Schema) const
inlineoverrideinherited

Determine if this node can be created under the specified schema

Definition at line 79 of file DialogueGraphNode_Base.h.

◆ CanDuplicateNode()

bool UDialogueGraphNode::CanDuplicateNode ( ) const
inlineoverrideinherited

Whether or not this node can be safely duplicated (via copy/paste, etc...) in the graph.

Definition at line 119 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ CanHaveInputConnections()

bool UDialogueGraphNode::CanHaveInputConnections ( ) const
inlineoverridevirtualinherited

Checks whether an input connection can be added to this node

Reimplemented from UDialogueGraphNode_Base.

Definition at line 159 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ CanHaveOutputConnections()

bool UDialogueGraphNode::CanHaveOutputConnections ( ) const
inlineoverridevirtualinherited

Checks whether an output connection can be added from this node

Reimplemented from UDialogueGraphNode_Base.

Definition at line 162 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ CanSplitPin()

bool UDialogueGraphNode_Base::CanSplitPin ( const UEdGraphPin * Pin) const
inlineoverrideinherited

Whether or not struct pins belonging to this node should be allowed to be split or not.

Definition at line 76 of file DialogueGraphNode_Base.h.

◆ CanUserDeleteNode()

bool UDialogueGraphNode::CanUserDeleteNode ( ) const
inlineoverrideinherited

Whether or not this node can be deleted by user action.

Definition at line 122 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ CheckAll()

void UDialogueGraphNode::CheckAll ( ) const
inlineoverridevirtualinherited

Perform all checks

Reimplemented from UDialogueGraphNode_Base.

Definition at line 174 of file DialogueGraphNode.h.

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

◆ CheckDialogueNodeIndexMatchesNode()

void UDialogueGraphNode::CheckDialogueNodeIndexMatchesNode ( ) const
inherited

Checks Dialogue.Nodes[NodeIndex] == DialogueNode

Definition at line 528 of file DialogueGraphNode.cpp.

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

◆ CheckDialogueNodeSyncWithGraphNode()

void UDialogueGraphNode::CheckDialogueNodeSyncWithGraphNode ( bool bStrictCheck = false) const
inherited

Helper function to check if the DialogueNode.Children matches with the Pins of the graph node

Definition at line 539 of file DialogueGraphNode.cpp.

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

◆ ClearCompilerMessage()

void UDialogueGraphNode_Base::ClearCompilerMessage ( )
inherited

Clears the compiler messages on this node.

Definition at line 126 of file DialogueGraphNode_Base.cpp.

Here is the caller graph for this function:

◆ CreateInputPin()

virtual void UDialogueGraphNode::CreateInputPin ( )
inlineprotectedvirtualinherited

Creates the input pin for this node.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 371 of file DialogueGraphNode.h.

◆ CreateOutputPin()

virtual void UDialogueGraphNode::CreateOutputPin ( )
inlineprotectedvirtualinherited

Creates the output pin for this node.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 380 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ DoesEdgeMatchEdgeIndex()

bool UDialogueGraphNode::DoesEdgeMatchEdgeIndex ( const FDlgEdge & Edge,
int32 EdgeIndex,
FString & OutMessage ) const
privateinherited

Tells us if the Edge matches the Graph Output Connections at the same Index in the OutputPin. They point to the same TargetIndex

Definition at line 848 of file DialogueGraphNode.cpp.

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

◆ EstimateNodeWidth()

int32 UDialogueGraphNode::EstimateNodeWidth ( ) const
inherited

Estimate the width of this Node from the length of its content

Definition at line 500 of file DialogueGraphNode.cpp.

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

◆ FindDifferenceBetweenNodeEdgesAndLinkedToPins()

const FDiffNodeEdgeLinkedToPinResult UDialogueGraphNode::FindDifferenceBetweenNodeEdgesAndLinkedToPins ( ) const
privateinherited

Returns the different Edge Index in the DialogueNode.Children that differs from its corresponding OutputPin.LinkedTo.

Definition at line 787 of file DialogueGraphNode.cpp.

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

◆ GENERATED_BODY()

UDialogueGraphNode_Root::GENERATED_BODY ( )
private

◆ GetChildEdgeIndexForChildNodeIndex()

int32 UDialogueGraphNode::GetChildEdgeIndexForChildNodeIndex ( int32 ChildNodeIndex) const
inherited

Gets the edge inside fromGraphNodeEdges for the ChildNodeIndex

Definition at line 415 of file DialogueGraphNode.cpp.

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

◆ GetChildEdgeNodes()

TArray< UDialogueGraphNode_Edge * > UDialogueGraphNode::GetChildEdgeNodes ( bool bCheckParent = true) const
inherited

Gets the child node edges that are connected from the output pin. This returns the proxy edge nodes. To surpass the proxy connection use GetChildNodes.

Definition at line 631 of file DialogueGraphNode.cpp.

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

◆ GetChildNodes()

TArray< UDialogueGraphNode * > UDialogueGraphNode::GetChildNodes ( ) const
inherited

Gets the child nodes that are connected from the output pin. This handles the proxy connection to the UDialogueGraphNode_Edge.

Definition at line 598 of file DialogueGraphNode.cpp.

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

◆ GetContextMenuActions()

void UDialogueGraphNode::GetContextMenuActions ( const FGraphNodeContextMenuBuilder & Context) const
overrideinherited

Gets a list of actions that can be done to this particular node

Definition at line 228 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ GetDefaultEdgePosition()

FIntPoint UDialogueGraphNode::GetDefaultEdgePosition ( ) const
inlineinherited

Definition at line 278 of file DialogueGraphNode.h.

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

◆ GetDialogue()

UDlgDialogue * UDialogueGraphNode_Base::GetDialogue ( ) const
inlineinherited

Definition at line 178 of file DialogueGraphNode_Base.h.

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

◆ GetDialogueGraph()

UDialogueGraph * UDialogueGraphNode_Base::GetDialogueGraph ( ) const
inlineinherited

Definition at line 175 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GetDialogueGraphSchema()

const UDialogueGraphSchema * UDialogueGraphNode_Base::GetDialogueGraphSchema ( ) const
inlineinherited

Helper method to get directly the Dialogue Graph Schema

Definition at line 182 of file DialogueGraphNode_Base.h.

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

◆ GetDialogueNode() [1/2]

template<typename DlgNodeType >
const DlgNodeType & UDialogueGraphNode::GetDialogueNode ( ) const
inlineinherited

Gets the copy of the DlgNode stored by this graph node

Definition at line 289 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ GetDialogueNode() [2/2]

const UDlgNode & UDialogueGraphNode::GetDialogueNode ( ) const
inlineinherited

Definition at line 296 of file DialogueGraphNode.h.

◆ GetDialogueNodeIndex()

int32 UDialogueGraphNode_Root::GetDialogueNodeIndex ( ) const
inlineoverridevirtual

Gets the Dialogue node index number for the DlgDialogue.Nodes Array

Reimplemented from UDialogueGraphNode.

Definition at line 42 of file DialogueGraphNode_Root.h.

◆ GetDocumentationExcerptName()

FString UDialogueGraphNode::GetDocumentationExcerptName ( ) const
overrideinherited

Definition at line 125 of file DialogueGraphNode.cpp.

◆ GetDocumentationLink()

FString UDialogueGraphNode_Base::GetDocumentationLink ( ) const
inlineoverrideinherited

Returns the link used for external documentation for the graph node.

Definition at line 85 of file DialogueGraphNode_Base.h.

◆ GetForceHideNode()

bool UDialogueGraphNode::GetForceHideNode ( ) const
inlineinherited

Should we force hide this node?

Definition at line 356 of file DialogueGraphNode.h.

◆ GetIconAndTint()

FSlateIcon UDialogueGraphNode_Base::GetIconAndTint ( FLinearColor & OutColor) const
inlineoverrideinherited
Returns
Icon to use in menu or on node

Definition at line 94 of file DialogueGraphNode_Base.h.

Here is the call graph for this function:

◆ GetInputPin()

UEdGraphPin * UDialogueGraphNode_Base::GetInputPin ( ) const
inlineinherited

Definition at line 161 of file DialogueGraphNode_Base.h.

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

◆ GetMemberNameDialogueNode()

static FName UDialogueGraphNode::GetMemberNameDialogueNode ( )
inlinestaticinherited

Helper constants to get the names of some properties. Used by the DlgSystemEditor module.

Definition at line 365 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ GetMemberNameNodeIndex()

static FName UDialogueGraphNode::GetMemberNameNodeIndex ( )
inlinestaticinherited

Definition at line 366 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ GetMutableDialogueNode() [1/2]

template<typename DlgNodeType >
DlgNodeType * UDialogueGraphNode::GetMutableDialogueNode ( )
inlineinherited

Gets the copy of the DlgNode stored by this graph node as a mutable pointer

Definition at line 293 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ GetMutableDialogueNode() [2/2]

UDlgNode * UDialogueGraphNode::GetMutableDialogueNode ( ) const
inlineinherited

Definition at line 297 of file DialogueGraphNode.h.

◆ GetNodeBackgroundColor()

FLinearColor UDialogueGraphNode_Root::GetNodeBackgroundColor ( ) const
inlineoverridevirtual

Gets the background color of this node.

Reimplemented from UDialogueGraphNode.

Definition at line 45 of file DialogueGraphNode_Root.h.

◆ GetNodeDepth()

int32 UDialogueGraphNode::GetNodeDepth ( ) const
inlineinherited

Gets the node depth in the graph.

Definition at line 255 of file DialogueGraphNode.h.

◆ GetNodeTitle()

FText UDialogueGraphNode_Root::GetNodeTitle ( ENodeTitleType::Type TitleType) const
inlineoverride

Gets the name of this node, shown in title bar

Definition at line 21 of file DialogueGraphNode_Root.h.

◆ GetNodeTitleColor()

FLinearColor UDialogueGraphNode_Base::GetNodeTitleColor ( ) const
inlineoverrideinherited

Gets the draw color of a node's title bar.

Definition at line 91 of file DialogueGraphNode_Base.h.

Here is the call graph for this function:

◆ GetNodeWidget()

TSharedPtr< SGraphNode > UDialogueGraphNode_Base::GetNodeWidget ( ) const
inlineinherited

Widget representing this node if it exists

Definition at line 185 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GetOutputPin()

UEdGraphPin * UDialogueGraphNode_Base::GetOutputPin ( ) const
inlineinherited

Definition at line 168 of file DialogueGraphNode_Base.h.

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

◆ GetParentEdgeNodes()

TArray< UDialogueGraphNode_Edge * > UDialogueGraphNode::GetParentEdgeNodes ( bool bCheckChild = true) const
inherited

Gets the parent node edges that are connected from the input pin. This returns the proxy edge nodes. To surpass the proxy connection use GetParentNodes.

Definition at line 610 of file DialogueGraphNode.cpp.

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

◆ GetParentNodes()

TArray< UDialogueGraphNode * > UDialogueGraphNode::GetParentNodes ( ) const
inherited

Gets the parent nodes that are connected to the input pin. This handles the proxy connection to the UDialogueGraphNode_Edge.

Definition at line 586 of file DialogueGraphNode.cpp.

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

◆ GetPosition()

virtual FIntPoint UDialogueGraphNode_Base::GetPosition ( ) const
inlinevirtualinherited

Gets the position in the Graph canvas of this node.

Definition at line 130 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GetTooltipText()

FText UDialogueGraphNode_Root::GetTooltipText ( ) const
inlineoverride

Gets the tooltip to display when over the node

Definition at line 27 of file DialogueGraphNode_Root.h.

◆ HasChildEdgeNode()

bool UDialogueGraphNode::HasChildEdgeNode ( const UDialogueGraphNode_Edge * ChildEdgeToFind) const
inherited

Does this node have the child edge ChildEdgeToFind?

Definition at line 652 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ HasEnterConditions()

bool UDialogueGraphNode::HasEnterConditions ( ) const
inlineinherited

Does this node has any enter conditions?

Definition at line 237 of file DialogueGraphNode.h.

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

◆ HasEnterEvents()

bool UDialogueGraphNode::HasEnterEvents ( ) const
inlineinherited

Does this node has any enter events?

Definition at line 243 of file DialogueGraphNode.h.

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

◆ HasGenericDataSet()

bool UDialogueGraphNode::HasGenericDataSet ( ) const
inherited

Does this node has any voice properties set?

Definition at line 378 of file DialogueGraphNode.cpp.

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

◆ HasInputPin()

bool UDialogueGraphNode_Base::HasInputPin ( ) const
inlineinherited

Is the Input pin initialized?

Definition at line 147 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ HasOutputConnectionToNode()

bool UDialogueGraphNode::HasOutputConnectionToNode ( const UEdGraphNode * TargetNode) const
overridevirtualinherited

Checks if this node has a output connection to the TargetNode.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 327 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ HasOutputPin()

bool UDialogueGraphNode_Base::HasOutputPin ( ) const
inlineinherited

Is the Output pin initialized?

Definition at line 154 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ HasParentEdgeNode()

bool UDialogueGraphNode::HasParentEdgeNode ( const UDialogueGraphNode_Edge * ParentEdgeToFind) const
inherited

Does this node has the parent edge ParentEdgeToFind?

Definition at line 674 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ HasVoicePropertiesSet()

bool UDialogueGraphNode::HasVoicePropertiesSet ( ) const
inherited

Does this node has any voice properties set?

Definition at line 350 of file DialogueGraphNode.cpp.

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

◆ IsDialogueNodeSet()

bool UDialogueGraphNode::IsDialogueNodeSet ( ) const
inlineinherited

Tells us if the Dialogue Node is valid non null.

Definition at line 300 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsEndNode()

bool UDialogueGraphNode::IsEndNode ( ) const
inlineinherited

Is this an End Node?

Definition at line 192 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsRootNode()

bool UDialogueGraphNode_Root::IsRootNode ( ) const
inlineoverridevirtual

Is this the undeletable root node

Reimplemented from UDialogueGraphNode.

Definition at line 36 of file DialogueGraphNode_Root.h.

◆ IsSelectorFirstNode()

bool UDialogueGraphNode::IsSelectorFirstNode ( ) const
inlineinherited

Is this a selector First Node?

Definition at line 212 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsSelectorNode()

bool UDialogueGraphNode::IsSelectorNode ( ) const
inlineinherited

Is this a selector Node?

Definition at line 209 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsSelectorRandomNode()

bool UDialogueGraphNode::IsSelectorRandomNode ( ) const
inlineinherited

Is this a selector Random Node?

Definition at line 223 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsSpeechNode()

bool UDialogueGraphNode::IsSpeechNode ( ) const
inlineinherited

Is this a Speech Node?

Definition at line 195 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsSpeechSequenceNode()

bool UDialogueGraphNode::IsSpeechSequenceNode ( ) const
inlineinherited

Is this a Speech Sequence Node?

Definition at line 234 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ IsVirtualParentNode()

bool UDialogueGraphNode::IsVirtualParentNode ( ) const
inlineinherited

Is this a virtual parent Node?

Definition at line 198 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ Modify()

bool UDialogueGraphNode::Modify ( bool bAlwaysMarkDirty = true)
overrideinherited

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 62 of file DialogueGraphNode.cpp.

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

◆ NodeConnectionListChanged()

void UDialogueGraphNode::NodeConnectionListChanged ( )
inlineoverrideinherited

Called when something external to this node has changed the connection list of any of the pins in the node

  • Different from PinConnectionListChanged as this is called outside of any loops iterating over our pins allowing us to do things like reconstruct the node safely without trashing pins we are already iterating on
  • Typically called after a user induced action like making a pin connection or a pin break

Definition at line 133 of file DialogueGraphNode.h.

Here is the call graph for this function:

◆ OnDialogueNodePropertyChanged()

void UDialogueGraphNode::OnDialogueNodePropertyChanged ( const FPropertyChangedEvent & PropertyChangedEvent,
int32 EdgeIndexChanged )
protectedinherited

This function is called after one of the properties of the DialogueNode are changed.

Definition at line 737 of file DialogueGraphNode.cpp.

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

◆ OnDialoguePropertyChanged()

void UDialogueGraphNode_Root::OnDialoguePropertyChanged ( const FPropertyChangedEvent & PropertyChangedEvent)
overrideprotectedvirtual

This function is called after one of the properties of the Dialogue are changed.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 21 of file DialogueGraphNode_Root.cpp.

◆ PinConnectionListChanged()

void UDialogueGraphNode_Root::PinConnectionListChanged ( UEdGraphPin * Pin)
override

Called when the connection list of one of the pins of this node is changed in the editor

Definition at line 8 of file DialogueGraphNode_Root.cpp.

◆ PostCopyNode()

void UDialogueGraphNode::PostCopyNode ( )
overridevirtualinherited

Perform any fixups (deep copies of associated data, etc...) necessary after a node has been copied in the editor.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 118 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ PostDuplicate()

void UDialogueGraphNode_Base::PostDuplicate ( bool bDuplicateForPIE)
overrideinherited

Called after duplication & serialization and before PostLoad. Used to e.g. make sure UStaticMesh's UModel gets copied as well. Note: NOT called on components on actor duplication (alt-drag or copy-paste). Use PostEditImport as well to cover that case.

Definition at line 14 of file DialogueGraphNode_Base.cpp.

◆ PostEditChangeChainProperty()

void UDialogueGraphNode::PostEditChangeChainProperty ( struct FPropertyChangedChainEvent & PropertyChangedEvent)
overrideinherited

This alternate version of PostEditChange is called when properties inside structs are modified. The property that was actually modified is located at the tail of the list. The head of the list of the FNYStructProperty member variable that contains the property that was modified.

Definition at line 57 of file DialogueGraphNode.cpp.

◆ PostEditChangeProperty()

void UDialogueGraphNode::PostEditChangeProperty ( FPropertyChangedEvent & PropertyChangedEvent)
overrideinherited

Called when a property on this object has been modified externally

Parameters
PropertyChangedEventthe property that was modified

Definition at line 45 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ PostEditImport()

void UDialogueGraphNode::PostEditImport ( )
overrideinherited

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

Definition at line 36 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

◆ PostLoad()

void UDialogueGraphNode::PostLoad ( )
overrideinherited

Do any object-specific cleanup required immediately after loading an object, and immediately after any undo/redo.

Definition at line 24 of file DialogueGraphNode.cpp.

◆ PostPlacedNewNode()

void UDialogueGraphNode_Base::PostPlacedNewNode ( )
inlineoverrideinherited

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. This method is not called when a node is reconstructed, etc...

Definition at line 55 of file DialogueGraphNode_Base.h.

Here is the call graph for this function:

◆ PrepareForCopying()

void UDialogueGraphNode::PrepareForCopying ( )
overrideinherited

Perform any steps necessary prior to copying a node into the paste buffer

Definition at line 107 of file DialogueGraphNode.cpp.

◆ ReconstructNode()

void UDialogueGraphNode_Base::ReconstructNode ( )
overrideinherited

Refresh the connectors on a node, preserving as many connections as it can.

Definition at line 43 of file DialogueGraphNode_Base.cpp.

Here is the call graph for this function:

◆ RegisterListeners()

void UDialogueGraphNode::RegisterListeners ( )
overrideprotectedvirtualinherited

Registers all the listener this class listens to.

Reimplemented from UDialogueGraphNode_Base.

Definition at line 340 of file DialogueGraphNode.cpp.

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

◆ RemovePinAt()

void UDialogueGraphNode_Base::RemovePinAt ( int32 PinIndex,
EEdGraphPinDirection PinDirection )
inlineoverrideinherited

IGNORED. Removes the specified pin from the node, preserving remaining pin ordering.

Definition at line 73 of file DialogueGraphNode_Base.h.

◆ ResetDialogueNodeOwner()

void UDialogueGraphNode::ResetDialogueNodeOwner ( )
protectedinherited

Make sure the DialogueNode is owned by the Dialogue

Definition at line 767 of file DialogueGraphNode.cpp.

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

◆ SetCompilerWarningMessage()

void UDialogueGraphNode_Base::SetCompilerWarningMessage ( FString Message)
inherited

Sets a compiler message of type warning.

Definition at line 133 of file DialogueGraphNode_Base.cpp.

Here is the caller graph for this function:

◆ SetDialogueNode()

virtual void UDialogueGraphNode::SetDialogueNode ( UDlgNode * InNode)
inlinevirtualinherited

Sets the Dialogue Node.

Definition at line 261 of file DialogueGraphNode.h.

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

◆ SetDialogueNodeDataChecked()

void UDialogueGraphNode::SetDialogueNodeDataChecked ( int32 InIndex,
UDlgNode * InNode )
inherited

The same SetDialogueNodeIndex and SetDialogueNode only that it sets them both at once and it does some sanity checking such as verifying the index is valid in the Dialogue node and that the index corresponds to this InNode.

Definition at line 406 of file DialogueGraphNode.cpp.

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

◆ SetDialogueNodeIndex()

void UDialogueGraphNode_Root::SetDialogueNodeIndex ( int32 InIndex)
inlineoverridevirtual

Sets the Dialogue node index number, this represents the index from the DlgDialogue.Nodes Array

Reimplemented from UDialogueGraphNode.

Definition at line 39 of file DialogueGraphNode_Root.h.

◆ SetEdges()

void UDialogueGraphNode::SetEdges ( const TArray< FDlgEdge > & InEdges)
inherited

Definition at line 457 of file DialogueGraphNode.cpp.

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

◆ SetEdgeTargetIndexAt()

void UDialogueGraphNode::SetEdgeTargetIndexAt ( int32 EdgeIndex,
int32 NewTargetIndex )
inherited

Sets a new TargetIndex for the Edge at location EdgeIndex.

Definition at line 435 of file DialogueGraphNode.cpp.

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

◆ SetEdgeTextAt()

void UDialogueGraphNode::SetEdgeTextAt ( int32 EdgeIndex,
const FText & NewText )
inherited

Sets a new Text for the Edge at location EdgeIndex.

Definition at line 446 of file DialogueGraphNode.cpp.

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

◆ SetForceHideNode()

void UDialogueGraphNode::SetForceHideNode ( bool bHide)
inlineinherited

Forcefully hide/show this node and all edges that are coming into it.

Definition at line 359 of file DialogueGraphNode.h.

◆ SetNodeDepth()

void UDialogueGraphNode::SetNodeDepth ( int32 NewNodeDepth)
inlineinherited

Sets the new node depth.

Definition at line 258 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ SetPosition()

virtual void UDialogueGraphNode_Base::SetPosition ( int32 X,
int32 Y )
inlinevirtualinherited

Sets the position in the Graph canvas of this node.

Definition at line 133 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ ShouldDrawNode()

bool UDialogueGraphNode::ShouldDrawNode ( ) const
inlineinherited

Should this node be drawn?

Definition at line 362 of file DialogueGraphNode.h.

Here is the caller graph for this function:

◆ ShowPaletteIconOnNode()

bool UDialogueGraphNode_Base::ShowPaletteIconOnNode ( ) const
inlineoverrideinherited

Should we show the Palette Icon for this node on the node title

Definition at line 88 of file DialogueGraphNode_Base.h.

◆ SortChildrenBasedOnXLocation()

void UDialogueGraphNode::SortChildrenBasedOnXLocation ( )
inherited

Rearranges the children (edges, output pin, connections) based on the X location on the graph.

Definition at line 706 of file DialogueGraphNode.cpp.

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

◆ UpdateEdgesFromDialogueNode()

void UDialogueGraphNode::UpdateEdgesFromDialogueNode ( )
inherited

Definition at line 472 of file DialogueGraphNode.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bForceHideNode

bool UDialogueGraphNode::bForceHideNode = false
protectedinherited

Forcefully hide this node from the graph.

Definition at line 436 of file DialogueGraphNode.h.

◆ DialogueNode

UDlgNode* UDialogueGraphNode::DialogueNode
protectedinheritedEditAnywhereInstanced

UPROPERTY(EditAnywhere, Instanced, Category = DialogueGraphNode, Meta = (ShowOnlyInnerProperties))

The Dialogue Node this graph node references.

Definition at line 418 of file DialogueGraphNode.h.

◆ INDEX_PIN_Input

constexpr int32 UDialogueGraphNode_Base::INDEX_PIN_Input = 0
staticconstexprprotectedinherited

Definition at line 203 of file DialogueGraphNode_Base.h.

◆ INDEX_PIN_Output

constexpr int32 UDialogueGraphNode_Base::INDEX_PIN_Output = 1
staticconstexprprotectedinherited

Definition at line 204 of file DialogueGraphNode_Base.h.

◆ NodeDepth

int32 UDialogueGraphNode::NodeDepth = INDEX_NONE
protectedinherited

UPROPERTY()

Definition at line 431 of file DialogueGraphNode.h.

◆ NodeIndex

int32 UDialogueGraphNode::NodeIndex = INDEX_NONE
protectedinheritedVisibleAnywhere

UPROPERTY(VisibleAnywhere, Category = DialogueGraphNode)

The Dialogue Node index in the Dialogue (array) this represents. This is not relevant for the StartNode.

Definition at line 425 of file DialogueGraphNode.h.


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