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)); }
public void RegistryHandler(CSSession session, CRegistryReq message) { ServerManager.Instance.Register(session, message.Index, message.Address, message.Port, message.Show != 0); }