CRITERIA_EARNED
Fires when the player earns a criteria of an achievement. Blizzard shows a criteria alert. · description by wowlua
declare event CRITERIA_EARNED(achievementID: number, description: string, achievementAlreadyEarnedOnAccount: boolean)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | achievementID | number | The achievement the criteria belongs to. |
| 2 | description | string | The criteria's description. |
| 3 | achievementAlreadyEarnedOnAccount | boolean | Whether the achievement was already earned on the account. |
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) (AchievementInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.