|
|
virtual bool | GetBool () const =0 |
| | Get the internal value as a bool, works on bools, ints and floats.
|
| |
|
virtual float | GetFloat () const =0 |
| | Get the internal value as float (works on all types).
|
| |
| virtual int32 | GetInt () const =0 |
| | Get the internal value as int (should not be used on strings). 更多...
|
| |
|
virtual FString | GetString () const =0 |
| | Get the internal value as string (works on all types).
|
| |
|
void | Set (bool InValue, EConsoleVariableFlags SetBy=ECVF_SetByCode) |
| | Set the internal value from the specified bool.
|
| |
| virtual void | Set (const TCHAR *InValue, EConsoleVariableFlags SetBy=ECVF_SetByCode)=0 |
| | Set the internal value from the specified string. 更多...
|
| |
|
void | Set (float InValue, EConsoleVariableFlags SetBy=ECVF_SetByCode) |
| | Set the internal value from the specified float.
|
| |
|
void | Set (int32 InValue, EConsoleVariableFlags SetBy=ECVF_SetByCode) |
| | Set the internal value from the specified int.
|
| |
| virtual void | SetOnChangedCallback (const FConsoleVariableDelegate &Callback)=0 |
| | Allows to specify a callback function that is called when the console variable value changes. 更多...
|
| |
|
virtual struct IConsoleCommand * | AsCommand () |
| | Casts this object to an IConsoleCommand, verifying first that it is safe to do so
|
| |
|
virtual class IConsoleVariable * | AsVariable () |
| | Casts this object to an IConsoleVariable, returns 0 if it's not
|
| |
|
void | ClearFlags (const EConsoleVariableFlags Value) |
| | Removes the specified flags in the internal state.
|
| |
|
virtual EConsoleVariableFlags | GetFlags () const =0 |
| | Get the internal state of the flags.
|
| |
| virtual const TCHAR * | GetHelp () const =0 |
| |
|
virtual void | SetFlags (const EConsoleVariableFlags Value)=0 |
| | Sets the internal flag state to the specified value.
|
| |
| virtual void | SetHelp (const TCHAR *Value)=0 |
| |
|
bool | TestFlags (const EConsoleVariableFlags Value) const |
| | Test is any of the specified flags is set in the internal state.
|
| |
Interface for console variables