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

Method GetRootInstancesByOwner

Source/Flow/Private/FlowSubsystem.cpp:338–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338TSet<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
351UFlowAsset* UFlowSubsystem::GetRootFlow(const UObject* Owner) const
352{

Callers 3

FinishNodeMethod · 0.80
GetRootInstancesMethod · 0.80
GetRootFlowInstanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected