diff options
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index b64d94b48..87c6a2953 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -23,6 +23,7 @@ struct s_vending; struct party; struct party_data; struct guild; +struct battleground_data; struct quest; #include <stdarg.h> @@ -90,10 +91,17 @@ typedef enum send_target { GUILD_SAMEMAP_WOS, GUILD_AREA, GUILD_AREA_WOS, + GUILD_NOBG, DUEL, DUEL_WOS, CHAT_MAINCHAT, // everyone on main chat SELF, + BG, // BattleGround System + BG_WOS, + BG_SAMEMAP, + BG_SAMEMAP_WOS, + BG_AREA, + BG_AREA_WOS, } send_target; int clif_setip(const char* ip); @@ -330,6 +338,19 @@ int clif_guild_xy(struct map_session_data *sd); int clif_guild_xy_single(int fd, struct map_session_data *sd); int clif_guild_xy_remove(struct map_session_data *sd); +// Battleground +int clif_bg_hp(struct map_session_data *sd); +int clif_bg_xy(struct map_session_data *sd); +int clif_bg_xy_remove(struct map_session_data *sd); +int clif_bg_belonginfo(struct map_session_data *sd); +int clif_bg_guild_id(struct block_list *bl); +int clif_bg_emblem_id(struct block_list *bl); +int clif_bg_emblem(struct map_session_data *sd, struct guild *g); +int clif_bg_memberlist(struct map_session_data *sd); +int clif_bg_leave(struct map_session_data *sd, const char *name, const char *mes); +int clif_bg_leave_single(struct map_session_data *sd, const char *name, const char *mes); +int clif_bg_message(struct battleground_data *bg, int account_id, const char *mes, int len); +int clif_bg_expulsion_single(struct map_session_data *sd, const char *name, const char *mes); // atcommand int clif_displaymessage(const int fd,const char* mes); |