A Demo Project for the UnrealEngineSDK
|
UCLASS(Abstract) More...
#include <DialogueGraphNode_Base.h>
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 () |
UDlgDialogue * | GetDialogue () const |
UDialogueGraph * | GetDialogueGraph () const |
const UDialogueGraphSchema * | GetDialogueGraphSchema () const |
FString | GetDocumentationLink () const override |
FSlateIcon | GetIconAndTint (FLinearColor &OutColor) const override |
UEdGraphPin * | GetInputPin () const |
virtual FLinearColor | GetNodeBackgroundColor () const |
FLinearColor | GetNodeTitleColor () const override |
TSharedPtr< SGraphNode > | GetNodeWidget () 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 () | |
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.
UDialogueGraphNode_Base::UDialogueGraphNode_Base | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 108 of file DialogueGraphNode_Base.cpp.
|
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.
|
inlineoverride |
Determine if this node can be created under the specified schema
Definition at line 79 of file DialogueGraphNode_Base.h.
|
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.
|
inlinevirtual |
Checks whether an input connection can be added to this node
Reimplemented in UDialogueGraphNode.
Definition at line 112 of file DialogueGraphNode_Base.h.
|
inlinevirtual |
Checks whether an output connection can be added from this node
Reimplemented in UDialogueGraphNode.
Definition at line 115 of file DialogueGraphNode_Base.h.
|
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.
|
inlineoverride |
Whether or not this node can be deleted by user action
Definition at line 67 of file DialogueGraphNode_Base.h.
|
inlinevirtual |
Performs all checks
Reimplemented in UDialogueGraphNode.
Definition at line 121 of file DialogueGraphNode_Base.h.
void UDialogueGraphNode_Base::ClearCompilerMessage | ( | ) |
Clears the compiler messages on this node.
Definition at line 126 of file DialogueGraphNode_Base.cpp.
|
inlineprotectedvirtual |
Creates the input pin for this node.
Reimplemented in UDialogueGraphNode, and UDialogueGraphNode_Edge.
Definition at line 190 of file DialogueGraphNode_Base.h.
|
inlineprotectedvirtual |
Creates the output pin for this node.
Reimplemented in UDialogueGraphNode, and UDialogueGraphNode_Edge.
Definition at line 193 of file DialogueGraphNode_Base.h.
|
private |
|
inline |
Definition at line 178 of file DialogueGraphNode_Base.h.
|
inline |
Definition at line 175 of file DialogueGraphNode_Base.h.
|
inline |
Helper method to get directly the Dialogue Graph Schema
Definition at line 182 of file DialogueGraphNode_Base.h.
|
inlineoverride |
Returns the link used for external documentation for the graph node.
Definition at line 85 of file DialogueGraphNode_Base.h.
|
inlineoverride |
Definition at line 94 of file DialogueGraphNode_Base.h.
|
inline |
Definition at line 161 of file DialogueGraphNode_Base.h.
|
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.
|
inlineoverride |
Gets the draw color of a node's title bar.
Definition at line 91 of file DialogueGraphNode_Base.h.
|
inline |
Widget representing this node if it exists
Definition at line 185 of file DialogueGraphNode_Base.h.
|
inline |
Definition at line 168 of file DialogueGraphNode_Base.h.
|
inlinevirtual |
Gets the position in the Graph canvas of this node.
Definition at line 130 of file DialogueGraphNode_Base.h.
|
inline |
Is the Input pin initialized?
Definition at line 147 of file DialogueGraphNode_Base.h.
|
virtual |
Checks if this node has a output connection to the TargetNode.
Reimplemented in UDialogueGraphNode.
Definition at line 113 of file DialogueGraphNode_Base.cpp.
|
inline |
Is the Output pin initialized?
Definition at line 154 of file DialogueGraphNode_Base.h.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
inlineoverride |
Perform any steps necessary prior to copying a node into the paste buffer
Definition at line 70 of file DialogueGraphNode_Base.h.
|
override |
Refresh the connectors on a node, preserving as many connections as it can.
Definition at line 43 of file DialogueGraphNode_Base.cpp.
|
protectedvirtual |
Registers all the listener this class listens to.
Reimplemented in UDialogueGraphNode.
Definition at line 140 of file DialogueGraphNode_Base.cpp.
|
inlineoverride |
IGNORED. Removes the specified pin from the node, preserving remaining pin ordering.
Definition at line 73 of file DialogueGraphNode_Base.h.
void UDialogueGraphNode_Base::SetCompilerWarningMessage | ( | FString | Message | ) |
Sets a compiler message of type warning.
Definition at line 133 of file DialogueGraphNode_Base.cpp.
|
inlinevirtual |
Sets the position in the Graph canvas of this node.
Definition at line 133 of file DialogueGraphNode_Base.h.
|
inlineoverride |
Should we show the Palette Icon for this node on the node title
Definition at line 88 of file DialogueGraphNode_Base.h.
|
staticconstexprprotected |
Definition at line 203 of file DialogueGraphNode_Base.h.
|
staticconstexprprotected |
Definition at line 204 of file DialogueGraphNode_Base.h.