MCPcopy Create free account
hub / github.com/ddnet/ddnet / InitializeLanguage

Method InitializeLanguage

src/game/client/gameclient.cpp:292–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void CGameClient::InitializeLanguage()
293{
294 // set the language
295 g_Localization.LoadIndexfile(Storage(), Console());
296 if(g_Config.m_ClShowWelcome)
297 g_Localization.SelectDefaultLanguage(Console(), g_Config.m_ClLanguagefile, sizeof(g_Config.m_ClLanguagefile));
298 g_Localization.Load(g_Config.m_ClLanguagefile, Storage(), Console());
299}
300
301void CGameClient::ForceUpdateConsoleRemoteCompletionSuggestions()
302{

Callers 1

RunMethod · 0.80

Calls 4

StorageFunction · 0.85
LoadIndexfileMethod · 0.80
SelectDefaultLanguageMethod · 0.80
LoadMethod · 0.45

Tested by

no test coverage detected