diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/cashshophandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index fcdf84ca9..24751bfe0 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -186,4 +186,9 @@ void CashShopHandler::close() const createOutPacket(CMSG_NPC_CASH_SHOP_CLOSE); } +void CashShopHandler::requestPoints() const +{ + createOutPacket(CMSG_NPC_CASH_SHOP_OPEN); +} + } // namespace EAthena diff --git a/src/net/eathena/cashshophandler.h b/src/net/eathena/cashshophandler.h index dc6980ec7..e25599028 100644 --- a/src/net/eathena/cashshophandler.h +++ b/src/net/eathena/cashshophandler.h @@ -48,6 +48,8 @@ class CashShopHandler final : public MessageHandler, void close() const override final; + void requestPoints() const override final; + protected: static void processCashShopOpen(Net::MessageIn &msg); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 5cea63669..1d8c1648a 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -538,6 +538,7 @@ #define CMSG_NPC_MARKET_BUY 0x09d6 #define CMSG_NPC_CASH_SHOP_BUY 0x0288 #define CMSG_NPC_CASH_SHOP_CLOSE 0x084a +#define CMSG_NPC_CASH_SHOP_OPEN 0x0844 #define CMSG_TRADE_REQUEST 0x00e4 #define CMSG_TRADE_RESPONSE 0x00e6 |