|
Anvil
|
Called when a chat message is about to be sent by an object. More...
Inheritance diagram for Anvil.API.Events.OnChatMessageSend:
Collaboration diagram for Anvil.API.Events.OnChatMessageSend:Properties | |
| ChatChannel | ChatChannel [get] |
| Gets the chat channel that the message was sent to. | |
| string | Message = null! [get] |
| Gets the message to be sent. | |
| NwObject? | Sender [get] |
| Gets the sender of this message. | |
| bool | Skip [get, set] |
| Skips this chat message. | |
| NwPlayer? | Target [get] |
| Gets the target of this message. Returns null if there is no target. | |
Properties inherited from Anvil.API.Events.IEvent | |
Called when a chat message is about to be sent by an object.
|
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.