DB/SoundEmitters

From wowdev
Revision as of 11:51, 23 February 2016 by Mjollna (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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;
};