PlayerEventsAdded

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

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
Link copied to clipboard