Table of Contents

Method SendServerMessage

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

SendServerMessage(ChatChannel, string, NwPlayer?)

Sends a message from the "Server".

public bool SendServerMessage(ChatChannel chatChannel, string message, NwPlayer? target = null)

Parameters

chatChannel ChatChannel

The ChatChannel to send the message. Only works with ServerMessage and Player/DMShout

message string

The message to send.

target NwPlayer

The receiver of the message.

Returns

bool

True if the message was sent successfully, otherwise false.