rswiki-book/src/317/317-Send-add-friend.md

532 B

\[Category Packet

[ Description ]{.mw-headline}

Sends friend data to the client

Attempts to update player node, if player isn't in the friends list and there is space, the player is added to the friend list.

[ Packet Structure ]{.mw-headline}

Data type Description
Long The player name
Byte The world (10 = "online" for most clients, 0 = logged out)