MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / GetKeyName

Function GetKeyName

src/Hook/Hooks_KeyValues.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 const char* GetKeyName(int symbol) {
29 auto* sys = GetKeyValuesSystem();
30 auto name = sys->GetStringForSymbol(symbol);
31 LOG_KEYVALUE_TRACE("GetKeyName: symbol={} -> name={}", symbol, name);
32 return name ? name : nullptr;
33 }
34
35 HOOK_FUNC(ReadAsBinary, bool, KeyValues* root, void* buf, int depth,
36 bool textMode, void* symTable) {

Callers

nothing calls this directly

Calls 1

GetKeyValuesSystemFunction · 0.85

Tested by

no test coverage detected