DB/SoundEmitters: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Marlamin moved page SoundEmitters.dbc to DB/SoundEmitters)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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.
This table is a copy of the sound emitters entries in ADT mcnk chunks.
This dbc is not used by the client in 3.3.5.
{{Template:Sandbox/VersionRange|min_expansionlevel=3}}


  struct SoundEmittersEntry // sizeof(0x28)
  struct SoundEmittersEntry // sizeof(0x28)
Line 22: Line 27:
   uint32_t m_soundEntriesID;
   uint32_t m_soundEntriesID;
   uint32_t m_mapID;
   uint32_t m_mapID;
   stringref m_name;
   {{Template:Type|stringref}} m_name;
   uint32_t m_emitterType;
   uint32_t m_emitterType;
   uint32_t m_PhaseID;
   uint32_t m_PhaseID;

Latest revision as of 23:10, 8 March 2024

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

This table is a copy of the sound emitters entries in ADT mcnk chunks. This dbc is not used by the client in 3.3.5.

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