![]() |
Crossfire Server, Trunk
1.75.0
|
Information about a quest for a player. More...
Data Fields | |
sstring | code |
Quest internal code. More... | |
int | is_complete |
Whether the quest is complete in the current playthrough. More... | |
quest_state * | next |
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... | |
sstring quest_state::code |
Quest internal code.
Definition at line 49 of file quest.cpp.
Referenced by command_quest(), free_state(), get_or_create_state(), get_quest_by_number(), get_state(), quest_display(), quest_info(), quest_read_player_data(), quest_send_initial_states(), and quest_write_player_data().
int quest_state::is_complete |
Whether the quest is complete in the current playthrough.
Definition at line 52 of file quest.cpp.
Referenced by get_quest_by_number(), quest_display(), quest_info(), quest_read_player_data(), and quest_set_state().
quest_state* quest_state::next |
Next quest on the list.
Definition at line 54 of file quest.cpp.
Referenced by command_quest(), free_state(), get_or_create_state(), get_quest_by_number(), get_state(), quest_display(), quest_info(), quest_read_player_data(), quest_send_initial_states(), and quest_write_player_data().
int quest_state::sent_to_client |
Whether this state was sent to the client or not.
Definition at line 53 of file quest.cpp.
Referenced by quest_send_initial_states(), and quest_set_state().
int quest_state::state |
State for the player.
Definition at line 50 of file quest.cpp.
Referenced by get_quest_by_number(), quest_display(), quest_get_player_state(), quest_info(), quest_read_player_data(), quest_send_initial_states(), quest_set_state(), quest_start(), and quest_write_player_data().
int quest_state::was_completed |
Whether the quest was completed once or not, indepandently of the state.
Definition at line 51 of file quest.cpp.
Referenced by quest_read_player_data(), quest_set_state(), quest_was_completed(), and quest_write_player_data().