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