A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DialogueGraphNode_Root.cpp
Go to the documentation of this file.
1
// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2
#include "
DialogueGraphNode_Root.h
"
3
4
#include "
DialogueGraphNode.h
"
5
7
// Begin UEdGraphNode interface
8
void
UDialogueGraphNode_Root::PinConnectionListChanged
(UEdGraphPin* Pin)
9
{
10
// Root node can only have output nodes so any other type should not be supported.
11
if
(Pin->Direction == EGPD_Output)
12
{
13
Super::PinConnectionListChanged(Pin);
14
}
15
}
16
// End UEdGraphNode interface
18
20
// Begin UDialogueGraphNode_Base interface
21
void
UDialogueGraphNode_Root::OnDialoguePropertyChanged
(
const
FPropertyChangedEvent& PropertyChangedEvent)
22
{
23
if
(!PropertyChangedEvent.Property || !PropertyChangedEvent.MemberProperty)
24
{
25
return
;
26
}
27
28
// Only interested in the Dialogue.StartNode
29
if
(PropertyChangedEvent.MemberProperty->GetFName() != UDlgDialogue::GetMemberNameStartNode())
30
{
31
return
;
32
}
33
34
//HandleOnDialoguePropertyChanged(PropertyChangedEvent, GetDialogue()->GetStartNode());
35
}
36
// End UDialogueGraphNode_Base interface
DialogueGraphNode.h
DialogueGraphNode_Root.h
UDialogueGraphNode_Root::PinConnectionListChanged
void PinConnectionListChanged(UEdGraphPin *Pin) override
Definition
DialogueGraphNode_Root.cpp:8
UDialogueGraphNode_Root::OnDialoguePropertyChanged
void OnDialoguePropertyChanged(const FPropertyChangedEvent &PropertyChangedEvent) override
Definition
DialogueGraphNode_Root.cpp:21
SDKDemo
Plugins
UnrealEngineSDK
VisualScripter
Source
DlgSystemEditor
Private
DialogueEditor
Nodes
DialogueGraphNode_Root.cpp
Generated
Wed Oct 9 2024 19:52:55
by Doxygen version
1.10.0