rswiki-book/src/317/317-Object-action-1.md

20 lines
771 B
Markdown
Raw Normal View History

2018-10-13 09:48:41 -04:00
# Object Action 1
This packet is sent when a player clicks the first option of an object, such as "Cut" for trees or "Mine" for rocks.
2018-07-03 00:31:18 -04:00
2018-10-13 09:48:41 -04:00
## Packet Details
| Key | Value |
|--|--|
| Name | Object action 1 |
| Description | Sent when the player clicks the first option of an object. |
| Opcode | 132 |
| Type | Fixed |
| Length | 6 |
| Revision | 317 |
2018-07-03 00:31:18 -04:00
2018-10-13 09:48:41 -04:00
## Packet Structure
| Data Type | Description |
|--|--|
| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects X coordinate. |
| [Short](/Data-Types.html#common-data-types) | The objects ID. |
| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects Y coordinate. |