diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:58:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 12:58:59 +0300 |
commit | 63a59b84a097af720138399f4b55ca726b74716e (patch) | |
tree | 6b5e8ece4f41079917f2b2a8aac9413afb74765d /src/net/eathena | |
parent | 5ff2a20caeba3a245458adc890b853caf4944992 (diff) | |
download | plus-63a59b84a097af720138399f4b55ca726b74716e.tar.gz plus-63a59b84a097af720138399f4b55ca726b74716e.tar.bz2 plus-63a59b84a097af720138399f4b55ca726b74716e.tar.xz plus-63a59b84a097af720138399f4b55ca726b74716e.zip |
eathena: add packet CMSG_NPC_CASH_SHOP_OPEN 0x0844.
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 |