mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-17 15:27:25 +02:00
Implement autocomplete logic for in-game console.
Autocompletes based on user input. Also shows ConVar's current value.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "core/stdafx.h"
|
||||
#include "tier0/cvar.h"
|
||||
#include "launcher/IApplication.h"
|
||||
#include "ebisusdk/EbisuSDK.h"
|
||||
|
||||
@@ -21,6 +22,10 @@ bool HIApplication_Create(void* a1)
|
||||
// Also add cross-season support?
|
||||
* (uintptr_t*)0x162C61208 = 0x1; // g_bDedicated
|
||||
#endif // DEDICATED
|
||||
for (auto& map : g_pCVar->DumpToMap())
|
||||
{
|
||||
g_vsvAllConVars.push_back(map.first.c_str());
|
||||
}
|
||||
return IAppSystem_Create(a1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user