Crossfire Server, Trunk  R20513
Data Fields
quest_state Struct Reference

Information about a quest for a player. More...

Collaboration diagram for quest_state:
Collaboration graph

Data Fields

sstring code
 Quest internal code. More...
 
int is_complete
 Whether the quest is complete in the current playthrough. More...
 
struct quest_statenext
 Next quest on the list. More...
 
int sent_to_client
 Whether this state was sent to the client or not. More...
 
int state
 State for the player. More...
 
int was_completed
 Whether the quest was completed once or not, indepandently of the state. More...
 

Detailed Description

Information about a quest for a player.

Definition at line 41 of file quest.c.

Field Documentation

sstring quest_state::code
int quest_state::is_complete

Whether the quest is complete in the current playthrough.

Definition at line 45 of file quest.c.

Referenced by get_quest_by_number(), quest_display(), quest_info(), quest_read_player_data(), and quest_set_state().

struct quest_state* quest_state::next
int quest_state::sent_to_client

Whether this state was sent to the client or not.

Definition at line 46 of file quest.c.

Referenced by quest_send_initial_states(), and quest_set_state().

int quest_state::state
int quest_state::was_completed

Whether the quest was completed once or not, indepandently of the state.

Definition at line 44 of file quest.c.

Referenced by quest_read_player_data(), quest_set_state(), quest_was_completed(), and quest_write_player_data().


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