PhotonCloudAPI > Photon Cloud Object > Get Count Players Online

Get Count Players Online

The total count of players that are currently connected to the same cluster (clients that are connected to the same master server or to a game server that is assigned to the same master server) as the local client.

Inputs

Target
Photon Cloud Object Object Reference

Outputs

Return Value
Integer

The total count of players that are currently connected to the same cluster (clients that are connected to the same master server or to a game server that is assigned to the same master server) as the local client.