Class ChatMessage_v1_19_3


public class ChatMessage_v1_19_3 extends ChatMessage_v1_16
  • Constructor Details

    • ChatMessage_v1_19_3

      public ChatMessage_v1_19_3(UUID senderUUID, int index, byte[] signature, String plainContent, Instant timestamp, long salt, LastSeenMessages.Packed lastSeenMessagesPacked, @Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent, FilterMask filterMask, ChatType.Bound chatFormatting)
  • Method Details

    • getIndex

      public int getIndex()
    • setIndex

      public void setIndex(int index)
    • getSignature

      public byte[] getSignature()
    • setSignature

      public void setSignature(byte[] signature)
    • getChatContent

      public net.kyori.adventure.text.Component getChatContent()
      Overrides:
      getChatContent in class ChatMessage
    • setChatContent

      @Deprecated public void setChatContent(net.kyori.adventure.text.Component chatContent)
      Deprecated.
      Overrides:
      setChatContent in class ChatMessage
    • getPlainContent

      public String getPlainContent()
    • setPlainContent

      public void setPlainContent(String plainContent)
    • getTimestamp

      public Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(Instant timestamp)
    • getSalt

      public long getSalt()
    • setSalt

      public void setSalt(long salt)
    • getLastSeenMessagesPacked

      public LastSeenMessages.Packed getLastSeenMessagesPacked()
    • setLastSeenMessagesPacked

      public void setLastSeenMessagesPacked(LastSeenMessages.Packed lastSeenMessagesPacked)
    • getUnsignedChatContent

      public Optional<net.kyori.adventure.text.Component> getUnsignedChatContent()
    • setUnsignedChatContent

      public void setUnsignedChatContent(@Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent)
    • getFilterMask

      public FilterMask getFilterMask()
    • setFilterMask

      public void setFilterMask(FilterMask filterMask)
    • getChatFormatting

      public ChatType.Bound getChatFormatting()
    • setChatFormatting

      public void setChatFormatting(ChatType.Bound chatFormatting)
    • getChatType

      @Deprecated public ChatType.Bound getChatType()
      Deprecated.
      Retrieves the chat formatting. Please refer to getChatFormatting()
      Returns:
      chat formatting which contains the actual chat type.
    • setChatType

      @Deprecated public void setChatType(ChatType.Bound chatFormatting)
      Deprecated.
      Parameters:
      chatFormatting - formatting which contains the actual chat type.