1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

[CSM] Add event on_connect player API lua (#5540)

* Add event on_connect player API lua
This commit is contained in:
Vincent Glize
2017-04-08 08:20:30 +02:00
committed by Loïc Blot
parent ff4fef570e
commit f73534640a
6 changed files with 24 additions and 0 deletions

View File

@@ -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);