Lua API
On this page

ChatNameClickedEventArgs

eventargsbase
Inherits from

Event args for when a green/clickable chat name is clicked (in the chat window)

Info

For more information about events, see the Using Events section of the scripting docs.

This event args class is used by the following events:

Fields:

Eat boolean

Set to true to "eat" this click and prevent the client from handling it.

Empty EventArgs

staticread only

Provides a value to use with events that do not have event data.

Id number

read only

The id included in the clickable chat name. Usually this is an id of a player, but certain scripts/plugins may be using custom data here.

Text string

read only

The display text of the clickable name. Usually this is the name of a player, but certain scripts/plugins may be using custom data here.

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string