mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 10:38:23 +00:00
Update ICvar
This commit is contained in:
parent
050bcda98a
commit
7c6a7f9edb
@ -113,6 +113,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;
|
||||||
|
|
||||||
@ -237,6 +240,9 @@ public:
|
|||||||
|
|
||||||
CUtlVector<QueuedConVarSet_t> m_SetValueQueue;
|
CUtlVector<QueuedConVarSet_t> m_SetValueQueue;
|
||||||
|
|
||||||
|
CUtlVector<ConVarRef> m_SetToDefaultValueQueue;
|
||||||
|
bool m_LockDefaultValueInit;
|
||||||
|
|
||||||
CConCommandMemberAccessor<CCvar> m_FindCmd;
|
CConCommandMemberAccessor<CCvar> m_FindCmd;
|
||||||
CConCommandMemberAccessor<CCvar> m_DumpChannelsCmd;
|
CConCommandMemberAccessor<CCvar> m_DumpChannelsCmd;
|
||||||
CConCommandMemberAccessor<CCvar> m_LogLevelCmd;
|
CConCommandMemberAccessor<CCvar> m_LogLevelCmd;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user