Update ICvar

This commit is contained in:
GAMMACASE 2025-02-19 22:38:30 +03:00
parent 6f4d1c36cf
commit e32289e065

View File

@ -125,6 +125,9 @@ public:
// so all ConVarRefs would still be valid as well as searching for it. // so all ConVarRefs would still be valid as well as searching for it.
// Expects ref to have registered index to be set (is set on convar creation) // Expects ref to have registered index to be set (is set on convar creation)
virtual void UnregisterConVarCallbacks( ConVarRef cvar ) = 0; virtual void UnregisterConVarCallbacks( ConVarRef cvar ) = 0;
// Prevents default value initialisation on convars if state equals true and queues them instead,
// unlocks and initialises queued convars to default values if state is false
virtual void LockConVarValueInitialisation( bool state ) = 0;
// Returns convar data or nullptr if not found // Returns convar data or nullptr if not found
virtual ConVarData* GetConVarData( ConVarRef cvar ) = 0; virtual ConVarData* GetConVarData( ConVarRef cvar ) = 0;