Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:AchievementString
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Format == Item strings consist of the string "achievement:" followed by 10 colon delimited portions, which describe the achievement, its status of completion (completed criteria) and the character whose status of completion is related to. achievement:achievementId:characterId:finished:month:day:year:criteria1:criteria2:criteria3:criteria4 ; achievementID : Achievement ID that can be used for [[API GetAchievementLink|GetAchievementLink]] calls. ; characterId: Character ID whose the achievement is related to. ; finished : Status of this achievement. "1" means finished, and vice versa. ; month : Month this was finished. ; day : Day this was finished. ; year : Year this was finished, starts from 2000. ; criteria1, criteria2, criteria3, criteria4 : Bitset list representing which criteria are finished. === Character Ids === The character ID corresponds to the character's GUID but it doesn't include the first 2 characters. One might determine whether the given ID is that of the player like so: local PlayerGUID = strsub([[API UnitGUID|UnitGUID]]("player"), 3) local _, id, GUID = strsplit(":", achievementLink); if (PlayerGUID == GUID) then -- Do something only with the player's own achievement links end
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)