From 5548875f34ea78e9917c512fb452718ccec5ced5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Oct 2014 13:15:56 +0300 Subject: Add static in beinthandler. --- src/net/ea/beinghandler.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/net/ea/beinghandler.h') 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 -- cgit v1.2.3-60-g2f50