Package zombie.chat

Class ChatMessage

java.lang.Object
zombie.chat.ChatMessage
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
ServerChatMessage

public class ChatMessage
extends java.lang.Object
implements java.lang.Cloneable
  • Constructor Details

    • ChatMessage

      public ChatMessage​(ChatBase chatBase, java.lang.String string)
    • ChatMessage

      public ChatMessage​(ChatBase chatBase, java.time.LocalDateTime localDateTime, java.lang.String string)
  • Method Details

    • isShouldAttractZombies

      public boolean isShouldAttractZombies()
    • setShouldAttractZombies

      public void setShouldAttractZombies​(boolean boolean1)
    • isLocal

      public boolean isLocal()
    • setLocal

      public void setLocal​(boolean boolean1)
    • getTextWithReplacedParentheses

      public java.lang.String getTextWithReplacedParentheses()
    • setScrambledText

      public void setScrambledText​(java.lang.String string)
    • getRadioChannel

      public int getRadioChannel()
    • setRadioChannel

      public void setRadioChannel​(int int1)
    • isServerAuthor

      public boolean isServerAuthor()
    • setServerAuthor

      public void setServerAuthor​(boolean boolean1)
    • isFromDiscord

      public boolean isFromDiscord()
    • makeFromDiscord

      public void makeFromDiscord()
    • isOverHeadSpeech

      public boolean isOverHeadSpeech()
    • setOverHeadSpeech

      public void setOverHeadSpeech​(boolean boolean1)
    • isShowInChat

      public boolean isShowInChat()
    • setShowInChat

      public void setShowInChat​(boolean boolean1)
    • getDatetime

      public java.time.LocalDateTime getDatetime()
    • getDatetimeStr

      public java.lang.String getDatetimeStr()
    • setDatetime

      public void setDatetime​(java.time.LocalDateTime localDateTime)
    • isShowAuthor

      public boolean isShowAuthor()
    • getAuthor

      public java.lang.String getAuthor()
    • setAuthor

      public void setAuthor​(java.lang.String string)
    • getChat

      public ChatBase getChat()
    • getChatID

      public int getChatID()
    • getText

      public java.lang.String getText()
    • setText

      public void setText​(java.lang.String string)
    • getTextWithPrefix

      public java.lang.String getTextWithPrefix()
    • isScramble

      public boolean isScramble()
    • getCustomTag

      public java.lang.String getCustomTag()
    • setCustomTag

      public void setCustomTag​(java.lang.String string)
    • getTextColor

      public Color getTextColor()
    • setTextColor

      public void setTextColor​(Color color)
    • isCustomColor

      public boolean isCustomColor()
    • pack

      public void pack​(ByteBufferWriter byteBufferWriter)
    • clone

      public ChatMessage clone()
      Overrides:
      clone in class java.lang.Object
    • isServerAlert

      public boolean isServerAlert()
    • setServerAlert

      public void setServerAlert​(boolean boolean1)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object