DB/SoundEmitters: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 32: Line 32:
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_WotLK]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]]

Revision as of 00:36, 6 November 2014

Seems to replace the ADT-sound-emitters. only used for waterfalls.

struct SoundEmittersEntry // sizeof(0x28)
{
   m_ID; // +0x0, size 0x4, type 0
   m_positionX; // +0x4, size 0x4, type 3
   m_positionY; // +0x8, size 0x4, type 3
   m_positionZ; // +0xC, size 0x4, type 3
   m_directionX; // +0x10, size 0x4, type 3
   m_directionY; // +0x14, size 0x4, type 3
   m_directionZ; // +0x18, size 0x4, type 3
   m_soundEntriesID; // +0x1C, size 0x4, type 0
   m_mapID; // +0x20, size 0x4, type 0
   m_name; // +0x24, size 0x4, type 2
};

6.0.1.18179

struct SoundEmittersRec {
  uint32_t m_ID;
  float m_position[3];
  float m_direction[3];
  uint32_t m_soundEntriesID;
  uint32_t m_mapID;
  stringref m_name;
  uint32_t m_emitterType;
  uint32_t m_PhaseID;
  uint32_t m_PhaseGroupID;
  uint32_t m_PhaseUseFlags;
  uint32_t m_flags;
  uint32_t m_worldStateExpressionID;
};