diff options
Diffstat (limited to 'src/map/chat.h')
-rw-r--r-- | src/map/chat.h | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/map/chat.h b/src/map/chat.h index db7b21b15..e6a0c819e 100644 --- a/src/map/chat.h +++ b/src/map/chat.h @@ -4,19 +4,21 @@ #ifndef _CHAT_H_ #define _CHAT_H_ -#include "map.h" +//#include "map.h" +struct map_session_data; +struct chat_data; -int chat_createchat(struct map_session_data *,int,int,char*,char*,int); -int chat_joinchat(struct map_session_data *,int,char*); -int chat_leavechat(struct map_session_data* ); -int chat_changechatowner(struct map_session_data *,char *); -int chat_changechatstatus(struct map_session_data *,int,int,char*,char*,int); -int chat_kickchat(struct map_session_data *,char *); +int chat_createchat(struct map_session_data* sd, int limit, bool pub, char* pass, char* title, int titlelen); +int chat_joinchat(struct map_session_data* sd, int chatid, char* pass); +int chat_leavechat(struct map_session_data* sd); +int chat_changechatowner(struct map_session_data* sd, char* nextownername); +int chat_changechatstatus(struct map_session_data* sd, char* title, char* pass, int limit, bool pub); +int chat_kickchat(struct map_session_data* sd, char* kickusername); -int chat_createnpcchat(struct npc_data *nd,int limit,int pub,int trigger,const char* title,int titlelen,const char *ev); -int chat_deletenpcchat(struct npc_data *nd); -int chat_enableevent(struct chat_data *cd); -int chat_disableevent(struct chat_data *cd); -int chat_npckickall(struct chat_data *cd); +int chat_createnpcchat(struct npc_data* nd, int limit, bool pub, int trigger, const char* title, const char* ev); +int chat_deletenpcchat(struct npc_data* nd); +int chat_enableevent(struct chat_data* cd); +int chat_disableevent(struct chat_data* cd); +int chat_npckickall(struct chat_data* cd); #endif /* _CHAT_H_ */ |