MCPcopy Create free account
hub / github.com/bwapi/bwapi / GetBWAPIDataDirectory

Function GetBWAPIDataDirectory

bwapi/BWAPI_PluginInjector/common.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21std::string GetBWAPIDataDirectory()
22{
23 std::string sInstallPath = GetRegString("SOFTWARE\\Blizzard Entertainment\\Starcraft", "InstallPath");
24 return sInstallPath + "\\bwapi-data";
25}
26
27DWORD GetSingleRegString(HKEY hBaseKey, const char *pszSubKey, const char *pszValueName, char *pszOutput, DWORD *dwOutSize)
28{

Callers 2

GetBWAPITargetFunction · 0.85
RunConfigFunction · 0.85

Calls 1

GetRegStringFunction · 0.85

Tested by

no test coverage detected