rswiki-book/src/718-Friends-packet.md

19 lines
786 B
Markdown
Raw Normal View History

2018-07-03 00:31:18 -04:00
\[\[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 \|}