aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorcora <email@example.com>2020-10-27 15:20:32 +0100
committercora <email@example.com>2020-10-27 15:20:32 +0100
commit4f9797b6e87f62050863f5b17917603290f260c4 (patch)
tree599859786fd9781df6432732905948ad666569fc /src/script/lua_api/l_client.h
parentf1ff05bf5932a7825509dbe896e60183a96a6d36 (diff)
downloaddragonfireclient-4f9797b6e87f62050863f5b17917603290f260c4.tar.xz
lua api: add core.take_screenshot()
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index 5863e5717..04cc23041 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -126,6 +126,9 @@ private:
// get_objects_inside_radius(pos, radius)
static int l_get_objects_inside_radius(lua_State *L);
+ //take_screenshot()
+ static int l_take_screenshot(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
};