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 d6e1ba11e..caa5098b9 100644
--- a/src/net/adminhandler.h
+++ b/src/net/adminhandler.h
@@ -102,6 +102,8 @@ class AdminHandler notfinal
virtual void itemInfo(const std::string &name) const = 0;
virtual void whoDrops(const std::string &name) const = 0;
+
+ virtual void mobSearch(const std::string &name) const = 0;
};
} // namespace Net
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 3064a9ca2..d13c29a31 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -177,4 +177,9 @@ void AdminHandler::whoDrops(const std::string &name) const
chatHandler->talk("@whodrops " + name, GENERAL_CHANNEL);
}
+void AdminHandler::mobSearch(const std::string &name) const
+{
+ chatHandler->talk("@mobsearch " + name, GENERAL_CHANNEL);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h
index e7a5a1473..79ce6cf23 100644
--- a/src/net/eathena/adminhandler.h
+++ b/src/net/eathena/adminhandler.h
@@ -77,6 +77,8 @@ class AdminHandler final : public Ea::AdminHandler
void whoDrops(const std::string &name) const override final;
+ void mobSearch(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 0e1c8ef79..e26806c8d 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -138,4 +138,8 @@ void AdminHandler::whoDrops(const std::string &name A_UNUSED) const
{
}
+void AdminHandler::mobSearch(const std::string &name A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/adminhandler.h b/src/net/tmwa/adminhandler.h
index 5c0e2558d..94ec3b7be 100644
--- a/src/net/tmwa/adminhandler.h
+++ b/src/net/tmwa/adminhandler.h
@@ -78,6 +78,8 @@ class AdminHandler final : public Ea::AdminHandler
void itemInfo(const std::string &name) const override final A_CONST;
void whoDrops(const std::string &name) const override final A_CONST;
+
+ void mobSearch(const std::string &name) const override final A_CONST;
};
} // namespace TmwAthena