PlayersCreatedEvent

data class PlayersCreatedEvent(players: List<PlayerId>) : Event

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.

Constructors

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

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

players
Link copied to clipboard
val players: List<PlayerId>

Sources

jvm source
Link copied to clipboard