Skip to main content

Module chat

Module chat 

Source
Expand description

Chat and messaging state for a player.

Groups the fields related to secure chat: message counters, signature cache, message validator, chat session, and message chain.

Modulesยง

message_chain
Message chain management for signed chat.
message_validator ๐Ÿ”’
Server-side validation of client message acknowledgements.
profile_key
Player profile public key management for secure chat.
signature_cache ๐Ÿ”’
Chat message signature tracking for secure chat validation.
spam_throttler ๐Ÿ”’

Structsยง

ChatState
All chat-related state for a player.
LastSeen
Tracks the last seen message signatures by a player
LastSeenMessagesValidator
Validates that the client is properly acknowledging messages sent by the server
MessageCache
Message signature cache for a player