summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/adminhandler.h2
-rw-r--r--src/net/eathena/adminhandler.cpp5
-rw-r--r--src/net/eathena/adminhandler.h2
-rw-r--r--src/net/tmwa/adminhandler.cpp4
-rw-r--r--src/net/tmwa/adminhandler.h2
5 files changed, 15 insertions, 0 deletions
diff --git a/src/net/adminhandler.h b/src/net/adminhandler.h
index 878e24782..ee9c2b76a 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -174,6 +174,8 @@ class AdminHandler notfinal
virtual void changePartyLeader(const std::string &name) const = 0;
virtual void partyRecall(const std::string &name) const = 0;
+
+ virtual void breakGuild(const std::string &name) const = 0;
};
} // namespace Net
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 29e346af8..d02a26479 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -357,4 +357,9 @@ void AdminHandler::partyRecall(const std::string &name) const
Gm::runCommand("partyrecall", name);
}
+void AdminHandler::breakGuild(const std::string &name) const
+{
+ Gm::runCharCommand("breakguild", name);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h
index c34e6d049..d5f937307 100644
--- a/src/net/eathena/adminhandler.h
+++ b/src/net/eathena/adminhandler.h
@@ -150,6 +150,8 @@ class AdminHandler final : public Ea::AdminHandler
void partyRecall(const std::string &name) const override final;
+ void breakGuild(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 88c9683fe..edcb5f76a 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -279,4 +279,8 @@ void AdminHandler::partyRecall(const std::string &name A_UNUSED) const
{
}
+void AdminHandler::breakGuild(const std::string &name A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 5d43c14ff..bff931718 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -163,6 +163,8 @@ class AdminHandler final : public Ea::AdminHandler
A_CONST;
void partyRecall(const std::string &name) const override final A_CONST;
+
+ void breakGuild(const std::string &name) const override final A_CONST;
};
} // namespace TmwAthena