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

Method StartFlow

Source/Flow/Private/FlowAsset.cpp:975–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973}
974
975void UFlowAsset::StartFlow(IFlowDataPinValueSupplierInterface* DataPinValueSupplier)
976{
977 PreStartFlow();
978
979 if (UFlowNode* ConnectedEntryNode = GetDefaultEntryNode())
980 {
981 RecordedNodes.Add(ConnectedEntryNode);
982
983 if (IFlowNodeWithExternalDataPinSupplierInterface* ExternalPinSuppliedNode = Cast<IFlowNodeWithExternalDataPinSupplierInterface>(ConnectedEntryNode))
984 {
985 ExternalPinSuppliedNode->SetDataPinValueSupplier(DataPinValueSupplier);
986 }
987
988 ConnectedEntryNode->TriggerFirstOutput(true);
989 }
990}
991
992void UFlowAsset::FinishFlow(const EFlowFinishPolicy InFinishPolicy, const bool bRemoveInstance /*= true*/)
993{

Callers 2

StartRootFlowMethod · 0.80
CreateSubFlowMethod · 0.80

Calls 2

TriggerFirstOutputMethod · 0.45

Tested by

no test coverage detected