4#include "CoreMinimal.h"
27 static TSharedPtr<FDialogueSearchFoundResult>
Make() {
return MakeShared<Self>(); }
31 TArray<TWeakObjectPtr<const UDialogueGraphNode>>
GraphNodes;
34 TArray<TWeakObjectPtr<const UDialogueGraphNode_Edge>>
EdgeNodes;
194 const TArray<FDlgCondition>& Conditions
200 if (
Condition.CallbackName == ConditionName &&
Condition.ConditionType == ConditionType)
222 if (
Event.EventType == EventType &&
Event.EventName == EventName)
248 if (TextArgument.Type == TextArgumentType && TextArgument.VariableName == TextArgumentName)
258 static bool DoesGUIDContainString(
const FGuid& GUID,
const FString& SearchString, FString& OutGUIDString);
276 TSharedPtr<FDialogueSearchFoundResult>& FoundResult
EDlgConditionType
UENUM(BlueprintType)
EDlgEventType
UENUM(BlueprintType)
@ ModifyClassBoolVariable
@ ModifyClassFloatVariable
@ ModifyClassNameVariable
EDlgTextArgumentType
UENUM(BlueprintType)
The FDialogueSearchUtilities class.
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForClassFloatVariableName(FName FloatVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForClassFNameVariableName(FName FNameVariableName, const UDlgDialogue *Dialogue)
static bool IsCustomEventInArray(const UClass *EventClass, const TArray< FDlgEvent > &Events)
static bool DoesGUIDContainString(const FGuid &GUID, const FString &SearchString, FString &OutGUIDString)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForCustomEvent(const UClass *EventClass, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForEventEventName(FName EventName, const UDlgDialogue *Dialogue)
static bool DoesObjectClassNameContainString(const UObject *Object, const FString &SearchString, FString &OutNameString)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForConditionEventCallName(FName ConditionName, const UDlgDialogue *Dialogue)
static bool IsConditionInArray(FName ConditionName, EDlgConditionType ConditionType, const TArray< FDlgCondition > &Conditions)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForFNameVariableName(FName FNameVariableName, const UDlgDialogue *Dialogue)
static bool IsEventInArray(FName EventName, EDlgEventType EventType, const TArray< FDlgEvent > &Events)
static void GetGraphNodesForTextArgumentVariable(FName VariableName, const UDlgDialogue *Dialogue, EDlgTextArgumentType ArgumentType, TSharedPtr< FDialogueSearchFoundResult > &FoundResult)
static bool IsTextArgumentInArray(FName TextArgumentName, EDlgTextArgumentType TextArgumentType, const TArray< FDlgTextArgument > &TextArguments)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForFloatVariableName(FName FloatVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForVariablesOfNameAndType(FName VariableName, const UDlgDialogue *Dialogue, EDlgEventType EventType, EDlgConditionType ConditionType)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForBoolVariableName(FName BoolVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForClassIntVariableName(FName IntVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForIntVariableName(FName IntVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForClassBoolVariableName(FName BoolVariableName, const UDlgDialogue *Dialogue)
static TSharedPtr< FDialogueSearchFoundResult > GetGraphNodesForClassFTextVariableName(FName FTextVariableName, const UDlgDialogue *Dialogue)
UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))
static TSharedPtr< FDialogueSearchFoundResult > Make()
TArray< TWeakObjectPtr< const UDialogueGraphNode_Edge > > EdgeNodes
FDialogueSearchFoundResult Self
TArray< TWeakObjectPtr< const UDialogueGraphNode > > GraphNodes
static bool IsSameValueType(EDlgConditionType FirstType, EDlgConditionType SecondType)