From b50eee3c4571c4a4657bc14c2935067d833bb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:19 +0300 Subject: Add const attribute to net classes. --- src/net/tmwa/mercenaryhandler.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/net/tmwa/mercenaryhandler.h') diff --git a/src/net/tmwa/mercenaryhandler.h b/src/net/tmwa/mercenaryhandler.h index 58f119e99..2c1bbc99f 100644 --- a/src/net/tmwa/mercenaryhandler.h +++ b/src/net/tmwa/mercenaryhandler.h @@ -35,20 +35,22 @@ class MercenaryHandler final : public Net::MercenaryHandler A_DELETE_COPY(MercenaryHandler) - void fire() override final; + void fire() override final A_CONST; - void moveToMaster() const override final; + void moveToMaster() const override final A_CONST; - void move(const int x, const int y) const override final; + void move(const int x, const int y) const override final A_CONST; void attack(const BeingId targetId, - const Keep keep) const override final; + const Keep keep) const override final A_CONST; - void talk(const std::string &restrict text) const override final; + void talk(const std::string &restrict text) const override final + A_CONST; - void emote(const uint8_t emoteId) const override final; + void emote(const uint8_t emoteId) const override final A_CONST; - void setDirection(const unsigned char type) const override final; + void setDirection(const unsigned char type) const override final + A_CONST; }; } // namespace TmwAthena -- cgit v1.2.3-60-g2f50