diff options
author | Haru <haru@dotalux.com> | 2016-03-19 22:53:58 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-03-19 22:53:58 +0100 |
commit | 100d5364c2e70ddf3285beac74e5032a894cbd43 (patch) | |
tree | 318c03dbe74a8c92085e4aa63bf8b15cfdfee089 /src/map/status.h | |
parent | 87743b42265d5f35c9ac13118c2185397bf1a75f (diff) | |
parent | f86ca8a192691c39e0726f03f0edd9e48c3a0871 (diff) | |
download | hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.gz hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.bz2 hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.xz hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.zip |
Merge pull request #1106 from dastgir/21-2015QuickFix
Updated Entity Packets
Diffstat (limited to 'src/map/status.h')
-rw-r--r-- | src/map/status.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/map/status.h b/src/map/status.h index fda700387..2b932b149 100644 --- a/src/map/status.h +++ b/src/map/status.h @@ -2219,17 +2219,17 @@ struct status_interface { struct regen_data * (*get_regen_data) (struct block_list *bl); struct status_data * (*get_status_data) (struct block_list *bl); struct status_data * (*get_base_status) (struct block_list *bl); - const char * (*get_name) (struct block_list *bl); - int (*get_class) (struct block_list *bl); - int (*get_lv) (struct block_list *bl); + const char *(*get_name) (const struct block_list *bl); + int (*get_class) (const struct block_list *bl); + int (*get_lv) (const struct block_list *bl); defType (*get_def) (struct block_list *bl); unsigned short (*get_speed) (struct block_list *bl); unsigned char (*calc_attack_element) (struct block_list *bl, struct status_change *sc, int element); - int (*get_party_id) (struct block_list *bl); - int (*get_guild_id) (struct block_list *bl); - int (*get_emblem_id) (struct block_list *bl); - int (*get_mexp) (struct block_list *bl); - int (*get_race2) (struct block_list *bl); + int (*get_party_id) (const struct block_list *bl); + int (*get_guild_id) (const struct block_list *bl); + int (*get_emblem_id) (const struct block_list *bl); + int (*get_mexp) (const struct block_list *bl); + int (*get_race2) (const struct block_list *bl); struct view_data * (*get_viewdata) (struct block_list *bl); void (*set_viewdata) (struct block_list *bl, int class_); void (*change_init) (struct block_list *bl); @@ -2275,8 +2275,8 @@ struct status_interface { void (*initDummyData) (void); int (*base_amotion_pc) (struct map_session_data *sd, struct status_data *st); unsigned short (*base_atk) (const struct block_list *bl, const struct status_data *st); - unsigned int (*get_base_maxhp) (struct map_session_data *sd, struct status_data *st); - unsigned int (*get_base_maxsp) (struct map_session_data *sd, struct status_data *st); + unsigned int (*get_base_maxhp) (const struct map_session_data *sd, const struct status_data *st); + unsigned int (*get_base_maxsp) (const struct map_session_data *sd, const struct status_data *st); int (*calc_npc_) (struct npc_data *nd, enum e_status_calc_opt opt); unsigned short (*calc_str) (struct block_list *bl, struct status_change *sc, int str); unsigned short (*calc_agi) (struct block_list *bl, struct status_change *sc, int agi); |