Returns the current number of users in this Room.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: (1.7.3)


int UserCount { get; set; }

Property Value

Type: Int32


In case of Game Rooms, this is the number of players.

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