summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:48:19 +0300
commitb50eee3c4571c4a4657bc14c2935067d833bb801 (patch)
tree047ab4a069d61ddbfdf3ee65db22f020ffcf4c11 /src/net/tmwa/npchandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadmanaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
manaplus-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/npchandler.h')
-rw-r--r--src/net/tmwa/npchandler.h22
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