| 747 | } |
| 748 | |
| 749 | TArray<FName> UFlowAsset::GatherCustomOutputNodeEventNames() const |
| 750 | { |
| 751 | // Runtime-safe gathering of the CustomOutputs (which is editor-only data) |
| 752 | // from the actual flow nodes |
| 753 | TArray<FName> Results; |
| 754 | |
| 755 | for (const TPair<FGuid, UFlowNode*>& Node : ObjectPtrDecay(Nodes)) |
| 756 | { |
| 757 | if (UFlowNode_CustomOutput* CustomOutput = Cast<UFlowNode_CustomOutput>(Node.Value)) |
| 758 | { |
| 759 | Results.Add(CustomOutput->GetEventName()); |
| 760 | } |
| 761 | } |
| 762 | |
| 763 | return Results; |
| 764 | } |
| 765 | |
| 766 | TArray<UFlowNode*> UFlowAsset::GetNodesInExecutionOrder(UFlowNode* FirstIteratedNode, const TSubclassOf<UFlowNode> FlowNodeClass) |
| 767 | { |