Networking · interface
DecodedMessage
What a decoded message turned out to be. kind 0 means it did not decode.
Explained in Networking and rollback.
interface DecodedMessageimport type { DecodedMessage } from '@driftengine/network';Properties
| Name | Type | Description |
|---|---|---|
kind | number | |
participant | number | |
tick | number | |
payloadAt | number | Where the payloads start, and how long each one is. Zero when there is none. |
payloadBytes | number | |
count | number | How many consecutive ticks this message carries, starting at tick. One for everything else. |
digest | string | The sixteen-hex-character digest, for a fingerprint message; empty otherwise. |