summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/tradehandler.cpp23
-rw-r--r--src/net/ea/tradehandler.h2
2 files changed, 0 insertions, 25 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index 5f507a01a..d22a602a6 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -128,29 +128,6 @@ void TradeHandler::processTradeResponse(Net::MessageIn &msg) const
}
}
-void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
-{
- const int amount = msg.readInt32();
- const int type = msg.readInt16();
- const uint8_t identify = msg.readUInt8(); // identified flag
- msg.readUInt8(); // attribute
- const uint8_t refine = msg.readUInt8(); // refine
- msg.skip(8); // card (4 shorts)
-
- if (tradeWindow)
- {
- if (type == 0)
- {
- tradeWindow->setMoney(amount);
- }
- else
- {
- tradeWindow->addItem2(type, false, amount,
- refine, identify, false);
- }
- }
-}
-
void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
{
// Trade: New Item add response (was 0x00ea, now 01b1)
diff --git a/src/net/ea/tradehandler.h b/src/net/ea/tradehandler.h
index cbf19919e..f8534d117 100644
--- a/src/net/ea/tradehandler.h
+++ b/src/net/ea/tradehandler.h
@@ -45,8 +45,6 @@ class TradeHandler notfinal : public Net::TradeHandler
void processTradeResponse(Net::MessageIn &msg) const;
- static void processTradeItemAdd(Net::MessageIn &msg);
-
static void processTradeItemAddResponse(Net::MessageIn &msg);
static void processTradeOk(Net::MessageIn &msg);