Table of Contents

Interface IComponentList.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IComponentList.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

QueryComponent(UID)

Gets a component by its identifier.

IComponent QueryComponent(UID id)

Parameters

id UID

The identifier of the component.

Returns

IComponent

The component or null if not found.

QueryComponent<T>()

Gets a component by its type.

T QueryComponent<T>() where T : unmanaged, IComponent.IManagedInterface

Returns

T

The component or null if not found.

Type Parameters

T

The type of the component.