diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-26 00:36:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-26 01:50:50 +0300 |
commit | 43be2ecae97034f764460a5932ca97e6354da89e (patch) | |
tree | ba37fe86018e58ebb61df47b5c04850d8478b6b9 /src/net/tmwa/beinghandler.h | |
parent | 90a652e5c672b9a11b165ee939889f406b852ee1 (diff) | |
download | mv-43be2ecae97034f764460a5932ca97e6354da89e.tar.gz mv-43be2ecae97034f764460a5932ca97e6354da89e.tar.bz2 mv-43be2ecae97034f764460a5932ca97e6354da89e.tar.xz mv-43be2ecae97034f764460a5932ca97e6354da89e.zip |
inprove beinghandler class.
Diffstat (limited to 'src/net/tmwa/beinghandler.h')
-rw-r--r-- | src/net/tmwa/beinghandler.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/net/tmwa/beinghandler.h b/src/net/tmwa/beinghandler.h index 9ba801e1e..3d6716a0f 100644 --- a/src/net/tmwa/beinghandler.h +++ b/src/net/tmwa/beinghandler.h @@ -42,16 +42,18 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler virtual void handleMessage(Net::MessageIn &msg); - virtual void requestNameById(int id); + virtual void requestNameById(const int id) const; - virtual void undress(Being *being); + virtual void undress(Being *const being) const; protected: - virtual void processBeingChangeLook(Net::MessageIn &msg, bool look2); + virtual void processBeingChangeLook(Net::MessageIn &msg, + const bool look2) const; - void processNameResponse2(Net::MessageIn &msg); + void processNameResponse2(Net::MessageIn &msg) const; - virtual void processPlayerMoveUpdate(Net::MessageIn &msg, int type); + virtual void processPlayerMoveUpdate(Net::MessageIn &msg, + const int type) const; }; } // namespace TmwAthena |