Handle multiple AssetCatalogs with requests addressing each by platform. More...
#include <PlatformAddressedAssetCatalogManager.h>
Inherits AzFramework::AssetSystem::NetworkAssetUpdateInterface.
Public Types | |
using | AssetCatalogList = AZStd::vector< AZStd::unique_ptr< AzToolsFramework::PlatformAddressedAssetCatalog > > |
Public Member Functions | |
AZ_TYPE_INFO (PlatformAddressedAssetCatalogManager, "{985263D2-1C04-4811-9EC6-6A069641512A}") | |
AZ_CLASS_ALLOCATOR (PlatformAddressedAssetCatalogManager, AZ::SystemAllocator) | |
PlatformAddressedAssetCatalogManager (AzFramework::PlatformId platformId) | |
void | LoadCatalogs () |
void | LoadSingleCatalog (AzFramework::PlatformId platformId) |
void | TakeSingleCatalog (AZStd::unique_ptr< AzToolsFramework::PlatformAddressedAssetCatalog > &&newCatalog) |
void | AssetChanged (const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &messages, bool isCatalogInitialize=false) override |
void | AssetRemoved (const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &messages) override |
AZStd::string | GetSupportedPlatforms () override |
const AssetCatalogList & | GetCatalogList () |
Static Public Member Functions | |
static AZStd::vector< AzFramework::PlatformId > | GetEnabledPlatforms () |
static AZStd::string | GetEnabledPlatformsString () |
Handle multiple AssetCatalogs with requests addressing each by platform.
|
static |
Uses the existence of each platform's AssetCatalog.xml to determine what will be enabled in order to make this usable without loading any catalogs