com.onlineobject.objectnet Namespace

PositionPacket Constructor (Int32, Boolean, Vector3)

Initializes a new instance of the PositionPacket class with specified parameters.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public PositionPacket(

	int tick,

	bool teleport,

	Vector3 position

)

Parameters

tick
Type: Int32
The simulation tick at which the position is recorded.
teleport
Type: Boolean
Whether the position change was a result of a teleport.
position
Type: Vector3
The position of the object in 3D space.