/// <summary> /// Default constructor /// </summary> /// <param name="server">The server this client is connected to.</param> protected ClientBase(ServerBase server) { m_server = server; m_readBuffer = BufferManager.Instance.CheckOut(); m_processDataObj = new ProcessDataExecObj(); m_processDataObj.Client = this; }
/// <summary> /// Default constructor /// </summary> /// <param name="server">The server this client is connected to.</param> protected ClientBase(ServerBase server) { m_server = server; AdminLevel = 0; m_readBuffer = BufferManager.Instance.CheckOut(); m_processDataObj = new ProcessDataExecObj(); m_processDataObj.Client = this; // this.AsyncPacketProcessor += new ProcessCommunicationPackets(ProcessPacket); }