diff options
author | Vincent <vincent.leung60@gmail.com> | 2014-12-08 09:12:48 +0100 |
---|---|---|
committer | Vincent <vincent.leung60@gmail.com> | 2014-12-08 09:12:48 +0100 |
commit | d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063 (patch) | |
tree | 7d51c143dd473da9bccff93dbfa89bb8314bbd2d /src/ClientHandle.h | |
parent | Merge branch 'issue_1253' of https://github.com/p-mcgowan/MCServer into issue_1253 (diff) | |
download | cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.gz cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.bz2 cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.lz cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.xz cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.tar.zst cuberite-d8d3b9aec5bbb0f6d632d86f1fb7b1e8f58e9063.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index f195b6be7..880a404da 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -280,6 +280,8 @@ public: void HandleEntityLeaveBed (int a_EntityID); void HandleEntitySprinting (int a_EntityID, bool a_IsSprinting); + /** Kicks the current player if the same username is already logged in. */ + bool CheckMultiLogin(void); /** 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 |