| 478 | } |
| 479 | |
| 480 | UFlowAsset* UFlowComponent::GetRootFlowInstance() const |
| 481 | { |
| 482 | if (const UFlowSubsystem* FlowSubsystem = GetFlowSubsystem()) |
| 483 | { |
| 484 | const TSet<UFlowAsset*> Result = FlowSubsystem->GetRootInstancesByOwner(this); |
| 485 | if (Result.Num() > 0) |
| 486 | { |
| 487 | return Result.Array()[0]; |
| 488 | } |
| 489 | } |
| 490 | |
| 491 | return nullptr; |
| 492 | } |
| 493 | |
| 494 | void UFlowComponent::TriggerRootFlowCustomInput(const FName& EventName) const |
| 495 | { |
nothing calls this directly
no test coverage detected