A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UDialogueGraphNode_Base Class ReferenceAbstract

UCLASS(Abstract) More...

#include <DialogueGraphNode_Base.h>

Inheritance diagram for UDialogueGraphNode_Base:
[legend]

Public Member Functions

 UDialogueGraphNode_Base (const FObjectInitializer &ObjectInitializer)
 
void AllocateDefaultPins () override
 
bool CanCreateUnderSpecifiedSchema (const UEdGraphSchema *Schema) const override
 
bool CanDuplicateNode () const override
 
virtual bool CanHaveInputConnections () const
 
virtual bool CanHaveOutputConnections () const
 
bool CanSplitPin (const UEdGraphPin *Pin) const override
 
bool CanUserDeleteNode () const override
 
virtual void CheckAll () const
 
void ClearCompilerMessage ()
 
UDlgDialogueGetDialogue () const
 
UDialogueGraphGetDialogueGraph () const
 
const UDialogueGraphSchemaGetDialogueGraphSchema () const
 
FString GetDocumentationLink () const override
 
FSlateIcon GetIconAndTint (FLinearColor &OutColor) const override
 
UEdGraphPin * GetInputPin () const
 
virtual FLinearColor GetNodeBackgroundColor () const
 
FLinearColor GetNodeTitleColor () const override
 
TSharedPtr< SGraphNodeGetNodeWidget () const
 
UEdGraphPin * GetOutputPin () const
 
virtual FIntPoint GetPosition () const
 
bool HasInputPin () const
 
virtual bool HasOutputConnectionToNode (const UEdGraphNode *TargetNode) const
 
bool HasOutputPin () const
 
virtual void PostCopyNode ()
 
void PostDuplicate (bool bDuplicateForPIE) 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 SetPosition (int32 X, int32 Y)
 
bool ShowPaletteIconOnNode () const override
 

Protected Member Functions

virtual void CreateInputPin ()
 
virtual void CreateOutputPin ()
 
virtual void OnDialoguePropertyChanged (const FPropertyChangedEvent &PropertyChangedEvent)
 
virtual void RegisterListeners ()
 

Static Protected Attributes

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

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS(Abstract)

Represents the base class representation of the dialogue graph nodes. Each dialogue graph node has only one input/output pin. And each pin can be linked to multiple nodes.

Definition at line 25 of file DialogueGraphNode_Base.h.

Constructor & Destructor Documentation

◆ UDialogueGraphNode_Base()

UDialogueGraphNode_Base::UDialogueGraphNode_Base ( const FObjectInitializer & ObjectInitializer)

Definition at line 108 of file DialogueGraphNode_Base.cpp.

Member Function Documentation

◆ AllocateDefaultPins()

void UDialogueGraphNode_Base::AllocateDefaultPins ( )
override

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:

◆ CanCreateUnderSpecifiedSchema()

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

Determine if this node can be created under the specified schema

Definition at line 79 of file DialogueGraphNode_Base.h.

◆ CanDuplicateNode()

bool UDialogueGraphNode_Base::CanDuplicateNode ( ) const
inlineoverride

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

Definition at line 64 of file DialogueGraphNode_Base.h.

◆ CanHaveInputConnections()

virtual bool UDialogueGraphNode_Base::CanHaveInputConnections ( ) const
inlinevirtual

Checks whether an input connection can be added to this node

Reimplemented in UDialogueGraphNode.

Definition at line 112 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ CanHaveOutputConnections()

virtual bool UDialogueGraphNode_Base::CanHaveOutputConnections ( ) const
inlinevirtual

Checks whether an output connection can be added from this node

Reimplemented in UDialogueGraphNode.

Definition at line 115 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ CanSplitPin()

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

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_Base::CanUserDeleteNode ( ) const
inlineoverride

Whether or not this node can be deleted by user action

Definition at line 67 of file DialogueGraphNode_Base.h.

◆ CheckAll()

virtual void UDialogueGraphNode_Base::CheckAll ( ) const
inlinevirtual

Performs all checks

Reimplemented in UDialogueGraphNode.

Definition at line 121 of file DialogueGraphNode_Base.h.

Here is the call graph for this function:

◆ ClearCompilerMessage()

void UDialogueGraphNode_Base::ClearCompilerMessage ( )

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_Base::CreateInputPin ( )
inlineprotectedvirtual

Creates the input pin for this node.

Reimplemented in UDialogueGraphNode, and UDialogueGraphNode_Edge.

Definition at line 190 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ CreateOutputPin()

virtual void UDialogueGraphNode_Base::CreateOutputPin ( )
inlineprotectedvirtual

Creates the output pin for this node.

Reimplemented in UDialogueGraphNode, and UDialogueGraphNode_Edge.

Definition at line 193 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GENERATED_BODY()

UDialogueGraphNode_Base::GENERATED_BODY ( )
private

◆ GetDialogue()

UDlgDialogue * UDialogueGraphNode_Base::GetDialogue ( ) const
inline

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
inline

Definition at line 175 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GetDialogueGraphSchema()

const UDialogueGraphSchema * UDialogueGraphNode_Base::GetDialogueGraphSchema ( ) const
inline

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:

◆ GetDocumentationLink()

FString UDialogueGraphNode_Base::GetDocumentationLink ( ) const
inlineoverride

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

Definition at line 85 of file DialogueGraphNode_Base.h.

◆ GetIconAndTint()

FSlateIcon UDialogueGraphNode_Base::GetIconAndTint ( FLinearColor & OutColor) const
inlineoverride
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
inline

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:

◆ GetNodeBackgroundColor()

virtual FLinearColor UDialogueGraphNode_Base::GetNodeBackgroundColor ( ) const
inlinevirtual

Gets the background color of this node.

Reimplemented in UDialogueGraphNode, UDialogueGraphNode_Edge, and UDialogueGraphNode_Root.

Definition at line 118 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ GetNodeTitleColor()

FLinearColor UDialogueGraphNode_Base::GetNodeTitleColor ( ) const
inlineoverride

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
inline

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
inline

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:

◆ GetPosition()

virtual FIntPoint UDialogueGraphNode_Base::GetPosition ( ) const
inlinevirtual

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:

◆ HasInputPin()

bool UDialogueGraphNode_Base::HasInputPin ( ) const
inline

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_Base::HasOutputConnectionToNode ( const UEdGraphNode * TargetNode) const
virtual

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

Reimplemented in UDialogueGraphNode.

Definition at line 113 of file DialogueGraphNode_Base.cpp.

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

◆ HasOutputPin()

bool UDialogueGraphNode_Base::HasOutputPin ( ) const
inline

Is the Output pin initialized?

Definition at line 154 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ OnDialoguePropertyChanged()

virtual void UDialogueGraphNode_Base::OnDialoguePropertyChanged ( const FPropertyChangedEvent & PropertyChangedEvent)
inlineprotectedvirtual

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

Reimplemented in UDialogueGraphNode_Root.

Definition at line 196 of file DialogueGraphNode_Base.h.

Here is the caller graph for this function:

◆ PostCopyNode()

virtual void UDialogueGraphNode_Base::PostCopyNode ( )
inlinevirtual

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

Reimplemented in UDialogueGraphNode.

Definition at line 106 of file DialogueGraphNode_Base.h.

◆ PostDuplicate()

void UDialogueGraphNode_Base::PostDuplicate ( bool bDuplicateForPIE)
override

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.

◆ PostEditImport()

void UDialogueGraphNode_Base::PostEditImport ( )
override

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 24 of file DialogueGraphNode_Base.cpp.

Here is the call graph for this function:

◆ PostLoad()

void UDialogueGraphNode_Base::PostLoad ( )
override

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

Definition at line 8 of file DialogueGraphNode_Base.cpp.

Here is the call graph for this function:

◆ PostPlacedNewNode()

void UDialogueGraphNode_Base::PostPlacedNewNode ( )
inlineoverride

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_Base::PrepareForCopying ( )
inlineoverride

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

Definition at line 70 of file DialogueGraphNode_Base.h.

◆ ReconstructNode()

void UDialogueGraphNode_Base::ReconstructNode ( )
override

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_Base::RegisterListeners ( )
protectedvirtual

Registers all the listener this class listens to.

Reimplemented in UDialogueGraphNode.

Definition at line 140 of file DialogueGraphNode_Base.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 )
inlineoverride

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

Definition at line 73 of file DialogueGraphNode_Base.h.

◆ SetCompilerWarningMessage()

void UDialogueGraphNode_Base::SetCompilerWarningMessage ( FString Message)

Sets a compiler message of type warning.

Definition at line 133 of file DialogueGraphNode_Base.cpp.

Here is the caller graph for this function:

◆ SetPosition()

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

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:

◆ ShowPaletteIconOnNode()

bool UDialogueGraphNode_Base::ShowPaletteIconOnNode ( ) const
inlineoverride

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

Definition at line 88 of file DialogueGraphNode_Base.h.

Member Data Documentation

◆ INDEX_PIN_Input

constexpr int32 UDialogueGraphNode_Base::INDEX_PIN_Input = 0
staticconstexprprotected

Definition at line 203 of file DialogueGraphNode_Base.h.

◆ INDEX_PIN_Output

constexpr int32 UDialogueGraphNode_Base::INDEX_PIN_Output = 1
staticconstexprprotected

Definition at line 204 of file DialogueGraphNode_Base.h.


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