Class WrapperPlayServerResourcePackSend
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerResourcePackSend
-
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 valuesWrapperPlayServerResourcePackSend
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptiongetHash()
Retrieves the value of field 'hash'com.comphenix.protocol.wrappers.WrappedChatComponent
Retrieves the value of field 'prompt'boolean
Retrieves the value of field 'required'getUrl()
Retrieves the value of field 'url'void
Sets the value of field 'hash'void
setPrompt
(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'prompt'void
setRequired
(boolean value) Sets the value of field 'required'void
Sets the value of field 'url'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
-
WrapperPlayServerResourcePackSend
public WrapperPlayServerResourcePackSend()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerResourcePackSend
public WrapperPlayServerResourcePackSend(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getUrl
Retrieves the value of field 'url'- Returns:
- 'url'
-
setUrl
Sets the value of field 'url'- Parameters:
value
- New value for field 'url'
-
getHash
Retrieves the value of field 'hash'- Returns:
- 'hash'
-
setHash
Sets the value of field 'hash'- Parameters:
value
- New value for field 'hash'
-
getRequired
public boolean getRequired()Retrieves the value of field 'required'- Returns:
- 'required'
-
setRequired
public void setRequired(boolean value) Sets the value of field 'required'- Parameters:
value
- New value for field 'required'
-
getPrompt
public com.comphenix.protocol.wrappers.WrappedChatComponent getPrompt()Retrieves the value of field 'prompt'- Returns:
- 'prompt'
-
setPrompt
public void setPrompt(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'prompt'- Parameters:
value
- New value for field 'prompt'
-