| 973 | } |
| 974 | |
| 975 | void 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 | |
| 992 | void UFlowAsset::FinishFlow(const EFlowFinishPolicy InFinishPolicy, const bool bRemoveInstance /*= true*/) |
| 993 | { |
no test coverage detected