aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-12-31 16:46:02 -0600
committerJP Dillingham <jp@dillingham.me>2023-12-31 16:46:02 -0600
commitbb84c7b1e83765ce03626b12368f11b611ecb8c9 (patch)
tree1e41b8da23d19da708aabf05137079c51fb15bd6 /src
parentb42d1fea954ebc93ecd5a8451db469af1cc76795 (diff)
downloadslskd-bb84c7b1e83765ce03626b12368f11b611ecb8c9.tar.gz
add missing GetStatisticsAsync def
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>