Table of Contents

Interface IActorsComponent.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IActorsComponent.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

Create(int, Vector3, float)

Creates a new actor in the game world.

IActor Create(int skin, Vector3 pos, float angle)

Parameters

skin int

The skin ID of the actor.

pos Vector3

The position where the actor will be created.

angle float

The facing angle of the actor.

Returns

IActor

The created actor instance.

GetEventDispatcher()

Gets the event dispatcher for actor-related events.

IEventDispatcher<IActorEventHandler> GetEventDispatcher()

Returns

IEventDispatcher<IActorEventHandler>

An event dispatcher for actor-related events.