kodi
Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KODI::GAME::CGameClientSubsystem Class Reference

Base class for game client subsystems. More...

#include <GameClientSubsystem.h>

Inheritance diagram for KODI::GAME::CGameClientSubsystem:
Inheritance graph
[legend]
Collaboration diagram for KODI::GAME::CGameClientSubsystem:
Collaboration graph
[legend]

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)
 
CGameClientCheevosCheevos () const
 
CGameClientInputInput () const
 
CGameClientPropertiesAddonProperties () const
 
CGameClientStreamsStreams () const
 

Protected Attributes

CGameClientm_gameClient
 
AddonInstance_Gamem_struct
 
CCriticalSection & m_clientAccess
 

Detailed Description

Base class for game client subsystems.

Member Function Documentation

◆ CreateSubsystems()

GameClientSubsystems CGameClientSubsystem::CreateSubsystems ( CGameClient gameClient,
AddonInstance_Game gameStruct,
CCriticalSection &  clientAccess 
)
static

Create a struct with the allocated subsystems.

Parameters
gameClientThe owner of the subsystems
gameStructThe game client's add-on function table
clientAccessMutex guarding client function access
Returns
A fully-allocated GameClientSubsystems struct

◆ DestroySubsystems()

void CGameClientSubsystem::DestroySubsystems ( GameClientSubsystems subsystems)
static

Deallocate subsystems.

Parameters
subsystemsThe subsystems created by CreateSubsystems()

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