Table of Contents

Friend

struct in Coherence.Cloud

A friend player account.

Remarks

Friendships are mutual (both player accounts need to befriend each other). Friends hold online presence, so you can see whether they are online, if they carry presence (i.e., a custom status message), and which lobbies are they on.

Properties
AvatarUrl

The image URL for the friend's avatar.

DisplayName

The name this friend chose to be shown as.

Id
IsOnline

Whether this friend is playing right now.

LastOnlineAt

When this friend was last seen playing.

LobbyIds

The lobbies this friend is in, the one they joined last first.

Presence

Custom message reporting friend's online presence.

SourceIds

This friend's id on each platform they were synced from.

Username

Player account username.

Methods
Equals
GetHashCode
ToString
Operators
op_Equality
op_Inequality
See Also