Open 3D Engine AzToolsFramework 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.
AzToolsFramework::PlatformAddressedAssetCatalogManager Class Reference

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 ()
 

Detailed Description

Handle multiple AssetCatalogs with requests addressing each by platform.

Member Function Documentation

◆ GetEnabledPlatforms()

static AZStd::vector< AzFramework::PlatformId > AzToolsFramework::PlatformAddressedAssetCatalogManager::GetEnabledPlatforms ( )
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


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