Dispatched when a new Room is created inside the Zone under any of the Room Groups that the client subscribed.

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

Syntax

C#
public static readonly string ROOM_ADD

Field Value

Type: String

Remarks

This event is fired in response to the CreateRoomRequest and CreateSFSGameRequest requests in case the operation is executed successfully.

The Params object contains the following parameters:

ParameterDescription
room(Room) An object representing the Room that was created.

Examples

See the CreateRoomRequest example.

See Also