Retrieve the number of spectators currently inside the room.


The number of spectators in the room

Version:
SmartFoxServer Basic / Pro
SmartFoxServer Basic / Pro


int specsNum = room.GetSpectatorCount(); Debug.WriteLine("There are " + specsNum + " spectators in the room");
