pl.wendigo.chrome.api.media / PlayersCreatedEvent

PlayersCreatedEvent

data class PlayersCreatedEvent : Event (source)

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.

Link
Media#playersCreated event documentation.

Constructors

<init>

PlayersCreatedEvent(players: List<PlayerId>)

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.

Properties

players

val players: List<PlayerId>

Inherited Functions

protocolDomain

fun protocolDomain(): String