Changed CheckMultiLogin() to not have main body wrapped in an if statement.

Added in indent to cPlayerListCallBack in cCallback class inside CheckMultiLogin().
Added doxy-comment for DoWithPlayer().
Changed comments on IsPlayerInQueue() and IsAllowMultiLogin() to doxy-comments.
This commit is contained in:
Vincent
2014-12-08 14:33:59 -08:00
parent e28cc876c4
commit 12c012fa01
4 changed files with 31 additions and 24 deletions
+1
View File
@@ -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