summaryrefslogtreecommitdiff
path: root/src/net/eathena/buysellhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-26 21:48:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-26 21:48:29 +0300
commitd6f607842bb91d2f76b6d677e4e899de50fa27cf (patch)
treee9f16601d04bbc4cca41ba30320baa579dcf52e2 /src/net/eathena/buysellhandler.cpp
parent25dff985b6415335536a2df2e901098ebc3369e3 (diff)
downloadmanaverse-d6f607842bb91d2f76b6d677e4e899de50fa27cf.tar.gz
manaverse-d6f607842bb91d2f76b6d677e4e899de50fa27cf.tar.bz2
manaverse-d6f607842bb91d2f76b6d677e4e899de50fa27cf.tar.xz
manaverse-d6f607842bb91d2f76b6d677e4e899de50fa27cf.zip
eathena: add packet CMSG_NPC_SHOP_CLOSE 0x09d4.
Diffstat (limited to 'src/net/eathena/buysellhandler.cpp')
-rw-r--r--src/net/eathena/buysellhandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/buysellhandler.cpp b/src/net/eathena/buysellhandler.cpp
index 1d1b81788..a810feac7 100644
--- a/src/net/eathena/buysellhandler.cpp
+++ b/src/net/eathena/buysellhandler.cpp
@@ -30,6 +30,7 @@
#include "gui/windows/buydialog.h"
+#include "net/eathena/messageout.h"
#include "net/eathena/protocol.h"
#include "resources/notifytypes.h"
@@ -148,4 +149,9 @@ void BuySellHandler::sendSellRequest(const std::string &nick A_UNUSED,
{
}
+void BuySellHandler::close() const
+{
+ createOutPacket(CMSG_NPC_SHOP_CLOSE);
+}
+
} // namespace EAthena