NewRoomDescriptor constructor.
| C# | Visual Basic | Visual C++ |
public NewRoomDescriptor( string name, int maxUsers, bool isGame, int maxSpectators, ArrayList variables, NewRoomDescriptor..::.ExtensionDescriptor extension, string password, bool exitCurrentRoom, bool receiveUCount )
- name (String)
- the room name
- maxUsers (Int32)
- the maximum number of users that can join the room.
- isGame (Boolean)
- if true, the room is a game room (optional, default value: false).
- maxSpectators (Int32)
- in game rooms only, the maximum number of spectators that can join the room (optional, default value: 0).
- variables (ArrayList)
- an ArrayList of Room Variables, as described in the SetRoomVariables(ArrayList, Int32, Boolean) method documentation (optional, default: none).
- extension (NewRoomDescriptor..::.ExtensionDescriptor)
- a NewRoomDescriptor.ExtensionDescriptor, as descriped in NewRoomDescriptor..::.ExtensionDescriptor(String, String) describing which extension should be dynamically attached to the room, as described farther on (optional, default: none).
- password (String)
- a password to make the room private (optional, default: none)
- exitCurrentRoom (Boolean)
- if true and in case of game room, the new room is joined after creation (optional, default value: true).
- receiveUCount (Boolean)
- if true, the new room will receive the SFSEvent..::.OnUserCountChangeDelegate notifications (optional, default recommended value: false).