diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-08 22:52:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-08 22:52:45 +0300 |
commit | 08b9e2ba4a42a87e58465565e373bb01f1a95cdd (patch) | |
tree | 20fb95e9471efa5122ada96591b8817259e5608b /src/net/eathena/beinghandler.cpp | |
parent | 571ff6e1401876cb775b827f6af25e14b1f59c6f (diff) | |
download | plus-08b9e2ba4a42a87e58465565e373bb01f1a95cdd.tar.gz plus-08b9e2ba4a42a87e58465565e373bb01f1a95cdd.tar.bz2 plus-08b9e2ba4a42a87e58465565e373bb01f1a95cdd.tar.xz plus-08b9e2ba4a42a87e58465565e373bb01f1a95cdd.zip |
eathena: add packet CMSG_REQUEST_RANKS 0x097c.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 267ed3f7b..7a45bb346 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -250,6 +250,12 @@ void BeingHandler::undress(Being *const being) const // being->setSprite(SPRITE_WEAPON, 0, "", true); } +void BeingHandler::requestRanks(const Rank::Rank rank) const +{ + MessageOut outMsg(CMSG_REQUEST_RANKS); + outMsg.writeInt16(static_cast<int16_t>(rank), "type"); +} + void BeingHandler::processBeingChangeLook(Net::MessageIn &msg) const { if (!actorManager) |