Open 3D Engine AzFramework 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.
AzFramework::AssetSystem::NetworkAssetUpdateInterface Class Referenceabstract

#include <NetworkAssetNotification_private.h>

Inherited by AzFramework::AssetCatalog [private].

Public Member Functions

 AZ_RTTI (NetworkAssetUpdateInterface, "{5041D165-41CF-4ED0-AD90-FBB7025AB2DC}")
 
 NetworkAssetUpdateInterface (NetworkAssetUpdateInterface &&)=delete
 
NetworkAssetUpdateInterfaceoperator= (NetworkAssetUpdateInterface &&)=delete
 
virtual void AssetChanged (const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &message, bool isCatalogInitialize=false)=0
 Called by the AssetProcessor when an asset in the cache has been modified.
 
virtual void AssetRemoved (const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &message)=0
 Called by the AssetProcessor when an asset in the cache has been removed.
 
virtual AZStd::string GetSupportedPlatforms ()
 If we want to hear about assets for multiple platforms or something other than the asset platform defined at startup.
 

Detailed Description

This internal interface exists only to communicate to an Asset Catalog or manager of Asset Catalogs such as the PlatformAddressedAssetCatlogManager If you want to know when new assets are ready to load or have changed, listen to the AssetCatalogEventBus which will notify you when assets have been updated on the main thread only, and only after the catalog itself has updated with the new information.

Member Function Documentation

◆ AssetChanged()

virtual void AzFramework::AssetSystem::NetworkAssetUpdateInterface::AssetChanged ( const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &  message,
bool  isCatalogInitialize = false 
)
pure virtual

Called by the AssetProcessor when an asset in the cache has been modified.

Implemented in AzFramework::AssetCatalog.

◆ AssetRemoved()

virtual void AzFramework::AssetSystem::NetworkAssetUpdateInterface::AssetRemoved ( const AZStd::vector< AzFramework::AssetSystem::AssetNotificationMessage > &  message)
pure virtual

Called by the AssetProcessor when an asset in the cache has been removed.

Implemented in AzFramework::AssetCatalog.


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