DB/NPCSounds: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
What the NPC's say when clicked on. These sound files are irrelevant to quests.  
What the NPC's say when clicked on. These sound files are irrelevant to quests.  


==0.5.3.3368, 1.12.1.5875==
==0.5.3.3368, 1.12.1.5875, 6.0.1.18179==
  enum NPCSOUNDS {
  enum NPCSOUNDS {
   NPCSOUND_HELLO=0,
   NPCSOUND_HELLO=0,
Line 22: Line 22:
  5 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer Q: stores last sound file? memory allocation when table is loaded.  
  5 iRefID_[[SoundEntries.dbc|SoundEntries]] Integer Q: stores last sound file? memory allocation when table is loaded.  


==6.0.1.18179==
struct NPCSoundsRec {
  uint32_t m_ID;
  uint32_t m_SoundID[4];
};
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Alpha]]
[[Category:DBC_Alpha]]

Revision as of 17:50, 3 October 2017

What the NPC's say when clicked on. These sound files are irrelevant to quests.

0.5.3.3368, 1.12.1.5875, 6.0.1.18179

enum NPCSOUNDS {
  NPCSOUND_HELLO=0,
  NPCSOUND_GOODBYE=1,
  NPCSOUND_PISSED=2,   // drunk
  NPCSOUND_ACK=3,
  NUM_NPCSOUNDS=4
};
struct NPCSoundsRec {
  uint32_t m_ID;
  uint32_t m_SoundID[NUM_NPCSOUNDS];
};

Structure

Column	Field 			Type 		Notes 
1 	ID 			Integer 		
2 	iRefID_SoundEntries 	Integer 	Greetings 
5 	iRefID_SoundEntries 	Integer 	Farewells 
4 	iRefID_SoundEntries 	Integer 	Pissed 
5 	iRefID_SoundEntries 	Integer 	Q: stores last sound file? memory allocation when table is loaded.