summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorVincent <vincent.leung60@gmail.com>2014-12-08 23:33:59 +0100
committerVincent <vincent.leung60@gmail.com>2014-12-08 23:33:59 +0100
commit12c012fa01e719c7c103e36ae0407294a0d11bfb (patch)
tree0a7e64a44a7662c5a2eb3f17990c8bc918a1e8d4 /src/Server.h
parentcreated callback in Root and changed CheckMultiLogin() to use the DoWithPlayer function at Root instead of World. (diff)
downloadcuberite-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/Server.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Server.h b/src/Server.h
index e329b5c65..a93e8df75 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -67,10 +67,12 @@ public: // tolua_export
int GetNumPlayers(void) const;
void SetMaxPlayers(int a_MaxPlayers) { m_MaxPlayers = a_MaxPlayers; }
- // Check if the player is queued to be transferred to a World.
+ /** Check if the player is queued to be transferred to a World.
+ Returns true is Player is found in queue. */
bool IsPlayerInQueue(AString a_Username);
- // Can login more than once with same username.
+ /** Can login more than once with same username.
+ Returns false if it is not allowed, true otherwise. */
bool IsAllowMultiLogin(void) { return m_bAllowMultiLogin; }
// Hardcore mode or not: