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

Method TriggerCustomOutput

Source/Flow/Private/FlowAsset.cpp:1131–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129}
1130
1131void UFlowAsset::TriggerCustomOutput(const FName& EventName)
1132{
1133 if (NodeOwningThisAssetInstance.IsValid())
1134 {
1135 // it's a SubGraph
1136 NodeOwningThisAssetInstance->TriggerOutput(EventName);
1137 }
1138 else
1139 {
1140 // it's a Root Flow, so the intention here might be to call event on the Flow Component
1141 if (UFlowComponent* FlowComponent = Cast<UFlowComponent>(GetOwner()))
1142 {
1143 FlowComponent->DispatchRootFlowCustomEvent(this, EventName);
1144 }
1145 }
1146}
1147
1148void UFlowAsset::TriggerInput(const FGuid& NodeGuid, const FName& PinName, const FConnectedPin& FromPin)
1149{

Callers 1

ExecuteInputMethod · 0.80

Calls 4

GetOwnerFunction · 0.85
IsValidMethod · 0.80
TriggerOutputMethod · 0.45

Tested by

no test coverage detected