Difference between revisions of "317:Item on object"
From RuneWiki
Jump to navigationJump to search (New page: {{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 ...) |
|||
Line 11: | Line 11: | ||
! Description | ! Description | ||
|- | |- | ||
− | | Short [[Data_Types#Non_Standard_Data_Types|Special A]] | + | | [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]] |
| The frame ID. | | The frame ID. | ||
|- | |- | ||
− | | [[Data Types#Little Endian|Little Endian]] Short | + | | [[Data Types#Little Endian|Little Endian]] [[Data_Types#Standard_data_types|Short]] |
| The object ID. | | The object ID. | ||
|- | |- | ||
− | | [[Data Types#Big Endian|Big Endian]] Short [[Data_Types#Non_Standard_Data_Types|Special A]] | + | | [[Data Types#Big Endian|Big Endian]] [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]] |
| The objects Y coordinate. | | The objects Y coordinate. | ||
|- | |- | ||
− | | [[Data Types#Big Endian|Big Endian]] Short | + | | [[Data Types#Big Endian|Big Endian]] [[Data_Types#Standard_data_types|Short]] |
| The items slot ID. | | The items slot ID. | ||
|- | |- | ||
− | | [[Data Types#Big Endian|Big Endian]] Short [[Data_Types#Non_Standard_Data_Types|Special A]] | + | | [[Data Types#Big Endian|Big Endian]] [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]] |
| The objects X coordinate. | | The objects X coordinate. | ||
|- | |- | ||
− | | Short | + | | [[Data_Types#Standard_data_types|Short]] |
| The item ID. | | The item ID. | ||
|- | |- | ||
|} | |} |
Latest revision as of 19:07, 11 October 2009
Item on object Sent when a player uses an item on an objet. | |
Opcode | 192 |
---|---|
Type | Fixed |
Length | 12 |
Item on Object
Description
This packet is sent when a player uses an item on object.
Packet Structure
Data Type | Description |
---|---|
Short Special A | The frame ID. |
Little Endian Short | The object ID. |
Big Endian Short Special A | The objects Y coordinate. |
Big Endian Short | The items slot ID. |
Big Endian Short Special A | The objects X coordinate. |
Short | The item ID. |