Callback class to derive from when you want to receive callbacks when console var changes. More...
#include
Public Member Functions | |
virtual bool | OnBeforeVarChange (ICVar *pVar, const char *sNewValue)=0 |
virtual void | OnAfterVarChange (ICVar *pVar)=0 |
Called by Console after variable has changed value. | |
virtual void | OnVarUnregister (ICVar *pVar)=0 |
Called by Console after variable has been unregistered. | |
Callback class to derive from when you want to receive callbacks when console var changes.
|
pure virtual |
Called by Console before changing console var value, to validate if var can be changed.