DDraceNetwork Docs
IConsole::IResult Class Referenceabstract

#include <console.h>

Inheritance diagram for IConsole::IResult:
[legend]

Public Member Functions

 IResult (int ClientId)
 
 IResult (const IResult &Other)
 
virtual ~IResult ()
 
virtual int GetInteger (unsigned Index) const =0
 
virtual float GetFloat (unsigned Index) const =0
 
virtual const char * GetString (unsigned Index) const =0
 
virtual std::optional< ColorHSLAGetColor (unsigned Index, float DarkestLighting) const =0
 
virtual void RemoveArgument (unsigned Index)=0
 
int NumArguments () const
 
virtual int GetVictim () const =0
 

Public Attributes

int m_ClientId
 

Protected Attributes

unsigned m_NumArgs
 

Constructor & Destructor Documentation

◆ IResult() [1/2]

IConsole::IResult::IResult ( int  ClientId)
inline

◆ IResult() [2/2]

IConsole::IResult::IResult ( const IResult Other)
inline

◆ ~IResult()

virtual IConsole::IResult::~IResult ( )
inlinevirtual

Member Function Documentation

◆ GetColor()

virtual std::optional< ColorHSLA > IConsole::IResult::GetColor ( unsigned  Index,
float  DarkestLighting 
) const
pure virtual

Implemented in CConsole::CResult.

◆ GetFloat()

virtual float IConsole::IResult::GetFloat ( unsigned  Index) const
pure virtual

Implemented in CConsole::CResult.

◆ GetInteger()

virtual int IConsole::IResult::GetInteger ( unsigned  Index) const
pure virtual

Implemented in CConsole::CResult.

◆ GetString()

virtual const char * IConsole::IResult::GetString ( unsigned  Index) const
pure virtual

Implemented in CConsole::CResult.

◆ GetVictim()

virtual int IConsole::IResult::GetVictim ( ) const
pure virtual

Implemented in CConsole::CResult.

◆ NumArguments()

int IConsole::IResult::NumArguments ( ) const
inline

◆ RemoveArgument()

virtual void IConsole::IResult::RemoveArgument ( unsigned  Index)
pure virtual

Implemented in CConsole::CResult.

Member Data Documentation

◆ m_ClientId

int IConsole::IResult::m_ClientId

◆ m_NumArgs

unsigned IConsole::IResult::m_NumArgs
protected

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