예제 #1
0
 public GameClient(int ClientId, ConnectionInformation pConnection)
 {
     _id           = ClientId;
     _connection   = pConnection;
     _packetParser = new GamePacketParser(this);
     PingCount     = 0;
 }
예제 #2
0
 public GameClient(int ClientId, ConnectionInformation pConnection)
 {
     this.ConnectionID = ClientId;
     this.Langue       = Language.FRANCAIS;
     this.Connection   = pConnection;
     this.packetParser = new GamePacketParser(this);
 }
예제 #3
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     this.Id                = ClientId;
     this.Connection        = pConnection;
     this.packetParser      = new GamePacketParser();
     this.PacketSaverEnable = false;
 }
예제 #4
0
 public GameClient(int ClientId, ConnectionInformation _Connection)
 {
     Id           = ClientId;
     Connection   = _Connection;
     PacketParser = new GamePacketParser(this);
     PingCount    = 0;
 }
예제 #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);
 }
예제 #6
0
 internal GameClient(uint ClientId, ConnectionInformation pConnection)
 {
     Id                = ClientId;
     Connection        = pConnection;
     SetDoorPos        = false;
     CurrentRoomUserID = -1;
     packetParser      = new GamePacketParser(this);
 }
예제 #7
0
        public GameClient(int clientId, ConnectionInformation connection)
        {
            ConnectionId  = clientId;
            _connection   = connection;
            _packetParser = new GamePacketParser(this);

            PingCount = 0;
        }
예제 #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);
 }
예제 #9
0
 public void Dispose()
 {
     if (this.GetHabbo() != null)
     {
         this.Habbo.OnDisconnect();
     }
     this.Habbo        = (Habbo)null;
     this.Connection   = (ConnectionInformation)null;
     this.packetParser = null;
     //this.RC4Client = null;
 }
예제 #10
0
 public void Dispose()
 {
     if (GetHabbo() != null)
     {
         GetHabbo().OnDisconnect();
     }
     MachineId     = string.Empty;
     _disconnected = true;
     _habbo        = null;
     _connection   = null;
     Rc4Client     = null;
     _packetParser = null;
 }
예제 #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;
        }
예제 #12
0
        public void Dispose()
        {
            if (GetHabbo() != null)
            {
                GetHabbo().OnDisconnect();
            }

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