diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 13:10:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 13:10:31 +0300 |
commit | 5bf9a084a9d188105b919e984a655a5cf08bb497 (patch) | |
tree | abad6bb8f33abcbd9cf40abc8d9afa6a3a51add0 /src/net/eathena/cashshophandler.cpp | |
parent | 63a59b84a097af720138399f4b55ca726b74716e (diff) | |
download | plus-5bf9a084a9d188105b919e984a655a5cf08bb497.tar.gz plus-5bf9a084a9d188105b919e984a655a5cf08bb497.tar.bz2 plus-5bf9a084a9d188105b919e984a655a5cf08bb497.tar.xz plus-5bf9a084a9d188105b919e984a655a5cf08bb497.zip |
eathena: add packet CMSG_NPC_CASH_SHOP_REQUEST_TAB 0x0846.
Diffstat (limited to 'src/net/eathena/cashshophandler.cpp')
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 24751bfe0..e0eaa0dea 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -191,4 +191,10 @@ void CashShopHandler::requestPoints() const createOutPacket(CMSG_NPC_CASH_SHOP_OPEN); } +void CashShopHandler::requestTab(const int tab) const +{ + createOutPacket(CMSG_NPC_CASH_SHOP_REQUEST_TAB); + outMsg.writeInt16(static_cast<int16_t>(tab), "tab"); +} + } // namespace EAthena |