Difference between revisions of "317:Object action 1"

From RuneWiki
Jump to navigationJump to search
m
 
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
  
This packet is sent when a player clicks the first option of an oject, such as "Cut" for trees or "Mine" for rocks.
+
This packet is sent when a player clicks the first option of an object, such as "Cut" for trees or "Mine" for rocks.
  
 
=== Packet Structure ===
 
=== Packet Structure ===
Line 11: Line 11:
 
! Description
 
! Description
 
|-
 
|-
| [[Data_Types#Little_Endian|Little Endian]] Short [[Data_Types#Non_Standard_Data_Types|Special A]]
+
| [[Data_Types#Little_Endian|Little 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 objects ID.
 
| The objects ID.
 
|-
 
|-
| Short [[Data_Types#Non_Standard_Data_Types|Special A]]
+
| [[Data_Types#Standard_data_types|Short]] [[Data_Types#Non_Standard_Data_Types|Special A]]
 
| The objects Y coordinate.
 
| The objects Y coordinate.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 19:03, 11 October 2009

Object action 1
Sent when the player clicks the first option of an object.
Opcode 132
Type Fixed
Length 6

Object Action 1

Description

This packet is sent when a player clicks the first option of an object, such as "Cut" for trees or "Mine" for rocks.

Packet Structure

Data Type Description
Little Endian Short Special A The objects X coordinate.
Short The objects ID.
Short Special A The objects Y coordinate.