summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.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/adminhandler.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/adminhandler.h')
-rw-r--r--src/net/tmwa/adminhandler.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 3bc0f0175..98757b1e3 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -43,14 +43,14 @@ class AdminHandler final : public Ea::AdminHandler
void kick(const BeingId playerId) const override final;
- void kickAll() const override final;
+ void kickAll() const override final A_CONST;
void warp(const std::string &map,
const int x, const int y) const override final;
- void resetStats() const override final;
+ void resetStats() const override final A_CONST;
- void resetSkills() const override final;
+ void resetSkills() const override final A_CONST;
void gotoName(const std::string &name) const override final;
@@ -58,18 +58,19 @@ class AdminHandler final : public Ea::AdminHandler
void mute(const Being *const being,
const int type,
- const int limit) const override final;
+ const int limit) const override final A_CONST;
- void muteName(const std::string &name) const override final;
+ void muteName(const std::string &name) const override final A_CONST;
- void requestLogin(const Being *const being) const override final;
+ void requestLogin(const Being *const being) const override final
+ A_CONST;
void setTileType(const int x, const int y,
- const int type) const override final;
+ const int type) const override final A_CONST;
- void unequipAll(const Being *const being) const override final;
+ void unequipAll(const Being *const being) const override final A_CONST;
- void requestStats(const std::string &name) override final;
+ void requestStats(const std::string &name) override final A_CONST;
};
} // namespace TmwAthena