aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Users/IUserService.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs
index 885b00e5..1d19277c 100644
--- a/src/slskd/Users/IUserService.cs
+++ b/src/slskd/Users/IUserService.cs
@@ -58,6 +58,13 @@ namespace slskd.Users
Task<Status> GetStatusAsync(string username);
/// <summary>
+ /// Retrieves the current <see cref="Statistics"/> of a peer.
+ /// </summary>
+ /// <param name="username">The username of the peer.</param>
+ /// <returns>The retrieved statistics.</returns>
+ Task<Statistics> GetStatisticsAsync(string username);
+
+ /// <summary>
/// Grants the specified peer the specified number of privilege days.
/// </summary>
/// <param name="username">The username of the peer.</param>