mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-23 01:22:15 -05:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
|
[[Category Packet]]
|
||
|
[[Category Packet 317]]
|
||
|
{{packet|name=Item on object|description=Sent when a player uses an item on an objet.|opcode=192|type=Fixed|length=12|revision=317}}
|
||
|
== Item on Object ==
|
||
|
|
||
|
=== Description ===
|
||
|
|
||
|
This packet is sent when a player uses an item on object.
|
||
|
|
||
|
=== Packet Structure ===
|
||
|
{|border=2
|
||
|
! Data Type
|
||
|
! Description
|
||
|
|-
|
||
|
| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
|
||
|
| The frame ID.
|
||
|
|-
|
||
|
| [[Data Types#Little Endian|Little Endian]] [[Data Types#Standard data types|Short]]
|
||
|
| The object ID.
|
||
|
|-
|
||
|
| [[Data Types#Big Endian|Big Endian]] [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]]
|
||
|
| The objects Y coordinate.
|
||
|
|-
|
||
|
| [[Data Types#Big Endian|Big Endian]] [[Data Types#Standard data types|Short]]
|
||
|
| The items slot ID.
|
||
|
|-
|
||
|
| [[Data Types#Big Endian|Big 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 item ID.
|
||
|
|-
|
||
|
|}
|