Shows the number of players, rooms, etc currently on the server.
This Fsm watches most server properties live. It is used within the main menu, when the user can choose or create a room to join.
We only start monitoring the stats when we are connected of course, so the best way is to wait for PHOTON / STATE : CONNECTED built in event. In the "watch the server properties and display them", we essentially query and store the number of players on the server, the number of players currently in a room ( that is actively playing), the number of rooms, and create the GUI elements to show them values.
Photon Actions used:
- Photon Network Get Players On Master Count ( in state "watch the server properties and display them")
- Photon Network Get Rooms Count ( in state "watch the server properties and display them")
- Photon Network Get Players Count ( in state "watch the server properties and display them")
- Photon Network Get Players In Rooms Count ( in state "watch the server properties and display them")