Table of Contents

Interface IObject.IManagedInterface

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the managed interface implemented by its unmanaged counterpart.

public interface IObject.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

AttachToObject(IObject, Vector3, Vector3, bool)

Attaches this object to another object with the specified offset, rotation, and synchronization option.

void AttachToObject(IObject objekt, Vector3 offset, Vector3 rotation, bool syncRotation)

Parameters

objekt IObject

The object to attach to.

offset Vector3

The offset of this object relative to the target object.

rotation Vector3

The rotation of this object relative to the target object.

syncRotation bool

A value indicating whether the rotation should be synchronized with the target object.

AttachToPlayer(IPlayer, Vector3, Vector3)

Attaches this object to a player with the specified offset and rotation.

void AttachToPlayer(IPlayer player, Vector3 offset, Vector3 rotation)

Parameters

player IPlayer

The player to attach to.

offset Vector3

The offset of this object relative to the player.

rotation Vector3

The rotation of this object relative to the player.