diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:48:19 +0300 |
commit | b50eee3c4571c4a4657bc14c2935067d833bb801 (patch) | |
tree | 047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/npchandler.h | |
parent | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff) | |
download | plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2 plus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz plus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip |
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/npchandler.h')
-rw-r--r-- | src/net/tmwa/npchandler.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 5275feeb4..dfb2340c4 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -59,15 +59,17 @@ class NpcHandler final : public Ea::NpcHandler const ItemColor color, const int amount) const override final; - void buyItems(std::vector<ShopItem*> &items) const override final; + void buyItems(std::vector<ShopItem*> &items) const override final + A_CONST; void sellItem(const BeingId beingId, const int itemId, const int amount) const override final; - void sellItems(std::vector<ShopItem*> &items) const override final; + void sellItems(std::vector<ShopItem*> &items) const override final + A_CONST; - void completeProgressBar() const override final; + void completeProgressBar() const override final A_CONST; BeingId getNpc(Net::MessageIn &msg, const NpcActionT action) override final; @@ -75,22 +77,22 @@ class NpcHandler final : public Ea::NpcHandler void produceMix(const int nameId, const int materialId1, const int materialId2, - const int materialId3) const override final; + const int materialId3) const override final A_CONST; #ifdef EATHENA_SUPPORT void cooking(const CookingTypeT type, - const int nameId) const override final; + const int nameId) const override final A_CONST; #endif - void repair(const int index) const override final; + void repair(const int index) const override final A_CONST; - void refine(const int index) const override final; + void refine(const int index) const override final A_CONST; - void identify(const int index) const override final; + void identify(const int index) const override final A_CONST; - void selectArrow(const int nameId) const override final; + void selectArrow(const int nameId) const override final A_CONST; - void selectAutoSpell(const int skillId) const override final; + void selectAutoSpell(const int skillId) const override final A_CONST; }; } // namespace TmwAthena |