C0DPacketCloseWindow
A packet sent by the client to close a window (container/inventory).
Extends
Constructors
Constructor
new C0DPacketCloseWindow(
windowId):C0DPacketCloseWindow
Creates a new C0DPacketCloseWindow packet
Parameters
windowId
number
The ID of the window to close
Returns
C0DPacketCloseWindow
Overrides
Packet.constructor
Methods
getPacketID()
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
getWindowId()
getWindowId():
number
Gets the ID of the window being closed
Returns
number
The window ID
setWindowId()
setWindowId(
windowId):void
Sets the ID of the window being closed
Parameters
windowId
number
The new window ID
Returns
void
Last updated