summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2011-06-19 23:00:58 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2011-06-19 23:00:58 +0200
commitbb7033e0247ab1d3a526a5d68f9c482f6ff01ba7 (patch)
tree236c0a9b8c57952f854b2156e9b88c0a6a71d913 /src/common
parent5d3104147fd5c3392751b3c3e5cd9644a83335a7 (diff)
downloadmanaserv-bb7033e0247ab1d3a526a5d68f9c482f6ff01ba7.tar.gz
manaserv-bb7033e0247ab1d3a526a5d68f9c482f6ff01ba7.tar.bz2
manaserv-bb7033e0247ab1d3a526a5d68f9c482f6ff01ba7.tar.xz
manaserv-bb7033e0247ab1d3a526a5d68f9c482f6ff01ba7.zip
Making party invite functional
* An invite expires after 60 seconds. * For protection of the server memory each player can invite a maximum of 10 characters within the 60 second timeframe. Reviewed-by: Bjorn
Diffstat (limited to 'src/common')
-rw-r--r--src/common/manaserv_protocol.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h
index daccd666..df7efd18 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -189,15 +189,13 @@ enum {
PGMSG_PARTY_INVITE = 0x03A0, // S name
GPMSG_PARTY_INVITE_ERROR = 0x03A1, // S name
GCMSG_PARTY_INVITE = 0x03A2, // S inviter, S invitee
- CPMSG_PARTY_INVITE_RESPONSE = 0x03A3, // B error, S name
CPMSG_PARTY_INVITED = 0x03A4, // S name
- PCMSG_PARTY_ACCEPT_INVITE = 0x03A5, // S name
- CPMSG_PARTY_ACCEPT_INVITE_RESPONSE = 0x03A6, // B error, { S name }
- PCMSG_PARTY_REJECT_INVITE = 0x03A7, // S name
- CPMSG_PARTY_REJECTED = 0x03A8, // S name
+ PCMSG_PARTY_INVITE_ANSWER = 0x03A5, // S name, B accept
+ CPMSG_PARTY_INVITE_ANSWER_RESPONSE = 0x03A6, // B error, { S name }
+ CPMSG_PARTY_REJECTED = 0x03A8, // S name, B error
PCMSG_PARTY_QUIT = 0x03AA, // -
CPMSG_PARTY_QUIT_RESPONSE = 0x03AB, // B error
- CPMSG_PARTY_NEW_MEMBER = 0x03B0, // D character id, S name
+ CPMSG_PARTY_NEW_MEMBER = 0x03B0, // S name, S inviter
CPMSG_PARTY_MEMBER_LEFT = 0x03B1, // D character id
// Chat