struct
Rosegold::ChatManager::Acknowledgment
- Rosegold::ChatManager::Acknowledgment
- Struct
- Value
- Object
Overview
Acknowledgment snapshot for one outgoing ChatMessage, as vanilla's generateAndApplyUpdate builds it: offset, a 20-bit set over the window from oldest to newest (the newest message is bit 19), and a chained checksum.
Defined in:
rosegold/chat_manager.crConstructors
Instance Method Summary
- #bitset : Bytes
- #checksum : UInt8
- #current?(manager : ChatManager) : Bool
- #epoch : UInt64
- #offset : UInt32
- #version : UInt64
Constructor Detail
def self.new(offset : UInt32, bitset : Slice(UInt8), checksum : UInt8, version : UInt64, epoch : UInt64)
#