rswiki-book/317-Object-action-1.mediawiki

24 lines
773 B
Plaintext

[[Category Packet]]
[[Category Packet 317]]
{{packet|name=Object action 1|description=Sent when the player clicks the first option of an object.|opcode=132|type=Fixed|length=6|revision=317}}
== Object Action 1 ==
=== Description ===
This packet is sent when a player clicks the first option of an object, such as "Cut" for trees or "Mine" for rocks.
=== Packet Structure ===
{|border=2
! Data Type
! Description
|-
| [[Data Types#Little Endian|Little Endian]] [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
| The objects X coordinate.
|-
| [[Data Types#Standard data types|Short]]
| The objects ID.
|-
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
| The objects Y coordinate.
|-
|}