DB/Achievement

From wowdev
Revision as of 02:39, 11 July 2014 by Schlumpf (talk | contribs) (add full and correct info for 6.0.1.18179)
Jump to navigation Jump to search

Achievement names and descriptions. Referenced from the criterias. This file has been added with WoW 3.0.1.8303

8905

Column Field Type Notes
1 ID Integer
2 Faction Integer -1: both, 0: Horde or 1: Alliance
3 Map iRefID Only set if achievement is related to a zone.
4 Previous iRefID If the Achievement belongs to a series, this is the ID of the previous one. 0 otherwise.
5 Name Loc
22 Description Loc If Description is empty, it's not an Achievement but part of the statistics tab
39 Category iRefID
40 Points Integer 0,5,10,15,20,25,30,50
41 Unknown Integer 0-111
42 Unknown Integer 0-111
43 SpellIcon iRefID An icon to display.
44 Reward Loc
61 Unknown Integer
62 Unknown Integer

9183, 12340

Column Field Type Notes
1 ID Integer
2 Faction Integer -1: both, 0: Horde or 1: Alliance
3 Map iRefID Only set if achievement is related to a zone.
4 Previous iRefID If the Achievement belongs to a series, this is the ID of the previous one. 0 otherwise.
5-21 Name Loc
22-38 Description Loc If Description is empty, it's not an Achievement but part of the statistics tab
39 Category iRefID
40 Points Integer 0,5,10,15,20,25,30,50
41 OrderInGroup Integer 0-111
42 Flags Integer 0-768, if it's 256 only one person per Realm can reach that achievement and if it's 768 it's only reachable for one raid per realm. Perhaps a second category?
43 SpellIcon iRefID An icon to display.
44-60 Reward Loc
61 Demands Integer Number of things you have to get/fulfill to get this Achievement. For example if you have to get 25 tabards, there is a 25. TrinityCore: "need this count of completed criterias (own or referenced achievement criterias)"
62 ReferencedAchievemnt iRefID TrinityCore: "referenced achievement (counting of all completed criterias)"

-- Tigurus

TOM_RUS

struct AchievementEntry // sizeof(0x38)
{
   m_ID; // +0x0, size 0x4, type 0
   m_faction; // +0x4, size 0x4, type 0
   m_instance_id; // +0x8, size 0x4, type 0
   m_supercedes; // +0xC, size 0x4, type 0
   m_title_lang; // +0x10, size 0x4, type 2
   m_description_lang; // +0x14, size 0x4, type 2
   m_category; // +0x18, size 0x4, type 0
   m_points; // +0x1C, size 0x4, type 0
   m_ui_order; // +0x20, size 0x4, type 0
   m_flags; // +0x24, size 0x4, type 0
   m_iconID; // +0x28, size 0x4, type 0
   m_reward_lang; // +0x2C, size 0x4, type 2
   m_minimum_criteria; // +0x30, size 0x4, type 0
   m_shares_criteria; // +0x34, size 0x4, type 0
};

6.0.1.18179

struct AchievementRec {
  int m_ID;
  int m_faction;
  int m_instance_id;
  int m_supercedes;
  stringref m_title_lang;
  stringref m_description_lang;
  int m_category;
  int m_points;
  int m_ui_order;
  int m_flags;
  int m_iconID;
  stringref m_reward_lang;
  int m_minimum_criteria;
  int m_shares_criteria;
  int m_criteria_tree;
};