summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-26 00:36:59 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-26 01:50:50 +0300
commit43be2ecae97034f764460a5932ca97e6354da89e (patch)
treeba37fe86018e58ebb61df47b5c04850d8478b6b9 /src/net/tmwa/beinghandler.h
parent90a652e5c672b9a11b165ee939889f406b852ee1 (diff)
downloadmanaplus-43be2ecae97034f764460a5932ca97e6354da89e.tar.gz
manaplus-43be2ecae97034f764460a5932ca97e6354da89e.tar.bz2
manaplus-43be2ecae97034f764460a5932ca97e6354da89e.tar.xz
manaplus-43be2ecae97034f764460a5932ca97e6354da89e.zip
inprove beinghandler class.
Diffstat (limited to 'src/net/tmwa/beinghandler.h')
-rw-r--r--src/net/tmwa/beinghandler.h12
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