public WorldSocket(Socket socket) : base(socket) { _connectType = ConnectionType.Realm; _serverChallenge = new byte[0].GenerateRandomKey(16); _worldCrypt = new WorldCrypt(); _encryptKey = new byte[16]; }
public WorldSocket(Socket socket) : base(socket) { _connectType = ConnectionType.Realm; _serverChallenge = new byte[0].GenerateRandomKey(16); _worldCrypt = new WorldCrypt(); _encryptKey = new byte[16]; _headerBuffer = new SocketBuffer(HeaderSize); _packetBuffer = new SocketBuffer(0); }