mirror of https://github.com/quasar/Quasar.git
Documented OnClientState for Server's client
Added documentation for the Server's client's OnClientState.
This commit is contained in:
parent
978b64b564
commit
a254164424
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue