summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-04 17:46:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commit66c15abcf5af44cde75372a8089ac664f9308794 (patch)
tree928b58569bbcb5656ddce458d48bff14669051ae /src/net/tmwa/tradehandler.cpp
parente9cc6c1f66ef9fceafa1787616c981f656502bf0 (diff)
downloadmv-66c15abcf5af44cde75372a8089ac664f9308794.tar.gz
mv-66c15abcf5af44cde75372a8089ac664f9308794.tar.bz2
mv-66c15abcf5af44cde75372a8089ac664f9308794.tar.xz
mv-66c15abcf5af44cde75372a8089ac664f9308794.zip
Move processTradeRequest from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 0cc768c5a..0a67a9202 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -148,4 +148,9 @@ void TradeHandler::cancel() const
MessageOut outMsg(CMSG_TRADE_CANCEL_REQUEST);
}
+void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
+{
+ processTradeRequestContinue(msg.readString(24, "name"));
+}
+
} // namespace TmwAthena