mirror of
https://github.com/osukey/osukey.git
synced 2025-05-04 21:27:22 +09: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 class AboutSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "me!";
|
public override string Title => "me!";
|
||||||
|
|
||||||
public AboutSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class BeatmapsSection : ProfileSection
|
public class BeatmapsSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Beatmaps";
|
public override string Title => "Beatmaps";
|
||||||
|
|
||||||
public BeatmapsSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class HistoricalSection : ProfileSection
|
public class HistoricalSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Historical";
|
public override string Title => "Historical";
|
||||||
|
|
||||||
public HistoricalSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class KudosuSection : ProfileSection
|
public class KudosuSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Kudosu!";
|
public override string Title => "Kudosu!";
|
||||||
|
|
||||||
public KudosuSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class MedalsSection : ProfileSection
|
public class MedalsSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Medals";
|
public override string Title => "Medals";
|
||||||
|
|
||||||
public MedalsSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class RanksSection : ProfileSection
|
public class RanksSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Ranks";
|
public override string Title => "Ranks";
|
||||||
|
|
||||||
public RanksSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,5 @@ namespace osu.Game.Users.Profile
|
|||||||
public class RecentSection : ProfileSection
|
public class RecentSection : ProfileSection
|
||||||
{
|
{
|
||||||
public override string Title => "Recent";
|
public override string Title => "Recent";
|
||||||
|
|
||||||
public RecentSection(User user)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,23 +18,21 @@ namespace osu.Game.Users
|
|||||||
{
|
{
|
||||||
public class UserProfile : FocusedOverlayContainer
|
public class UserProfile : FocusedOverlayContainer
|
||||||
{
|
{
|
||||||
private readonly User user;
|
|
||||||
private ProfileSection lastSection;
|
private ProfileSection lastSection;
|
||||||
|
|
||||||
public const float CONTENT_X_MARGIN = 50;
|
public const float CONTENT_X_MARGIN = 50;
|
||||||
|
|
||||||
public UserProfile(User user)
|
public UserProfile(User user)
|
||||||
{
|
{
|
||||||
this.user = user;
|
|
||||||
var sections = new ProfileSection[]
|
var sections = new ProfileSection[]
|
||||||
{
|
{
|
||||||
new AboutSection(user),
|
new AboutSection(),
|
||||||
new RecentSection(user),
|
new RecentSection(),
|
||||||
new RanksSection(user),
|
new RanksSection(),
|
||||||
new MedalsSection(user),
|
new MedalsSection(),
|
||||||
new HistoricalSection(user),
|
new HistoricalSection(),
|
||||||
new BeatmapsSection(user),
|
new BeatmapsSection(),
|
||||||
new KudosuSection(user)
|
new KudosuSection()
|
||||||
};
|
};
|
||||||
var tabs = new ProfileTabControl
|
var tabs = new ProfileTabControl
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user