The room or client that the event came from.
Which roles to assign to which players instead, if changed.
Change which role a player will get assigned.
The player to change the assignment for.
The role to assign for the player instead.
Change which roles to assign to which players.
The roles to assign instead.
Generated using TypeDoc
Emitted when SkeldJS assigns roles to each player, just after a game is started. Can be canceled to avoid assigning roles entirely, or can be used to change which roles are assigned to which players.
Does not guarantee that the players' roles have actually been assigned, see PlayerSetRoleEvent.