mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 05:12:53 +08:00
2e5c67be3f
There are 3 modes: enabled, limited, and disabled. The limited mode hides identifiable information such as username, rank, and (if participating in one) multiplayer lobby name.
29 lines
763 B
C#
29 lines
763 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Overlays.Settings.Sections.Online;
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections
|
|
{
|
|
public class OnlineSection : SettingsSection
|
|
{
|
|
public override string Header => "Online";
|
|
|
|
public override Drawable CreateIcon() => new SpriteIcon
|
|
{
|
|
Icon = FontAwesome.Solid.GlobeAsia
|
|
};
|
|
|
|
public OnlineSection()
|
|
{
|
|
Children = new Drawable[]
|
|
{
|
|
new WebSettings(),
|
|
new IntegrationSettings()
|
|
};
|
|
}
|
|
}
|
|
}
|