diff options
author | Vincent <vincent.leung60@gmail.com> | 2014-12-08 23:33:59 +0100 |
---|---|---|
committer | Vincent <vincent.leung60@gmail.com> | 2014-12-08 23:33:59 +0100 |
commit | 12c012fa01e719c7c103e36ae0407294a0d11bfb (patch) | |
tree | 0a7e64a44a7662c5a2eb3f17990c8bc918a1e8d4 /src/ClientHandle.h | |
parent | created callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. (diff) | |
download | cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar.gz cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar.bz2 cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar.lz cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar.xz cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.tar.zst cuberite-12c012fa01e719c7c103e36ae0407294a0d11bfb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index add004bd5..cd63aa308 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -282,6 +282,7 @@ public: /** Kicks the current player if the same username is already logged in. */ bool CheckMultiLogin(const AString & a_Username); + /** Called when the protocol handshake has been received (for protocol versions that support it; otherwise the first instant when a username is received). Returns true if the player is to be let in, false if they were disconnected |