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

Method RegisterNode

Source/Flow/Private/FlowAsset.cpp:491–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491void 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
504void UFlowAsset::UnregisterNode(const FGuid& NodeGuid)
505{

Callers 2

PasteNodesHereMethod · 0.80
PostDuplicateMethod · 0.80

Calls 1

TryUpdateAutoDataPinsMethod · 0.80

Tested by

no test coverage detected