diff options
author | Haru <haru@dotalux.com> | 2018-07-28 03:21:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-28 03:21:42 +0200 |
commit | 621611e6e90af0c5551b4daca75ba1267d8e8478 (patch) | |
tree | 92ca087267778474df4c3589e22ec801f4c34622 /src/map/clif.h | |
parent | 164e79976b926da35612ce28cf84ebd9c2ac3d3e (diff) | |
parent | 7f5b041efd88bae052c98e1bd1c5e28676c73272 (diff) | |
download | hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.gz hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.bz2 hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.tar.xz hercules-621611e6e90af0c5551b4daca75ba1267d8e8478.zip |
Merge pull request #2067 from dastgirp/1-achievement
Implemented Achievement System and Title System
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 0077566b5..8cff8a21e 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -54,6 +54,7 @@ struct skill_cd; struct skill_unit; struct unit_data; struct view_data; +struct achievement_data; // map/achievement.h enum clif_messages; enum rodex_add_item; @@ -1197,6 +1198,13 @@ struct clif_interface { bool (*isdisguised) (struct block_list* bl); void (*navigate_to) (struct map_session_data *sd, const char* mapname, uint16 x, uint16 y, uint8 flag, bool hideWindow, uint16 mob_id); unsigned char (*bl_type) (struct block_list *bl); + /* Achievement System */ + void (*achievement_send_list) (int fd, struct map_session_data *sd); + void (*achievement_send_update) (int fd, struct map_session_data *sd, const struct achievement_data *ad); + void (*pAchievementGetReward) (int fd, struct map_session_data *sd); + void (*achievement_reward_ack) (int fd, struct map_session_data *sd, const struct achievement_data *ad); + void (*change_title_ack) (int fd, struct map_session_data *sd, int title_id); + void (*pChangeTitle) (int fd, struct map_session_data *sd); /*------------------------ *- Parse Incoming Packet *------------------------*/ |