DB/SkillLine: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
  8 canLink Integer prof. with recipes
  8 canLink Integer prof. with recipes


  struct SkillLineEntry
  struct SkillLineEntry // sizeof(0x20)
  {
  {
    uint32    id;                                           // 0       m_ID
    m_ID; // +0x0, size 0x4, type 0
    int32     categoryId;                                  // 1        m_categoryID
     m_categoryID; // +0x4, size 0x4, type 0
    //uint32    skillCostID;                               // 2        m_skillCostsID
     m_skillCostsID; // +0x8, size 0x4, type 0
    char*     name[16];                                     // 3-18     m_displayName_lang
     m_displayName_lang; // +0xC, size 0x4, type 2
                                                            // 19 string flags
     m_description_lang; // +0x10, size 0x4, type 2
    //char*     description[16];                           // 20-35    m_description_lang
    m_spellIconID; // +0x14, size 0x4, type 0
                                                            // 36 string flags
     m_alternateVerb_lang; // +0x18, size 0x4, type 2
    uint32    spellIcon;                                   // 37      m_spellIconID
    m_canLink; // +0x1C, size 0x4, type 0
    //char*     alternateVerb[16];                         // 38-53    m_alternateVerb_lang
                                                            // 54 string flags
    uint32    canLink;                                     // 55      m_canLink (prof. with recipes
  };
  };



Revision as of 19:53, 16 April 2011

Header Info

Records...................135
Fields.....................22
Record Size................88
String Block Size........4607

Structure

Column	Field 				Type 
1 	ID 				Integer 	
2 	iRefID_SkillLineCategory 	Integer 	
3 	skillCostID 			Integer 	iRefID somewhere. spellcost? too lazy right now. 
4	sRefName 			String + Loc	
5 	description 			String + Loc 
6 	iRefID_SpellIcon	 	Integer 
7 	verb 				String + Loc 	
8 	canLink 			Integer 		prof. with recipes
struct SkillLineEntry // sizeof(0x20)
{
   m_ID; // +0x0, size 0x4, type 0
   m_categoryID; // +0x4, size 0x4, type 0
   m_skillCostsID; // +0x8, size 0x4, type 0
   m_displayName_lang; // +0xC, size 0x4, type 2
   m_description_lang; // +0x10, size 0x4, type 2
   m_spellIconID; // +0x14, size 0x4, type 0
   m_alternateVerb_lang; // +0x18, size 0x4, type 2
   m_canLink; // +0x1C, size 0x4, type 0
};

http://dev.trinitycore.org/trinitycore2/src/561ac59c59ac/src/game/DBCStructure.h