Class WrapperPlayServerDisguisedChat
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerDisguisedChat
-
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 valuesWrapperPlayServerDisguisedChat
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the value of field 'chatType' ProtocolLib currently does not provide a wrapper for this type.com.comphenix.protocol.events.InternalStructure
Deprecated.com.comphenix.protocol.wrappers.WrappedChatComponent
Retrieves the value of field 'message'void
setChatType
(WrappedBoundChatType value) Sets the value of field 'chatType' ProtocolLib currently does not provide a wrapper for this type.void
setChatTypeInternal
(com.comphenix.protocol.events.InternalStructure value) Deprecated.UsesetChatType(WrappedBoundChatType)
insteadvoid
setMessage
(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'message'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
-
WrapperPlayServerDisguisedChat
public WrapperPlayServerDisguisedChat()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerDisguisedChat
public WrapperPlayServerDisguisedChat(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getMessage
public com.comphenix.protocol.wrappers.WrappedChatComponent getMessage()Retrieves the value of field 'message'- Returns:
- 'message'
-
setMessage
public void setMessage(com.comphenix.protocol.wrappers.WrappedChatComponent value) Sets the value of field 'message'- Parameters:
value
- New value for field 'message'
-
getChatTypeInternal
Deprecated.UsegetChatType()
insteadRetrieves 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)
insteadSets 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' ProtocolLib currently does not provide a wrapper for this type. Access to this type is only provided by an InternalStructure- Returns:
- 'chatType'
-
setChatType
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()
instead