Crossfire Server, Trunk
|
#include <AssetLoader.h>
Public Member Functions | |
virtual void | load (BufferReader *reader, const std::string &filename)=0 |
virtual bool | willLoad (const std::string &filename)=0 |
virtual | ~AssetLoader () |
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(), and write_load().
|
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().