summaryrefslogtreecommitdiff
path: root/src/char/int_quest.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-07-01 18:32:57 +0200
committerGitHub <noreply@github.com>2018-07-01 18:32:57 +0200
commit56bed6dba78e3d65f6ff5aeec924b3ba2d06459d (patch)
tree9dea571701ae7879b79d663ad45948ddced6f58a /src/char/int_quest.h
parentb1a1da3ac1b4a6465afe7b773b5f19178cd98ad2 (diff)
parent596428fa49b09ea1a0e0f17670ee127472576f37 (diff)
downloadhercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.gz
hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.bz2
hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.tar.xz
hercules-56bed6dba78e3d65f6ff5aeec924b3ba2d06459d.zip
Merge pull request #2108 from MishimaHaruna/mapifcleanup
Mapif cleanup
Diffstat (limited to 'src/char/int_quest.h')
-rw-r--r--src/char/int_quest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char/int_quest.h b/src/char/int_quest.h
index 6f34645bf..e71afc561 100644
--- a/src/char/int_quest.h
+++ b/src/char/int_quest.h
@@ -28,6 +28,12 @@
**/
struct inter_quest_interface {
int (*parse_frommap) (int fd);
+
+ struct quest *(*fromsql) (int char_id, int *count);
+ bool (*delete) (int char_id, int quest_id);
+ bool (*add) (int char_id, struct quest qd);
+ bool (*update) (int char_id, struct quest qd);
+ bool (*save) (int char_id, const struct quest *new_qd, int new_n);
};
#ifdef HERCULES_CORE