UpdateFriendList

class UpdateFriendList(val friends: List<UpdateFriendList.Friend>) : OutgoingGameMessage

Update friendlist is used to send the initial friend list on login, as well as any additions to the friend list over time.

Constructors

Link copied to clipboard
constructor(friends: List<UpdateFriendList.Friend>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface Friend
Link copied to clipboard

Offline friends are friends who either aren't logged in, or cannot be seen as online due to preferences chosen.

Link copied to clipboard

Online friends are friends who are currently logged into the game.

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard

the list of friends to be added/set to this friend list. For instances of this class, use OnlineFriend and OfflineFriend respectively.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String