summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/partyhandler.cpp9
-rw-r--r--src/net/eathena/partyhandler.h3
2 files changed, 12 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
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h
index e80c1ed71..47de4a73a 100644
--- a/src/net/eathena/partyhandler.h
+++ b/src/net/eathena/partyhandler.h
@@ -62,6 +62,9 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void setShareItems(const Net::PartyShare::Type share)
const override final;
+
+ protected:
+ void processPartyInvitationStats(Net::MessageIn &msg);
};
} // namespace EAthena