From 88b9b9652ab77f91eaa7c6e40b8a48e3a35a7948 Mon Sep 17 00:00:00 2001 From: red-001 Date: Thu, 6 Apr 2017 21:50:45 +0100 Subject: [CSM] Add function to get the server protocol version. (#5529) --- src/script/lua_api/l_client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/lua_api/l_client.h') diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index 4e7f63d6a..478b8ed6c 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -69,6 +69,9 @@ private: static int l_sound_stop(lua_State *L); + // get_protocol_version() + static int l_get_protocol_version(lua_State *L); + public: static void Initialize(lua_State *L, int top); }; -- cgit v1.2.3