From d6012201991a732b6b47e063a52e201450889c74 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Sep 2014 12:14:08 +0300 Subject: eathena: add packet CMSG_PARTY_ALLOW_INVITES 0x02c8. --- src/net/eathena/partyhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/partyhandler.cpp') diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index ab5d17d47..47260cc2b 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -456,4 +456,10 @@ void PartyHandler::changeLeader(const std::string &name) const outMsg.writeInt32(being->getId()); } +void PartyHandler::allowInvite(const bool allow) const +{ + MessageOut outMsg(CMSG_PARTY_ALLOW_INVITES); + outMsg.writeInt8(allow ? 1 : 0); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2