summaryrefslogtreecommitdiff
path: root/src/net/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/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/tradehandler.h')
-rw-r--r--src/net/tradehandler.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h
index 2eeaaf635..3adc3265f 100644
--- a/src/net/tradehandler.h
+++ b/src/net/tradehandler.h
@@ -37,28 +37,30 @@ class TradeHandler
virtual ~TradeHandler()
{ }
- virtual void request(const Being *const being A_UNUSED)
+ virtual void request(const Being *const being A_UNUSED) const
{ }
- virtual void respond(bool accept A_UNUSED)
+ virtual void respond(const bool accept A_UNUSED) const
{ }
- virtual void addItem(Item *item A_UNUSED, int amount A_UNUSED)
+ virtual void addItem(const Item *const item A_UNUSED,
+ const int amount A_UNUSED) const
{ }
- virtual void removeItem(int slotNum A_UNUSED, int amount A_UNUSED)
+ virtual void removeItem(const int slotNum A_UNUSED,
+ const int amount A_UNUSED) const
{ }
- virtual void setMoney(int amount A_UNUSED)
+ virtual void setMoney(const int amount A_UNUSED) const
{ }
- virtual void confirm()
+ virtual void confirm() const
{ }
- virtual void finish()
+ virtual void finish() const
{ }
- virtual void cancel()
+ virtual void cancel() const
{ }
};
}