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

Method GetNodeDiffType

Source/FlowEditor/Private/Asset/FlowDiffControl.cpp:164–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164ENodeDiffType FFlowGraphToDiff::GetNodeDiffType(const UEdGraphNode& Node) const
165{
166 if (IsValid(GraphOld) && Node.GetGraph() == GraphOld)
167 {
168 return ENodeDiffType::Old;
169 }
170
171 if (IsValid(GraphNew) && Node.GetGraph() == GraphNew)
172 {
173 return ENodeDiffType::New;
174 }
175
176 return ENodeDiffType::Invalid;
177}
178
179TSharedPtr<FFlowObjectDiff> FFlowGraphToDiff::GetFlowObjectDiff(const FDiffResultItem& DiffResultItem)
180{

Callers 2

SFlowDiff.cppFile · 0.80

Calls 1

IsValidFunction · 0.85

Tested by

no test coverage detected