Anvil
Anvil.API.Events.ModuleEvents.OnPlayerChat Class Reference

Triggered when any NwPlayer sends a chat message. Private channel not hooked. More...

+ Inheritance diagram for Anvil.API.Events.ModuleEvents.OnPlayerChat:
+ Collaboration diagram for Anvil.API.Events.ModuleEvents.OnPlayerChat:

Properties

string Message [get, set]
 Gets or sets the message that is to be sent. More...
 
NwPlayer Sender = NWScript.GetPCChatSpeaker().ToNwPlayer()! [get]
 Gets the NwPlayer that sent this message. More...
 
TalkVolume Volume [get, set]
 Gets or sets the volume of this message. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered when any NwPlayer sends a chat message. Private channel not hooked.

Property Documentation

◆ Message

string Anvil.API.Events.ModuleEvents.OnPlayerChat.Message
getset

Gets or sets the message that is to be sent.

◆ Sender

NwPlayer Anvil.API.Events.ModuleEvents.OnPlayerChat.Sender = NWScript.GetPCChatSpeaker().ToNwPlayer()!
get

Gets the NwPlayer that sent this message.

◆ Volume

TalkVolume Anvil.API.Events.ModuleEvents.OnPlayerChat.Volume
getset

Gets or sets the volume of this message.


The documentation for this class was generated from the following file: