Class ChatMessage_v1_19
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.message.ChatMessage
com.github.retrooper.packetevents.protocol.chat.message.ChatMessage_v1_16
com.github.retrooper.packetevents.protocol.chat.message.ChatMessage_v1_19
-
Constructor Summary
ConstructorDescriptionChatMessage_v1_19
(net.kyori.adventure.text.Component chatContent, @Nullable net.kyori.adventure.text.Component unsignedChatContent, ChatType type, UUID senderUUID, net.kyori.adventure.text.Component senderDisplayName, @Nullable net.kyori.adventure.text.Component teamName, Instant timestamp, long salt, byte[] signature) -
Method Summary
Modifier and TypeMethodDescriptionlong
getSalt()
net.kyori.adventure.text.Component
byte[]
@Nullable net.kyori.adventure.text.Component
@Nullable net.kyori.adventure.text.Component
void
setSalt
(long salt) void
setSenderDisplayName
(net.kyori.adventure.text.Component senderDisplayName) void
setSignature
(byte[] signature) void
setTeamName
(@Nullable net.kyori.adventure.text.Component teamName) void
setTimestamp
(Instant timestamp) void
setUnsignedChatContent
(@Nullable net.kyori.adventure.text.Component unsignedChatContent) Methods inherited from class com.github.retrooper.packetevents.protocol.chat.message.ChatMessage_v1_16
getSenderUUID, setSenderUUID
Methods inherited from class com.github.retrooper.packetevents.protocol.chat.message.ChatMessage
getChatContent, getType, setChatContent, setType
-
Constructor Details
-
ChatMessage_v1_19
public ChatMessage_v1_19(net.kyori.adventure.text.Component chatContent, @Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent, ChatType type, UUID senderUUID, net.kyori.adventure.text.Component senderDisplayName, @Nullable @Nullable net.kyori.adventure.text.Component teamName, Instant timestamp, long salt, byte[] signature)
-
-
Method Details
-
getUnsignedChatContent
@Nullable public @Nullable net.kyori.adventure.text.Component getUnsignedChatContent() -
getSenderDisplayName
public net.kyori.adventure.text.Component getSenderDisplayName() -
getTeamName
@Nullable public @Nullable net.kyori.adventure.text.Component getTeamName() -
getTimestamp
-
getSalt
public long getSalt() -
getSignature
public byte[] getSignature() -
setUnsignedChatContent
public void setUnsignedChatContent(@Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent) -
setSenderDisplayName
public void setSenderDisplayName(net.kyori.adventure.text.Component senderDisplayName) -
setTeamName
public void setTeamName(@Nullable @Nullable net.kyori.adventure.text.Component teamName) -
setTimestamp
-
setSalt
public void setSalt(long salt) -
setSignature
public void setSignature(byte[] signature)
-