UFO: Alien Invasion
GAMECvarListener Class Reference
Inheritance diagram for GAMECvarListener:
Inheritance graph
Collaboration diagram for GAMECvarListener:
Collaboration graph

Public Member Functions

 ~GAMECvarListener ()
 
void onCreate (const struct cvar_s *cvar)
 
void onDelete (const struct cvar_s *cvar)
 
void onGameModeChange ()
 
- Public Member Functions inherited from CvarListener
virtual ~CvarListener ()
 
virtual void onCreate (const struct cvar_s *cvar)=0
 
virtual void onDelete (const struct cvar_s *cvar)=0
 

Private Types

typedef std::set< const struct cvar_s * > GameCvars
 

Private Attributes

GameCvars _cvars
 

Detailed Description

Definition at line 67 of file cl_game.cpp.

Member Typedef Documentation

◆ GameCvars

typedef std::set<const struct cvar_s* > GAMECvarListener::GameCvars
private

Definition at line 70 of file cl_game.cpp.

Constructor & Destructor Documentation

◆ ~GAMECvarListener()

GAMECvarListener::~GAMECvarListener ( )
inline

Definition at line 73 of file cl_game.cpp.

References _cvars.

Member Function Documentation

◆ onCreate()

void GAMECvarListener::onCreate ( const struct cvar_s *  cvar)
inlinevirtual

Implements CvarListener.

Definition at line 78 of file cl_game.cpp.

References _cvars, and GAME_GetCurrentType().

◆ onDelete()

void GAMECvarListener::onDelete ( const struct cvar_s *  cvar)
inlinevirtual

Implements CvarListener.

Definition at line 85 of file cl_game.cpp.

References _cvars.

◆ onGameModeChange()

void GAMECvarListener::onGameModeChange ( )
inline

Field Documentation

◆ _cvars

GameCvars GAMECvarListener::_cvars
private

Definition at line 71 of file cl_game.cpp.

Referenced by onCreate(), onDelete(), onGameModeChange(), and ~GAMECvarListener().


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