diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 12:14:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 12:14:08 +0300 |
commit | d6012201991a732b6b47e063a52e201450889c74 (patch) | |
tree | bd694b2fdd652bd276b9bea06a92884d129e3fd3 /src/net/eathena/partyhandler.cpp | |
parent | 3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c (diff) | |
download | ManaVerse-d6012201991a732b6b47e063a52e201450889c74.tar.gz ManaVerse-d6012201991a732b6b47e063a52e201450889c74.tar.bz2 ManaVerse-d6012201991a732b6b47e063a52e201450889c74.tar.xz ManaVerse-d6012201991a732b6b47e063a52e201450889c74.zip |
eathena: add packet CMSG_PARTY_ALLOW_INVITES 0x02c8.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |