 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
13 #ifndef MESSAGELOADER_H
14 #define MESSAGELOADER_H
26 virtual bool willLoad(
const std::string &filename)
override {
30 virtual void load(
BufferReader *reader,
const std::string &filename)
override;
AssetsTracker * m_tracker
MessageLoader(Messages *messages, AssetsTracker *tracker)
Abstract buffer handler, processing a BufferReader.
Base class to be informed of where an asset is defined.
virtual bool willLoad(const std::string &filename) override
Whether this instance will process or not the specified file.
virtual void load(BufferReader *reader, const std::string &filename) override
Load assets from the specified reader.
static bool endsWith(const char *const str, const char *const with)
Checks if a string ends with another one.