SmartFoxServer Silverlight API
Room Constructor (id, name, maxUsers, maxSpectators, isTemp, isGame, isPrivate, isLimbo, userCount, specCount)
NamespacesSmartFoxClientAPI.DataRoomRoom(Int32, String, Int32, Int32, Boolean, Boolean, Boolean, Boolean, Int32, Int32)
Room constructor.
Declaration Syntax
C#Visual BasicVisual C++
public Room(
	int id,
	string name,
	int maxUsers,
	int maxSpectators,
	bool isTemp,
	bool isGame,
	bool isPrivate,
	bool isLimbo,
	int userCount,
	int specCount
)
Public Sub New ( _
	id As Integer, _
	name As String, _
	maxUsers As Integer, _
	maxSpectators As Integer, _
	isTemp As Boolean, _
	isGame As Boolean, _
	isPrivate As Boolean, _
	isLimbo As Boolean, _
	userCount As Integer, _
	specCount As Integer _
)
public:
Room(
	int id, 
	String^ name, 
	int maxUsers, 
	int maxSpectators, 
	bool isTemp, 
	bool isGame, 
	bool isPrivate, 
	bool isLimbo, 
	int userCount, 
	int specCount
)
Parameters
id (Int32)
the room id
name (String)
the room name
maxUsers (Int32)
the maximum number of users that can join the room simultaneously
maxSpectators (Int32)
the maximum number of spectators in the room (for game rooms only)
isTemp (Boolean)
true if the room is temporary
isGame (Boolean)
true if the room is a "game room"
isPrivate (Boolean)
true if the room is private (password protected)
isLimbo (Boolean)
true if the room is a "limbo room"
userCount (Int32)
specCount (Int32)

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)