![]() |
DDraceNetwork Documentation
|
#include <config.h>
Public Types | |
| enum | EVariableType { VAR_INT , VAR_COLOR , VAR_STRING } |
Public Member Functions | |
| SConfigVariable (IConsole *pConsole, const char *pScriptName, EVariableType Type, int Flags, const char *pHelp) | |
| virtual | ~SConfigVariable ()=default |
| virtual void | Register ()=0 |
| virtual bool | IsDefault () const =0 |
| virtual void | Serialize (char *pOut, size_t Size) const =0 |
| virtual void | ResetToDefault ()=0 |
| virtual void | ResetToOld ()=0 |
Public Attributes | |
| IConsole * | m_pConsole |
| const char * | m_pScriptName |
| EVariableType | m_Type |
| int | m_Flags |
| const char * | m_pHelp |
| bool | m_ReadOnly = false |
Protected Member Functions | |
| void | ExecuteLine (const char *pLine) const |
| bool | CheckReadOnly () const |
|
inline |
|
virtualdefault |
|
protected |
Implemented in SIntConfigVariable, SColorConfigVariable, and SStringConfigVariable.
Implemented in SIntConfigVariable, SColorConfigVariable, and SStringConfigVariable.
Implemented in SIntConfigVariable, SColorConfigVariable, and SStringConfigVariable.
Implemented in SIntConfigVariable, SColorConfigVariable, and SStringConfigVariable.
Implemented in SIntConfigVariable, SColorConfigVariable, and SStringConfigVariable.
| int SConfigVariable::m_Flags |
| IConsole* SConfigVariable::m_pConsole |
| EVariableType SConfigVariable::m_Type |