diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-09 17:01:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-09 17:01:40 +0300 |
commit | c3762a4826dbe920d0ced389233173454d2f93a4 (patch) | |
tree | de1dca9dfc06a4e2c9d12f28d235aadfa72cc507 /src/net/ea/tradehandler.h | |
parent | 38d50ac6a85f25d5e80eb9024fda5975d9561094 (diff) | |
download | manaplus-c3762a4826dbe920d0ced389233173454d2f93a4.tar.gz manaplus-c3762a4826dbe920d0ced389233173454d2f93a4.tar.bz2 manaplus-c3762a4826dbe920d0ced389233173454d2f93a4.tar.xz manaplus-c3762a4826dbe920d0ced389233173454d2f93a4.zip |
Split processTradeResponse into functions with netcode and without.
Diffstat (limited to 'src/net/ea/tradehandler.h')
-rw-r--r-- | src/net/ea/tradehandler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/tradehandler.h b/src/net/ea/tradehandler.h index f8534d117..585e9f1bd 100644 --- a/src/net/ea/tradehandler.h +++ b/src/net/ea/tradehandler.h @@ -43,6 +43,7 @@ class TradeHandler notfinal : public Net::TradeHandler void removeItem(const int slotNum, const int amount) const override final; + protected: void processTradeResponse(Net::MessageIn &msg) const; static void processTradeItemAddResponse(Net::MessageIn &msg); @@ -54,6 +55,8 @@ class TradeHandler notfinal : public Net::TradeHandler static void processTradeComplete(Net::MessageIn &msg); void processTradeRequestContinue(const std::string &partner) const; + + void processTradeResponseContinue(const uint8_t type) const; }; } // namespace Ea |