summaryrefslogtreecommitdiff
path: root/src/net/eathena/markethandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-22 00:26:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-22 00:26:41 +0300
commit7787e10673e0b2a379b713ec823c6858e5ec1249 (patch)
tree16ff087a563df6d09f7862b145b92b2818154d15 /src/net/eathena/markethandler.cpp
parent8a85cb2bc295ad0ec9e275782b7392c2f99ba134 (diff)
downloadmanaverse-7787e10673e0b2a379b713ec823c6858e5ec1249.tar.gz
manaverse-7787e10673e0b2a379b713ec823c6858e5ec1249.tar.bz2
manaverse-7787e10673e0b2a379b713ec823c6858e5ec1249.tar.xz
manaverse-7787e10673e0b2a379b713ec823c6858e5ec1249.zip
eathena: add packet CMSG_NPC_MARKET_CLOSE 0x09d8.
Diffstat (limited to 'src/net/eathena/markethandler.cpp')
-rw-r--r--src/net/eathena/markethandler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/markethandler.cpp b/src/net/eathena/markethandler.cpp
index 3bbe678b7..915b850fd 100644
--- a/src/net/eathena/markethandler.cpp
+++ b/src/net/eathena/markethandler.cpp
@@ -20,6 +20,7 @@
#include "net/eathena/markethandler.h"
+#include "net/eathena/messageout.h"
#include "net/eathena/protocol.h"
#include "debug.h"
@@ -67,4 +68,9 @@ void MarketHandler::processMarketOpen(Net::MessageIn &msg)
}
}
+void MarketHandler::close()
+{
+ createOutPacket(CMSG_NPC_MARKET_CLOSE);
+}
+
} // namespace EAthena