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

Method GetLanguageByCode

core/logic/Translator.cpp:772–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770}
771
772bool Translator::GetLanguageByCode(const char *code, unsigned int *index)
773{
774 return m_LCodeLookup.retrieve(code, index);
775}
776
777bool Translator::GetLanguageByName(const char *name, unsigned int *index)
778{

Callers 2

ReadSMC_KeyValueMethod · 0.80
sm_GetLanguageByCodeFunction · 0.80

Calls 1

retrieveMethod · 0.45

Tested by

no test coverage detected