Beispiel #1
0
        /// <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;
        }
Beispiel #2
0
 /// <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);
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
        /// <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;
        }