summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-31 17:43:25 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-31 17:43:49 +0300
commit203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81 (patch)
treebc71bc1faf6b4919361c492ff9283f9c7cfa2dbb /src/net/tmwa/tradehandler.h
parent4c6378b94a264dfa540b27b96d45fe2fcb3fbcd4 (diff)
downloadmv-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.gz
mv-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.bz2
mv-203774b4e7d1c5c0a74cb6f9e3e104fb2f5a2c81.tar.xz
mv-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.h6
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();