Table of Contents

Interface IPlayerTextDrawData.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IPlayerTextDrawData.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

AsPool()

Gets the pool interface for managing player-specific text draws.

IPool<IPlayerTextDraw> AsPool()

Returns

IPool<IPlayerTextDraw>

A pool interface for player-specific text draws.

BeginSelection(Colour)

Begins the selection of text draws for the player.

void BeginSelection(Colour highlight)

Parameters

highlight Colour

The highlight color to use during selection.

Create(Vector2, int)

Creates a new player-specific text draw with the specified position and preview model.

IPlayerTextDraw Create(Vector2 position, int model)

Parameters

position Vector2

The position of the text draw.

model int

The preview model of the text draw.

Returns

IPlayerTextDraw

The created player-specific text draw.

Create(Vector2, string)

Creates a new player-specific text draw with the specified position and text.

IPlayerTextDraw Create(Vector2 position, string text)

Parameters

position Vector2

The position of the text draw.

text string

The text of the text draw.

Returns

IPlayerTextDraw

The created player-specific text draw.

EndSelection()

Ends the selection of text draws for the player.

void EndSelection()

IsSelecting()

Determines whether the player is currently selecting text draws.

bool IsSelecting()

Returns

bool

true if the player is selecting text draws; otherwise, false.