| 126 | return dir.c_str(); |
| 127 | } |
| 128 | |
| 129 | RString 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 | |
| 143 | RString GetUserParams() |
no test coverage detected