Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Source/Flow/Public/Nodes/FlowNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ class FLOW_API UFlowNode : public UFlowNodeBase
uint8 CountNumberedOutputs() const;

public:
UFUNCTION(BlueprintPure, Category = "FlowNode")
const TArray<FFlowPin>& GetInputPins() const { return InputPins; }

UFUNCTION(BlueprintPure, Category = "FlowNode")
const TArray<FFlowPin>& GetOutputPins() const { return OutputPins; }

UFUNCTION(BlueprintPure, Category = "FlowNode")
Expand Down
3 changes: 2 additions & 1 deletion Source/Flow/Public/Types/FlowDataPinBlueprintLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ class UFlowDataPinBlueprintLibrary : public UBlueprintFunctionLibrary
}

UFUNCTION(BlueprintPure, Category = FlowPin, Meta = (BlueprintThreadSafe, DisplayName = "Break Flow Pin"))
static void BreakStruct(UPARAM(DisplayName = "Flow Pin") FFlowPin Ref, FName& OutPinName, FText& OutPinFriendlyName, FString& OutPinToolTip)
static void BreakStruct(UPARAM(DisplayName = "Flow Pin") FFlowPin Ref, FName& OutPinName, FText& OutPinFriendlyName, FString& OutPinToolTip, FName& OutPinType)
{
OutPinName = Ref.PinName;
#if WITH_EDITOR
OutPinFriendlyName = Ref.PinFriendlyName;
OutPinToolTip = Ref.PinToolTip;
#endif
OutPinType = Ref.GetPinTypeName().Name;
}

/**
Expand Down