Called when a chat message is about to be sent by an object.
More...
Called when a chat message is about to be sent by an object.
◆ ChatChannel
ChatChannel Anvil.API.Events.OnChatMessageSend.ChatChannel |
|
get |
Gets the chat channel that the message was sent to.
◆ Message
string Anvil.API.Events.OnChatMessageSend.Message = null! |
|
get |
Gets the message to be sent.
◆ Sender
NwObject? Anvil.API.Events.OnChatMessageSend.Sender |
|
get |
Gets the sender of this message.
May be null when the message is sent by the server, e.g. with the nwscript function SendMessageToAllDMs.
◆ Skip
bool Anvil.API.Events.OnChatMessageSend.Skip |
|
getset |
◆ Target
NwPlayer? Anvil.API.Events.OnChatMessageSend.Target |
|
get |
Gets the target of this message.
Returns null if there is no target.
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Events/Native/ChatEvents/OnChatMessageSend.cs