Mana
|
Go to the source code of this file.
Classes | |
class | MapWithDefault< Key, Value, def > |
A map that returns a default value for non-existent keys. More... | |
struct | QuestEffect |
struct | QuestRow |
struct | QuestState |
struct | Quest |
struct | QuestEntry |
Namespaces | |
namespace | QuestDB |
Typedefs | |
using | QuestVars = MapWithDefault< int, int > |
using | QuestEffectMap = MapWithDefault< int, int > |
Enumerations | |
enum class | QuestRowType { Text , Name , Reward , Giver , Coordinates , NPC } |
enum class | QuestChange { None , New , Completed } |
Functions | |
void | QuestDB::init () |
void | QuestDB::readQuestVarNode (XML::Node node, const std::string &filename) |
void | QuestDB::unload () |
bool | QuestDB::hasQuests () |
QuestEffectMap | QuestDB::getActiveEffects (const QuestVars &questVars, const std::string &mapName) |
std::vector< QuestEntry > | QuestDB::getQuestsEntries (const QuestVars &questVars, bool skipCompleted) |
QuestChange | QuestDB::questChange (int varId, int oldValue, int newValue) |
using QuestEffectMap = MapWithDefault<int, int> |
using QuestVars = MapWithDefault<int, int> |
|
strong |
|
strong |