| 492 | } |
| 493 | |
| 494 | void 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 | |
| 509 | void UFlowComponent::DispatchRootFlowCustomEvent(UFlowAsset* RootFlowInstance, const FName& EventName) |
| 510 | { |
nothing calls this directly
no test coverage detected