Find the name of every photon player.

Hi, is it possible to find the name of every photon player connected to the application. I'm assuming I should use a
foreach()
statement, but I cant do
photonnetwork.playerlist
because that is used to find the players in the room, and I cant use
Photonnetwork.countofplayers
because it is an int. Please help.

Thanks
Tz

Comments

  • Unless you modify the application thats impossible.
    The world outside the room does not exist. It would be anightmare to maintain a multiserver shared playerlist with tens of thousands of players without a data explosion.

    For such a purpose you likely would add a webservice that your client talks to so you can ask the webservice for specific usernames and username ranges cause your clients can't take a hundred to thousands to tenthousands of username list