Package zombie.chat
Class ChatMessage
java.lang.Object
zombie.chat.ChatMessage
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ServerChatMessage
-
Constructor Summary
ConstructorDescriptionChatMessage
(ChatBase chat, String text) ChatMessage
(ChatBase chat, LocalDateTime datetime, String text) -
Method Summary
Modifier and TypeMethodDescriptionclone()
getChat()
int
int
getText()
boolean
boolean
boolean
isLocal()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
setCustomTag
(String customTag) void
setDatetime
(LocalDateTime datetime) void
setLocal
(boolean local) void
setOverHeadSpeech
(boolean overHeadSpeech) void
setRadioChannel
(int radioChannel) void
setScrambledText
(String text) void
setServerAlert
(boolean serverAlert) void
setServerAuthor
(boolean serverAuthor) void
setShouldAttractZombies
(boolean shouldAttractZombies) void
setShowInChat
(boolean showInChat) void
void
setTextColor
(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
-