summaryrefslogtreecommitdiff
path: root/src/map/achievement.h
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2018-06-03 17:14:54 +0530
committerAsheraf <acheraf1998@gmail.com>2018-07-24 21:41:28 +0100
commit7f5b041efd88bae052c98e1bd1c5e28676c73272 (patch)
treed57e33db4aa0022958f0d10a452fe3d3504717f1 /src/map/achievement.h
parent19aa33a5f61f0996d76d19db7dbe9d81f5daa090 (diff)
downloadhercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.gz
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.bz2
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.tar.xz
hercules-7f5b041efd88bae052c98e1bd1c5e28676c73272.zip
Implemented Title System.
Diffstat (limited to 'src/map/achievement.h')
-rw-r--r--src/map/achievement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/achievement.h b/src/map/achievement.h
index f875f3a62..beba120a2 100644
--- a/src/map/achievement.h
+++ b/src/map/achievement.h
@@ -274,6 +274,10 @@ struct achievement_interface {
void (*validate_achievement_rank) (struct map_session_data *sd, int rank);
/* */
bool (*type_requires_criteria) (enum achievement_types type);
+ /* */
+ void (*init_titles) (struct map_session_data *sd);
+ bool (*check_title) (struct map_session_data *sd, int title_id);
+ void (*get_rewards) (struct map_session_data *sd, const struct achievement_data *ad);
};
#ifdef HERCULES_CORE