/// <summary> /// Stops the client, removes this user from room, updates last online values etc. /// </summary> public void Stop() { // Leave room // Update last online mHabbo = null; mConnection = null; mMessageHandler.Destroy(); mMessageHandler = null; }
/// <summary> /// Constructs a GameClient instance for a given client ID. /// </summary> /// <param name="clientID">The ID of this client.</param> public GameClient(uint clientID) { mID = clientID; mConnection = IonEnvironment.GetTcpConnections().GetConnection(clientID); mMessageHandler = new ClientMessageHandler(this); }
/// <summary> /// Constructs a GameClient instance for a given client ID. /// </summary> /// <param name="clientID">The ID of this client.</param> public GameClient(uint clientID) { mID = clientID; mConnection = IonEnvironment.GetTcpConnections().GetConnection(clientID); mMessageHandler = new ClientMessageHandler(this); }
/// <summary> /// Stops the client, removes this user from room, updates last online values etc. /// </summary> public void Stop() { // Leave room // Update last online mHabbo = null; mConnection = null; mMessageHandler.Destroy(); mMessageHandler = null; }