aboutsummaryrefslogtreecommitdiff
path: root/src/friends.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/friends.rs')
-rw-r--r--src/friends.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/friends.rs b/src/friends.rs
index b7a12f0..1958258 100644
--- a/src/friends.rs
+++ b/src/friends.rs
@@ -1,4 +1,3 @@
-
use super::*;
use std::net::Ipv4Addr;
@@ -230,7 +229,7 @@ impl <Manager> Friend<Manager> {
}
}
- /// Returns a small (32x32) avatar for the user
+ /// Returns a small (32x32) avatar for the user in RGBA format
pub fn small_avatar(&self) -> Option<Vec<u8>> {
unsafe {
let utils = sys::steam_rust_get_utils();
@@ -253,7 +252,7 @@ impl <Manager> Friend<Manager> {
}
}
- /// Returns a small (64x64) avatar for the user
+ /// Returns a medium (64x64) avatar for the user in RGBA format
pub fn medium_avatar(&self) -> Option<Vec<u8>> {
unsafe {
let utils = sys::steam_rust_get_utils();
@@ -277,7 +276,7 @@ impl <Manager> Friend<Manager> {
}
}
-#[derive(Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum FriendState {
Offline,
Online,