Open 3D Engine GameState Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
EBus interface used to listen for notifications related to game state management/transitions. More...
#include <GameStateNotificationBus.h>
Inherits AZ::EBusTraits.
Public Member Functions | |
virtual void | OnActiveGameStateChanged (AZStd::shared_ptr< IGameState > oldGameState, AZStd::shared_ptr< IGameState > newGameState) |
Static Public Attributes | |
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
EBus Trait: game state notifications are addressed to a single address. | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
EBus Trait: game state notifications can be handled by multiple listeners. | |
EBus interface used to listen for notifications related to game state management/transitions.
|
inlinevirtual |
Called when a game state transition occurs
[in] | oldGameState | The old game state we are transitioning from (can be null) |
[in] | newGameState | The new game state we are transitioning into (can be null) |