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::DataPatchNameUpgrade Class Reference

Inherits AZ::SerializeContext::DataPatchUpgrade.

Public Member Functions

 AZ_CLASS_ALLOCATOR (DataPatchNameUpgrade, SystemAllocator)
 
 AZ_TYPE_INFO_WITH_NAME_DECL (DataPatchNameUpgrade)
 
 AZ_RTTI_NO_TYPE_INFO_DECL ()
 
 DataPatchNameUpgrade (unsigned int fromVersion, unsigned int toVersion, AZStd::string_view oldName, AZStd::string_view newName)
 
bool operator< (const DataPatchUpgrade &RHS) const
 
bool operator< (const DataPatchNameUpgrade &RHS) const
 
void Apply (AZ::SerializeContext &context, SerializeContext::DataElementNode &node) const override
 
AZStd::string GetNewName () const override
 
virtual void Apply (AZ::SerializeContext &, SerializeContext::DataElementNode &) const
 
virtual AZStd::any Apply (const AZStd::any &in) const
 
- Public Member Functions inherited from AZ::SerializeContext::DataPatchUpgrade
 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
 

Additional Inherited Members

- Protected Attributes inherited from AZ::SerializeContext::DataPatchUpgrade
AZStd::string m_targetFieldName
 
AZ::Crc32 m_targetFieldCRC
 
unsigned int m_fromVersion
 
unsigned int m_toVersion
 
DataPatchUpgradeType m_upgradeType
 

Member Function Documentation

◆ Apply() [1/3]

virtual void AZ::SerializeContext::DataPatchUpgrade::Apply ( AZ::SerializeContext ,
SerializeContext::DataElementNode  
) const
inlinevirtual

◆ Apply() [2/3]

void AZ::SerializeContext::DataPatchNameUpgrade::Apply ( AZ::SerializeContext context,
SerializeContext::DataElementNode node 
) const
overridevirtual

◆ Apply() [3/3]

virtual AZStd::any AZ::SerializeContext::DataPatchUpgrade::Apply ( const AZStd::any in) const
inlinevirtual

◆ GetNewName()

AZStd::string AZ::SerializeContext::DataPatchNameUpgrade::GetNewName ( ) const
overridevirtual

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