Crossfire Server, Trunk
QuestLoader Class Reference

#include <QuestLoader.h>

+ Inheritance diagram for QuestLoader:
+ Collaboration diagram for QuestLoader:

Public Member Functions

virtual void load (BufferReader *reader, const std::string &filename) override
 
 QuestLoader (Quests *quests, Faces *faces, AssetsTracker *tracker)
 
virtual bool willLoad (const std::string &filename) override
 
virtual ~QuestLoader ()
 
- Public Member Functions inherited from AssetLoader
virtual ~AssetLoader ()
 

Private Attributes

Facesfaces
 
Questsquests
 
AssetsTrackertracker
 

Detailed Description

Definition at line 24 of file QuestLoader.h.

Constructor & Destructor Documentation

◆ QuestLoader()

QuestLoader::QuestLoader ( Quests quests,
Faces faces,
AssetsTracker tracker 
)

Definition at line 34 of file QuestLoader.cpp.

◆ ~QuestLoader()

virtual QuestLoader::~QuestLoader ( )
inlinevirtual

Definition at line 27 of file QuestLoader.h.

Member Function Documentation

◆ load()

◆ willLoad()

virtual bool QuestLoader::willLoad ( const std::string &  filename)
inlineoverridevirtual

Whether this instance will process or not the specified file.

Parameters
filenamefull file path.
Returns
true if processFile() should be called, false else.

Implements AssetLoader.

Definition at line 29 of file QuestLoader.h.

References Utils::endsWith(), and npc_dialog::filename.

+ Here is the call graph for this function:

Field Documentation

◆ faces

Faces* QuestLoader::faces
private

Definition at line 37 of file QuestLoader.h.

Referenced by load().

◆ quests

Quests* QuestLoader::quests
private

Definition at line 36 of file QuestLoader.h.

Referenced by load().

◆ tracker

AssetsTracker* QuestLoader::tracker
private

Definition at line 38 of file QuestLoader.h.

Referenced by load().


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