summaryrefslogtreecommitdiff
path: root/src/char/int_quest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/int_quest.h')
-rw-r--r--src/char/int_quest.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/char/int_quest.h b/src/char/int_quest.h
index 8d5cd5807..a5fb4805b 100644
--- a/src/char/int_quest.h
+++ b/src/char/int_quest.h
@@ -2,8 +2,8 @@
* This file is part of Hercules.
* http://herc.ws - http://github.com/HerculesWS/Hercules
*
- * Copyright (C) 2012-2015 Hercules Dev Team
- * Copyright (C) Athena Dev Teams
+ * Copyright (C) 2012-2020 Hercules Dev Team
+ * Copyright (C) Athena Dev Teams
*
* Hercules is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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