mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow requesting reconnect when mods kick player (#14971)
This commit is contained in:
parent
b12e67699a
commit
38b4505ad7
7 changed files with 28 additions and 37 deletions
|
@ -364,7 +364,7 @@ public:
|
|||
|
||||
void DenySudoAccess(session_t peer_id);
|
||||
void DenyAccess(session_t peer_id, AccessDeniedCode reason,
|
||||
const std::string &custom_reason = "", bool reconnect = false);
|
||||
std::string_view custom_reason = "", bool reconnect = false);
|
||||
void kickAllPlayers(AccessDeniedCode reason,
|
||||
const std::string &str_reason, bool reconnect);
|
||||
void acceptAuth(session_t peer_id, bool forSudoMode);
|
||||
|
@ -485,7 +485,7 @@ private:
|
|||
void SendHP(session_t peer_id, u16 hp, bool effect);
|
||||
void SendBreath(session_t peer_id, u16 breath);
|
||||
void SendAccessDenied(session_t peer_id, AccessDeniedCode reason,
|
||||
const std::string &custom_reason, bool reconnect = false);
|
||||
std::string_view custom_reason, bool reconnect = false);
|
||||
void SendDeathscreen(session_t peer_id, bool set_camera_point_target,
|
||||
v3f camera_point_target);
|
||||
void SendItemDef(session_t peer_id, IItemDefManager *itemdef, u16 protocol_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue