From f73534640a18709921519ee43110292cf658e67f Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Sat, 8 Apr 2017 08:20:30 +0200 Subject: [CSM] Add event on_connect player API lua (#5540) * Add event on_connect player API lua --- src/script/cpp_api/s_client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/cpp_api/s_client.h') diff --git a/src/script/cpp_api/s_client.h b/src/script/cpp_api/s_client.h index 9afc66d61..50e5e0d8a 100644 --- a/src/script/cpp_api/s_client.h +++ b/src/script/cpp_api/s_client.h @@ -36,6 +36,8 @@ class ScriptApiClient : virtual public ScriptApiBase public: // Calls on_shutdown handlers void on_shutdown(); + + void on_connect(); // Chat message handlers bool on_sending_message(const std::string &message); -- cgit v1.2.3