| IConsoleManager::CallAllConsoleVariableSinks()
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/HAL/ConsoleManager.h |
Include |
#include "HAL/ConsoleManager.h" |
Source |
/Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp |
virtual void CallAllConsoleVariableSinks()
The sinks are only called if a change has been done since the last time Should be called in very few points:
after ini file loading
after user console input
user initiated a console variable change (it needs to be clear to user that a cvar can change e.g. game options menu)
beginning of Tick (to catch stray Set() calls, which are usually bad)