summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-02 00:37:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:55 +0300
commitb0de595b642a359fabd0824372c89b51fc3968d5 (patch)
treeb27b2004a03803e63156a5160a736b64fabebd32 /src/net/eathena/partyhandler.cpp
parente06b40ddbe807020221c2af3b3cf5b305aa6a5eb (diff)
downloadmanaplus-b0de595b642a359fabd0824372c89b51fc3968d5.tar.gz
manaplus-b0de595b642a359fabd0824372c89b51fc3968d5.tar.bz2
manaplus-b0de595b642a359fabd0824372c89b51fc3968d5.tar.xz
manaplus-b0de595b642a359fabd0824372c89b51fc3968d5.zip
eathena: impliment packet SMSG_PARTY_INVITATION_STATS 0x02c9.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index 2c4fa63e4..e2256f5eb 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -55,6 +55,7 @@ PartyHandler::PartyHandler() :
SMSG_PARTY_UPDATE_HP,
SMSG_PARTY_UPDATE_COORDS,
SMSG_PARTY_MESSAGE,
+ SMSG_PARTY_INVITATION_STATS,
0
};
handledMessages = _messages;
@@ -99,6 +100,9 @@ void PartyHandler::handleMessage(Net::MessageIn &msg)
case SMSG_PARTY_MESSAGE:
processPartyMessage(msg);
break;
+ case SMSG_PARTY_INVITATION_STATS:
+ processPartyInvitationStats(msg);
+ break;
default:
break;
@@ -204,4 +208,9 @@ void PartyHandler::setShareItems(const Net::PartyShare::Type share) const
outMsg.writeInt16(static_cast<int16_t>(share));
}
+void PartyHandler::processPartyInvitationStats(Net::MessageIn &msg)
+{
+ msg.readUInt8("allow party");
+}
+
} // namespace EAthena