This is a capturer of custom files from level/world custom directories.
More...
#include <custom_data.h>
This is a capturer of custom files from level/world custom directories.
| CustomDirManager::CustomDirManager |
( |
QString |
path, |
|
|
QString |
name, |
|
|
QString |
stuffPath |
|
) |
| |
Constructor with pre-defined parameters.
- Parameters
-
| path | Full path to episode directory |
| name | Base file name of current file |
| stuffPath | Full path to default data folder |
| QString CustomDirManager::getCustomFile |
( |
QString |
name, |
|
|
bool * |
isDefault = 0 |
|
) |
| |
Get custom file path if exist.
- Parameters
-
| name | Target file name which need to found |
- Returns
- empty string if not exist
| void CustomDirManager::setCustomDirs |
( |
QString |
path, |
|
|
QString |
name, |
|
|
QString |
stuffPath |
|
) |
| |
Sets paths where look for a requested files.
- Parameters
-
| path | Full path to episode directory |
| name | Base file name of current file |
| stuffPath | Full path to default data folder |
The documentation for this class was generated from the following files: