Class: ChatMessageFormatPlayer

ChatMessageFormatPlayer()

This class interprets the given message as a chat text sent by a player to a selected addressee. It supports the /me command, translation and acoustic notification.

Constructor

new ChatMessageFormatPlayer()

Source:

Members

strings

Chatmessage shown after commands like /me or /enemies.
Source:

Methods

matchUsername()

Returns the guid of the user with the longest name that is a prefix of the given string.
Source:

parseMessageAddressee()

Checks if the current user is an addressee of the chatmessage sent by another player. Sets the context and potentially addresseeGUID of that message. Returns true if the message should be displayed.
Source: