Esempio n. 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;
        }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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;
        }