diff options
author | madmaxoft <github@xoft.cz> | 2013-08-22 21:03:20 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-22 21:03:20 +0200 |
commit | 7eae58281a1c912f298ac8d5f463a2c60cdc2440 (patch) | |
tree | c538ef9a99740a4d03777e633a811ad77207464b /source/PluginLua.h | |
parent | Removed unwanted VirtualHooks remnants. (diff) | |
download | cuberite-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/PluginLua.h')
-rw-r--r-- | source/PluginLua.h | 3 |
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(); } |