summaryrefslogtreecommitdiff
path: root/src/net/eathena/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/eathena/beinghandler.h
parent90a652e5c672b9a11b165ee939889f406b852ee1 (diff)
downloadplus-43be2ecae97034f764460a5932ca97e6354da89e.tar.gz
plus-43be2ecae97034f764460a5932ca97e6354da89e.tar.bz2
plus-43be2ecae97034f764460a5932ca97e6354da89e.tar.xz
plus-43be2ecae97034f764460a5932ca97e6354da89e.zip
inprove beinghandler class.
Diffstat (limited to 'src/net/eathena/beinghandler.h')
-rw-r--r--src/net/eathena/beinghandler.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index 5bdf593ca..ac266f3b7 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -42,20 +42,23 @@ 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;
- void processBeingVisibleOrMove(Net::MessageIn &msg, bool visible);
+ void processBeingVisibleOrMove(Net::MessageIn &msg,
+ const bool visible);
void processBeingSpawn(Net::MessageIn &msg);
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 EAthena