AcManager.Tools.Managers.Online.RecentManager.AddRecentServer C# (CSharp) Метод

AddRecentServer() публичный Метод

public AddRecentServer ( ServerInformation information ) : void
information AcManager.Tools.Helpers.Api.Kunos.ServerInformation
Результат void
        public void AddRecentServer(ServerInformation information) {
            if (LoadedOnly.Any(x => x.Id == information.GetUniqueId())) return;

            try {
                CreateAndAddEntry(information);
            } catch (Exception e) {
                Logging.Warning("Recent add error: " + e);
            }

            AddToRecentList(information.Ip, information.PortC);
        }