mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-11 11:55:06 -05:00
23 lines
867 B
Plaintext
23 lines
867 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#Big Endian|Big 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]] [[Data Types#Non Standard Data Types|Special A]]
|
||
|
| The objects Y coordinate.
|
||
|
|-
|
||
|
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
|
||
|
| The objects X coordinate.
|
||
|
|}
|