From 8ad3dad137df740ce63101bf224e977e66b9df2c Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Sat, 8 Apr 2017 12:26:45 +0200 Subject: LocalPlayer api lua --- src/script/clientscripting.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/clientscripting.h') diff --git a/src/script/clientscripting.h b/src/script/clientscripting.h index e2a91f695..df94e8b71 100644 --- a/src/script/clientscripting.h +++ b/src/script/clientscripting.h @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "cpp_api/s_security.h" class Client; +class LocalPlayer; class ClientScripting: virtual public ScriptApiBase, public ScriptApiSecurity, @@ -33,6 +34,7 @@ class ClientScripting: { public: ClientScripting(Client *client); + void on_client_ready(LocalPlayer *localplayer); private: virtual void InitializeModApi(lua_State *L, int top); -- cgit v1.2.3