summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 20:40:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 20:40:12 +0300
commit4b0e8e066ae5314bf8efd56f200b5aea338e24bc (patch)
tree9c51992750d1780412aac6108b4cda7ad4f3e9ed /src/net/eathena/partyhandler.cpp
parentb4c6638393353d89a3b1efb6298324be595c4e77 (diff)
downloadplus-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.gz
plus-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.bz2
plus-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.xz
plus-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.zip
eathena: add packet CMSG_PARTY_CHANGE_LEADER 0x07da.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index baaa1fffe..4ea0e83ea 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -445,4 +445,12 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const
}
}
+void PartyHandler::changeLeader(const Being *const being) const
+{
+ if (!being)
+ return;
+ MessageOut outMsg(CMSG_PARTY_CHANGE_LEADER);
+ outMsg.writeInt32(being->getId());
+}
+
} // namespace EAthena