Crossfire Server, Trunk
quest_step_definition Struct Reference

#include <quest.h>

+ Collaboration diagram for quest_step_definition:

Data Fields

quest_conditionconditions
 
int is_completion_step:1
 
struct quest_step_definitionnext
 
int step
 
sstring step_description
 

Detailed Description

One step of a quest.

Definition at line 33 of file quest.h.

Field Documentation

◆ conditions

quest_condition* quest_step_definition::conditions

The conditions that must be satisfied to trigger the step

Definition at line 38 of file quest.h.

Referenced by check_steps(), do_update(), QuestLoader::load(), and quest_destroy_step().

◆ is_completion_step

int quest_step_definition::is_completion_step

Whether this step completes the quest (1) or not (0)

Definition at line 36 of file quest.h.

Referenced by check_steps(), fill_json(), generate_step(), QuestLoader::load(), quest_read_player_data(), quest_send_initial_states(), and quest_set_state().

◆ next

◆ step

int quest_step_definition::step

Step identifier.

Definition at line 34 of file quest.h.

Referenced by CREQuestItemModel::addStep(), check_steps(), do_update(), QuestLoader::load(), quest_get_step(), and quest_info().

◆ step_description

sstring quest_step_definition::step_description

Step description to show player.

Definition at line 35 of file quest.h.

Referenced by check_steps(), fill_json(), QuestLoader::load(), quest_destroy_step(), quest_info(), quest_send_initial_states(), and quest_set_state().


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