diff options
Diffstat (limited to 'src/net/tmwa/buysellhandler.h')
-rw-r--r-- | src/net/tmwa/buysellhandler.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/net/tmwa/buysellhandler.h b/src/net/tmwa/buysellhandler.h index 09aad0ec2..65067f7e0 100644 --- a/src/net/tmwa/buysellhandler.h +++ b/src/net/tmwa/buysellhandler.h @@ -25,34 +25,27 @@ #include "net/buysellhandler.h" +#include "net/ea/buysellhandler.h" + #include "being.h" #include "net/net.h" #include "net/tmwa/messagehandler.h" -class BuyDialog; - namespace TmwAthena { -class BuySellHandler : public MessageHandler, public Net::BuySellHandler +class BuySellHandler : public MessageHandler, public Ea::BuySellHandler { public: BuySellHandler(); virtual void handleMessage(Net::MessageIn &msg); - virtual void requestSellList(std::string nick); - virtual void requestBuyList(std::string nick); - virtual void sendBuyRequest(std::string nick, ShopItem* item, - int amount); - virtual void sendSellRequest(std::string nick, ShopItem* item, - int amount); + virtual void processNpcBuy(Net::MessageIn &msg); - private: - int mNpcId; - BuyDialog *mBuyDialog; + virtual void processNpcSellResponse(Net::MessageIn &msg); }; } // namespace TmwAthena |