Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Description
Call Ar.UsingCustomVersion for every CustomVersion that might be serialized by this class when saving. This duplicates CustomVersions declared in Serialize; Serialize still needs to declare them. Used to track which customversions will be used by a package when it is resaved. Not yet exhaustive; add CustomVersions as necessary to remove EditorDomain warnings about missing versions.
| Name | DeclareCustomVersions |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
static void DeclareCustomVersions
(
FArchive & Ar,
const UClass * SpecificSubclass
)