diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-31 17:08:27 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-08-31 17:08:27 +0000 |
commit | 36a95ec61ea84943977a663e74729354e0f0e373 (patch) | |
tree | 12e6b217b2a3cec9494362878c62f14a3f924d89 /src/map/map.h | |
parent | 98c389e225bb3d66219dc6f68881126d3eab0208 (diff) | |
download | hercules-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/map.h')
-rw-r--r-- | src/map/map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/map.h b/src/map/map.h index c7a6556c5..5a8c55315 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1140,9 +1140,9 @@ struct chat_data { char title[CHATROOM_TITLE_SIZE]; // room title char pass[CHATROOM_PASS_SIZE]; // password bool pub; // private/public flag - unsigned char users; // current users - unsigned char limit; // join limit - unsigned char trigger; // number of users needed to trigger event + uint8 users; // current user count + uint8 limit; // join limit + uint8 trigger; // number of users needed to trigger event struct map_session_data* usersd[20]; struct block_list* owner; char npc_event[50]; |