Creates a new SetUserPositionRequest instance.

Namespace: Sfs2X.Requests.MMO
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public SetUserPositionRequest(
	Vec3D position,
	Room room
)

Parameters

position
Type: Sfs2X.Entities.Data..::..Vec3D
The user position.
room
Type: Sfs2X.Entities..::..Room
The MMORoom object corresponding to the Room where the position should be set; if null, the last Room joined by the user is used.

Remarks

The instance must be passed to the SmartFox.Send method for the request to be performed.

See Also