public GameClient(int ClientId, ConnectionInformation pConnection)
 {
     _id           = ClientId;
     _connection   = pConnection;
     _packetParser = new GamePacketParser(this);
     PingCount     = 0;
 }
 public GameClient(int ClientId, ConnectionInformation pConnection)
 {
     this.ConnectionID = ClientId;
     this.Langue       = Language.FRANCAIS;
     this.Connection   = pConnection;
     this.packetParser = new GamePacketParser(this);
 }
Exemple #3
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     this.Id                = ClientId;
     this.Connection        = pConnection;
     this.packetParser      = new GamePacketParser();
     this.PacketSaverEnable = false;
 }
Exemple #4
0
 public GameClient(int ClientId, ConnectionInformation _Connection)
 {
     Id           = ClientId;
     Connection   = _Connection;
     PacketParser = new GamePacketParser(this);
     PingCount    = 0;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameClient"/> class.
 /// </summary>
 /// <param name="clientId">The client identifier.</param>
 /// <param name="connection">The connection.</param>
 internal GameClient(uint clientId, ConnectionInformation connection)
 {
     ConnectionId      = clientId;
     _connection       = connection;
     CurrentRoomUserId = -1;
     PacketParser      = new GamePacketParser(this);
 }
Exemple #6
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     Id                = ClientId;
     Connection        = pConnection;
     SetDoorPos        = false;
     CurrentRoomUserID = -1;
     packetParser      = new GamePacketParser(this);
 }
Exemple #7
0
        public GameClient(int clientId, ConnectionInformation connection)
        {
            ConnectionId  = clientId;
            _connection   = connection;
            _packetParser = new GamePacketParser(this);

            PingCount = 0;
        }
Exemple #8
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     this.Id                = ClientId;
     this.Connection        = pConnection;
     this.CurrentRoomUserID = -1;
     this.packetParser      = new GamePacketParser(this);
     this.Connection.SetClient(this);
 }
 public void Dispose()
 {
     if (this.GetHabbo() != null)
     {
         this.Habbo.OnDisconnect();
     }
     this.Habbo        = (Habbo)null;
     this.Connection   = (ConnectionInformation)null;
     this.packetParser = null;
     //this.RC4Client = null;
 }
Exemple #10
0
 public void Dispose()
 {
     if (GetHabbo() != null)
     {
         GetHabbo().OnDisconnect();
     }
     MachineId     = string.Empty;
     _disconnected = true;
     _habbo        = null;
     _connection   = null;
     Rc4Client     = null;
     _packetParser = null;
 }
Exemple #11
0
        public void Dispose()
        {
            if (GetHabbo() != null)
            {
                GetHabbo().OnDisconnect();
            }

            this.MachineId     = string.Empty;
            this._disconnected = true;
            this._habbo        = null;
            this._connection   = null;
            this.RC4Client     = null;
            this._packetParser = null;
        }
Exemple #12
0
        public void Dispose()
        {
            if (GetHabbo() != null)
            {
                GetHabbo().OnDisconnect();
            }

            MachineId    = string.Empty;
            Disconnected = true;
            Habbo        = null;
            Connection   = null;
            RC4Client    = null;
            PacketParser = null;
        }