public sealed struct Sandbox.Friend
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 2 constructors
No results match this filter.
Methods
Showing 3 methods
public string GetRichPresence(string key)
Returns a string that was possibly set by rich presence
public void OpenAddFriendOverlay()
Opens the Steam overlay with a popup that allows the local Steam user to confirm whether to add this user to their Steam friends list.
public void OpenInOverlay()
Opens the Steam overlay web browser to their user profile.
No results match this filter.
Properties
Showing 10 properties
public ulong Sandbox.Friend.Id { get; set; }
The friend's Steam Id
public bool Sandbox.Friend.IsAway { get; set; }
Returns true if your friend is away
public bool Sandbox.Friend.IsBusy { get; set; }
Returns true if this friend is marked as busy
public bool Sandbox.Friend.IsFriend { get; set; }
Returns true if this user is your friend
public bool Sandbox.Friend.IsMe { get; set; }
Returns true if this friend is the local user
public bool Sandbox.Friend.IsOnline { get; set; }
Returns true if your friend is online
public bool Sandbox.Friend.IsPlayingAGame { get; set; }
Returns true if they're playing any game
public bool Sandbox.Friend.IsPlayingThisGame { get; set; }
Returns true if they're playing this game
public bool Sandbox.Friend.IsSnoozing { get; set; }
Returns true if this friend is marked as snoozing
public string Sandbox.Friend.Name { get; set; }
The friend's name
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Friend |