mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add 'on_prejoinplayer' callback
This commit is contained in:
parent
76036abdb0
commit
33de69a173
5 changed files with 36 additions and 0 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
void on_newplayer(ServerActiveObject *player);
|
||||
void on_dieplayer(ServerActiveObject *player);
|
||||
bool on_respawnplayer(ServerActiveObject *player);
|
||||
bool on_prejoinplayer(std::string name, std::string ip, std::string &reason);
|
||||
void on_joinplayer(ServerActiveObject *player);
|
||||
void on_leaveplayer(ServerActiveObject *player);
|
||||
void on_cheat(ServerActiveObject *player, const std::string &cheat_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue