summaryrefslogtreecommitdiff
path: root/src/net/eathena/tradehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-11 01:09:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-11 01:09:29 +0300
commit9ce9d5563195bf9d7d22356252f38bc95b247527 (patch)
tree984014cbb799fefaa62d3e8f8c7820ed2b6407c1 /src/net/eathena/tradehandler.h
parentfc199c3ae60d4c4cf76236c7f4891113daa3cbc4 (diff)
downloadmanaverse-9ce9d5563195bf9d7d22356252f38bc95b247527.tar.gz
manaverse-9ce9d5563195bf9d7d22356252f38bc95b247527.tar.bz2
manaverse-9ce9d5563195bf9d7d22356252f38bc95b247527.tar.xz
manaverse-9ce9d5563195bf9d7d22356252f38bc95b247527.zip
imporve tradehandler class.
Diffstat (limited to 'src/net/eathena/tradehandler.h')
-rw-r--r--src/net/eathena/tradehandler.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/eathena/tradehandler.h b/src/net/eathena/tradehandler.h
index 0cd826ca2..290a0fd92 100644
--- a/src/net/eathena/tradehandler.h
+++ b/src/net/eathena/tradehandler.h
@@ -40,21 +40,21 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler
A_DELETE_COPY(TradeHandler)
- void handleMessage(Net::MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg) override;
- void request(const Being *const being);
+ void request(const Being *const being) const override;
- void respond(bool accept);
+ void respond(const bool accept) const override;
- void addItem(Item *item, int amount);
+ void addItem(const Item *const item, int amount) const override;
- void setMoney(int amount);
+ void setMoney(const int amount) const override;
- void confirm();
+ void confirm() const override;
- void finish();
+ void finish() const override;
- void cancel();
+ void cancel() const override;
};
} // namespace EAthena