Creates a new ChangeRoomCapacityRequest instance.

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

Syntax

C#
public ChangeRoomCapacityRequest(
	Room room,
	int newMaxUsers,
	int newMaxSpect
)

Parameters

room
Type: Sfs2X.Entities..::..Room
The object corresponding to the Room whose capacity should be changed.
newMaxUsers
Type: System..::..Int32
The new maximum number of users/players who can join the Room.
newMaxSpect
Type: System..::..Int32
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