Click or drag to resize

RoomSpectatorCount Property

Returns the current number of spectators in this Room (Game Rooms only).

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
int SpectatorCount { get; set; }

Property Value

Type: Int32
Remarks
NOTE: setting this property manually has no effect on the server and can disrupt the API functioning. This flag depends on the Room state.
See Also