Difference between revisions of "317:Equip item"

From RuneWiki
Jump to navigationJump to search
(New page: {{packet|name=Equip item|description=Sent when a player equips an item..|opcode=41|type=Fixed|length=6|revision=317}} == Button click == === Description === This is sent when a player cl...)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{packet|name=Equip item|description=Sent when a player equips an item..|opcode=41|type=Fixed|length=6|revision=317}}
+
{{packet|name=Equip item|description=Sent when a player equips an item.|opcode=41|type=Fixed|length=6|revision=317}}
== Button click ==
+
== Equip Item ==
  
 
=== Description ===
 
=== Description ===
  
This is sent when a player clicks a button in-game, with the id of the button being clicked.
+
This is sent when a player equips an item in-game.
  
 
=== Packet Structure ===
 
=== Packet Structure ===
Line 12: Line 12:
 
! Description
 
! Description
 
|-
 
|-
| Unsigned Short Special A
+
| Unsigned [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]]
 
| The ID of the item.
 
| The ID of the item.
 
|-
 
|-
| Unsigned Short Special A
+
| Unsigned [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]]
 
| The slot of the item.
 
| The slot of the item.
 
|-
 
|-
| Unsigned Short Special A
+
| Unsigned [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]]
 
| The ID of the interface.
 
| The ID of the interface.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 18:58, 11 October 2009

Equip item
Sent when a player equips an item.
Opcode 41
Type Fixed
Length 6

Equip Item

Description

This is sent when a player equips an item in-game.

Packet Structure

Data type Description
Unsigned Short Special A The ID of the item.
Unsigned Short Special A The slot of the item.
Unsigned Short Special A The ID of the interface.