Click or drag to resize

ChangeRoomCapacityRequest Constructor

Creates a new ChangeRoomCapacityRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public ChangeRoomCapacityRequest(
	Room room,
	int newMaxUsers,
	int newMaxSpect
)

Parameters

room
Type: Sfs2X.EntitiesRoom
The object corresponding to the Room whose capacity should be changed.
newMaxUsers
Type: SystemInt32
The new maximum number of users/players who can join the Room.
newMaxSpect
Type: SystemInt32
The new maximum number of spectators who can join the Room (for Game Rooms only).
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also