mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add minetest.kick_player(name, reason)
This commit is contained in:
parent
ea0def381d
commit
857a49e081
6 changed files with 67 additions and 17 deletions
|
@ -330,6 +330,8 @@ public:
|
|||
void peerAdded(con::Peer *peer);
|
||||
void deletingPeer(con::Peer *peer, bool timeout);
|
||||
|
||||
void DenyAccess(u16 peer_id, const std::wstring &reason);
|
||||
|
||||
private:
|
||||
|
||||
friend class EmergeThread;
|
||||
|
@ -415,7 +417,6 @@ private:
|
|||
|
||||
void DiePlayer(u16 peer_id);
|
||||
void RespawnPlayer(u16 peer_id);
|
||||
void DenyAccess(u16 peer_id, const std::wstring &reason);
|
||||
void DeleteClient(u16 peer_id, ClientDeletionReason reason);
|
||||
void UpdateCrafting(u16 peer_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue