v0.13.8

CHAT_MSG_ACHIEVEMENT

eventnot implementedC_ChatInfoavailable in: camelot

Fires when the player or someone nearby earns an achievement. The text is a format string; Blizzard's chat frames insert a link to the player for the %s. · description by wowlua

declarationwowlua
declare event CHAT_MSG_ACHIEVEMENT(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

#nametypedescription
1textstringThe message text.
2playerNamestringThe name of the player who earned the achievement.
3languageNamestring
4channelNamestring
5playerName2string
6specialFlagsstring
7zoneChannelIDnumber
8channelIndexnumber
9channelBaseNamestring
10languageIDnumber
11lineIDnumber
12guidstringThat player's GUID.
13bnSenderIDnumber
14isMobileboolean
15isSubtitleboolean
16hideSenderInLetterboxboolean
17suppressRaidIconsboolean
18discordInfoDiscordChatInfo

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 mean

sources

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.