diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-31 17:43:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-31 17:43:49 +0300 |
commit | 203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81 (patch) | |
tree | bc71bc1faf6b4919361c492ff9283f9c7cfa2dbb /src/net/tmwa/tradehandler.h | |
parent | 4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4 (diff) | |
download | manaverse-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.gz manaverse-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.bz2 manaverse-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.xz manaverse-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.zip |
Extract shared logic from tradehandler netcode to ea namespace.
Diffstat (limited to 'src/net/tmwa/tradehandler.h')
-rw-r--r-- | src/net/tmwa/tradehandler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/tradehandler.h b/src/net/tmwa/tradehandler.h index 89f8d8a3a..85c153743 100644 --- a/src/net/tmwa/tradehandler.h +++ b/src/net/tmwa/tradehandler.h @@ -26,6 +26,8 @@ #include "net/net.h" #include "net/tradehandler.h" +#include "net/ea/tradehandler.h" + #include "net/tmwa/messagehandler.h" #ifdef __GNUC__ @@ -37,7 +39,7 @@ namespace TmwAthena { -class TradeHandler : public MessageHandler, public Net::TradeHandler +class TradeHandler : public MessageHandler, public Ea::TradeHandler { public: TradeHandler(); @@ -50,8 +52,6 @@ class TradeHandler : public MessageHandler, public Net::TradeHandler void addItem(Item *item, int amount); - void removeItem(int slotNum, int amount); - void setMoney(int amount); void confirm(); |