DB/Material: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
==0.5.3.3368==
struct MaterialRec {
  uint32_t m_materialID;
  uint32_t m_flags;
  uint32_t m_foleySoundID;
};
==6.0.1.18179==
==6.0.1.18179==
  struct MaterialRec {
  struct MaterialRec {

Revision as of 15:17, 5 June 2016

0.5.3.3368

struct MaterialRec {
  uint32_t m_materialID;
  uint32_t m_flags;
  uint32_t m_foleySoundID;
};

6.0.1.18179

struct MaterialRec {
  uint32_t m_ID;
  uint32_t m_flags;                                                  // 1: isMetal, impact_type = item_class == 4 ? (!(flags & 2) ? (flags & 4 ? 1 : 0) : 2) : 0
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_foleySoundID;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_sheatheSoundID;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_unsheatheSoundID;
};