Class ChatMessage
java.lang.Object
zombie.chat.ChatMessage
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ServerChatMessage
-
Constructor Summary
ConstructorsConstructorDescriptionChatMessage(ChatBase chat, String text) ChatMessage(ChatBase chat, LocalDateTime datetime, String text) -
Method Summary
Modifier and TypeMethodDescriptionclone()getChat()intintgetText()booleanbooleanbooleanisLocal()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidvoidsetCustomTag(String customTag) voidsetDatetime(LocalDateTime datetime) voidsetLocal(boolean local) voidsetOverHeadSpeech(boolean overHeadSpeech) voidsetRadioChannel(int radioChannel) voidsetScrambledText(String text) voidsetServerAlert(boolean serverAlert) voidsetServerAuthor(boolean serverAuthor) voidsetShouldAttractZombies(boolean shouldAttractZombies) voidsetShowInChat(boolean showInChat) voidvoidsetTextColor(Color textColor) toString()
-
Constructor Details
-
ChatMessage
-
ChatMessage
-
-
Method Details
-
isShouldAttractZombies
public boolean isShouldAttractZombies() -
setShouldAttractZombies
public void setShouldAttractZombies(boolean shouldAttractZombies) -
isLocal
public boolean isLocal() -
setLocal
public void setLocal(boolean local) -
getTextWithReplacedParentheses
-
setScrambledText
-
getRadioChannel
public int getRadioChannel() -
setRadioChannel
public void setRadioChannel(int radioChannel) -
isServerAuthor
public boolean isServerAuthor() -
setServerAuthor
public void setServerAuthor(boolean serverAuthor) -
isFromDiscord
public boolean isFromDiscord() -
makeFromDiscord
public void makeFromDiscord() -
isOverHeadSpeech
public boolean isOverHeadSpeech() -
setOverHeadSpeech
public void setOverHeadSpeech(boolean overHeadSpeech) -
isShowInChat
public boolean isShowInChat() -
setShowInChat
public void setShowInChat(boolean showInChat) -
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 serverAlert) -
toString
-