Crossfire Server, Trunk
quest_definition Struct Reference

#include <quest.h>

+ Collaboration diagram for quest_definition:

Data Fields

uint32_t client_code
 
const Faceface
 
struct quest_definitionparent
 
sstring quest_code
 
sstring quest_comment
 
sstring quest_description
 
bool quest_is_system
 
int quest_restart
 
sstring quest_title
 
quest_step_definitionsteps
 

Detailed Description

Definition of an in-game quest.

Definition at line 42 of file quest.h.

Field Documentation

◆ client_code

uint32_t quest_definition::client_code

The code used to communicate with the client, merely a unique index.

Definition at line 49 of file quest.h.

◆ face

const Face* quest_definition::face

Face associated with this quest.

Definition at line 48 of file quest.h.

Referenced by CREQuestPanel::commitData(), QuestWrapper::displayIcon(), and QuestWrapper::uses().

◆ parent

struct quest_definition* quest_definition::parent

Parent for this quest, NULL if it is a 'top-level' quest

Definition at line 52 of file quest.h.

Referenced by CREQuestPanel::commitData(), get_quest_by_number(), and quest_info().

◆ quest_code

sstring quest_definition::quest_code

Quest internal code.

Definition at line 43 of file quest.h.

Referenced by CREQuestPanel::commitData().

◆ quest_comment

sstring quest_definition::quest_comment

Quest comment, not visible to players.

Definition at line 46 of file quest.h.

Referenced by CREQuestPanel::commitData().

◆ quest_description

sstring quest_definition::quest_description

Quest longer description.

Definition at line 45 of file quest.h.

Referenced by CREQuestPanel::commitData().

◆ quest_is_system

bool quest_definition::quest_is_system

If set then the quest isn't counted or listed.

Definition at line 50 of file quest.h.

Referenced by CREQuestPanel::commitData(), and Quests::replace().

◆ quest_restart

int quest_definition::quest_restart

If non zero, can be restarted.

Definition at line 47 of file quest.h.

Referenced by CREQuestPanel::commitData().

◆ quest_title

sstring quest_definition::quest_title

Quest title for player.

Definition at line 44 of file quest.h.

Referenced by CREQuestPanel::commitData(), and QuestWrapper::displayName().

◆ steps


The documentation for this struct was generated from the following file: