Crossfire Server, Trunk  R20513
Data Fields
quest_definition Struct Reference

Definition of an in-game quest. More...

Collaboration diagram for quest_definition:
Collaboration graph

Data Fields

uint32_t client_code
 The code used to communicate with the client, merely a unique index. More...
 
int face
 Face associated with this quest. More...
 
struct quest_definitionnext
 Next quest in the definition list. More...
 
struct quest_definitionparent
 Parent for this quest, NULL if it is a 'top-level' quest. More...
 
sstring quest_code
 Quest internal code. More...
 
sstring quest_description
 Quest longer description. More...
 
int quest_restart
 If non zero, can be restarted. More...
 
sstring quest_title
 Quest title for player. More...
 
quest_step_definitionsteps
 Quest steps. More...
 

Detailed Description

Definition of an in-game quest.

Definition at line 80 of file quest.c.

Field Documentation

uint32_t quest_definition::client_code

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

Definition at line 86 of file quest.c.

Referenced by load_quests_from_file(), quest_send_initial_states(), and quest_set_state().

int quest_definition::face

Face associated with this quest.

Definition at line 85 of file quest.c.

Referenced by load_quests_from_file(), quest_send_initial_states(), and quest_set_state().

struct quest_definition* quest_definition::next

Next quest in the definition list.

Definition at line 89 of file quest.c.

Referenced by clean_tmp_files(), free_quest_definitions(), load_quests_from_file(), output_quests(), quest_get_by_code(), and update_quests().

struct quest_definition* quest_definition::parent

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

Definition at line 88 of file quest.c.

Referenced by get_quest_by_number(), load_quests_from_file(), output_quests(), quest_display(), quest_info(), quest_send_initial_states(), and quest_set_state().

sstring quest_definition::quest_code
sstring quest_definition::quest_description

Quest longer description.

Definition at line 83 of file quest.c.

Referenced by free_quest_definitions(), load_quests_from_file(), and quest_info().

int quest_definition::quest_restart

If non zero, can be restarted.

Definition at line 84 of file quest.c.

Referenced by load_quests_from_file(), output_quests(), quest_get_player_state(), quest_info(), quest_send_initial_states(), and quest_set_state().

sstring quest_definition::quest_title
quest_step_definition* quest_definition::steps

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