PlayerEventsAdded

@Serializable
data class PlayerEventsAdded(val playerId: PlayerId, val events: List<PlayerEvent>) : MediaEvent

Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.

Official doc

Constructors

Link copied to clipboard
constructor(playerId: PlayerId, events: List<PlayerEvent>)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)