| 336 | } |
| 337 | |
| 338 | TSet<UFlowAsset*> UFlowSubsystem::GetRootInstancesByOwner(const UObject* Owner) const |
| 339 | { |
| 340 | TSet<UFlowAsset*> Result; |
| 341 | for (const TPair<UFlowAsset*, TWeakObjectPtr<UObject>>& RootInstance : ObjectPtrDecay(RootInstances)) |
| 342 | { |
| 343 | if (Owner && RootInstance.Value == Owner) |
| 344 | { |
| 345 | Result.Emplace(RootInstance.Key); |
| 346 | } |
| 347 | } |
| 348 | return Result; |
| 349 | } |
| 350 | |
| 351 | UFlowAsset* UFlowSubsystem::GetRootFlow(const UObject* Owner) const |
| 352 | { |
no outgoing calls
no test coverage detected