Table of Contents

Interface IPlayerFixesData.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IPlayerFixesData.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

ApplyAnimation(IPlayer, IActor, AnimationData)

Applies an animation to the player or actor.

void ApplyAnimation(IPlayer player, IActor actor, AnimationData animation)

Parameters

player IPlayer

The player to apply the animation to.

actor IActor

The actor to apply the animation to.

animation AnimationData

The animation data to apply.

GetGameText(int, out string?, out TimeSpan, out TimeSpan)

Gets information about the game text at the specified style/slot.

bool GetGameText(int style, out string? message, out TimeSpan time, out TimeSpan remaining)

Parameters

style int

The display style/slot to query.

message string

When the method returns, contains the message text.

time TimeSpan

When the method returns, contains the total display time.

remaining TimeSpan

When the method returns, contains the remaining display time.

Returns

bool

true if information was retrieved successfully; otherwise, false.

HasGameText(int)

Checks if the player has active game text at the specified style/slot.

bool HasGameText(int style)

Parameters

style int

The display style/slot to check.

Returns

bool

true if there is active game text at that slot; otherwise, false.

HideGameText(int)

Hides game text for the player.

bool HideGameText(int style)

Parameters

style int

The display style/slot to hide.

Returns

bool

true if successful; otherwise, false.

SendGameText(string, TimeSpan, int)

Sends game text to the player.

bool SendGameText(string message, TimeSpan time, int style)

Parameters

message string

The message to display.

time TimeSpan

How long to display the message.

style int

The display style/slot for the game text.

Returns

bool

true if successful; otherwise, false.