summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
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.cpp
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.cpp')
-rw-r--r--src/Bindings/PluginLua.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index ee0d289a1..07d0a7526 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -1140,32 +1140,6 @@ int cPluginLua::CallFunctionFromForeignState(
-bool cPluginLua::CallbackWindowClosing(int a_FnRef, cWindow & a_Window, cPlayer & a_Player, bool a_CanRefuse)
-{
- ASSERT(a_FnRef != LUA_REFNIL);
-
- cOperation op(*this);
- bool res = false;
- op().Call(a_FnRef, &a_Window, &a_Player, a_CanRefuse, cLuaState::Return, res);
- return res;
-}
-
-
-
-
-
-void cPluginLua::CallbackWindowSlotChanged(int a_FnRef, cWindow & a_Window, int a_SlotNum)
-{
- ASSERT(a_FnRef != LUA_REFNIL);
-
- cOperation op(*this);
- op().Call(a_FnRef, &a_Window, a_SlotNum);
-}
-
-
-
-
-
void cPluginLua::ClearWebTabs(void)
{
auto webAdmin = cRoot::Get()->GetWebAdmin();