1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-08 06:57:25 +08:00
osu-lazer/osu.Game/Overlays/Profile
Bartłomiej Dach 608d8ee7d4
Add UserProfile model to be used in user profile overlay
As `APIUser` implements `IEquatable`, attempting to replace an `APIUser`
with another `APIUser` with the same online ID has no effect on the user
profile overlay. This is a significant hurdle in implementing support
for viewing the profile for different rulesets, as in that case the
profile is basically reloaded for the same user, but slightly different
data.

To facilitate this, wrap `APIUser` in a new `UserProfile` class. This
will mean that the equality rules can be changed locally to the user
profile overlay without impacting other components that depend on the
`APIUser` equality rules. The ruleset that the user profile is being
displayed with will eventually be added to `UserProfile`, too.
2023-01-02 17:21:00 +01:00
..
Header Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
Sections Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
ProfileHeader.cs Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
ProfileSection.cs Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
UserGraph.cs Enable NRT in user profile overlay 2023-01-01 23:49:11 +01:00
UserProfile.cs Add UserProfile model to be used in user profile overlay 2023-01-02 17:21:00 +01:00