We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40ade72 + 591cb1d commit 6a92fb5Copy full SHA for 6a92fb5
src/user_stats.rs
@@ -292,6 +292,13 @@ impl<Manager> UserStats<Manager> {
292
}
293
294
295
+ /// Triggers a [`UserStatsReceived`](./struct.UserStatsReceived.html) callback.
296
+ pub fn request_user_stats(&self, steam_user_id: u64) {
297
+ unsafe {
298
+ sys::SteamAPI_ISteamUserStats_RequestUserStats(self.user_stats, steam_user_id);
299
+ }
300
301
+
302
/// Asynchronously fetch the data for the percentage of players who have received each achievement
303
/// for the current game globally.
304
///
0 commit comments