| 803 | } |
| 804 | |
| 805 | TArray<FConnectedPin> UFlowAsset::GatherPinsConnectedToPin(const FConnectedPin& Pin) const |
| 806 | { |
| 807 | TArray<FConnectedPin> ConnectedPins; |
| 808 | |
| 809 | // Connections are only stored on one of the Nodes they connect depending on pin type. |
| 810 | // As such, we need to iterate all Nodes to find all possible Connections for the Pin. |
| 811 | for (const auto& GuidNodePair : Nodes) |
| 812 | { |
| 813 | if (IsValid(GuidNodePair.Value)) |
| 814 | { |
| 815 | ConnectedPins.Append(GuidNodePair.Value->GetKnownConnectionsToPin(Pin)); |
| 816 | } |
| 817 | } |
| 818 | |
| 819 | return ConnectedPins; |
| 820 | } |
| 821 | |
| 822 | TArray<UFlowNode*> UFlowAsset::GetAllNodes() const |
| 823 | { |
nothing calls this directly
no test coverage detected