2014-06-05 15:06:05 -04:00
|
|
|
[[Category Packet]]
|
|
|
|
[[Category Packet 718]]
|
2014-06-06 21:28:10 -04:00
|
|
|
{{packet|name=Friends packet|description=Sends friend data to the client|opcode=2|type=VARIABLE_SHORT|length=-2|revision=718}}
|
|
|
|
== Friends packet ==
|
2014-06-05 15:06:05 -04:00
|
|
|
|
2014-06-06 21:28:10 -04:00
|
|
|
=== Description ===
|
2014-06-05 15:06:05 -04:00
|
|
|
|
2014-06-06 21:28:10 -04:00
|
|
|
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
|
|
|
|
|}
|