Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::SerializeContext::DataPatchUpgrade Class Reference

Inherited by AZ::SerializeContext::DataPatchNameUpgrade, and AZ::SerializeContext::DataPatchTypeUpgrade< FromT, ToT >.

Public Member Functions

 AZ_CLASS_ALLOCATOR (DataPatchUpgrade, SystemAllocator)
 
 AZ_TYPE_INFO_WITH_NAME_DECL (DataPatchUpgrade)
 
 AZ_RTTI_NO_TYPE_INFO_DECL ()
 
 DataPatchUpgrade (AZStd::string_view fieldName, unsigned int fromVersion, unsigned int toVersion)
 
bool operator== (const DataPatchUpgrade &RHS) const
 
bool operator< (const DataPatchUpgrade &RHS) const
 
virtual void Apply (AZ::SerializeContext &, SerializeContext::DataElementNode &) const
 
unsigned int FromVersion () const
 
unsigned int ToVersion () const
 
const AZStd::stringGetFieldName () const
 
AZ::Crc32 GetFieldCRC () const
 
DataPatchUpgradeType GetUpgradeType () const
 
virtual AZ::TypeId GetFromType () const
 
virtual AZ::TypeId GetToType () const
 
virtual AZStd::any Apply (const AZStd::any &in) const
 
virtual AZStd::string GetNewName () const
 

Protected Attributes

AZStd::string m_targetFieldName
 
AZ::Crc32 m_targetFieldCRC
 
unsigned int m_fromVersion
 
unsigned int m_toVersion
 
DataPatchUpgradeType m_upgradeType
 

The documentation for this class was generated from the following file: