DB/SoundEmitters: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(8 intermediate revisions by 5 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.


*ID int
This table is a copy of the sound emitters entries in ADT mcnk chunks.
*{X,Y,Z} float[3]
This dbc is not used by the client in 3.3.5.
*radius? float[3]
*SoundEntriesAdvanced.dbc irefID
*Map.dbc irefID
*Name String


{{Template:Sandbox/VersionRange|min_expansionlevel=3}}
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;
  {{Template:Type|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;
};
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

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