summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-10 18:53:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-10 18:53:53 +0300
commit919d790980be710ec991af3654521225e97b5f79 (patch)
tree0d09d6d430502488fde4bd0841d8d5767af7d4f4 /src/net/ea/playerhandler.h
parenta3635c94a9f1074736f243b0f7de7ab1c8aa14d0 (diff)
downloadmv-919d790980be710ec991af3654521225e97b5f79.tar.gz
mv-919d790980be710ec991af3654521225e97b5f79.tar.bz2
mv-919d790980be710ec991af3654521225e97b5f79.tar.xz
mv-919d790980be710ec991af3654521225e97b5f79.zip
improve playerhandler class.
Diffstat (limited to 'src/net/ea/playerhandler.h')
-rw-r--r--src/net/ea/playerhandler.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h
index 016b29782..57ff3b6af 100644
--- a/src/net/ea/playerhandler.h
+++ b/src/net/ea/playerhandler.h
@@ -37,39 +37,40 @@ class PlayerHandler : public Net::PlayerHandler
A_DELETE_COPY(PlayerHandler)
- void decreaseAttribute(int attr);
+ void decreaseAttribute(const int attr) const override;
- void ignorePlayer(const std::string &player, bool ignore);
+ void ignorePlayer(const std::string &player,
+ const bool ignore) const override;
- void ignoreAll(bool ignore);
+ void ignoreAll(const bool ignore) const override;
- bool canUseMagic() const;
+ bool canUseMagic() const override;
- bool canCorrectAttributes() const;
+ bool canCorrectAttributes() const override;
- Vector getDefaultWalkSpeed() const A_WARN_UNUSED;
+ Vector getDefaultWalkSpeed() const override A_WARN_UNUSED;
- int getJobLocation() const A_WARN_UNUSED;
+ int getJobLocation() const override A_WARN_UNUSED;
- int getAttackLocation() const A_WARN_UNUSED;
+ int getAttackLocation() const override A_WARN_UNUSED;
- void processWalkResponse(Net::MessageIn &msg);
+ void processWalkResponse(Net::MessageIn &msg) const;
- void processPlayerWarp(Net::MessageIn &msg);
+ void processPlayerWarp(Net::MessageIn &msg) const;
- void processPlayerStatUpdate1(Net::MessageIn &msg);
+ void processPlayerStatUpdate1(Net::MessageIn &msg) const;
- void processPlayerStatUpdate2(Net::MessageIn &msg);
+ void processPlayerStatUpdate2(Net::MessageIn &msg) const;
- void processPlayerStatUpdate3(Net::MessageIn &msg);
+ void processPlayerStatUpdate3(Net::MessageIn &msg) const;
- void processPlayerStatUpdate4(Net::MessageIn &msg);
+ void processPlayerStatUpdate4(Net::MessageIn &msg) const;
- void processPlayerStatUpdate5(Net::MessageIn &msg);
+ void processPlayerStatUpdate5(Net::MessageIn &msg) const;
- void processPlayerStatUpdate6(Net::MessageIn &msg);
+ void processPlayerStatUpdate6(Net::MessageIn &msg) const;
- void processPlayerArrowMessage(Net::MessageIn &msg);
+ void processPlayerArrowMessage(Net::MessageIn &msg) const;
};
} // namespace Ea