Update MediaWiki page '718 Friends packet'

This commit is contained in:
Arham Siddiqui 2014-06-07 01:28:10 +00:00 committed by moparisthebest
parent ddce863b4e
commit b58dc22130

View File

@ -1,25 +1,25 @@
[[Category Packet]] [[Category Packet]]
[[Category Packet 718]] [[Category Packet 718]]
<h3><span class="mw-headline"> Description </span></h3> {{packet|name=Friends packet|description=Sends friend data to the client|opcode=2|type=VARIABLE_SHORT|length=-2|revision=718}}
== Friends packet ==
<p>Sends friend data to the client === Description ===
</p>
<h3><span class="mw-headline"> Packet Structure </span></h3>
<table border="2">
<tr>
<th> Data type
</th><th> Description
</th></tr>
<tr>
<td> Byte </td><td> If it is a warning message </td> Sends friend data to the client
<tr>
<td> String </td> <td> Display name </td></tr> === Packet Structure ===
<tr>
<td> String </td> <td> If the display name does not equal the player's username, then this sends the username </td></tr> {| border=2
<tr> ! Data type
<td> Short </td> <td> The World ID </td></tr> ! Description
<tr> |-
<td> Byte </td> <td> The player's rank </td></tr> | [[Data Types#Standard data types|Short]] || If it is a warning message.
<td> String </td> <td> Display name </td> |-
</table> | [[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
|}