MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetProfileDirPath

Function GetProfileDirPath

engine/Poseidon/Core/Profile/ProfileManager.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 if (!entry.is_directory())
67 continue;
68
69 std::string name = FilesystemPathToUtf8(entry.path().filename());
70 if (name.empty() || name[0] == '.')
71 continue;
72 if (IsServerProfileName(name))
73 continue; // reserved dedicated-server profile, never user-selectable
74

Callers 4

CanDestroyMethod · 0.85
GetUserDirectoryFunction · 0.85
TriAssertProfileMissingFunction · 0.85

Calls 2

ensureTrailingSepFunction · 0.85
usersDirFunction · 0.85

Tested by 1

TriAssertProfileMissingFunction · 0.68