Table of Contents

Interface IConsoleComponent.IManagedInterface

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

Represents the managed interface implemented by its unmanaged counterpart.

public interface IConsoleComponent.IManagedInterface : IUnmanagedInterface
Inherited Members

Methods

GetEventDispatcher()

Gets the event dispatcher for console-related events.

IEventDispatcher<IConsoleEventHandler> GetEventDispatcher()

Returns

IEventDispatcher<IConsoleEventHandler>

The event dispatcher instance.

Send(string, ref ConsoleCommandSenderData)

Sends a command from a console source.

void Send(string command, ref ConsoleCommandSenderData sender)

Parameters

command string

The command to send.

sender ConsoleCommandSenderData

Information about the command sender.

SendMessage(ref ConsoleCommandSenderData, string)

Sends a message to a console recipient.

void SendMessage(ref ConsoleCommandSenderData recipient, string message)

Parameters

recipient ConsoleCommandSenderData

Information about the message recipient.

message string

The message to send.