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

Method SaveRootFlow

Source/Flow/Private/FlowComponent.cpp:530–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530void UFlowComponent::SaveRootFlow(TArray<FFlowAssetSaveData>& SavedFlowInstances)
531{
532 if (UFlowAsset* FlowAssetInstance = GetRootFlowInstance())
533 {
534 const FFlowAssetSaveData AssetRecord = FlowAssetInstance->SaveInstance(SavedFlowInstances);
535 SavedAssetInstanceName = AssetRecord.InstanceName;
536 return;
537 }
538
539 SavedAssetInstanceName = FString();
540}
541
542void UFlowComponent::LoadRootFlow()
543{

Callers 1

OnGameSavedMethod · 0.80

Calls 2

FStringClass · 0.85
SaveInstanceMethod · 0.45

Tested by

no test coverage detected