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::LevelLoadBlockerRequests Class Reference

Inherits AZ::EBusTraits.

Public Member Functions

virtual bool ShouldBlockLevelLoading (const char *levelName)
 

Static Public Attributes

static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 
static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 

Member Function Documentation

◆ ShouldBlockLevelLoading()

virtual bool AzFramework::LevelLoadBlockerRequests::ShouldBlockLevelLoading ( const char *  levelName)
inlinevirtual

Gives handlers the opportunity to block the loadlevel command. There can be multiple handlers for this bus; if any one of them return true the loadlevel command will be stopped.

Returns
Return true to stop loading.

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