Class WrapperPlayServerChat

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerChat

public class WrapperPlayServerChat extends AbstractPacket
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The 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

      public UUID getSender()
      Retrieves the value of field 'sender'
      Returns:
      'sender'
    • setSender

      public void setSender(UUID value)
      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 public com.comphenix.protocol.events.InternalStructure 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 public void setBodyInternal(com.comphenix.protocol.events.InternalStructure value)
      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 public com.comphenix.protocol.events.InternalStructure 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

      public void setFilterMask(WrapperPlayServerChat.WrappedFilterMask value)
      Sets the value of field 'filterMask'
      Parameters:
      value - New value for field 'filterMask'
    • getChatTypeInternal

      @Deprecated public com.comphenix.protocol.events.InternalStructure getChatTypeInternal()
      Deprecated.
      {Use getChatType() 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 public void setChatTypeInternal(com.comphenix.protocol.events.InternalStructure value)
      Deprecated.
      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

      public WrappedBoundChatType getChatType()
      Retrieves the value of field 'chatType'
      Returns:
      'chatType'
    • setChatType

      public void setChatType(WrappedBoundChatType value)
      Sets the value of field 'chatType'
      Parameters:
      value - New value for field 'chatType'