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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user