Class ChatCache
java.lang.Object
com.zenith.cache.data.chat.ChatCache
- All Implemented Interfaces:
CachedData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Nullable ChatSessionprotected CommandNode[]protected booleanprotected intprotected longprotected @Nullable net.raphimc.minecraftauth.step.java.StepPlayerCertificates.PlayerCertificates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidgetPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) voidreset(CacheResetType type)
-
Field Details
-
commandNodes
-
firstCommandNodeIndex
protected int firstCommandNodeIndex -
lastChatTimestamp
protected volatile long lastChatTimestamp -
enforcesSecureChat
protected boolean enforcesSecureChat -
chatSession
-
playerCertificates
protected @Nullable net.raphimc.minecraftauth.step.java.StepPlayerCertificates.PlayerCertificates playerCertificates
-
-
Constructor Details
-
ChatCache
public ChatCache()
-
-
Method Details
-
getPackets
- Specified by:
getPacketsin interfaceCachedData
-
reset
- Specified by:
resetin interfaceCachedData
-
getSendingMessage
- Specified by:
getSendingMessagein interfaceCachedData
-
canUseChatSigning
public boolean canUseChatSigning() -
startNewChatSession
-