diff options
| author | William Venner <[email protected]> | 2021-03-16 03:41:53 +0000 |
|---|---|---|
| committer | William Venner <[email protected]> | 2021-03-16 03:41:53 +0000 |
| commit | 9be85f7a074e301f1eed347e43488cc81b1ef292 (patch) | |
| tree | ccd37d0c95cd1e9af1c37e947513499fcf7a880e | |
| parent | Merge pull request #33 from WilliamVenner/ugc-stats (diff) | |
| download | steamworks-rs-9be85f7a074e301f1eed347e43488cc81b1ef292.tar.xz steamworks-rs-9be85f7a074e301f1eed347e43488cc81b1ef292.zip | |
Make request_user_information return the returned bool from Steamworks
| -rw-r--r-- | src/friends.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/friends.rs b/src/friends.rs index 5ac49f8..66ab182 100644 --- a/src/friends.rs +++ b/src/friends.rs @@ -91,9 +91,9 @@ impl <Manager> Friends<Manager> { } } - pub fn request_user_information(&self, user: SteamId, name_only: bool) { + pub fn request_user_information(&self, user: SteamId, name_only: bool) -> bool { unsafe { - sys::SteamAPI_ISteamFriends_RequestUserInformation(self.friends, user.0, name_only); + sys::SteamAPI_ISteamFriends_RequestUserInformation(self.friends, user.0, name_only) } } |