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

Function GetUserMissionsBase

engine/Poseidon/UI/OptionsUI.cpp:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 return dir.c_str();
127}
128
129RString GetUserMissionsBase()
130{
131 if (GamePaths::Instance().OldPaths())
132 {
133 return GetUserDirectory();
134 }
135
136 // Editor (user-authored) missions are shared content like mods — not tied to
137 // a player profile — so they live under the discoverable, non-roaming
138 // user-content root (Documents on Windows), with Missions/ + MPMissions/
139 // subfolders, rather than under the (roaming) per-profile UserDir.
140 return GamePaths::Instance().UserContentDir().c_str();
141}
142
143RString GetUserParams()

Callers 6

CreateMissionMethod · 0.85
OnButtonClickedMethod · 0.85
OnChildDestroyedMethod · 0.85
SetMissionMethod · 0.85
UpdateMissionsMethod · 0.85
OnChildDestroyedMethod · 0.85

Calls 2

GetUserDirectoryFunction · 0.85
OldPathsMethod · 0.45

Tested by

no test coverage detected