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/pethandler.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/pethandler.h')
-rw-r--r-- | src/net/tmwa/pethandler.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/tmwa/pethandler.h b/src/net/tmwa/pethandler.h index 23428edf8..62e54fed9 100644 --- a/src/net/tmwa/pethandler.h +++ b/src/net/tmwa/pethandler.h @@ -38,26 +38,26 @@ class PetHandler final : public Net::PetHandler void spawn(const Being *const being, const int petId, - const int x, const int y) const override final; + const int x, const int y) const override final A_CONST; void emote(const uint8_t emoteId, const int petId) override final; - void catchPet(const Being *const being) const override final; + void catchPet(const Being *const being) const override final A_CONST; - void sendPetMessage(const int data) const override final; + void sendPetMessage(const int data) const override final A_CONST; - void setName(const std::string &name) const override final; + void setName(const std::string &name) const override final A_CONST; - void requestStatus() const override final; + void requestStatus() const override final A_CONST; - void feed() const override final; + void feed() const override final A_CONST; - void dropLoot() const override final; + void dropLoot() const override final A_CONST; - void returnToEgg() const override final; + void returnToEgg() const override final A_CONST; - void unequip() const override final; + void unequip() const override final A_CONST; void setDirection(const unsigned char type) const override final; |