diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-08-07 09:26:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-08-07 09:26:17 -0300 |
commit | c53f8a099151f2e8c26c0ab36f35d34256c0d6cb (patch) | |
tree | 0558845f1cb8070f39f9af424c8ffcd930a33b90 /src/map/pc.h | |
parent | f18ad8f29090dd7c95b47922aabfb5e5569c7630 (diff) | |
download | hercules-r12.4+1.tar.gz hercules-r12.4+1.tar.bz2 hercules-r12.4+1.tar.xz hercules-r12.4+1.zip |
This is Hercules v2019.08.25r12.4+1
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 7c89f7f32..8df02a891 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -675,6 +675,7 @@ END_ZEROED_BLOCK; #define pc_iscloaking(sd) ( !((sd)->sc.option&OPTION_CHASEWALK) && ((sd)->sc.option&OPTION_CLOAK) ) #define pc_ischasewalk(sd) ( (sd)->sc.option&OPTION_CHASEWALK ) #define pc_ismuted(sc,type) ( (sc)->data[SC_NOCHAT] && (sc)->data[SC_NOCHAT]->val1&(type) ) +#define pc_isvending(sd) ((sd)->state.vending || (sd)->state.prevend || (sd)->state.buyingstore) #ifdef NEW_CARTS #define pc_iscarton(sd) ( (sd)->sc.data[SC_PUSH_CART] ) @@ -963,7 +964,7 @@ END_ZEROED_BLOCK; /* End */ int (*updateweightstatus) (struct map_session_data *sd); - int (*addautobonus) (struct s_autobonus *bonus,char max,const char *bonus_script,short rate,unsigned int dur,short atk_type,const char *o_script,unsigned short pos,bool onskill); + int (*addautobonus) (struct s_autobonus *bonus,char max,const char *bonus_script,short rate,unsigned int dur,short atk_type,const char *o_script,unsigned int pos,bool onskill); int (*exeautobonus) (struct map_session_data* sd,struct s_autobonus *bonus); int (*endautobonus) (int tid, int64 tick, int id, intptr_t data); int (*delautobonus) (struct map_session_data* sd,struct s_autobonus *bonus,char max,bool restore); @@ -1185,6 +1186,8 @@ END_ZEROED_BLOCK; /* End */ int (*have_magnifier) (struct map_session_data *sd); bool (*process_chat_message) (struct map_session_data *sd, const char *message); + int (*wis_message_to_gm) (const char *sender_name, int permission, const char *message); + int (*wis_message_to_gm_sub) (struct map_session_data *sd, va_list va); void (*check_supernovice_call) (struct map_session_data *sd, const char *message); bool (*check_basicskill) (struct map_session_data *sd, int level); bool (*isDeathPenaltyJob) (uint16 job); |