Click or drag to resize

RoomMaxSpectators Property

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

Namespace:  Sfs2X.Entities
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: (1.7.11)
int MaxSpectators { get; set; }

Property Value

Type: Int32
NOTE: setting this property manually has no effect on the server and can disrupt the API functioning. This flag must be set when creating the Game Room.
See Also