![]() |
Crossfire Server, Trunk
1.75.0
|
Abstract buffer handler, processing a BufferReader. More...
#include <AssetLoader.h>
Inheritance diagram for AssetLoader:
Collaboration diagram for AssetLoader:Public Member Functions | |
| virtual void | load (BufferReader *reader, const std::string &filename)=0 |
| Load assets from the specified reader. More... | |
| virtual bool | willLoad (const std::string &filename)=0 |
| Whether this instance will process or not the specified file. More... | |
| virtual | ~AssetLoader () |
| Virtual destructor for inheritance. More... | |
Abstract buffer handler, processing a BufferReader.
Inherited classes must implement load() and willLoad().
Definition at line 24 of file AssetLoader.h.
|
inlinevirtual |
Virtual destructor for inheritance.
Definition at line 28 of file AssetLoader.h.
|
pure virtual |
Load assets from the specified reader.
| reader | reader. |
| filename | full filename. |
Implemented in AssetCollector, WrapperLoader, QuestLoader, TreasureLoader, FaceLoader, ArchetypeLoader, MessageLoader, PngLoader, FacesetLoader, ArtifactLoader, and TarLoader.
Referenced by TarLoader::load().
Here is the caller graph for this function:
|
pure virtual |
Whether this instance will process or not the specified file.
| filename | full file path. |
Implemented in WrapperLoader, QuestLoader, TreasureLoader, FaceLoader, ArchetypeLoader, MessageLoader, PngLoader, FacesetLoader, ArtifactLoader, TarLoader, and AssetCollector.
Referenced by TarLoader::load().
Here is the caller graph for this function: