rswiki-book/718-Friends-packet.mediawiki
2015-06-13 00:18:37 -04:00

25 lines
718 B
Plaintext

[[Category Packet]]
[[Category Packet 718]]
{{packet|name=Friends packet|description=Sends friend data to the client|opcode=2|type=VARIABLE_SHORT|length=-2|revision=718}}
== Friends packet ==
=== Description ===
Sends friend data to the client
=== Packet Structure ===
{| border=2
! Data type
! Description
|-
| [[Data Types#Standard data types|Short]] || If it is a warning message.
|-
| [[Data Types#Standard data types|String]] || Display name
|-
| [[Data Types#Standard data types|String]] || If the display name does not equal the player's username, then this sends the username
|-
| [[Data Types#Standard data types|Short]] || The World ID
|-
| [[Data Types#Standard data types|Byte]] || The player's rank
|}