MCPcopy Create free account
hub / github.com/XorTroll/uLaunch / GetSystemLanguage

Function GetSystemLanguage

libs/uCommon/include/ul/os/os_System.hpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 constexpr size_t LanguageNameCount = std::size(LanguageNameList);
28
29 inline SetLanguage GetSystemLanguage() {
30 u64 lang_code = 0;
31 auto lang = SetLanguage_ENUS;
32 setGetSystemLanguage(&lang_code);
33 setMakeLanguage(lang_code, &lang);
34 return lang;
35 }
36
37 u32 GetBatteryLevel();
38 bool IsConsoleCharging();

Callers 1

LoadSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected