diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/adminhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/adminhandler.h | 2 |
5 files changed, 15 insertions, 0 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h index da919e25c..878e24782 100644 --- a/src/net/adminhandler.h +++ b/src/net/adminhandler.h @@ -172,6 +172,8 @@ class AdminHandler notfinal virtual void showNpc(const std::string &name) const = 0; virtual void changePartyLeader(const std::string &name) const = 0; + + virtual void partyRecall(const std::string &name) const = 0; }; } // namespace Net diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 07b99347e..29e346af8 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -352,4 +352,9 @@ void AdminHandler::changePartyLeader(const std::string &name) const Gm::runCommand("changeleader", name); } +void AdminHandler::partyRecall(const std::string &name) const +{ + Gm::runCommand("partyrecall", name); +} + } // namespace EAthena diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h index 756f60187..c34e6d049 100644 --- a/src/net/eathena/adminhandler.h +++ b/src/net/eathena/adminhandler.h @@ -148,6 +148,8 @@ class AdminHandler final : public Ea::AdminHandler void changePartyLeader(const std::string &name) const override final; + void partyRecall(const std::string &name) const override final; + protected: static std::string mStatsName; }; diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index 4ae9e5346..88c9683fe 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -275,4 +275,8 @@ void AdminHandler::changePartyLeader(const std::string &name A_UNUSED) const { } +void AdminHandler::partyRecall(const std::string &name A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h index 069913ab8..5d43c14ff 100644 --- a/src/net/tmwa/adminhandler.h +++ b/src/net/tmwa/adminhandler.h @@ -161,6 +161,8 @@ class AdminHandler final : public Ea::AdminHandler void changePartyLeader(const std::string &name) const override final A_CONST; + + void partyRecall(const std::string &name) const override final A_CONST; }; } // namespace TmwAthena |