Interface IChatHelper
Interface for chat helper functionality, providing methods for handling chat commands and processing messages for each chat channel.
public interface IChatHelper
Methods
GetChannelCommand(ChatChannel)
Gets the chat command delegate for a specific chat channel.
ChatCommand GetChannelCommand(ChatChannel channel)
Parameters
channelChatChannelChat channel to get the command for.
Returns
- ChatCommand
ChatCommand delegate for the channel.
OnGuildChat(IPlayerCharacter, ChatBroadcast)
Handles a guild chat message.
bool OnGuildChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnPartyChat(IPlayerCharacter, ChatBroadcast)
Handles a party chat message.
bool OnPartyChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnRegionChat(IPlayerCharacter, ChatBroadcast)
Handles a region chat message.
bool OnRegionChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnSayChat(IPlayerCharacter, ChatBroadcast)
Handles a say (local) chat message.
bool OnSayChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnTellChat(IPlayerCharacter, ChatBroadcast)
Handles a tell (private) chat message.
bool OnTellChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnTradeChat(IPlayerCharacter, ChatBroadcast)
Handles a trade chat message.
bool OnTradeChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.
OnWorldChat(IPlayerCharacter, ChatBroadcast)
Handles a world chat message.
bool OnWorldChat(IPlayerCharacter sender, ChatBroadcast msg)
Parameters
senderIPlayerCharacterSender character.
msgChatBroadcastChat message broadcast.
Returns
- bool
True if the message should be written to the database.