Click or drag to resize

SetUserPositionRequest Constructor (Vec3D, Room)

Creates a new SetUserPositionRequest instance.

Namespace:  Sfs2X.Requests.MMO
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public SetUserPositionRequest(
	Vec3D position,
	Room room
)

Parameters

position
Type: Sfs2X.Entities.DataVec3D
The user position.
room
Type: Sfs2X.EntitiesRoom
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