Click or drag to resize

SmartFoxRoomList Property

Returns a list of Room objects representing the Rooms currently "watched" by the client.

Namespace:  Sfs2X
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: (1.7.11)
public List<Room> RoomList { get; }

Property Value

Type: ListRoom
The list contains all the Rooms that are currently joined and all the Rooms belonging to the Room Groups that have been subscribed.
At login time, the client automatically subscribes all the Room Groups specified in the Zone's Default Room Groups setting.

The same list is returned by the IRoomManager.getRoomById() method, accessible through the RoomManager getter; this was replicated on the SmartFox class for handy access due to its usually frequent usage.

See Also