summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/tradehandler.cpp')
-rw-r--r--src/net/eathena/tradehandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index 0e893caf9..f73584deb 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -46,6 +46,7 @@ TradeHandler::TradeHandler() :
{
SMSG_TRADE_REQUEST,
SMSG_TRADE_RESPONSE,
+ SMSG_TRADE_RESPONSE2,
SMSG_TRADE_ITEM_ADD,
SMSG_TRADE_ITEM_ADD_RESPONSE,
SMSG_TRADE_OK,
@@ -70,6 +71,10 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
processTradeResponse(msg);
break;
+ case SMSG_TRADE_RESPONSE2:
+ processTradeResponse2(msg);
+ break;
+
case SMSG_TRADE_ITEM_ADD:
processTradeItemAdd(msg);
break;
@@ -154,4 +159,11 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) const
processTradeRequestContinue(partner);
}
+void TradeHandler::processTradeResponse2(Net::MessageIn &msg) const
+{
+ msg.readUInt8("type");
+ msg.readInt32("char id");
+ msg.readInt16("base level");
+}
+
} // namespace EAthena