//Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Options.Sections.Online { public class PrivacyOptions : OptionsSubsection { protected override string Header => "Privacy"; [BackgroundDependencyLoader] private void load(OsuConfigManager config) { Children = new Drawable[] { new OsuCheckbox { LabelText = "Share your city location with others", Bindable = config.GetBindable(OsuConfig.DisplayCityLocation) }, new OsuCheckbox { LabelText = "Allow multiplayer game invites from all users", Bindable = config.GetBindable(OsuConfig.AllowPublicInvites) }, }; } } }