From 2ef04505f91aa7bb1629ac294e9f166280961510 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Oct 2014 17:45:28 +0300 Subject: Add static in skillhandler. --- src/net/ea/skillhandler.h | 1 + src/net/eathena/skillhandler.h | 14 +++++++------- src/net/tmwa/skillhandler.h | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/net/ea/skillhandler.h b/src/net/ea/skillhandler.h index 933c4fde3..42a47792e 100644 --- a/src/net/ea/skillhandler.h +++ b/src/net/ea/skillhandler.h @@ -71,6 +71,7 @@ class SkillHandler notfinal : public Net::SkillHandler A_DELETE_COPY(SkillHandler) + protected: static void processPlayerSkillUp(Net::MessageIn &msg); }; diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h index 3d6dfd28e..2f3e7f95c 100644 --- a/src/net/eathena/skillhandler.h +++ b/src/net/eathena/skillhandler.h @@ -54,19 +54,19 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler protected: static void processSkillFailed(Net::MessageIn &msg); - void processPlayerSkills(Net::MessageIn &msg); + static void processPlayerSkills(Net::MessageIn &msg); - void processSkillCoolDown(Net::MessageIn &msg); + static void processSkillCoolDown(Net::MessageIn &msg); - void processSkillCoolDownList(Net::MessageIn &msg); + static void processSkillCoolDownList(Net::MessageIn &msg); - void processSkillSnap(Net::MessageIn &msg); + static void processSkillSnap(Net::MessageIn &msg); - void processSkillAdd(Net::MessageIn &msg); + static void processSkillAdd(Net::MessageIn &msg); - void processSkillUpdate(Net::MessageIn &msg); + static void processSkillUpdate(Net::MessageIn &msg); - void processSkillDelete(Net::MessageIn &msg); + static void processSkillDelete(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/tmwa/skillhandler.h b/src/net/tmwa/skillhandler.h index db808ad68..cec58bbac 100644 --- a/src/net/tmwa/skillhandler.h +++ b/src/net/tmwa/skillhandler.h @@ -54,7 +54,7 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler protected: static void processSkillFailed(Net::MessageIn &msg); - void processPlayerSkills(Net::MessageIn &msg); + static void processPlayerSkills(Net::MessageIn &msg); }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2