MCPcopy Create free account
hub / github.com/NotYetGames/DlgSystem / Serialize

Method Serialize

Source/DlgSystem/Private/Nodes/DlgNode.cpp:15–39  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////////////////////////////////////// Begin UObject interface

Source from the content-addressed store, hash-verified

13////////////////////////////////////////////////////////////////////////////////////////////////////////////////
14// Begin UObject interface
15void UDlgNode::Serialize(FArchive& Ar)
16{
17 Super::Serialize(Ar);
18 if (Ar.UE4Ver() >= VER_UE4_COOKED_ASSETS_IN_EDITOR_SUPPORT)
19 {
20 // NOTE: This modifies the Archive
21 // DO NOT REMOVE THIS
22 const FStripDataFlags StripFlags(Ar);
23
24 // Only in editor, add the graph node
25#if WITH_EDITOR
26 if (!StripFlags.IsEditorDataStripped())
27 {
28 Ar << GraphNode;
29 }
30#endif // WITH_EDITOR
31 }
32 else
33 {
34 // Super old version, is this possible?
35#if WITH_EDITOR
36 Ar << GraphNode;
37#endif // WITH_EDITOR
38 }
39}
40
41void UDlgNode::AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector)
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected