PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
CustomDirManager Class Reference

This is a capturer of custom files from level/world custom directories. More...

#include <custom_data.h>

Public Member Functions

 CustomDirManager ()
 Constructor.
 
 CustomDirManager (QString path, QString name, QString stuffPath)
 Constructor with pre-defined parameters. More...
 
QString getCustomFile (QString name, bool *isDefault=0)
 Get custom file path if exist. More...
 
void setCustomDirs (QString path, QString name, QString stuffPath)
 Sets paths where look for a requested files. More...
 

Detailed Description

This is a capturer of custom files from level/world custom directories.

Constructor & Destructor Documentation

CustomDirManager::CustomDirManager ( QString  path,
QString  name,
QString  stuffPath 
)

Constructor with pre-defined parameters.

Parameters
pathFull path to episode directory
nameBase file name of current file
stuffPathFull path to default data folder

Member Function Documentation

QString CustomDirManager::getCustomFile ( QString  name,
bool *  isDefault = 0 
)

Get custom file path if exist.

Parameters
nameTarget 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
pathFull path to episode directory
nameBase file name of current file
stuffPathFull path to default data folder

The documentation for this class was generated from the following files: