feat(console): add functions to reset and default cvars

This commit is contained in:
phaneron 2023-08-24 22:24:47 -04:00
parent 851c1aea5b
commit 17fc9017e0
2 changed files with 100 additions and 3 deletions

View file

@ -39,6 +39,8 @@ class CVar : public TSHashObject<CVar, HASHKEY_STRI> {
int32_t Load(HOSFILE fileHandle);
void InternalSet(const char*, bool, bool, bool, bool);
bool Set(const char*, bool, bool, bool, bool);
bool Reset();
bool Default();
int32_t Update();
};