DDNet documentation
Loading...
Searching...
No Matches
CComponentInterfaces Class Reference

#include <component.h>

Inheritance diagram for CComponentInterfaces:
[legend]
Collaboration diagram for CComponentInterfaces:
[legend]

Public Member Functions

virtual void OnInterfacesInit (CGameClient *pClient)
virtual ~CComponentInterfaces ()=default

Protected Member Functions

class CGameClient * GameClient () const
class IClient * Client () const
class IKernel * Kernel () const
class IEngine * Engine () const
class IGraphics * Graphics () const
class ITextRender * TextRender () const
class IInput * Input () const
class IStorage * Storage () const
class CUi * Ui () const
class ISound * Sound () const
class CRenderTools * RenderTools () const
class CRenderMap * RenderMap () const
class IConfigManager * ConfigManager () const
class CConfig * Config () const
class IConsole * Console () const
class IDemoPlayer * DemoPlayer () const
class IDemoRecorder * DemoRecorder (int Recorder) const
class IFavorites * Favorites () const
class IServerBrowser * ServerBrowser () const
class CLayers * Layers () const
class CCollision * Collision () const
int64_t time () const
float LocalTime () const
class IHttp * Http () const

Private Attributes

CGameClient * m_pClient = nullptr

Constructor & Destructor Documentation

◆ ~CComponentInterfaces()

virtual CComponentInterfaces::~CComponentInterfaces ( )
virtualdefault

Member Function Documentation

◆ Client()

class IClient * CComponentInterfaces::Client ( ) const
protected

Get the client interface.

◆ Collision()

class CCollision * CComponentInterfaces::Collision ( ) const
protected

Get the collision interface.

◆ Config()

class CConfig * CComponentInterfaces::Config ( ) const
protected

Get the config interface.

◆ ConfigManager()

class IConfigManager * CComponentInterfaces::ConfigManager ( ) const
protected

Get the config manager interface.

◆ Console()

class IConsole * CComponentInterfaces::Console ( ) const
protected

Get the console interface.

◆ DemoPlayer()

class IDemoPlayer * CComponentInterfaces::DemoPlayer ( ) const
protected

Get the demo player interface.

◆ DemoRecorder()

class IDemoRecorder * CComponentInterfaces::DemoRecorder ( int Recorder) const
protected

Get the demo recorder interface.

Parameters
RecorderA member of the RECORDER_x enum
See also
RECORDER_MANUAL
RECORDER_AUTO
RECORDER_RACE
RECORDER_REPLAYS

◆ Engine()

class IEngine * CComponentInterfaces::Engine ( ) const
protected

Get the engine interface.

◆ Favorites()

class IFavorites * CComponentInterfaces::Favorites ( ) const
protected

Get the favorites interface.

◆ GameClient()

class CGameClient * CComponentInterfaces::GameClient ( ) const
inlineprotected

Get a pointer to the game client.

◆ Graphics()

class IGraphics * CComponentInterfaces::Graphics ( ) const
protected

Get the graphics interface.

◆ Http()

class IHttp * CComponentInterfaces::Http ( ) const
protected

Get the HTTP interface

◆ Input()

class IInput * CComponentInterfaces::Input ( ) const
protected

Get the input interface.

◆ Kernel()

class IKernel * CComponentInterfaces::Kernel ( ) const
protected

Get the kernel interface.

◆ Layers()

class CLayers * CComponentInterfaces::Layers ( ) const
protected

Get the layers interface.

◆ LocalTime()

float CComponentInterfaces::LocalTime ( ) const
protected

Gets the local time.

◆ OnInterfacesInit()

void CComponentInterfaces::OnInterfacesInit ( CGameClient * pClient)
virtual

◆ RenderMap()

class CRenderMap * CComponentInterfaces::RenderMap ( ) const
protected

Get the render map interface.

◆ RenderTools()

class CRenderTools * CComponentInterfaces::RenderTools ( ) const
protected

Get the render tools interface.

◆ ServerBrowser()

class IServerBrowser * CComponentInterfaces::ServerBrowser ( ) const
protected

Get the server browser interface.

◆ Sound()

class ISound * CComponentInterfaces::Sound ( ) const
protected

Get the sound interface.

◆ Storage()

class IStorage * CComponentInterfaces::Storage ( ) const
protected

Get the storage interface.

◆ TextRender()

class ITextRender * CComponentInterfaces::TextRender ( ) const
protected

Get the text rendering interface.

◆ time()

int64_t CComponentInterfaces::time ( ) const
protected

Gets the current time.

See also
time_get()

◆ Ui()

class CUi * CComponentInterfaces::Ui ( ) const
protected

Get the ui interface.

Member Data Documentation

◆ m_pClient

CGameClient* CComponentInterfaces::m_pClient = nullptr
private

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