mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-12-17 21:22:24 -05:00
23 lines
824 B
Plaintext
23 lines
824 B
Plaintext
[[Category Packet]]
|
|
[[Category Packet 317]]
|
|
{{packet|name=Object action 2|description=Sent when the player clicks the second option available for an an object.|opcode=252|type=Fixed|length=6|revision=317}}
|
|
== Object action 2 ==
|
|
|
|
=== Description ===
|
|
|
|
This packet is sent when a player clicks the second option available of an object, such as "Prospect" 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 ID.
|
|
|-
|
|
| [[Data Types#Little Endian|Little Endian]] [[Data Types#Standard data types|Short]]
|
|
| The objects Y coordinate.
|
|
|-
|
|
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
|
|
| The objects X coordinate.
|
|
|} |