diff options
Diffstat (limited to 'src/net/ea/tradehandler.h')
-rw-r--r-- | src/net/ea/tradehandler.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/ea/tradehandler.h b/src/net/ea/tradehandler.h index af7a064f..b6e0fdf8 100644 --- a/src/net/ea/tradehandler.h +++ b/src/net/ea/tradehandler.h @@ -24,29 +24,30 @@ #include "net/messagehandler.h" #include "net/net.h" +#include "net/tradehandler.h" class TradeHandler : public MessageHandler, public Net::TradeHandler { public: TradeHandler(); - virtual void handleMessage(MessageIn &msg); + void handleMessage(MessageIn &msg); - virtual void request(Being *being); + void request(Being *being); - virtual void respond(bool accept); + void respond(bool accept); - virtual void addItem(int slotNum, int amount); + void addItem(int slotNum, int amount); - virtual void removeItem(int slotNum, int amount); + void removeItem(int slotNum, int amount); - virtual void setMoney(int amount); + void setMoney(int amount); - virtual void confirm(); + void confirm(); - virtual void finish(); + void finish(); - virtual void cancel(); + void cancel(); }; extern TradeHandler *tradeHandler; |