Retrieves a Room object from its id.

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

Syntax

C#
public Room GetRoomById(
	int id
)

Parameters

id
Type: System..::..Int32
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.

Implements

IRoomManager..::..GetRoomById(Int32)

See Also