You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include <AzFramework/Asset/AssetBundleManifest.h>
|
|
#include <AzCore/Serialization/SerializeContext.h>
|
|
|
|
namespace AzFramework
|
|
{
|
|
|
|
const int AssetBundleManifest::CurrentBundleVersion = 2;
|
|
const char AssetBundleManifest::s_manifestFileName[] = "manifest.xml";
|
|
void AssetBundleManifest::ReflectSerialize(AZ::SerializeContext* serializeContext)
|
|
{
|
|
if (serializeContext)
|
|
{
|
|
serializeContext->Class<AssetBundleManifest>()
|
|
->Version(2)
|
|
->Field("BundleVersion", &AssetBundleManifest::m_bundleVersion)
|
|
->Field("CatalogName", &AssetBundleManifest::m_catalogName)
|
|
->Field("DependentBundleNames", &AssetBundleManifest::m_depedendentBundleNames)
|
|
->Field("LevelNames", &AssetBundleManifest::m_levelDirs);
|
|
}
|
|
}
|
|
} // namespace AzFramework
|