MCPcopy Create free account
hub / github.com/PerroEngine/Perro / get

Function get

perro_source/api_modules/perro_steamworks/src/friends.rs:22–24  ·  view source on GitHub ↗
(id: SteamID)

Source from the content-addressed store, hash-verified

20}
21
22pub fn get(id: SteamID) -> Result<FriendInfo, SteamError> {
23 app::with_client(|client| Ok(friend_info(client.friends().get_friend(id.into()))))
24}
25
26pub fn get_avatar(id: SteamID, size: SteamAvatarSize) -> Result<Option<SteamAvatar>, SteamError> {
27 app::with_client(|client| {

Callers 2

getMethod · 0.50
mainFunction · 0.50

Calls 2

with_clientFunction · 0.85
friend_infoFunction · 0.85

Tested by

no test coverage detected