DB/ItemSubClass: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
Line 31: Line 31:
  };
  };
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 iRefID_[[ItemClass.dbc|ItemClass]] Integer
  1 iRefID_[[ItemClass.dbc|ItemClass]] Integer
  2 subClassID Integer Index, non-unique, type.  
  2 subClassID Integer Index, non-unique, type.  
  3 prerequisiteProficiency Integer
  3 prerequisiteProficiency Integer
  4 postrequisiteProficiency Integer
  4 postrequisiteProficiency Integer
  5 flags Integer
  5 flags Integer
  6 displayFlags Integer
  6 displayFlags Integer
  7 weaponParrySeq Integer
  7 weaponParrySeq Integer
  8 weaponReadySeq Integer
  8 weaponReadySeq Integer
  9 weaponAttackSeq Integer
  9 weaponAttackSeq Integer
  10 WeaponSwingSize Integer Melee slots required.  
  10 WeaponSwingSize Integer Melee slots required.  
  11-27 displayName String + [[Loc]]
  11-27 displayName String + [[Loc]]
  28-44 verboseName String + [[Loc]]
  28-44 verboseName String + [[Loc]]


==6.0.1.18179==
==6.0.1.18179==

Revision as of 22:37, 1 October 2017

0.5.3.3368

struct ItemSubClassRec {
  uint32_t m_classID;
  uint32_t m_subClassID;
  uint32_t m_prerequisiteProficiency;
  uint32_t m_postrequisiteProficiency;
  uint32_t m_flags;
  uint32_t m_displayFlags;
  uint32_t m_weaponParrySeq;
  uint32_t m_weaponReadySeq;
  uint32_t m_weaponAttackSeq;
  uint32_t m_WeaponSwingSize;
  langstringref m_displayName_lang;
  langstringref m_verboseName_lang;
  uint32_t m_generatedID;
};

1.12.1.5875

struct ItemSubClassRec {
  uint32_t m_classID;
  uint32_t m_subClassID;
  uint32_t m_prerequisiteProficiency;
  uint32_t m_postrequisiteProficiency;
  uint32_t m_flags;
  uint32_t m_displayFlags;
  uint32_t m_weaponParrySeq;
  uint32_t m_weaponReadySeq;
  uint32_t m_weaponAttackSeq;
  uint32_t m_WeaponSwingSize;
  langstringref m_displayName_lang;
  langstringref m_verboseName_lang;
};

Structure

Column	Field 				Type 		Notes 
1 	iRefID_ItemClass 		Integer 	
2 	subClassID 			Integer 	Index, non-unique, type. 
3 	prerequisiteProficiency 	Integer 	
4 	postrequisiteProficiency 	Integer	 	
5 	flags 				Integer	 	
6 	displayFlags 			Integer 	
7 	weaponParrySeq 			Integer 	
8 	weaponReadySeq 			Integer 	
9 	weaponAttackSeq 		Integer 	
10 	WeaponSwingSize 		Integer 	Melee slots required. 
11-27 	displayName 			String + Loc
28-44 	verboseName 			String + Loc

6.0.1.18179

struct ItemSubClassRec {
  uint8_t padding_0[4];
  foreign_key<uint32_t, &ItemClassRec::m_classID> m_classID;
  uint32_t m_subClassID;
  uint32_t m_prerequisiteProficiency;
  uint32_t m_postrequisiteProficiency;
  uint32_t m_flags;
  uint32_t m_displayFlags;
  uint32_t m_weaponParrySeq;
  uint32_t m_weaponReadySeq;
  uint32_t m_weaponAttackSeq;
  uint32_t m_WeaponSwingSize;                                         // match with WeaponSwingSounds2Rec::m_SwingType
  langstringref m_displayName_lang;
  langstringref m_verboseName_lang;
};

m_flags

enum {
  flag_unk_0x20 = 0x20,               // CGPlayer_C::AttachObjComponent  CGUnit_C::AttachVirtualComponent 
  flag_unk_0x40 = 0x40,               // Spell_C_HaveEquippedSpellItems : Appears to disable the itemsubclass check
  flag_unk_0x200 = 0x200,             // Script_GetAuctionInvTypes
};

m_displayFlags

enum {
  displayFlag_unk_0x01 = 1,           // CGContainerInfo::IsSearchFiltered, SendItemInfo
  displayFlag_unk_0x02 = 2,           // Script_QueryAuctionItems, Script_GetDetailColumnString, Script_GetAuctionItemSubClasses, Script_GetAuctionInvTypes
  displayFlag_unk_0x04 = 4,           // Script_GetInventoryItemCount
};