Documented OnClientState for Server's client

Added documentation for the Server's client's OnClientState.
This commit is contained in:
yankejustin 2015-05-29 20:06:25 -04:00
parent 978b64b564
commit a254164424
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ namespace xServer.Core
/// is not connected.</param>
public delegate void ClientStateEventHandler(Client s, bool connected);
/// <summary>
/// Fires an event that informs subscribers that the state of the client has changed.
/// </summary>
/// <param name="connected">True if the client is connected; False if the client is
/// not connected.</param>
private void OnClientState(bool connected)
{
if (Connected == connected) return;