Nebula
|
Contains API for creating, writing to, and reading from a Core::CVar.
Go to the source code of this file.
Classes | |
struct | Core::CVarCreateInfo |
Used to create a Core::CVar. More... | |
Namespaces | |
namespace | Core |
Enumerations | |
enum | Core::CVarType { Core::CVar_Int , Core::CVar_Float , Core::CVar_String } |
Denotes the type of a Core::CVar. More... | |
Functions | |
CVar * | Core::CVarCreate (CVarCreateInfo const &) |
Create or get a console variable. | |
CVar * | Core::CVarCreate (CVarType type, const char *name, const char *defaultValue, const char *description=nullptr) |
Create or get a console variable. | |
CVar * | Core::CVarGet (const char *name) |
Get a console variable. | |
void | Core::CVarParseWrite (CVar *, const char *value) |
Parse value from c string and assign to cvar. | |
void | Core::CVarWriteFloat (CVar *, float value) |
Write float value to cvar. | |
void | Core::CVarWriteInt (CVar *, int value) |
Write int value to cvar. | |
void | Core::CVarWriteString (CVar *, const char *value) |
Write string value to cvar. | |
int const | Core::CVarReadInt (CVar *) |
Read int value from cvar. | |
float const | Core::CVarReadFloat (CVar *) |
Read float value from cvar. | |
const char * | Core::CVarReadString (CVar *) |
Read string value from cvar. | |
bool | Core::CVarModified (CVar *) |
Check if a CVar has been modified. | |
void | Core::CVarSetModified (CVar *, bool) |
Set the modified status of a cvar. | |
CVarType | Core::CVarGetType (CVar *) |
Get the type of a cvar. | |
const char * | Core::CVarGetName (CVar *) |
Get the cvars name. | |
const char * | Core::CVarGetDescription (CVar *) |
Get the cvars description. | |
int | Core::CVarNum () |
Get the number of vars created. | |
CVar * | Core::CVarsBegin () |
Get a pointer to the first cvar in the array. | |
CVar * | Core::CVarsEnd () |
Get a pointer to the address after the last valid cvar in the array. | |
CVar * | Core::CVarNext (CVar *) |
increment the iterator | |