UProperty::ConvertFromType

Override Hierarchy

Syntax

virtual EConvertFromTypeResult ConvertFromType
(
    const FPropertyTag & Tag,
    FStructuredArchive::FSlot Slot,
    uint8 * Data,
    UStruct * DefaultsStruct
)

Remarks

Allows a property to implement backwards compatibility handling for tagged properties

Returns

A state which tells the tagged property system how the property dealt with the data. Converted: the function has handled the tag. CannotConvert: the tag is not something that the property can convert. UseSerializeItem: no conversion was done on the property - this can mean that the tag is correct and normal serialization applies or that the tag is incompatible.

Parameters

Parameter

Description

Tag

property tag of the loading data

Ar

the archive the data is being loaded from

Data

DefaultsStruct

References

Module

CoreUObject

Header

Runtime/CoreUObject/Public/UObject/UnrealType.h

Source

Runtime/CoreUObject/Private/UObject/Property.cpp