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

Method FixupDataPinTypesForPin

Source/Flow/Private/Nodes/FlowNode.cpp:715–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713}
714
715void UFlowNode::FixupDataPinTypesForPin(FFlowPin& MutableDataPin)
716{
717 const FFlowPinTypeName NewPinTypeName = FFlowPin::GetPinTypeNameForLegacyPinType(MutableDataPin.PinType);
718
719 if (!NewPinTypeName.IsNone())
720 {
721 MutableDataPin.SetPinTypeName(NewPinTypeName);
722 }
723
724 if (MutableDataPin.GetPinTypeName().IsNone())
725 {
726 // Ensure we have a pin type even if the enum was invalid before
727 MutableDataPin.SetPinTypeName(FFlowPinType_Exec::GetPinTypeNameStatic());
728 }
729
730 MutableDataPin.PinType = EFlowPinType::Invalid;
731}
732// --
733
734#if WITH_EDITOR

Callers

nothing calls this directly

Calls 2

IsNoneMethod · 0.80
SetPinTypeNameMethod · 0.80

Tested by

no test coverage detected