CustomKeyvalue

Custom keyvalue. Only use this as a local variable, do not store them!

Type: Value type

Methods

Declaration Description
void CustomKeyvalue() Constructor
void CustomKeyvalue(const CustomKeyvalue& in other) Constructor
bool Exists() const Returns whether the value exists.
Entvartype GetType() const Gets the type of the keyvalue.
Returns VAR_INVALID if this value does not exist.
string GetString() const Gets the value as a string.
Vector GetVector() const Gets the value as a vector.
float GetFloat() const Gets the value as a float.
int GetInteger() const Gets the value as an integer.