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