Class WrapperPlayServerOpenWindow
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerOpenWindow
-
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 valuesWrapperPlayServerOpenWindow
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the value of field 'containerId'com.comphenix.protocol.wrappers.WrappedChatComponent
getTitle()
Retrieves the value of field 'title'com.comphenix.protocol.events.InternalStructure
Retrieves the value of field 'type' ProtocolLib currently does not provide a wrapper for this type.void
setContainerId
(int value) Sets the value of field 'containerId'void
setTitle
(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'title'void
setTypeInternal
(com.comphenix.protocol.events.InternalStructure value) Sets the value of field 'type' ProtocolLib currently does not provide a wrapper for this type.Methods 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
-
WrapperPlayServerOpenWindow
public WrapperPlayServerOpenWindow()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerOpenWindow
public WrapperPlayServerOpenWindow(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getContainerId
public int getContainerId()Retrieves the value of field 'containerId'- Returns:
- 'containerId'
-
setContainerId
public void setContainerId(int value) Sets the value of field 'containerId'- Parameters:
value
- New value for field 'containerId'
-
getTypeInternal
public com.comphenix.protocol.events.InternalStructure getTypeInternal()Retrieves the value of field 'type' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'type'
-
setTypeInternal
public void setTypeInternal(com.comphenix.protocol.events.InternalStructure value) Sets the value of field 'type' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Parameters:
value
- New value for field 'type'
-
getTitle
public com.comphenix.protocol.wrappers.WrappedChatComponent getTitle()Retrieves the value of field 'title'- Returns:
- 'title'
-
setTitle
public void setTitle(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'title'- Parameters:
value
- New value for field 'title'
-