Exemplo n.º 1
0
 public Client()
 {
     this.datas  = new Dictionary <int, Queue <Packet> >();
     this.buffer = new byte[BufferSize];
     AllDatas    = new List <byte>();
     Handlers    = new LoginServerHandlers();
     Handlers.AutoLoad();
 }
Exemplo n.º 2
0
        private LoginServer()
        {
            LoginServerHandlers Handlers = new LoginServerHandlers();

            Handlers.AutoLoad();
            this.Server     = new BaseServer <LoginClient>(2000, 1024 * 2, Handlers);
            this.ServerList = new ServerInfoManager();
        }