mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-12-22 07:28:50 -05:00
59 lines
895 B
Plaintext
59 lines
895 B
Plaintext
[[Category Packet]]
|
|
[[Category Packet 317]]
|
|
{{packet|name=Display hint icon|description=Display a hint icon to the player.|opcode=254|type=Variable Byte|length=N/A|revision=317}}
|
|
|
|
== Display Hint Icon ==
|
|
|
|
=== Description ===
|
|
|
|
Displays a hint icon.
|
|
|
|
=== Packet Structure ===
|
|
|
|
{| border=2
|
|
! Data type
|
|
! Description
|
|
|-
|
|
| [[Data Types#Standard data types|Byte]]
|
|
| The Icon type
|
|
|-
|
|
|}
|
|
|
|
=== if type == 1 ===
|
|
|
|
{| border=2
|
|
! Data type
|
|
! Description
|
|
|-
|
|
| [[Data Types#Standard data type|Short]]
|
|
| Icon NPC target
|
|
|-
|
|
|}
|
|
|
|
=== if type >= 2 && type <= 6 ===
|
|
|
|
{| border=2
|
|
! Data type
|
|
! Description
|
|
|-
|
|
| [[Data Types#Standard data type|Short]]
|
|
| Icon X
|
|
|-
|
|
| [[Data Types#Standard data type|Short]]
|
|
| Icon Y
|
|
|-
|
|
| [[Data Types#Standard data types|Byte]]
|
|
| Icon draw height
|
|
|-
|
|
|}
|
|
|
|
=== if type == 10 ===
|
|
|
|
{| border=2
|
|
! Data type
|
|
! Description
|
|
|-
|
|
| [[Data Types#Standard data type|Short]]
|
|
| Icon player target
|
|
|-
|
|
|} |