diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/tradehandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/tradehandler.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp index 1e71d4a43..1d9fabaa0 100644 --- a/src/net/eathena/tradehandler.cpp +++ b/src/net/eathena/tradehandler.cpp @@ -146,4 +146,9 @@ void TradeHandler::cancel() const MessageOut outMsg(CMSG_TRADE_CANCEL_REQUEST); } +void TradeHandler::processTradeRequest(Net::MessageIn &msg) const +{ + processTradeRequestContinue(msg.readString(24, "name")); +} + } // namespace EAthena diff --git a/src/net/eathena/tradehandler.h b/src/net/eathena/tradehandler.h index 16a7669e2..eb50d65c0 100644 --- a/src/net/eathena/tradehandler.h +++ b/src/net/eathena/tradehandler.h @@ -53,6 +53,9 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler void finish() const override final; void cancel() const override final; + + protected: + void processTradeRequest(Net::MessageIn &msg) const; }; } // namespace EAthena |