summaryrefslogtreecommitdiff
path: root/src/map/achievement.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-28 22:36:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-02 21:41:55 +0300
commit0528b1a5f0b3012c2ff91d364c73e9cb4513fd38 (patch)
tree064e7c3696b27f3ceb9690aef458b0f61834b53f /src/map/achievement.h
parent16b4e9a8a2ee0eae30d18bdf30ed0a24d85200bb (diff)
downloadhercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.gz
hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.bz2
hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.tar.xz
hercules-0528b1a5f0b3012c2ff91d364c73e9cb4513fd38.zip
Fix getting achievement reward packets order.
Also split achievement reward function to parts.
Diffstat (limited to 'src/map/achievement.h')
-rw-r--r--src/map/achievement.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/achievement.h b/src/map/achievement.h
index beba120a2..de5eaa060 100644
--- a/src/map/achievement.h
+++ b/src/map/achievement.h
@@ -277,7 +277,9 @@ struct achievement_interface {
/* */
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);
+ bool (*get_rewards) (struct map_session_data *sd, const struct achievement_data *ad);
+ void (*get_rewards_buffs) (struct map_session_data *sd, const struct achievement_data *ad);
+ void (*get_rewards_items) (struct map_session_data *sd, const struct achievement_data *ad);
};
#ifdef HERCULES_CORE