UClass::Serialize

Handles reading, writing, and reference collecting using [FArchive](API\Runtime\Core\Serialization\FArchive).

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h

Include

#include "UObject/Class.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp

Syntax

virtual void Serialize
(
    FArchive & Ar
)

Remarks

Handles reading, writing, and reference collecting using FArchive. This implementation handles all FProperty serialization, but can be overridden for native variables.