aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_clientobject.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 16:18:07 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-10-18 16:18:07 +0200
commit1a7d3d8188d3f484b6c3f0f05fd057d543a34725 (patch)
treeeeb487998aa86e01c9a7d55d4ff1156cc598b349 /src/script/lua_api/l_clientobject.h
parent1e4f3549292472323d49ffad4e856ba60dd81e0c (diff)
downloaddragonfireclient-1a7d3d8188d3f484b6c3f0f05fd057d543a34725.tar.xz
Extended ClientObjectRef; Improved CrystalPvP
Diffstat (limited to 'src/script/lua_api/l_clientobject.h')
-rw-r--r--src/script/lua_api/l_clientobject.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/script/lua_api/l_clientobject.h b/src/script/lua_api/l_clientobject.h
index 3022555f5..88a6956bc 100644
--- a/src/script/lua_api/l_clientobject.h
+++ b/src/script/lua_api/l_clientobject.h
@@ -31,6 +31,7 @@ public:
static void Register(lua_State *L);
static void create(lua_State *L, ClientActiveObject *object);
+ static void create(lua_State *L, s16 id);
static ClientObjectRef *checkobject(lua_State *L, int narg);
@@ -74,4 +75,10 @@ private:
// get_hp(self)
static int l_get_max_hp(lua_State *L);
+
+ // punch(self)
+ static int l_punch(lua_State *L);
+
+ // rightclick(self)
+ static int l_rightclick(lua_State *L);
};