Open 3D Engine GameStateSamples Gem 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.
GameStateSamples::GameStatePrimaryControllerDisconnected Class Reference

Game state that is active while the primary user's controller is disconnected. More...

#include <GameStatePrimaryControllerDisconnected.h>

Inherits GameState::IGameState, AzFramework::InputChannelEventListener, and AzFramework::InputDeviceNotificationBus::Handler.

Public Member Functions

 AZ_CLASS_ALLOCATOR (GameStatePrimaryControllerDisconnected, AZ::SystemAllocator)
 
 AZ_RTTI (GameStatePrimaryControllerDisconnected, "{47FCBC7A-49CB-4FEB-842A-C730CCB19940}", IGameState)
 
 GameStatePrimaryControllerDisconnected ()=default
 Default constructor.
 
 ~GameStatePrimaryControllerDisconnected () override=default
 Default destructor.
 

Protected Member Functions

void OnEnter () override
 GameState::GameState::OnEnter
 
void OnExit () override
 GameState::GameState::OnExit
 
AZ::s32 GetPriority () const override
 AzFramework::InputChannelEventListener::GetPriority
 
bool OnInputChannelEventFiltered (const AzFramework::InputChannel &inputChannel) override
 AzFramework::InputChannelEventListener::OnInputChannelEventFiltered
 
void OnInputDeviceConnectedEvent (const AzFramework::InputDevice &inputDevice) override
 AzFramework::InputDeviceNotifications::OnInputDeviceConnectedEvent
 
virtual void ShowPrimaryControllerDisconnectedPopup ()
 
virtual void HidePrimaryControllerDisconnectedPopup ()
 

Detailed Description

Game state that is active while the primary user's controller is disconnected.

Member Function Documentation

◆ ShowPrimaryControllerDisconnectedPopup()

void GameStateSamples::GameStatePrimaryControllerDisconnected::ShowPrimaryControllerDisconnectedPopup ( )
inlineprotectedvirtual

Convenience functions to show/hide the primary controller disconnected popup.


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