WoW:API GetAchievementInfoFromCriteria: Difference between revisions

Updated flags
(Created page with '{{wowapi}} Returns the following fields for the specified Criteria. New in Patch 3.0 id, name, points, completed, month, day, year, description, flags, icon = GetAchievem...')
 
(Updated flags)
Line 3: Line 3:


  id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID)
  id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID)
or
id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(category, index)


----
----
Line 26: Line 22:
:;Year : Integer - Year this was completed. Returns nil if Completed is false.
:;Year : Integer - Year this was completed. Returns nil if Completed is false.
:;Description : String - The Description of the Achievement.
:;Description : String - The Description of the Achievement.
:;Flags : Integer - Purpose unknown.
:;Flags : Integer
:::0x01 = Statistic
:::0x02 = Hidden
:::0x80 = Progress Bar
:;Image : String - Path & file of the icon used for this achievement
:;Image : String - Path & file of the icon used for this achievement
:;RewardText : String - Text describing the reward you get for completing this achievement.
:;RewardText : String - Text describing the reward you get for completing this achievement.