|
| | WoWFolder (const std::string &path) |
| |
| virtual | ~WoWFolder () |
| |
| void | init () override |
| |
| void | initFromListfile (const std::string &file) override |
| |
| void | addCustomFiles (const std::string &path, bool bypassOriginalFiles) override |
| |
| GameFile * | getFile (int id) override |
| |
| bool | openFile (int id, HANDLE *result) override |
| |
| bool | openFile (std::string file, HANDLE *result) override |
| |
| std::string | version () override |
| |
| int | majorVersion () override |
| |
| std::string | locale () override |
| |
| bool | setConfig (core::GameConfig config) override |
| |
| std::vector< core::GameConfig > | configsFound () override |
| |
| int | lastError () override |
| |
| void | onChildAdded (GameFile *) override |
| |
| void | onChildRemoved (GameFile *) override |
| |
| std::string | fileName (int id) |
| |
| int | fileID (const std::string &fileName) |
| |
| | GameFolder (std::string path) |
| |
| virtual | ~GameFolder () |
| |
| std::string | getFullPathForFile (const std::string &file) |
| |
| void | getFilesForFolder (std::vector< GameFile * > &fileNames, const std::string &folderPath, const std::string &extension="") |
| |
| void | getFilteredFiles (std::set< GameFile * > &dest, const std::string &filter) |
| |
| GameFile * | getFile (const std::string &filename) |
| |
| virtual bool | openFile (std::string file, void **result)=0 |
| |
| virtual bool | openFile (int id, void **result)=0 |
| |
| const std::string & | path () const |
| |
| void | setProgressCallback (ProgressCallback cb) |
| |
| | Container () |
| |
| virtual | ~Container () |
| |
| virtual bool | addChild (GameFile *child) |
| |
| virtual bool | removeChild (GameFile *child) |
| |
| void | removeAllChildren () |
| |
| int | removeAllChildrenOfType () |
| |
| unsigned int | nbChildren () const |
| |
| bool | findChildComponent (Component *child, bool recursive=false) |
| |
| Component * | getChild (unsigned int index) |
| |
| const Component * | getChild (unsigned int index) const |
| |
| iterator | begin () |
| |
| iterator | end () |
| |
| | Component () |
| |
| virtual | ~Component () |
| |
| virtual bool | addChild (Component *) |
| | Add a child component to this node.
|
| |
| virtual bool | removeChild (Component *) |
| | Remove a child component from this node.
|
| |
| void | setParentComponent (Component *) |
| | Set the parent of this component.
|
| |
| virtual void | onParentSet (Component *) |
| | Called after the parent has been set; override for custom logic.
|
| |
| const Component * | parent () const |
| | Get the parent component (const).
|
| |
| Component * | parent () |
| | Get the parent component.
|
| |
| template<class DataType > |
| const DataType * | firstParentOfType () |
| | Walk up the parent chain and return the first ancestor of the given type.
|
| |
| void | ref () |
| | Increment the reference counter.
|
| |
| void | unref () |
| | Decrement the reference counter; deletes this when it reaches zero.
|
| |
| void | setName (const std::string &name) |
| |
| std::string | name () const |
| |
| virtual void | onNameChanged () |
| |
| void | print (int l_depth=0) |
| |
| virtual void | doPrint () |
| |
| void | copy (const Component &component, bool) |
| |
GameFolder implementation backed by a CASC archive.
Wraps CASCFolder to provide file lookup by name and by FileDataID, listfile loading, and custom-file overlay.
Definition at line 14 of file WoWFolder.h.