summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-06-12 18:24:01 +0200
committerMattes D <github@xoft.cz>2016-06-27 20:51:52 +0200
commit7a6670d1d110be96ed73ccab4f33c69e4a01f28d (patch)
treed85a6aa0d3c01d730d47c3b0306ea837c9704b4c /src/Bindings/PluginLua.h
parentcPluginManager: Use a callback for command handler registration. (diff)
downloadcuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar.gz
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar.bz2
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar.lz
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar.xz
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.tar.zst
cuberite-7a6670d1d110be96ed73ccab4f33c69e4a01f28d.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index 9e6b53e75..e28e30698 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -141,12 +141,6 @@ public:
/** Returns true if the plugin contains the function for the specified hook type, using the old-style registration (#121) */
bool CanAddOldStyleHook(int a_HookType);
- /** Calls the plugin-specified "cLuaWindow closing" callback. Returns true only if the callback returned true */
- bool CallbackWindowClosing(int a_FnRef, cWindow & a_Window, cPlayer & a_Player, bool a_CanRefuse);
-
- /** Calls the plugin-specified "cLuaWindow slot changed" callback. */
- void CallbackWindowSlotChanged(int a_FnRef, cWindow & a_Window, int a_SlotNum);
-
/** Returns the name of Lua function that should handle the specified hook type in the older (#121) API */
static const char * GetHookFnName(int a_HookType);