struct IConsoleVarSink { };
IConsole.h
Callback class to derive from when you want to receive callbacks when console var changes.
virtual ~IConsoleVarSink();
virtual void OnAfterVarChange(ICVar * pVar) = 0;
Called by Console after variable has changed value
virtual bool OnBeforeVarChange(ICVar * pVar, const char * sNewValue) = 0;
true if ok to change value, false if should not change value.
Called by Console before changing console var value, to validate if var can be changed.