Package zombie.chat
Class ChatMessage
java.lang.Object
zombie.chat.ChatMessage
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ServerChatMessage
-
Constructor Summary
ConstructorsConstructorDescriptionChatMessage(ChatBase chatBase, String string) ChatMessage(ChatBase chatBase, LocalDateTime localDateTime, String string) -
Method Summary
Modifier and TypeMethodDescriptionclone()getChat()intintgetText()booleanbooleanbooleanisLocal()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidpack(ByteBufferWriter byteBufferWriter) voidvoidsetCustomTag(String string) voidsetDatetime(LocalDateTime localDateTime) voidsetLocal(boolean boolean1) voidsetOverHeadSpeech(boolean boolean1) voidsetRadioChannel(int int1) voidsetScrambledText(String string) voidsetServerAlert(boolean boolean1) voidsetServerAuthor(boolean boolean1) voidsetShouldAttractZombies(boolean boolean1) voidsetShowInChat(boolean boolean1) voidvoidsetTextColor(Color color) toString()
-
Constructor Details
-
ChatMessage
-
ChatMessage
-
-
Method Details
-
isShouldAttractZombies
public boolean isShouldAttractZombies() -
setShouldAttractZombies
public void setShouldAttractZombies(boolean boolean1) -
isLocal
public boolean isLocal() -
setLocal
public void setLocal(boolean boolean1) -
getTextWithReplacedParentheses
-
setScrambledText
-
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
-
getDatetimeStr
-
setDatetime
-
isShowAuthor
public boolean isShowAuthor() -
getAuthor
-
setAuthor
-
getChat
-
getChatID
public int getChatID() -
getText
-
setText
-
getTextWithPrefix
-
isScramble
public boolean isScramble() -
getCustomTag
-
setCustomTag
-
getTextColor
-
setTextColor
-
isCustomColor
public boolean isCustomColor() -
pack
-
clone
-
isServerAlert
public boolean isServerAlert() -
setServerAlert
public void setServerAlert(boolean boolean1) -
toString
-