summaryrefslogtreecommitdiffstats
path: root/source/PluginLua.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/PluginLua.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 '')
-rw-r--r--source/PluginLua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/PluginLua.h b/source/PluginLua.h
index 877de2274..fee9c4986 100644
--- a/source/PluginLua.h
+++ b/source/PluginLua.h
@@ -100,7 +100,8 @@ public:
virtual void ClearConsoleCommands(void) override;
- virtual bool CanAddHook(int a_Hook) override;
+ /// Returns true if the plugin contains the function for the specified hook type, using the old-style registration (#121)
+ bool CanAddOldStyleHook(int a_HookType);
// cWebPlugin override
virtual const AString GetWebTitle(void) const {return GetName(); }