kodi
|
Base class for game client subsystems. More...
#include <GameClientSubsystem.h>
Static Public Member Functions | |
static GameClientSubsystems | CreateSubsystems (CGameClient &gameClient, AddonInstance_Game &gameStruct, CCriticalSection &clientAccess) |
Create a struct with the allocated subsystems. More... | |
static void | DestroySubsystems (GameClientSubsystems &subsystems) |
Deallocate subsystems. More... | |
Protected Member Functions | |
CGameClientSubsystem (CGameClient &gameClient, AddonInstance_Game &addonStruct, CCriticalSection &clientAccess) | |
CGameClientCheevos & | Cheevos () const |
CGameClientInput & | Input () const |
CGameClientProperties & | AddonProperties () const |
CGameClientStreams & | Streams () const |
Protected Attributes | |
CGameClient & | m_gameClient |
AddonInstance_Game & | m_struct |
CCriticalSection & | m_clientAccess |
Base class for game client subsystems.
|
static |
Create a struct with the allocated subsystems.
gameClient | The owner of the subsystems |
gameStruct | The game client's add-on function table |
clientAccess | Mutex guarding client function access |
|
static |
Deallocate subsystems.
subsystems | The subsystems created by CreateSubsystems() |