diff options
author | Haruna <haru@dotalux.com> | 2013-09-18 12:22:58 -0700 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2013-09-18 12:22:58 -0700 |
commit | 3738fc7a61b5379633daa050444a949cf5251c49 (patch) | |
tree | ded408a136db46ad4e6fc8faf5b59cb5d5c86eb0 /src/map/clif.h | |
parent | a2722019a379f83ee5a1b35a1a100400e3e7170e (diff) | |
parent | 6cf032de5d12a33f04e6b3eb5dc4d71c17554ce3 (diff) | |
download | hercules-3738fc7a61b5379633daa050444a949cf5251c49.tar.gz hercules-3738fc7a61b5379633daa050444a949cf5251c49.tar.bz2 hercules-3738fc7a61b5379633daa050444a949cf5251c49.tar.xz hercules-3738fc7a61b5379633daa050444a949cf5251c49.zip |
Merge pull request #137 from Schwierig/RankingListFix
Ranking list fix
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 35e3e75f3..b364765e5 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -339,6 +339,13 @@ typedef enum useskill_fail_cause { // clif_skill_fail USESKILL_FAIL_THERE_ARE_NPC_AROUND = 83, }useskill_fail_cause; +enum rank_type { + RANKTYPE_BLACKSMITH = 0, + RANKTYPE_ALCHEMIST = 1, + RANKTYPE_TAEKWON = 2, + RANKTYPE_PK = 3 //Not supported yet +}; + enum clif_messages { SKILL_CANT_USE_AREA = 0x536, ITEM_CANT_USE_AREA = 0x537, @@ -597,6 +604,9 @@ struct clif_interface { void (*fame_blacksmith) (struct map_session_data *sd, int points); void (*fame_alchemist) (struct map_session_data *sd, int points); void (*fame_taekwon) (struct map_session_data *sd, int points); + void (*ranklist) (struct map_session_data *sd, int16 rankingType); + void (*update_rankingpoint) (struct map_session_data *sd, int16 rankingtype, int point); + void (*parse_ranklist) (int fd,struct map_session_data *sd); void (*hotkeys) (struct map_session_data *sd); int (*insight) (struct block_list *bl,va_list ap); int (*outsight) (struct block_list *bl,va_list ap); |