mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-12-23 07:58:47 -05:00
24 lines
773 B
Plaintext
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.
|
||
|
|-
|
||
|
|}
|