Method SendMessage
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
chatChannelChatChannelThe ChatChannel to send the message.
messagestringThe message to send.
senderNwCreatureThe sender of the message.
targetNwPlayerThe receiver of the message.
Returns
- bool
True if the message was sent successfully, otherwise false.