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

Method TriggerRootFlowCustomInput

Source/Flow/Private/FlowComponent.cpp:494–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492}
493
494void UFlowComponent::TriggerRootFlowCustomInput(const FName& EventName) const
495{
496 if (RootFlow && IsFlowNetMode(RootFlowMode))
497 {
498 if (const UFlowSubsystem* FlowSubsystem = GetFlowSubsystem())
499 {
500 UFlowAsset* RootFlowInstance = FlowSubsystem->GetRootFlow(this);
501 if (IsValid(RootFlowInstance))
502 {
503 RootFlowInstance->TriggerCustomInput(EventName);
504 }
505 }
506 }
507}
508
509void UFlowComponent::DispatchRootFlowCustomEvent(UFlowAsset* RootFlowInstance, const FName& EventName)
510{

Callers

nothing calls this directly

Calls 3

IsValidFunction · 0.85
GetRootFlowMethod · 0.80
TriggerCustomInputMethod · 0.80

Tested by

no test coverage detected