Method | Description | |
---|---|---|
Get ( string name ) : |
Retrieve a console variable by name - not case sensitive
|
|
Register ( string name, float value, string help = "", CVarFlags flags = CVarFlags.None ) : |
Registers a new console variable with the specified default value.
|
|
Register ( string name, int value, string help = "", CVarFlags flags = CVarFlags.None ) : |
Registers a new console variable with the specified default value.
|
|
Register ( string name, string value, string help = "", CVarFlags flags = CVarFlags.None ) : |
Registers a new console variable with the specified default value.
|
|
RegisterFloat ( string name, float &value, string help = "", CVarFlags flags = CVarFlags.None ) : |
Registers a new console variable that will update the user defined float.
|
|
RegisterInt ( string name, int &value, string help = "", CVarFlags flags = CVarFlags.None ) : |
Registers a new console variable that will update the user defined integer.
|
|
TryGet ( string name, |
Firstly checks whether a specified CVar is valid, then if so, modifies the cvar reference
|
|
Unregister ( string name, bool delete = false ) : void |
Unregisters an existing console variable
|
Method | Description | |
---|---|---|
Register ( CryEngine.CVarAttribute attribute, |
||
Register ( CryEngine.CVarAttribute attribute, |
||
Register ( CryEngine.CVarAttribute attribute, |
||
RegisterInternal ( string name, object value, string help, CVarFlags flags ) : |
public static Get ( string name ) : |
||
name | string | The name of the CVar to retrieve |
return |
public static Register ( string name, float value, string help = "", CVarFlags flags = CVarFlags.None ) : |
||
name | string | console variable name |
value | float | default value of the console variable |
help | string | help text that is shown when you use |
flags | CVarFlags | |
return |
public static Register ( string name, int value, string help = "", CVarFlags flags = CVarFlags.None ) : |
||
name | string | console variable name |
value | int | default value of the console variable |
help | string | help text that is shown when you use |
flags | CVarFlags | |
return |
public static Register ( string name, string value, string help = "", CVarFlags flags = CVarFlags.None ) : |
||
name | string | console variable name |
value | string | default value of the console variable |
help | string | help text that is shown when you use |
flags | CVarFlags | |
return |
public static RegisterFloat ( string name, float &value, string help = "", CVarFlags flags = CVarFlags.None ) : |
||
name | string | console variable name |
value | float | reference to the memory that will be updated |
help | string | help text that is shown when you use |
flags | CVarFlags | |
return |
public static RegisterInt ( string name, int &value, string help = "", CVarFlags flags = CVarFlags.None ) : |
||
name | string | console variable name |
value | int | reference to the memory that will be updated |
help | string | help text that is shown when you use |
flags | CVarFlags | |
return |
public static TryGet ( string name, |
||
name | string | The name of the CVar to retrieve |
cvar | The CVar object to modify (usually blank) | |
return | bool |
public static Unregister ( string name, bool delete = false ) : void | ||
name | string | |
delete | bool | |
return | void |