summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 12:14:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 12:14:08 +0300
commitd6012201991a732b6b47e063a52e201450889c74 (patch)
treebd694b2fdd652bd276b9bea06a92884d129e3fd3 /src/net/eathena/partyhandler.cpp
parent3ff2ba0b4a6bf7e0f693d0d72ca5360767d3cc2c (diff)
downloadmv-d6012201991a732b6b47e063a52e201450889c74.tar.gz
mv-d6012201991a732b6b47e063a52e201450889c74.tar.bz2
mv-d6012201991a732b6b47e063a52e201450889c74.tar.xz
mv-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.cpp6
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