diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 20:40:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 20:40:12 +0300 |
commit | 4b0e8e066ae5314bf8efd56f200b5aea338e24bc (patch) | |
tree | 9c51992750d1780412aac6108b4cda7ad4f3e9ed /src/net/eathena/partyhandler.cpp | |
parent | b4c6638393353d89a3b1efb6298324be595c4e77 (diff) | |
download | manaverse-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.gz manaverse-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.bz2 manaverse-4b0e8e066ae5314bf8efd56f200b5aea338e24bc.tar.xz manaverse-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.cpp | 8 |
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 |