| 489 | } |
| 490 | |
| 491 | void UFlowAsset::RegisterNode(const FGuid& NewGuid, UFlowNode* NewNode) |
| 492 | { |
| 493 | NewNode->SetGuid(NewGuid); |
| 494 | Nodes.Emplace(NewGuid, NewNode); |
| 495 | |
| 496 | HarvestNodeConnections(); |
| 497 | |
| 498 | if (NewNode->TryUpdateAutoDataPins()) |
| 499 | { |
| 500 | (void)NewNode->OnReconstructionRequested.ExecuteIfBound(); |
| 501 | } |
| 502 | } |
| 503 | |
| 504 | void UFlowAsset::UnregisterNode(const FGuid& NodeGuid) |
| 505 | { |
no test coverage detected