MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / ValidateNode

Method ValidateNode

Source/Flow/Private/Nodes/FlowNode.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68EDataValidationResult UFlowNode::ValidateNode()
69{
70 EDataValidationResult ValidationResult = Super::ValidateNode();
71
72 // Validate that output and input pins have unique names
73 TSet<FName> UniquePinNames;
74 ValidateFlowPinArrayIsUnique(InputPins, UniquePinNames, ValidationResult);
75 ValidateFlowPinArrayIsUnique(OutputPins, UniquePinNames, ValidationResult);
76
77 return ValidationResult;
78}
79
80void UFlowNode::ValidateFlowPinArrayIsUnique(const TArray<FFlowPin>& FlowPins, TSet<FName>& InOutUniquePinNames, EDataValidationResult& InOutResult)
81{

Callers 2

ValidateAssetMethod · 0.45
ValidateAddOnTreeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected