Crossfire Server, Trunk  R20763
quest_state Struct Reference
+ Collaboration diagram for quest_state:

Data Fields

sstring code
 
int is_complete
 
struct quest_statenext
 
int sent_to_client
 
int state
 
int was_completed
 

Detailed Description

Information about a quest for a player.

Definition at line 41 of file quest.c.

Field Documentation

◆ code

◆ is_complete

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().

◆ next

◆ sent_to_client

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().

◆ state

◆ was_completed

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: