ChatRuntimeEventsHandler

From Virtual World Web Wiki
Jump to: navigation, search

This class implements a Layer Two extensibility point as virtual members which can be overriden as needed. Derive from this class to provide your own implementation.

See also: IChatRuntimeEvents

Remarks [edit]

Methods

void ProcessChatMessage(IConnectionIdentity identity, ChatMessageArgs message)
Fired when a chat message is received from a connected user. A component can modify the chat message, detect if the message is a slash command, and if so, mark it as "Handled".
void ShowHelp(IConnectionIdentity identity, ChatMessageArgs message)
Fired when a user types "/?" or "/help" and allows you to print out information about available slash commands handled by your component