CHAT_MSG_PARTY_LEADER
Fires when the party leader posts to party chat. · description by wowlua
declare event CHAT_MSG_PARTY_LEADER(text: string, playerName: string, languageName: string, channelName: string, playerName2: string, specialFlags: string, zoneChannelID: number, channelIndex: number, channelBaseName: string, languageID: number, lineID: number, guid: string, bnSenderID: number, isMobile: boolean, isSubtitle: boolean, hideSenderInLetterbox: boolean, suppressRaidIcons: boolean, discordInfo: DiscordChatInfo)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | text | string | The message text. |
| 2 | playerName | string | The sender's name. |
| 3 | languageName | string | The language the message is in, or an empty string. |
| 4 | channelName | string | The channel's full name, with its number, for channel messages; otherwise an empty string. |
| 5 | playerName2 | string | |
| 6 | specialFlags | string | The sender's flag, such as "GM", "GUIDE" or "NEWCOMER", or an empty string. |
| 7 | zoneChannelID | number | The ID of the zone channel the message came through, or 0. |
| 8 | channelIndex | number | The channel's number in the player's channel list, for channel messages. |
| 9 | channelBaseName | string | The channel's name without its number, for channel messages. |
| 10 | languageID | number | The ID of the language the message is in. |
| 11 | lineID | number | The chat line's ID, for the C_ChatInfo chat-line functions. |
| 12 | guid | string | The sender's GUID. |
| 13 | bnSenderID | number | The sender's Battle.net account ID, for Battle.net messages. |
| 14 | isMobile | boolean | Whether the sender is using the mobile app. |
| 15 | isSubtitle | boolean | |
| 16 | hideSenderInLetterbox | boolean | Whether the message belongs only in the cinematic letterbox; Blizzard's chat frames skip it. |
| 17 | suppressRaidIcons | boolean | Whether raid target expressions such as {star} in the text are left as text. |
| 18 | discordInfo | DiscordChatInfo | Details of the Discord user, for messages relayed from Discord. |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with
mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ChatInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.