summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
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