DB/SkillLine: Difference between revisions

From wowdev
Jump to navigation Jump to search
Line 9: Line 9:
  1 ID Integer
  1 ID Integer
  2 iRefID_[[SkillLineCategory.dbc|SkillLineCategory]] Integer
  2 iRefID_[[SkillLineCategory.dbc|SkillLineCategory]] Integer
  3 Unknown Integer
  3 skillCostID Integer iRefID somewhere. spellcost? too lazy right now.
  4 iRefMask_[[ChrClasses.dbc|ChrClasses]]         BitMask 
  4 sRefName String + [[Loc]]
5-19 sRefName String + [[Loc]]
  5 description String + [[Loc]]  
  20 Unknown Integer
  6 iRefID_[[SpellIcon.dbc|SpellIcon]] Integer  
21-36 description String + [[Loc]]
7 verb String + [[Loc]]
  37 Unknown Integer
8 canLink Integer prof. with recipes
38 iRefID_[[SpellIcon.dbc|SpellIcon]] Integer
 
Retrieved from "http://www.sourcepeek.com/wiki/SkillLine.dbc"


  struct SkillLineEntry
  struct SkillLineEntry

Revision as of 07:33, 9 July 2009

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
{
    uint32    id;                                           // 0        m_ID
    int32     categoryId;                                   // 1        m_categoryID
    //uint32    skillCostID;                                // 2        m_skillCostsID
    char*     name[16];                                     // 3-18     m_displayName_lang
                                                            // 19 string flags
    //char*     description[16];                            // 20-35    m_description_lang
                                                            // 36 string flags
    uint32    spellIcon;                                    // 37       m_spellIconID
    //char*     alternateVerb[16];                          // 38-53    m_alternateVerb_lang
                                                            // 54 string flags
    uint32    canLink;                                      // 55       m_canLink (prof. with recipes
};

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