Lua API
On this page

Social_SendFriendsCommand_C2S

Inherits from

Seems to be a legacy friends command, /friends old, for when Jan 2006 event changed the friends list

Fields:

Command number

Only 0 is used in client, I suspect it is list/display

Name string

I assume it would be used to pass a friend to add/remove. Display passes null string.

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string