Online Friend
Online friends are friends who are currently logged into the game.
Constructors
Properties
the id of the client the friend is logged into. Current known values include 0 for RuneScape 3, 4 for RS3's lobby (presumably), and 8 for OldSchool RuneScape. The OldSchool clients do not utilize this, its purpose is to prevent sending quick-chat messages from RuneScape 3 over to OldSchool RuneScape, as it does not support quick chat functionality.
the previous display name of the friend, if they had one. If not, set it to null.
a set of bitpacked properties; currently, the client only checks for two properties - PROPERTY_REFERRED and PROPERTY_REFERRER. These properties only affect the ordering of friends in the player's friend list.
the flags of the world the friend is logged into.