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::string & | GetFieldName () 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 |