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

Method TryFindCustomInputNodeByEventName

Source/Flow/Private/FlowAsset.cpp:700–714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698#endif // WITH_EDITOR
699
700UFlowNode_CustomInput* UFlowAsset::TryFindCustomInputNodeByEventName(const FName& EventName) const
701{
702 for (const TPair<FGuid, UFlowNode*>& Node : ObjectPtrDecay(Nodes))
703 {
704 if (UFlowNode_CustomInput* CustomInput = Cast<UFlowNode_CustomInput>(Node.Value))
705 {
706 if (CustomInput->GetEventName() == EventName)
707 {
708 return CustomInput;
709 }
710 }
711 }
712
713 return nullptr;
714}
715
716UFlowNode_CustomOutput* UFlowAsset::TryFindCustomOutputNodeByEventName(const FName& EventName) const
717{

Callers 1

GetCustomEventNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected