diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-17 13:15:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-17 13:15:56 +0300 |
commit | 5548875f34ea78e9917c512fb452718ccec5ced5 (patch) | |
tree | 053be91b21db5d771a63ccb86b15d4b01035eba3 /src/net/ea/beinghandler.h | |
parent | a2710185944a34f510fa1c940212617913c50dee (diff) | |
download | mv-5548875f34ea78e9917c512fb452718ccec5ced5.tar.gz mv-5548875f34ea78e9917c512fb452718ccec5ced5.tar.bz2 mv-5548875f34ea78e9917c512fb452718ccec5ced5.tar.xz mv-5548875f34ea78e9917c512fb452718ccec5ced5.zip |
Add static in beinthandler.
Diffstat (limited to 'src/net/ea/beinghandler.h')
-rw-r--r-- | src/net/ea/beinghandler.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h index 957dc23d8..8513df916 100644 --- a/src/net/ea/beinghandler.h +++ b/src/net/ea/beinghandler.h @@ -36,42 +36,42 @@ class BeingHandler notfinal : public Net::BeingHandler protected: explicit BeingHandler(const bool enableSync); - Being *createBeing(const int id, - const int16_t job) const A_WARN_UNUSED; + static Being *createBeing(const int id, + const int16_t job) A_WARN_UNUSED; - virtual void setSprite(Being *const being, const unsigned int slot, - const int id, - const std::string &color = "", - const unsigned char colorId = 1, - const bool isWeapon = false, - const bool isTempSprite = false) const; + static void setSprite(Being *const being, const unsigned int slot, + const int id, + const std::string &color = "", + const unsigned char colorId = 1, + const bool isWeapon = false, + const bool isTempSprite = false); - virtual void processBeingRemove(Net::MessageIn &msg) const; + static void processBeingRemove(Net::MessageIn &msg); - virtual void processSkillDamage(Net::MessageIn &msg) const; + static void processSkillDamage(Net::MessageIn &msg); - virtual void processBeingAction(Net::MessageIn &msg) const; + static void processBeingAction(Net::MessageIn &msg); - virtual void processBeingEmotion(Net::MessageIn &msg) const; + static void processBeingEmotion(Net::MessageIn &msg); - virtual void processNameResponse(Net::MessageIn &msg) const; + static void processNameResponse(Net::MessageIn &msg); - virtual void processIpResponse(Net::MessageIn &msg) const; + static void processIpResponse(Net::MessageIn &msg); - virtual void processPlayerStop(Net::MessageIn &msg) const; + static void processPlayerStop(Net::MessageIn &msg); - virtual void processPlayerMoveToAttack(Net::MessageIn &msg) const; + static void processPlayerMoveToAttack(Net::MessageIn &msg); - virtual void processSkillNoDamage(Net::MessageIn &msg) const; + static void processSkillNoDamage(Net::MessageIn &msg); - virtual void processPvpMapMode(Net::MessageIn &msg) const; + static void processPvpMapMode(Net::MessageIn &msg); - virtual void processPvpSet(Net::MessageIn &msg) const; + static void processPvpSet(Net::MessageIn &msg); // Should we honor server "Stop Walking" packets - bool mSync; - int mSpawnId; - bool mHideShield; + static int mSpawnId; + static bool mSync; + static bool mHideShield; }; } // namespace Ea |