Get all player in a room

Options
How to get all data player in a room ? like nickname, ID, etc.

Comments

  • Kaiserludi
    Options
    Hi @ikromaf.

    Client::getCurrentlyJoinedRoom().getPlayers() returns a list of all players that are inside the same room as the local player. Those player instances contain all available information about the players.