| 177 | } |
| 178 | |
| 179 | FString FFindInFlowResult::GetNodeTypeText() const |
| 180 | { |
| 181 | if (!GraphNode.IsValid()) |
| 182 | { |
| 183 | return FString(); |
| 184 | } |
| 185 | |
| 186 | if (const UFlowGraphNode* FlowGraphNode = Cast<UFlowGraphNode>(GraphNode.Get())) |
| 187 | { |
| 188 | if (UFlowNodeBase* Base = FlowGraphNode->GetFlowNodeBase()) |
| 189 | { |
| 190 | return Base->GetClass()->GetDisplayNameText().ToString(); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | return GraphNode->GetClass()->GetDisplayNameText().ToString(); |
| 195 | } |
| 196 | |
| 197 | FText FFindInFlowResult::GetToolTipText() const |
| 198 | { |
no test coverage detected