Class WrapperPlayClientChat

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientChat

public class WrapperPlayClientChat extends AbstractPacket
Sents by client to server when the player sends a (signed) chat messages
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
  • Constructor Details

    • WrapperPlayClientChat

      public WrapperPlayClientChat()
    • WrapperPlayClientChat

      public WrapperPlayClientChat(com.comphenix.protocol.events.PacketContainer packet)
  • Method Details

    • getMessage

      public String getMessage()
      Gets the raw message (max length: 256)
      Returns:
      raw message
    • setMessage

      public void setMessage(String value)
      Sets the raw message (max length: 256)
      Parameters:
      value - raw message
    • getTimeStamp

      public Instant getTimeStamp()
      Retrieves the value of field 'timeStamp'
      Returns:
      'timeStamp'
    • setTimeStamp

      public void setTimeStamp(Instant value)
      Sets the value of field 'timeStamp'
      Parameters:
      value - New value for field 'timeStamp'
    • getSalt

      public long getSalt()
      Gets the salt to verify signatures
      Returns:
      'salt'
    • setSalt

      public void setSalt(long value)
      Sets the salt to verify signatures
      Parameters:
      value - New value for field 'salt'
    • getSignature

      public com.comphenix.protocol.wrappers.WrappedMessageSignature getSignature()
      Gets the signature used to sign this message
      Returns:
      'signature'
    • setSignature

      public void setSignature(com.comphenix.protocol.wrappers.WrappedMessageSignature value)
      Sets the signature used to sign this message
      Parameters:
      value - New value for field 'signature'
    • getLastSeenMessagesInternal

      public com.comphenix.protocol.events.InternalStructure getLastSeenMessagesInternal()
      Retrieves the value of field 'lastSeenMessages'
      Returns:
      'lastSeenMessages'
    • setLastSeenMessagesInternal

      public void setLastSeenMessagesInternal(com.comphenix.protocol.events.InternalStructure value)
      Sets the value of field 'lastSeenMessages'
      Parameters:
      value - New value for field 'lastSeenMessages'
    • getLastSeenMessages

      public WrappedLastSeenMessagesUpdate getLastSeenMessages()
      Retrieves the value of field 'lastSeenMessages'
      Returns:
      'lastSeenMessages'
    • setLastSeenMessages

      public void setLastSeenMessages(WrappedLastSeenMessagesUpdate value)
      Sets the value of field 'lastSeenMessages'
      Parameters:
      value - New value for field 'lastSeenMessages'