A Demo Project for the UnrealEngineSDK
|
UCLASS() More...
#include <DialogueGraphNode_Root.h>
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 |
UDlgDialogue * | GetDialogue () const |
UDialogueGraph * | GetDialogueGraph () const |
const UDialogueGraphSchema * | GetDialogueGraphSchema () const |
template<typename DlgNodeType > | |
const DlgNodeType & | GetDialogueNode () const |
const UDlgNode & | GetDialogueNode () 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 () |
UDlgNode * | GetMutableDialogueNode () const |
FLinearColor | GetNodeBackgroundColor () const override |
int32 | GetNodeDepth () const |
FText | GetNodeTitle (ENodeTitleType::Type TitleType) const override |
FLinearColor | GetNodeTitleColor () const override |
TSharedPtr< SGraphNode > | GetNodeWidget () 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 |
UDlgNode * | DialogueNode |
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 () | |
UCLASS()
Definition at line 14 of file DialogueGraphNode_Root.h.
|
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.
|
inherited |
Checks the node for warnings and applies the compiler warnings messages
Definition at line 484 of file DialogueGraphNode.cpp.
|
overrideinherited |
Autowire a newly created node.
FromPin | The 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.
|
inlineoverrideinherited |
Determine if this node can be created under the specified schema
Definition at line 79 of file DialogueGraphNode_Base.h.
|
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.
|
inlineoverridevirtualinherited |
Checks whether an input connection can be added to this node
Reimplemented from UDialogueGraphNode_Base.
Definition at line 159 of file DialogueGraphNode.h.
|
inlineoverridevirtualinherited |
Checks whether an output connection can be added from this node
Reimplemented from UDialogueGraphNode_Base.
Definition at line 162 of file DialogueGraphNode.h.
|
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.
|
inlineoverrideinherited |
Whether or not this node can be deleted by user action.
Definition at line 122 of file DialogueGraphNode.h.
|
inlineoverridevirtualinherited |
Perform all checks
Reimplemented from UDialogueGraphNode_Base.
Definition at line 174 of file DialogueGraphNode.h.
|
inherited |
Checks Dialogue.Nodes[NodeIndex] == DialogueNode
Definition at line 528 of file DialogueGraphNode.cpp.
|
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.
|
inherited |
Clears the compiler messages on this node.
Definition at line 126 of file DialogueGraphNode_Base.cpp.
|
inlineprotectedvirtualinherited |
Creates the input pin for this node.
Reimplemented from UDialogueGraphNode_Base.
Definition at line 371 of file DialogueGraphNode.h.
|
inlineprotectedvirtualinherited |
Creates the output pin for this node.
Reimplemented from UDialogueGraphNode_Base.
Definition at line 380 of file DialogueGraphNode.h.
|
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.
|
inherited |
Estimate the width of this Node from the length of its content
Definition at line 500 of file DialogueGraphNode.cpp.
|
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.
|
private |
|
inherited |
Gets the edge inside fromGraphNodeEdges for the ChildNodeIndex
Definition at line 415 of file DialogueGraphNode.cpp.
|
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.
|
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.
|
overrideinherited |
Gets a list of actions that can be done to this particular node
Definition at line 228 of file DialogueGraphNode.cpp.
|
inlineinherited |
Definition at line 278 of file DialogueGraphNode.h.
|
inlineinherited |
Definition at line 178 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Definition at line 175 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Helper method to get directly the Dialogue Graph Schema
Definition at line 182 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Gets the copy of the DlgNode stored by this graph node
Definition at line 289 of file DialogueGraphNode.h.
|
inlineinherited |
Definition at line 296 of file DialogueGraphNode.h.
|
inlineoverridevirtual |
Gets the Dialogue node index number for the DlgDialogue.Nodes Array
Reimplemented from UDialogueGraphNode.
Definition at line 42 of file DialogueGraphNode_Root.h.
|
overrideinherited |
Definition at line 125 of file DialogueGraphNode.cpp.
|
inlineoverrideinherited |
Returns the link used for external documentation for the graph node.
Definition at line 85 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Should we force hide this node?
Definition at line 356 of file DialogueGraphNode.h.
|
inlineoverrideinherited |
Definition at line 94 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Definition at line 161 of file DialogueGraphNode_Base.h.
|
inlinestaticinherited |
Helper constants to get the names of some properties. Used by the DlgSystemEditor module.
Definition at line 365 of file DialogueGraphNode.h.
|
inlinestaticinherited |
|
inlineinherited |
Gets the copy of the DlgNode stored by this graph node as a mutable pointer
Definition at line 293 of file DialogueGraphNode.h.
|
inlineinherited |
Definition at line 297 of file DialogueGraphNode.h.
|
inlineoverridevirtual |
Gets the background color of this node.
Reimplemented from UDialogueGraphNode.
Definition at line 45 of file DialogueGraphNode_Root.h.
|
inlineinherited |
Gets the node depth in the graph.
Definition at line 255 of file DialogueGraphNode.h.
|
inlineoverride |
Gets the name of this node, shown in title bar
Definition at line 21 of file DialogueGraphNode_Root.h.
|
inlineoverrideinherited |
Gets the draw color of a node's title bar.
Definition at line 91 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Widget representing this node if it exists
Definition at line 185 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Definition at line 168 of file DialogueGraphNode_Base.h.
|
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.
|
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.
|
inlinevirtualinherited |
Gets the position in the Graph canvas of this node.
Definition at line 130 of file DialogueGraphNode_Base.h.
|
inlineoverride |
Gets the tooltip to display when over the node
Definition at line 27 of file DialogueGraphNode_Root.h.
|
inherited |
Does this node have the child edge ChildEdgeToFind?
Definition at line 652 of file DialogueGraphNode.cpp.
|
inlineinherited |
Does this node has any enter conditions?
Definition at line 237 of file DialogueGraphNode.h.
|
inlineinherited |
Does this node has any enter events?
Definition at line 243 of file DialogueGraphNode.h.
|
inherited |
Does this node has any voice properties set?
Definition at line 378 of file DialogueGraphNode.cpp.
|
inlineinherited |
Is the Input pin initialized?
Definition at line 147 of file DialogueGraphNode_Base.h.
|
overridevirtualinherited |
Checks if this node has a output connection to the TargetNode.
Reimplemented from UDialogueGraphNode_Base.
Definition at line 327 of file DialogueGraphNode.cpp.
|
inlineinherited |
Is the Output pin initialized?
Definition at line 154 of file DialogueGraphNode_Base.h.
|
inherited |
Does this node has the parent edge ParentEdgeToFind?
Definition at line 674 of file DialogueGraphNode.cpp.
|
inherited |
Does this node has any voice properties set?
Definition at line 350 of file DialogueGraphNode.cpp.
|
inlineinherited |
Tells us if the Dialogue Node is valid non null.
Definition at line 300 of file DialogueGraphNode.h.
|
inlineinherited |
Is this an End Node?
Definition at line 192 of file DialogueGraphNode.h.
|
inlineoverridevirtual |
Is this the undeletable root node
Reimplemented from UDialogueGraphNode.
Definition at line 36 of file DialogueGraphNode_Root.h.
|
inlineinherited |
Is this a selector First Node?
Definition at line 212 of file DialogueGraphNode.h.
|
inlineinherited |
Is this a selector Node?
Definition at line 209 of file DialogueGraphNode.h.
|
inlineinherited |
Is this a selector Random Node?
Definition at line 223 of file DialogueGraphNode.h.
|
inlineinherited |
Is this a Speech Node?
Definition at line 195 of file DialogueGraphNode.h.
|
inlineinherited |
Is this a Speech Sequence Node?
Definition at line 234 of file DialogueGraphNode.h.
|
inlineinherited |
Is this a virtual parent Node?
Definition at line 198 of file DialogueGraphNode.h.
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.
bAlwaysMarkDirty | if true, marks the package dirty even if we aren't currently recording an active undo/redo transaction |
Definition at line 62 of file DialogueGraphNode.cpp.
|
inlineoverrideinherited |
Called when something external to this node has changed the connection list of any of the pins in the node
Definition at line 133 of file DialogueGraphNode.h.
|
protectedinherited |
This function is called after one of the properties of the DialogueNode are changed.
Definition at line 737 of file DialogueGraphNode.cpp.
|
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.
|
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.
|
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.
|
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.
|
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.
|
overrideinherited |
Called when a property on this object has been modified externally
PropertyChangedEvent | the property that was modified |
Definition at line 45 of file DialogueGraphNode.cpp.
|
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.
|
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.
|
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.
|
overrideinherited |
Perform any steps necessary prior to copying a node into the paste buffer
Definition at line 107 of file DialogueGraphNode.cpp.
|
overrideinherited |
Refresh the connectors on a node, preserving as many connections as it can.
Definition at line 43 of file DialogueGraphNode_Base.cpp.
|
overrideprotectedvirtualinherited |
Registers all the listener this class listens to.
Reimplemented from UDialogueGraphNode_Base.
Definition at line 340 of file DialogueGraphNode.cpp.
|
inlineoverrideinherited |
IGNORED. Removes the specified pin from the node, preserving remaining pin ordering.
Definition at line 73 of file DialogueGraphNode_Base.h.
|
protectedinherited |
Make sure the DialogueNode is owned by the Dialogue
Definition at line 767 of file DialogueGraphNode.cpp.
|
inherited |
Sets a compiler message of type warning.
Definition at line 133 of file DialogueGraphNode_Base.cpp.
|
inlinevirtualinherited |
Sets the Dialogue Node.
Definition at line 261 of file DialogueGraphNode.h.
|
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.
|
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.
|
inherited |
Definition at line 457 of file DialogueGraphNode.cpp.
|
inherited |
Sets a new TargetIndex for the Edge at location EdgeIndex.
Definition at line 435 of file DialogueGraphNode.cpp.
|
inherited |
Sets a new Text for the Edge at location EdgeIndex.
Definition at line 446 of file DialogueGraphNode.cpp.
|
inlineinherited |
Forcefully hide/show this node and all edges that are coming into it.
Definition at line 359 of file DialogueGraphNode.h.
|
inlineinherited |
Sets the new node depth.
Definition at line 258 of file DialogueGraphNode.h.
|
inlinevirtualinherited |
Sets the position in the Graph canvas of this node.
Definition at line 133 of file DialogueGraphNode_Base.h.
|
inlineinherited |
Should this node be drawn?
Definition at line 362 of file DialogueGraphNode.h.
|
inlineoverrideinherited |
Should we show the Palette Icon for this node on the node title
Definition at line 88 of file DialogueGraphNode_Base.h.
|
inherited |
Rearranges the children (edges, output pin, connections) based on the X location on the graph.
Definition at line 706 of file DialogueGraphNode.cpp.
|
inherited |
|
protectedinherited |
Forcefully hide this node from the graph.
Definition at line 436 of file DialogueGraphNode.h.
|
protectedinheritedEditAnywhereInstanced |
UPROPERTY(EditAnywhere, Instanced, Category = DialogueGraphNode, Meta = (ShowOnlyInnerProperties))
The Dialogue Node this graph node references.
Definition at line 418 of file DialogueGraphNode.h.
|
staticconstexprprotectedinherited |
Definition at line 203 of file DialogueGraphNode_Base.h.
|
staticconstexprprotectedinherited |
Definition at line 204 of file DialogueGraphNode_Base.h.
|
protectedinherited |
UPROPERTY()
Definition at line 431 of file DialogueGraphNode.h.
|
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.