예제 #1
0
파일: MainServices.cs 프로젝트: fos83/MuEmu
        public void RegistryHandler(CSSession session, CRegistryReq message)
        {
            ServerManager.Instance.Register(session, (byte)message.Index, message.Address, message.Port, message.Show != 0, message.Token, message.Name, message.Type);
            var arg = new CServerList();

            Program.server.Clients.ToList().ForEach(x => ServerListHandler(x, arg));
        }
예제 #2
0
 public void RegistryHandler(CSSession session, CRegistryReq message)
 {
     ServerManager.Instance.Register(session, message.Index, message.Address, message.Port, message.Show != 0);
 }