Retrieves a list of Rooms joined by the specified user.

Namespace: Sfs2X.Entities.Managers
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
List<Room> GetUserRooms(
	User user
)

Parameters

user
Type: Sfs2X.Entities..::..User
The object representing the user to look for in the current Rooms list.

Return Value

Type: List<(Of <(<'Room>)>)>
The list of Rooms joined by the passed user.

Remarks

The list contains only those Rooms "known" by the Room Manager; the user might have joined others the client is not aware of.

See Also