Crossfire Server, Trunk
|
#include <quest.h>
Data Fields | |
uint32_t | client_code = 0 |
const Face * | face = nullptr |
struct quest_definition * | parent = nullptr |
sstring | quest_code = nullptr |
sstring | quest_comment = nullptr |
sstring | quest_description = nullptr |
bool | quest_is_system = false |
int | quest_restart = 0 |
sstring | quest_title = nullptr |
std::vector< quest_step_definition * > | steps |
uint32_t quest_definition::client_code = 0 |
const Face* quest_definition::face = nullptr |
Face associated with this quest.
Definition at line 43 of file quest.h.
Referenced by QuestWrapper::displayIcon(), QuestWrapper::face(), QuestWrapper::setFace(), and QuestWrapper::uses().
struct quest_definition* quest_definition::parent = nullptr |
Parent for this quest, NULL if it is a 'top-level' quest
Definition at line 47 of file quest.h.
Referenced by get_quest_by_number(), quest_info(), QuestWrapper::questParent(), and QuestWrapper::setQuestParent().
sstring quest_definition::quest_code = nullptr |
Quest internal code.
Definition at line 38 of file quest.h.
Referenced by QuestsWrapper::addQuest(), and QuestWrapper::code().
sstring quest_definition::quest_comment = nullptr |
Quest comment, not visible to players.
Definition at line 41 of file quest.h.
Referenced by QuestWrapper::comment(), and QuestWrapper::setComment().
sstring quest_definition::quest_description = nullptr |
Quest longer description.
Definition at line 40 of file quest.h.
Referenced by QuestWrapper::description(), and QuestWrapper::setDescription().
bool quest_definition::quest_is_system = false |
If set then the quest isn't counted or listed.
Definition at line 45 of file quest.h.
Referenced by QuestWrapper::isSystem(), Quests::replace(), and QuestWrapper::setSystem().
int quest_definition::quest_restart = 0 |
If non zero, can be restarted.
Definition at line 42 of file quest.h.
Referenced by QuestWrapper::canRestart(), and QuestWrapper::setRestart().
sstring quest_definition::quest_title = nullptr |
Quest title for player.
Definition at line 39 of file quest.h.
Referenced by QuestsWrapper::addQuest(), QuestWrapper::displayName(), QuestWrapper::setTitle(), and QuestWrapper::title().
std::vector<quest_step_definition *> quest_definition::steps |
Quest steps.
Definition at line 46 of file quest.h.
Referenced by QuestWrapper::addStep(), QuestWrapper::child(), QuestWrapper::childIndex(), QuestWrapper::childrenCount(), QuestWrapper::drop(), and QuestWrapper::removeChild().