diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 13:17:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 13:17:32 +0300 |
commit | 5b1359f867190b46f3107f4e3ba85d484e14c130 (patch) | |
tree | 7f932747a6149dc69d32808b4b196a03fd82e94d /src/net/eathena | |
parent | 5bf9a084a9d188105b919e984a655a5cf08bb497 (diff) | |
download | plus-5b1359f867190b46f3107f4e3ba85d484e14c130.tar.gz plus-5b1359f867190b46f3107f4e3ba85d484e14c130.tar.bz2 plus-5b1359f867190b46f3107f4e3ba85d484e14c130.tar.xz plus-5b1359f867190b46f3107f4e3ba85d484e14c130.zip |
eathena: add packet CMSG_NPC_CASH_SHOP_SCHEDULE 0x08c9.
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 e0eaa0dea..3ddbe9444 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -197,4 +197,9 @@ void CashShopHandler::requestTab(const int tab) const outMsg.writeInt16(static_cast<int16_t>(tab), "tab"); } +void CashShopHandler::schedule() const +{ + createOutPacket(CMSG_NPC_CASH_SHOP_SCHEDULE); +} + } // namespace EAthena diff --git a/src/net/eathena/cashshophandler.h b/src/net/eathena/cashshophandler.h index dcd410e0f..cc8859a89 100644 --- a/src/net/eathena/cashshophandler.h +++ b/src/net/eathena/cashshophandler.h @@ -52,6 +52,8 @@ class CashShopHandler final : public MessageHandler, void requestTab(const int tab) const override final; + void schedule() 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 152acc891..cb4bcc401 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -540,6 +540,7 @@ #define CMSG_NPC_CASH_SHOP_CLOSE 0x084a #define CMSG_NPC_CASH_SHOP_OPEN 0x0844 #define CMSG_NPC_CASH_SHOP_REQUEST_TAB 0x0846 +#define CMSG_NPC_CASH_SHOP_SCHEDULE 0x08c9 #define CMSG_TRADE_REQUEST 0x00e4 #define CMSG_TRADE_RESPONSE 0x00e6 |