DB/CriteriaTree: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 14: Line 14:
   uint8_t padding_0[4];
   uint8_t padding_0[4];
  };
  };
===Flags===
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Value
! width="650" | Description
|-
| 0x0001 || show progress bar
|-
| 0x0002 || override parent <tt>m_amount</tt> <code>CGAchievementInfo::GetNumCriteriaShown</code>
|-
| 0x0004 || progress is date
|-
| 0x0008 || show currency icon
|-
| 0x0010 || display toast <code>CGAchievementInfo::CheckForCriteriaToast</code>
|-
| 0x0040 || is faction specific <code>CGAchievementInfo::GetNumCriteriaShown</code>
|-
| 0x0080 || tracks child achievement criteria e.g. [Loremaster] <code>CGAchievementInfo::GetNumCriteriaShown</code>
|-
| 0x0200 || alliance only
|-
| 0x0400 || horde only
|-
| 0x0800 || show required count
|}
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 10:31, 3 May 2019

≥ Mists

6.0.1.18179

struct CriteriaTreeRec {
  uint32_t m_ID;
  uint32_t m_criteriaID;
  uint64_t m_amount;
  uint32_t m_operator;
  uint32_t m_parent;
  uint32_t m_flags;
  stringref m_description_lang;
  uint32_t m_orderIndex;
  uint8_t padding_0[4];
};

Flags

Value Description
0x0001 show progress bar
0x0002 override parent m_amount CGAchievementInfo::GetNumCriteriaShown
0x0004 progress is date
0x0008 show currency icon
0x0010 display toast CGAchievementInfo::CheckForCriteriaToast
0x0040 is faction specific CGAchievementInfo::GetNumCriteriaShown
0x0080 tracks child achievement criteria e.g. [Loremaster] CGAchievementInfo::GetNumCriteriaShown
0x0200 alliance only
0x0400 horde only
0x0800 show required count