Table of Contents

Method SendMessage

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

SendMessage(ChatChannel, string, NwCreature, NwPlayer?)

Sends a message as the specified creature.

public bool SendMessage(ChatChannel chatChannel, string message, NwCreature sender, NwPlayer? target = null)

Parameters

chatChannel ChatChannel

The ChatChannel to send the message.

message string

The message to send.

sender NwCreature

The sender of the message.

target NwPlayer

The receiver of the message.

Returns

bool

True if the message was sent successfully, otherwise false.