summaryrefslogtreecommitdiff
path: root/src/net/tmwa/homunculushandler.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/homunculushandler.h
parentb226f23946987a649fb50bc6d9df2dd8afa7ade1 (diff)
downloadmv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.gz
mv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.bz2
mv-b50eee3c4571c4a4657bc14c2935067d833bb801.tar.xz
mv-b50eee3c4571c4a4657bc14c2935067d833bb801.zip
Add const attribute to net classes.
Diffstat (limited to 'src/net/tmwa/homunculushandler.h')
-rw-r--r--src/net/tmwa/homunculushandler.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/net/tmwa/homunculushandler.h b/src/net/tmwa/homunculushandler.h
index d5997c3f6..b4b4752c5 100644
--- a/src/net/tmwa/homunculushandler.h
+++ b/src/net/tmwa/homunculushandler.h
@@ -35,24 +35,26 @@ class HomunculusHandler final : public Net::HomunculusHandler
A_DELETE_COPY(HomunculusHandler)
- void setName(const std::string &name) const override final;
+ void setName(const std::string &name) const 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 feed() const override final;
+ void feed() const override final A_CONST;
- void fire() const override final;
+ void fire() 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