Class WrapperPlayServerCloseWindow
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerCloseWindow
Send by server to client to close a container with provided id
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerCloseWindow
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the id of the container to closevoid
setContainerId
(int value) Sets the id of the container to closeMethods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerCloseWindow
public WrapperPlayServerCloseWindow()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerCloseWindow
public WrapperPlayServerCloseWindow(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getContainerId
public int getContainerId()Gets the id of the container to close- Returns:
- 'containerId'
-
setContainerId
public void setContainerId(int value) Sets the id of the container to close- Parameters:
value
- New value for field 'containerId'
-