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.
o3de/Code/Framework/AzFramework/AzFramework/Spawnable
lumberyard-employee-dm 18ea4ba6a8
Added a CriticalAssetsCompiled Lifecycle event (#6469)
The CriticalAssetsCompiled event can be handled to detect when the
AssetProcessor has finished processing Critical Assets

Also with the new event, an audit has been performed over all the
locations where the AssetCatalogEventBus OnCatalogLoaded event was being
handle to make sure it was the proper event to use.
If the handler was actually examing the enumerating over the full
catalog or querying all assets within the catalog, then it was a proper
use.
For handlers that were interested in a particular asset it was not

Moreover added implementations of `OnCatalogAssetChanged` and
`OnCatalogAssetAdded` to the FileTagComponent and the MaterialViewportComponent.

Any applications which uses the AtomToolsApplication
class(MaterialEditor, AtomSampleViewerStandalone,
ShaderMangementConsole) now signals a "CriticalAssetsCompiled" lifecycle
event as well as loads the "assetcatalog.xml" if it exists.

The Launcher application signals the "CrticalAssetsCompiled" event and
reloads the "assetcatalog.xml" for the ${project}.GameLauncher and
${project}.ServerLauncher in Launcher.cpp

Finally the Editor signals the "CriticalAssetsCompiled" and reloads the
"assetcatalog.xml" in CryEdit.cpp

resolves #6093

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
RootSpawnableInterface.h Updates to the Spawnable entity aliases based on provided feedback on PR. 4 years ago
Spawnable.cpp Build fix. 4 years ago
Spawnable.h Build fix. 4 years ago
SpawnableAssetBus.h Added support for entity aliases to Spawnable. 4 years ago
SpawnableAssetHandler.cpp Build fix. 4 years ago
SpawnableAssetHandler.h Added support for entity aliases to Spawnable. 4 years ago
SpawnableEntitiesContainer.cpp Extended the Spawnable Entities Interface to allow entity aliases to be updated. 4 years ago
SpawnableEntitiesContainer.h Updates to the Spawnable entity aliases based on provided feedback on PR. 4 years ago
SpawnableEntitiesInterface.cpp Extended the Spawnable Entities Interface to allow entity aliases to be updated. 4 years ago
SpawnableEntitiesInterface.h Addressed issues found in/by the Spawnables benchmarks and unit tests. 4 years ago
SpawnableEntitiesManager.cpp Addressed issues found in/by the Spawnables benchmarks and unit tests. 4 years ago
SpawnableEntitiesManager.h Updates for the spawnable entity aliases based on provided feedback. 4 years ago
SpawnableMetaData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableMetaData.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableMonitor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableMonitor.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SpawnableSystemComponent.cpp Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago
SpawnableSystemComponent.h Added a CriticalAssetsCompiled Lifecycle event (#6469) 4 years ago