// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#pragma once
#if USE_EDITOR
#include "Engine/Core/Types/BaseTypes.h"
///
/// The assets upgrading objects interface.
///
class FLAXENGINE_API IAssetUpgrader
{
public:
///
/// Finalizes an instance of the class.
///
virtual ~IAssetUpgrader()
{
}
public:
///
/// Checks if given asset version should be converted.
///
/// The serialized version.
/// True if perform conversion, otherwise false.
virtual bool ShouldUpgrade(uint32 serializedVersion) const = 0;
};
#endif