C09PacketHeldItemChange
Packet sent when changing held item slot
Extends
Constructors
Constructor
new C09PacketHeldItemChange(
slotId):C09PacketHeldItemChange
Creates a new C09PacketHeldItemChange packet
Parameters
slotId
number
slotId - The slot ID to change to (0-8)
Returns
C09PacketHeldItemChange
Overrides
Packet.constructor
Methods
getPacketID()
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
getSlotId()
getSlotId():
number
Gets the selected slot ID
Returns
number
The selected slot ID (0-8)
setSlotId()
setSlotId(
slotId):void
Sets the selected slot ID
Parameters
slotId
number
slotId - The new slot ID to select (0-8)
Returns
void
Last updated