summaryrefslogtreecommitdiffstats
path: root/source/Plugin.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-22 21:03:20 +0200
committermadmaxoft <github@xoft.cz>2013-08-22 21:03:20 +0200
commit7eae58281a1c912f298ac8d5f463a2c60cdc2440 (patch)
treec538ef9a99740a4d03777e633a811ad77207464b /source/Plugin.h
parentRemoved unwanted VirtualHooks remnants. (diff)
downloadcuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar.gz
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar.bz2
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar.lz
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar.xz
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.tar.zst
cuberite-7eae58281a1c912f298ac8d5f463a2c60cdc2440.zip
Diffstat (limited to 'source/Plugin.h')
-rw-r--r--source/Plugin.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/Plugin.h b/source/Plugin.h
index 6e3e5f1d2..be803bab2 100644
--- a/source/Plugin.h
+++ b/source/Plugin.h
@@ -113,13 +113,6 @@ public:
/// All bound console commands are to be removed, do any language-dependent cleanup here
virtual void ClearConsoleCommands(void) {} ;
- /** Called from cPluginManager::AddHook() to check if the hook can be added.
- Plugin API providers may check if the plugin is written correctly (has the hook handler function)
- Returns true if the hook can be added (handler exists)
- Descendants should also log the specific error message as a warning if they return false.
- */
- virtual bool CanAddHook(int a_Hook) = 0;
-
// tolua_begin
const AString & GetName(void) const { return m_Name; }
void SetName(const AString & a_Name) { m_Name = a_Name; }