OpenBarnyard
 
Loading...
Searching...
No Matches
AGameStateControllerEvent Class Reference

#include <AGameStateControllerEvent.h>

Inheritance diagram for AGameStateControllerEvent:

Public Types

enum  Type_ : Type { Type_Unknown , Type_GameStateActivated , Type_GameStateDeactivated , Type_GameStateBeingAdded }
 
using Type = TUINT32
 

Public Member Functions

constexpr AGameStateControllerEvent (AGameState *a_pGameState, Type a_eType)
 
AGameStateGetGameState () const
 
Type GetEventType () const
 

Detailed Description

Definition at line 7 of file AGameStateControllerEvent.h.

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ Type_

Enumerator
Type_Unknown 
Type_GameStateActivated 
Type_GameStateDeactivated 
Type_GameStateBeingAdded 

Definition at line 11 of file AGameStateControllerEvent.h.

Constructor & Destructor Documentation

◆ AGameStateControllerEvent()

AGameStateControllerEvent::AGameStateControllerEvent ( AGameState * a_pGameState,
Type a_eType )
inlineconstexpr

Definition at line 20 of file AGameStateControllerEvent.h.

21 : m_pGameState( a_pGameState ), m_eType( a_eType ) {}

Member Function Documentation

◆ GetEventType()

Type AGameStateControllerEvent::GetEventType ( ) const
inline

Definition at line 24 of file AGameStateControllerEvent.h.

24{ return m_eType; }

◆ GetGameState()

AGameState * AGameStateControllerEvent::GetGameState ( ) const
inline

Definition at line 23 of file AGameStateControllerEvent.h.

23{ return m_pGameState; }

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