mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-11 03:45:02 -05:00
25 lines
718 B
Plaintext
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
|
|
|} |