summaryrefslogblamecommitdiff
path: root/src/map/quest.h
blob: 269c58bee4d423f63fcfad7600bc9ab452935cc8 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                             
 
                                              

                                                          
                                            

                                                             



                                                                                                       
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef _QUEST_H_
#define _QUEST_H_

int quest_pc_login(TBL_PC * sd);
int quest_load_info(TBL_PC * sd, struct mmo_charstatus * st);
int quest_make_savedata(TBL_PC * sd);

int quest_add(TBL_PC * sd, struct quest * qd);
int quest_add_ack(int char_id, int quest_id, int success);

int quest_delete(TBL_PC * sd, int quest_id);
int quest_delete_ack(int char_id, int quest_id, int success);

int quest_update_objective(TBL_PC * sd, int quest_id, int objective_num, const char * name, int count);
int quest_update_status(TBL_PC * sd, int quest_id, bool status);

#endif