#include <AGameState.h>
Classes | |
struct | HUDParams |
Public Types | |
enum | OVERLAY_ : OVERLAY { OVERLAY_1 , OVERLAY_2 , OVERLAY_3 , OVERLAY_NUMOF } |
using | OVERLAY = TUINT |
using | ThisClass = AGameState |
using | BaseClass = Toshi::TObject |
template<class Result, class... Args> | |
using | t_ExecuteForChildCb = Result ( AGameState::* )( Args... args ) |
Public Member Functions | |
virtual Toshi::TClass * | GetClass () override |
AGameState () | |
~AGameState () | |
virtual TBOOL | ProcessInput (const Toshi::TInputInterface::InputEvent *a_pInputEvent) |
virtual TBOOL | ProcessCommand (AInputCommand a_eInputCommand, const Toshi::TInputInterface::InputEvent *a_pInputEvent, TBOOL &a_rStopEvents) |
virtual TBOOL | Unknown1 (void *a_pUnk1, void *a_pUnk2) |
virtual void | Unknown2 (void *a_pUnk1) |
virtual void | Unknown3 (void *a_pUnk1) |
virtual void | Unknown4 (void *a_pUnk1) |
virtual void | Unknown5 () |
virtual TBOOL | Unknown6 () |
virtual ASoundId | GetSound () |
virtual TBOOL | Unknown7 () |
virtual void | Unknown8 () |
virtual void | OnStarted () |
virtual void | Unknown10 () |
virtual void | Unknown11 (void *a_pUnk1, void *a_pUnk2) |
virtual void | Unknown12 (void *a_pUnk1, void *a_pUnk2) |
virtual TFLOAT | GetFOV () |
virtual TBOOL | OnUpdate (TFLOAT a_fDeltaTime) |
virtual void | OnInsertion () |
virtual void | OnRemoval () |
virtual void | OnSuspend () |
virtual void | OnResume (AGameState *a_pPreviousState) |
virtual void | OnActivate () |
virtual void | OnDeactivate () |
TBOOL | SendInputCommands (const Toshi::TInputInterface::InputEvent *a_pEvent) |
void | SetInputMap (const Toshi::TPString8 &a_MapName) |
void | Activate () |
void | Deactivate () |
void | Suspend () |
void | Remove () |
void | Destroy () |
void | Destroy (TBOOL a_bDeactivate) |
void | SetOverlay (OVERLAY a_eOverlay) |
OVERLAY | GetOverlay () const |
template<class RetT, class... Args> | |
void | ExecuteForAllChildStates (t_ExecuteForChildCb< RetT, Args... > a_fnCallback, TUINT32 a_uiOffset, Args... args) |
template<class... Args> | |
TBOOL | ExecuteForOneChildState (t_ExecuteForChildCb< TBOOL, Args... > a_fnCallback, TUINT32 a_uiOffset, Args... args) |
Static Public Member Functions | |
static Toshi::TObject * | CreateTObject () |
static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
static void | InitialiseClass () |
static void | DeinitialiseClass () |
static __forceinline Toshi::TClass * | GetClassStatic () |
Static Public Attributes | |
static constexpr Toshi::TClass * | PARENTCLASS = & Toshi::TObject::ms_oClass |
static Toshi::TClass | ms_oClass = Toshi::TClass( "AGameState", AGameState::PARENTCLASS, AGameState::CreateTObject, AGameState::CreateTObjectInPlace, AGameState::InitialiseClass, AGameState::DeinitialiseClass, 0, 1, sizeof( AGameState ), alignof( AGameState ) ) |
Protected Attributes | |
HUDParams | m_HUDParams |
OVERLAY | m_eOverlayColorIndex |
Toshi::T2DList< AGameState > | m_ChildStates |
AInputMap * | m_pInputMap |
AGameState * | m_pOwnerState |
TBOOL | m_bWasInserted |
TBOOL | m_bIsActivated |
AGUI2Element | m_GUIElement |
TFLOAT | m_fFOV |
Friends | |
class | AGameStateController |
Definition at line 10 of file AGameState.h.
using AGameState::BaseClass = Toshi::TObject |
Definition at line 26 of file AGameState.h.
using AGameState::OVERLAY = TUINT |
Definition at line 14 of file AGameState.h.
using AGameState::t_ExecuteForChildCb = Result ( AGameState::* )( Args... args ) |
Definition at line 29 of file AGameState.h.
using AGameState::ThisClass = AGameState |
Definition at line 26 of file AGameState.h.
enum AGameState::OVERLAY_ : OVERLAY |
Enumerator | |
---|---|
OVERLAY_1 | |
OVERLAY_2 | |
OVERLAY_3 | |
OVERLAY_NUMOF |
Definition at line 15 of file AGameState.h.
AGameState::AGameState | ( | ) |
Definition at line 22 of file AGameState.cpp.
AGameState::~AGameState | ( | ) |
Definition at line 38 of file AGameState.cpp.
void AGameState::Activate | ( | ) |
Definition at line 239 of file AGameState.cpp.
|
static |
Definition at line 20 of file AGameState.cpp.
|
static |
Definition at line 20 of file AGameState.cpp.
void AGameState::Deactivate | ( | ) |
Definition at line 248 of file AGameState.cpp.
|
static |
Definition at line 20 of file AGameState.cpp.
void AGameState::Destroy | ( | ) |
Definition at line 157 of file AGameState.cpp.
void AGameState::Destroy | ( | TBOOL | a_bDeactivate | ) |
Definition at line 167 of file AGameState.cpp.
|
inline |
Definition at line 100 of file AGameState.h.
|
inline |
Definition at line 114 of file AGameState.h.
|
overridevirtual |
Reimplemented in AAudioOptionsState, ABYardMenuState, AFrontEndMainMenuState2, AMessagePopupState, AMovieState, AOptionsState, ASlideshowState, and SaveLoadSKU.
Definition at line 20 of file AGameState.cpp.
|
inlinestatic |
Definition at line 26 of file AGameState.h.
|
virtual |
Definition at line 113 of file AGameState.cpp.
|
inline |
Definition at line 97 of file AGameState.h.
|
virtual |
Definition at line 83 of file AGameState.cpp.
|
static |
Definition at line 20 of file AGameState.cpp.
|
virtual |
Reimplemented in ABYardMenuState, AFrontEndMainMenuState2, AOptionsState, and ASlideshowState.
Definition at line 145 of file AGameState.cpp.
|
virtual |
Reimplemented in ABYardMenuState, AFrontEndMainMenuState2, and ASlideshowState.
Definition at line 151 of file AGameState.cpp.
|
virtual |
Reimplemented in AAudioOptionsState, ABYardMenuState, AFrontEndMainMenuState2, AMovieState, AOptionsState, and ASlideshowState.
Definition at line 124 of file AGameState.cpp.
|
virtual |
Reimplemented in AAudioOptionsState, ABYardMenuState, AFrontEndMainMenuState2, AMovieState, and AOptionsState.
Definition at line 130 of file AGameState.cpp.
|
virtual |
Definition at line 140 of file AGameState.cpp.
|
virtual |
Definition at line 97 of file AGameState.cpp.
|
virtual |
Definition at line 135 of file AGameState.cpp.
Reimplemented in ABYardMenuState, AFrontEndMainMenuState2, AMovieState, AOptionsState, and ASlideshowState.
Definition at line 118 of file AGameState.cpp.
|
virtual |
Reimplemented in AAudioOptionsState, ABYardMenuState, AFrontEndMainMenuState2, AMovieState, AOptionsState, and ASlideshowState.
Definition at line 52 of file AGameState.cpp.
|
virtual |
Reimplemented in AAudioOptionsState, ABYardMenuState, AFrontEndMainMenuState2, AMovieState, and ASlideshowState.
Definition at line 42 of file AGameState.cpp.
void AGameState::Remove | ( | ) |
Definition at line 265 of file AGameState.cpp.
TBOOL AGameState::SendInputCommands | ( | const Toshi::TInputInterface::InputEvent * | a_pEvent | ) |
Definition at line 178 of file AGameState.cpp.
void AGameState::SetInputMap | ( | const Toshi::TPString8 & | a_MapName | ) |
Definition at line 233 of file AGameState.cpp.
|
inline |
Definition at line 96 of file AGameState.h.
void AGameState::Suspend | ( | ) |
Definition at line 260 of file AGameState.cpp.
|
virtual |
Definition at line 57 of file AGameState.cpp.
|
virtual |
Definition at line 101 of file AGameState.cpp.
|
virtual |
Definition at line 105 of file AGameState.cpp.
|
virtual |
Definition at line 109 of file AGameState.cpp.
|
virtual |
Definition at line 62 of file AGameState.cpp.
|
virtual |
Definition at line 66 of file AGameState.cpp.
|
virtual |
Definition at line 70 of file AGameState.cpp.
|
virtual |
Definition at line 74 of file AGameState.cpp.
|
virtual |
Definition at line 78 of file AGameState.cpp.
|
virtual |
Definition at line 88 of file AGameState.cpp.
|
virtual |
Definition at line 93 of file AGameState.cpp.
|
friend |
Definition at line 23 of file AGameState.h.
|
protected |
Definition at line 141 of file AGameState.h.
|
protected |
Definition at line 140 of file AGameState.h.
|
protected |
Definition at line 137 of file AGameState.h.
|
protected |
Definition at line 136 of file AGameState.h.
|
protected |
Definition at line 143 of file AGameState.h.
|
protected |
Definition at line 142 of file AGameState.h.
|
protected |
Definition at line 135 of file AGameState.h.
|
protected |
Definition at line 138 of file AGameState.h.
|
protected |
Definition at line 139 of file AGameState.h.
|
static |
Definition at line 26 of file AGameState.h.
|
staticconstexpr |
Definition at line 26 of file AGameState.h.