From 5bf9a084a9d188105b919e984a655a5cf08bb497 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Mar 2015 13:10:31 +0300 Subject: eathena: add packet CMSG_NPC_CASH_SHOP_REQUEST_TAB 0x0846. --- src/net/eathena/cashshophandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/cashshophandler.cpp') 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(tab), "tab"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50