|
Pyrogenesis
13997
|
Wrapper class for OS paths used by the game. More...
#include <Paths.h>
Public Member Functions | |
| Paths (const CmdLineArgs &args) | |
| const OsPath & | Root () const |
| Returns the game's root directory. More... | |
| const OsPath & | RData () const |
| Returns directory for read-only data installed with the game. More... | |
| const OsPath & | GameData () const |
| Returns directory for game-managed data and mods. More... | |
| const OsPath & | UserData () const |
| Returns directory for user-created data Only things created in response to an explicit user action should go here. More... | |
| const OsPath & | Config () const |
| Returns config file directory. More... | |
| const OsPath & | Cache () const |
| Returns cache directory. More... | |
| const OsPath & | Logs () const |
| Returns logs directory. More... | |
Static Private Member Functions | |
| static OsPath | Root (const OsPath &argv0) |
| static OsPath | RootData (const OsPath &argv0) |
| static OsPath | XDG_Path (const char *envname, const OsPath &home, const OsPath &defaultPath) |
Private Attributes | |
| OsPath | m_root |
| OsPath | m_rdata |
| OsPath | m_gameData |
| OsPath | m_userData |
| OsPath | m_config |
| OsPath | m_cache |
| OsPath | m_logs |
| Paths::Paths | ( | const CmdLineArgs & | args | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.5