DB/SoundEmitters: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Seems to replace the ADT-sound-emitters. only used for waterfalls.
Seems to replace the ADT-sound-emitters. only used for waterfalls.
{{Template:Sandbox/VersionRange|min_expansionlevel=3}}


  struct SoundEmittersEntry // sizeof(0x28)
  struct SoundEmittersEntry // sizeof(0x28)

Revision as of 02:49, 20 July 2016

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

≥ Wrath

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