readMatchPlayers
readMatchPlayers(
world,match,readMatchPlayersOptions?):PlayerEntity[]
The players who hold match’s slots, in slot order: those connected
and those whose connection dropped and the room still holds, so a
game’s own event reaches them with { to: readMatchPlayers(world, match) }. With team, that side’s alone. A slot kept by account has no
player: readMatchSlots lists it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
match |
MatchEntity |
readMatchPlayersOptions |
ReadMatchPlayersOptions |