MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetKeyValue

Method GetKeyValue

tools/gdc/GameConfigs.cpp:779–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777}
778
779const char *CGameConfig::GetKeyValue(const char *key)
780{
781 void *obj;
782 if (!sm_trie_retrieve(m_pKeys, key, &obj))
783 {
784 return NULL;
785 }
786 return m_pStrings->GetString((int)obj);
787}
788
789SendProp *CGameConfig::GetSendProp(const char *key)
790{

Callers 13

mainFunction · 0.45
GetTeamScoreFunction · 0.45
SetTeamScoreFunction · 0.45
LevelInitMethod · 0.45
UpdateValveGlobalsFunction · 0.45
GetIServerFunction · 0.45
GetResourceEntityFunction · 0.45
SlapPlayerFunction · 0.45
GameRulesNativesInitFunction · 0.45
OnLoadMethod · 0.45
CreateHashMapsFunction · 0.45

Calls 4

sm_trie_retrieveFunction · 0.85
GetStringMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected