Click or drag to resize

IRoomManagerGetRoomById Method

Retrieves a Room object from its id.

Namespace:  Sfs2X.Entities.Managers
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
Room GetRoomById(
	int id
)

Parameters

id
Type: SystemInt32
The id of the Room.

Return Value

Type: Room
An object representing the requested Room; null if no Room object with the passed id exists in the Rooms list.
See Also