Creates a new SFSRoomVariable instance.

Namespace: Sfs2X.Entities.Variables
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public SFSRoomVariable(
	string name,
	Object val,
	int type
)

Parameters

name
Type: System..::..String
The name of the Room Variable.
val
Type: System..::..Object
The value of the Room Variable.
type
Type: System..::..Int32
The type of the Room Variable among those available in the VariableType class. Usually it is not necessary to pass this parameter, as the type is auto-detected from the value.

See Also