mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Remove unused user instance for now.
This commit is contained in:
parent
b37c3f8ce1
commit
4c8658980b
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class AboutSection : ProfileSection
|
||||
{
|
||||
public override string Title => "me!";
|
||||
|
||||
public AboutSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class BeatmapsSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Beatmaps";
|
||||
|
||||
public BeatmapsSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class HistoricalSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Historical";
|
||||
|
||||
public HistoricalSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class KudosuSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Kudosu!";
|
||||
|
||||
public KudosuSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class MedalsSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Medals";
|
||||
|
||||
public MedalsSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class RanksSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Ranks";
|
||||
|
||||
public RanksSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
||||
public class RecentSection : ProfileSection
|
||||
{
|
||||
public override string Title => "Recent";
|
||||
|
||||
public RecentSection(User user)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -18,23 +18,21 @@ namespace osu.Game.Users
|
||||
{
|
||||
public class UserProfile : FocusedOverlayContainer
|
||||
{
|
||||
private readonly User user;
|
||||
private ProfileSection lastSection;
|
||||
|
||||
public const float CONTENT_X_MARGIN = 50;
|
||||
|
||||
public UserProfile(User user)
|
||||
{
|
||||
this.user = user;
|
||||
var sections = new ProfileSection[]
|
||||
{
|
||||
new AboutSection(user),
|
||||
new RecentSection(user),
|
||||
new RanksSection(user),
|
||||
new MedalsSection(user),
|
||||
new HistoricalSection(user),
|
||||
new BeatmapsSection(user),
|
||||
new KudosuSection(user)
|
||||
new AboutSection(),
|
||||
new RecentSection(),
|
||||
new RanksSection(),
|
||||
new MedalsSection(),
|
||||
new HistoricalSection(),
|
||||
new BeatmapsSection(),
|
||||
new KudosuSection()
|
||||
};
|
||||
var tabs = new ProfileTabControl
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user