summaryrefslogtreecommitdiff
path: root/src/map/chat.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-31 17:08:27 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-31 17:08:27 +0000
commit36a95ec61ea84943977a663e74729354e0f0e373 (patch)
tree12e6b217b2a3cec9494362878c62f14a3f924d89 /src/map/chat.h
parent98c389e225bb3d66219dc6f68881126d3eab0208 (diff)
downloadhercules-36a95ec61ea84943977a663e74729354e0f0e373.tar.gz
hercules-36a95ec61ea84943977a663e74729354e0f0e373.tar.bz2
hercules-36a95ec61ea84943977a663e74729354e0f0e373.tar.xz
hercules-36a95ec61ea84943977a663e74729354e0f0e373.zip
* Documented/cleaned up chatroom code and packetry
* Added some comments to clif_changechatowner() - totally broken, see the code + topic:163829 * Implemented the chatroom display packet properly - now has 4 types: public, private, npc and non-clickable npc chatroom * Implemented the chatroom leave packet properly - now utilizes the 'kicked' flag when the user was forced to leave - TODO: banlist support to prevent re-entry, see jAthena code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11100 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chat.h')
-rw-r--r--src/map/chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chat.h b/src/map/chat.h
index aac356584..d7bfb3f50 100644
--- a/src/map/chat.h
+++ b/src/map/chat.h
@@ -10,7 +10,7 @@ struct chat_data;
int chat_createpcchat(struct map_session_data* sd, const char* title, const char* pass, int limit, bool pub);
int chat_joinchat(struct map_session_data* sd, int chatid, const char* pass);
-int chat_leavechat(struct map_session_data* sd);
+int chat_leavechat(struct map_session_data* sd, bool kicked);
int chat_changechatowner(struct map_session_data* sd, const char* nextownername);
int chat_changechatstatus(struct map_session_data* sd, const char* title, const char* pass, int limit, bool pub);
int chat_kickchat(struct map_session_data* sd, const char* kickusername);