8 TArray<UObject*> OuterObjects;
9 PropertyHandle->GetOuterObjects(OuterObjects);
15 return CastChecked<UDialogueGraphNode_Base>(Node->GetGraphNode());
37 if (GraphEdge->HasParentNode())
39 return GraphEdge->GetParentNode();
60 TSharedPtr<IPropertyHandle> ParentHandle = PropertyHandle->GetParentHandle();
62 while (ParentHandle.IsValid() && ParentHandle->GetParentHandle().IsValid())
64 ParentHandle = ParentHandle->GetParentHandle();
68 if (ParentHandle.IsValid())
70 TArray<UObject*> OuterObjects;
71 ParentHandle->GetOuterObjects(OuterObjects);
88 FName ParticipantName = NAME_None;
89 if (ParticipantNamePropertyHandle->GetValue(ParticipantName) != FPropertyAccess::Success)
91 return ParticipantName;
95 if (ParticipantName.IsNone())
100 return GraphNode->GetDialogueNode().GetNodeParticipantName();
104 return ParticipantName;
114 TSet<FName> ParticipantNames;
115 Dialogue->GetAllParticipantNames(ParticipantNames);
117 return ParticipantNames.Array();
static void SortDefault(TArray< FName > &OutArray)
UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))
UCLASS(BlueprintType, Abstract, EditInlineNew, ClassGroup = "Dialogue")
static TArray< FName > GetDialogueSortedParticipantNames(UDlgDialogue *Dialogue)
static FName GetParticipantNameFromPropertyHandle(const TSharedRef< IPropertyHandle > &ParticipantNamePropertyHandle)
static UDialogueGraphNode_Base * GetGraphNodeBaseFromPropertyHandle(const TSharedRef< IPropertyHandle > &PropertyHandle)
static UDlgDialogue * GetDialogueFromPropertyHandle(const TSharedRef< IPropertyHandle > &PropertyHandle)
static UDialogueGraphNode * GetClosestGraphNodeFromPropertyHandle(const TSharedRef< IPropertyHandle > &PropertyHandle)