Package zombie.chat
Class ChatMessage
java.lang.Object
zombie.chat.ChatMessage
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
ServerChatMessage
-
Constructor Summary
ConstructorDescriptionChatMessage
(ChatBase chatBase, String string) ChatMessage
(ChatBase chatBase, LocalDateTime localDateTime, String string) -
Method Summary
Modifier and TypeMethodDescriptionclone()
getChat()
int
int
getText()
boolean
boolean
boolean
isLocal()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
pack
(ByteBufferWriter byteBufferWriter) void
void
setCustomTag
(String string) void
setDatetime
(LocalDateTime localDateTime) void
setLocal
(boolean boolean1) void
setOverHeadSpeech
(boolean boolean1) void
setRadioChannel
(int int1) void
setScrambledText
(String string) void
setServerAlert
(boolean boolean1) void
setServerAuthor
(boolean boolean1) void
setShouldAttractZombies
(boolean boolean1) void
setShowInChat
(boolean boolean1) void
void
setTextColor
(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
-