diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-22 02:18:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-22 02:18:52 +0300 |
commit | 4482f516b5bd6677b5eb045bdc624f50a6ac6313 (patch) | |
tree | 0fcd6877861fa4cef51b7e2b435665d685126835 /src/net/tmwa | |
parent | 7787e10673e0b2a379b713ec823c6858e5ec1249 (diff) | |
download | mv-4482f516b5bd6677b5eb045bdc624f50a6ac6313.tar.gz mv-4482f516b5bd6677b5eb045bdc624f50a6ac6313.tar.bz2 mv-4482f516b5bd6677b5eb045bdc624f50a6ac6313.tar.xz mv-4482f516b5bd6677b5eb045bdc624f50a6ac6313.zip |
eathena: add packet CMSG_NPC_MARKET_BUY 0x09d6.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/markethandler.cpp | 6 | ||||
-rw-r--r-- | src/net/tmwa/markethandler.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/net/tmwa/markethandler.cpp b/src/net/tmwa/markethandler.cpp index 5e7a6a9c4..4ac91a5a8 100644 --- a/src/net/tmwa/markethandler.cpp +++ b/src/net/tmwa/markethandler.cpp @@ -51,4 +51,10 @@ void MarketHandler::close() { } +void MarketHandler::buyItem(const int itemId A_UNUSED, + const unsigned char color A_UNUSED, + const int amount A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/markethandler.h b/src/net/tmwa/markethandler.h index d3e1a3101..b9d1a013e 100644 --- a/src/net/tmwa/markethandler.h +++ b/src/net/tmwa/markethandler.h @@ -38,6 +38,11 @@ class MarketHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; void close() override final; + + void buyItem(const int itemId, + const unsigned char color, + const int amount) const override final; + }; } // namespace TmwAthena |