MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetBuildIDString

Function GetBuildIDString

Source/Version/version.cpp:41–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41const char* GetBuildIDString() {
42 static bool init = false;
43 static std::string buf;
44
45 if (phoenix_build_id == -1)
46 return "none";
47
48 if (!init) {
49 std::stringstream ss;
50 ss << "build-" << phoenix_build_id;
51 buf = ss.str();
52 init = true;
53 }
54
55 return buf.c_str();
56}
57
58const char* GetPlatform() {
59 return phoenix_platform;

Callers 6

GameMainFunction · 0.85
mainFunction · 0.85
ASGetBuildVersionFullFunction · 0.85
GetCrashFolderFunction · 0.85
dumpCallbackFunction · 0.85
PrintSpecsFunction · 0.85

Calls 2

strMethod · 0.45
c_strMethod · 0.45

Tested by 1

PrintSpecsFunction · 0.68