PlayersCreated

@Serializable
data class PlayersCreated(val players: List<PlayerId>) : MediaEvent(source)

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

Official doc

Constructors

Link copied to clipboard
constructor(players: List<PlayerId>)

Properties

Link copied to clipboard