diff options
author | cora <email@example.com> | 2020-10-27 15:20:32 +0100 |
---|---|---|
committer | cora <email@example.com> | 2020-10-27 15:20:32 +0100 |
commit | 4f9797b6e87f62050863f5b17917603290f260c4 (patch) | |
tree | 599859786fd9781df6432732905948ad666569fc /src/script/lua_api/l_client.h | |
parent | f1ff05bf5932a7825509dbe896e60183a96a6d36 (diff) | |
download | dragonfireclient-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.h | 3 |
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); }; |