Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing serialization calls for saved data structs
  • Loading branch information
dyanikoglu committed Aug 26, 2024
commit fe35b2656a13f31aafbdcb28bbfe430b2c037d42
9 changes: 9 additions & 0 deletions Source/Flow/Public/FlowSave.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ struct FLOW_API FFlowNodeSaveData

friend FArchive& operator<<(FArchive& Ar, FFlowNodeSaveData& InNodeData)
{
Ar << InNodeData.NodeGuid;
Ar << InNodeData.NodeData;
return Ar;
}
};
Expand All @@ -42,6 +44,10 @@ struct FLOW_API FFlowAssetSaveData

friend FArchive& operator<<(FArchive& Ar, FFlowAssetSaveData& InAssetData)
{
Ar << InAssetData.WorldName;
Ar << InAssetData.InstanceName;
Ar << InAssetData.AssetData;
Ar << InAssetData.NodeRecords;
return Ar;
}
};
Expand All @@ -62,6 +68,9 @@ struct FLOW_API FFlowComponentSaveData

friend FArchive& operator<<(FArchive& Ar, FFlowComponentSaveData& InComponentData)
{
Ar << InComponentData.WorldName;
Ar << InComponentData.ActorInstanceName;
Ar << InComponentData.ComponentData;
return Ar;
}
};
Expand Down