Skip to content
Version 2.32.0
↓ Get the launcher

FriendInfo record

One entry of the local player’s friend list (IFriends.Friends), read from the game’s own friend_main_data. Blocked players (the game’s Shield group) are excluded.

public record FriendInfo
name description
FriendInfo(…) One entry of the local player’s friend list (IFriends.Friends), read from the game’s own friend_main_data. Blocked players (the game’s Shield group) are excluded.
AvatarUrl { get; set; } Profile picture URL (the same URL IPlayerProfile.RequestAvatarUrl returns), or null when the friend has no custom photo / it isn’t loaded.
CharId { get; set; } The friend’s charId — the same id SenderId carries, so it is directly usable with ChatTarget.Whisper (decoded exactly from the game’s int64, not via a float).
GroupId { get; set; } Friend group id (the game’s custom friend groups; 1 = the default “All” group).
IsOnline { get; set; } True when the game reports the friend online (offline time 0).
Level { get; set; } Character level; 0 when not loaded.
Name { get; set; } Character name; empty until the game has loaded the friend’s profile.
ProfessionId { get; set; } Current class (profession) id; 0 when not loaded.
Remark { get; set; } The note the local player set on this friend; empty when none.