Class WrapperPlayServerChat
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerChat
-
Nested Class Summary
Nested Classes -
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 valuesWrapperPlayServerChat
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.events.InternalStructure
Deprecated.Retrieves the value of field 'chatType'com.comphenix.protocol.events.InternalStructure
Deprecated.Retrieves the value of field 'filterMask'com.comphenix.protocol.events.InternalStructure
Deprecated.int
getIndex()
Retrieves the value of field 'index'Retrieves the value of field 'sender'com.comphenix.protocol.wrappers.WrappedMessageSignature
Retrieves the value of field 'signature'com.comphenix.protocol.wrappers.WrappedChatComponent
Retrieves the value of field 'unsignedContent'void
setBodyInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.void
setChatType
(WrappedBoundChatType value) Sets the value of field 'chatType'void
setChatTypeInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.{UsesetChatType(WrappedBoundChatType)
instead}void
Sets the value of field 'filterMask'void
setFilterMaskInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.void
setIndex
(int value) Sets the value of field 'index'void
Sets the value of field 'sender'void
setSignature
(com.comphenix.protocol.wrappers.WrappedMessageSignature value) Sets the value of field 'signature'void
setUnsignedContent
(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'unsignedContent'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
-
WrapperPlayServerChat
public WrapperPlayServerChat()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerChat
public WrapperPlayServerChat(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getSender
Retrieves the value of field 'sender'- Returns:
- 'sender'
-
setSender
Sets the value of field 'sender'- Parameters:
value
- New value for field 'sender'
-
getIndex
public int getIndex()Retrieves the value of field 'index'- Returns:
- 'index'
-
setIndex
public void setIndex(int value) Sets the value of field 'index'- Parameters:
value
- New value for field 'index'
-
getSignature
public com.comphenix.protocol.wrappers.WrappedMessageSignature getSignature()Retrieves the value of field 'signature'- Returns:
- 'signature'
-
setSignature
public void setSignature(com.comphenix.protocol.wrappers.WrappedMessageSignature value) Sets the value of field 'signature'- Parameters:
value
- New value for field 'signature'
-
getBodyInternal
Deprecated.Retrieves the value of field 'body' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'body'
-
setBodyInternal
Deprecated.Sets the value of field 'body' 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 'body'
-
getUnsignedContent
public com.comphenix.protocol.wrappers.WrappedChatComponent getUnsignedContent()Retrieves the value of field 'unsignedContent'- Returns:
- 'unsignedContent'
-
setUnsignedContent
public void setUnsignedContent(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'unsignedContent'- Parameters:
value
- New value for field 'unsignedContent'
-
getFilterMaskInternal
Deprecated.Retrieves the value of field 'filterMask'- Returns:
- 'filterMask'
-
setFilterMaskInternal
@Deprecated public void setFilterMaskInternal(com.comphenix.protocol.events.InternalStructure value) Deprecated.Sets the value of field 'filterMask'- Parameters:
value
- New value for field 'filterMask'
-
getFilterMask
Retrieves the value of field 'filterMask'- Returns:
- 'filterMask'
-
setFilterMask
Sets the value of field 'filterMask'- Parameters:
value
- New value for field 'filterMask'
-
getChatTypeInternal
Deprecated.{UsegetChatType()
instead}Retrieves the value of field 'chatType' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'chatType'
-
setChatTypeInternal
Deprecated.{UsesetChatType(WrappedBoundChatType)
instead}Sets the value of field 'chatType' 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 'chatType'
-
getChatType
Retrieves the value of field 'chatType'- Returns:
- 'chatType'
-
setChatType
Sets the value of field 'chatType'- Parameters:
value
- New value for field 'chatType'
-
getChatType()
instead}