AchievementLink

From Wowpedia
Jump to: navigation, search

Shares progress toward an achievement. |cffffff00|Hachievement:achievementID:guid:completed:month:day:year:criteria1:criteria2:criteria3:criteria4|h[Title]|h|r

Payload

The payload starts with achievement and encodes ten fields:

achievementID 
number - AchievementID used with GetAchievementLink() or GetAchievementInfo()
guid
string - The player's GUID.
completed 
number - 1 if the achievement was finished, or 0.
month 
number - Month this was finished, or 0.
day 
number - Day this was finished, or 0.
year 
number - The year minus 2000, or -1.
criteria1, criteria2, criteria3, criteria4 
number - 32 bitset list identifying which criteria are finished.

The display text will vary depending which language client was used to construct the link. In a chat window, the sender's language is used.

Details

  • As with other hyperlinks, UI escape sequences surround the payload as c|ffffff00|H and |h[Title]|h|r
  • The title will vary depending which language client was used; the sender's language appears in a chat window.

Examples

|cffffff00|Hachievement:2186:Player-976-0002FD64:1:12:19:8:4294967295:4294967295:4294967295:4294967295|h[The Immortal]|h|r

[The Immortal] completed on 2008-12-19.

|cffffff00|Hachievement:1284:Player-976-0002FD64:0:0:0:-1:65529:0:0:0|h[Outland Dungeonmaster]|h|r

[Outland Dungeonmaster] unfinished.

Patch changes

Previously was like the older GUID format but omitting the first two characters.