diff --git a/osu.Game/Online/API/Requests/GetUserRequest.cs b/osu.Game/Online/API/Requests/GetUserRequest.cs
index 0c8a4a3578..9470c77b79 100644
--- a/osu.Game/Online/API/Requests/GetUserRequest.cs
+++ b/osu.Game/Online/API/Requests/GetUserRequest.cs
@@ -11,16 +11,30 @@ namespace osu.Game.Online.API.Requests
private readonly string userIdentifier;
public readonly RulesetInfo Ruleset;
+
+ ///
+ /// Gets the currently logged-in user.
+ ///
public GetUserRequest()
{
}
+ ///
+ /// Gets a user from their ID.
+ ///
+ /// The user to get.
+ /// The ruleset to get the user's info for.
public GetUserRequest(long? userId = null, RulesetInfo ruleset = null)
{
this.userIdentifier = userId.ToString();
Ruleset = ruleset;
}
+ ///
+ /// Gets a user from their username.
+ ///
+ /// The user to get.
+ /// The ruleset to get the user's info for.
public GetUserRequest(string username = null, RulesetInfo ruleset = null)
{
this.userIdentifier = username;