ChatRuntimeEventsHandler

From Virtual World Web Wiki
Revision as of 12:48, 26 May 2017 by Spark5 (Talk | contribs) (Documentation for the ChatRuntimeEventsHandler class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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