Struct containing info about a game console variable (like fraglimit) More...
#include <serverstructs.h>
Public Member Functions | |
GameCVar (QString fname, QString fconsoleCommand) | |
void | setValue (bool b) |
void | setValue (int i) |
void | setValue (const QString &str) |
const QString & | value () const |
bool | valueBool () const |
bool | valueInt () const |
Public Attributes | |
QString | name |
QString | consoleCommand |
Protected Attributes | |
QString | val |
Struct containing info about a game console variable (like fraglimit)
QString GameCVar::consoleCommand |
Console command used to set the given CVar.
QString GameCVar::name |
Nice name to display in Create Server dialog.