diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 13:25:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 13:25:09 +0300 |
commit | e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43 (patch) | |
tree | 0d82a38a6ab5cbce04bc0eddad6de1cea8116720 /src/net/ea/buysellhandler.h | |
parent | b73f378c51a7fb74dc805ca6234cda5868a28fc9 (diff) | |
download | manaplus-e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43.tar.gz manaplus-e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43.tar.bz2 manaplus-e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43.tar.xz manaplus-e0bd37fd01e8c14bf6d044382ac12cc11f5eaa43.zip |
Add static in buysellhandler.
Diffstat (limited to 'src/net/ea/buysellhandler.h')
-rw-r--r-- | src/net/ea/buysellhandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 67400a1b3..5f941354b 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -51,15 +51,15 @@ class BuySellHandler notfinal : public Net::BuySellHandler const ShopItem *const item, const int amount) const override final; - virtual void processNpcBuySellChoice(Net::MessageIn &msg); + static void processNpcBuySellChoice(Net::MessageIn &msg); - virtual void processNpcSell(Net::MessageIn &msg) const; + static void processNpcSell(Net::MessageIn &msg); - virtual void processNpcBuyResponse(Net::MessageIn &msg) const; + static void processNpcBuyResponse(Net::MessageIn &msg); protected: - int mNpcId; - BuyDialog *mBuyDialog; + static int mNpcId; + static BuyDialog *mBuyDialog; }; } // namespace Ea |