DB/Emotes: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 24: Line 24:
   uint32_t m_ID;
   uint32_t m_ID;
   stringref m_EmoteSlashCommand;
   stringref m_EmoteSlashCommand;
   uint32_t m_AnimID;
   {{Template:Type/foreign_key|table=AnimationData}} m_AnimID;
   uint32_t m_EmoteFlags;
   uint32_t m_EmoteFlags;
   uint32_t m_EmoteSpecProc;
   uint32_t m_EmoteSpecProc;
   uint32_t m_EmoteSpecProcParam;
   uint32_t m_EmoteSpecProcParam;
   uint32_t m_EventSoundID;
   {{Template:Type/foreign_key|table=SoundEntries}} m_EventSoundID;
   uint32_t m_SpellVisualKitID;
   {{Template:Type/foreign_key|table=SpellVisualKit}} m_SpellVisualKitID;
  };
  };
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC]][[Category:DBC_WotLK]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 23:03, 8 February 2016

Information about /Emotes

Header Info

Records...................103
Fields......................7
Record Size................28
String Block Size........1790

Structure

Column 	Field 			Type 		Notes 
1 	ID 			Integer 	The id.
2 	EmoteSlashCommand 		String 		
3 	iRefID_AnimationData 	Integer 	Animation played on Emote.	
4 	EmoteFlags			BitMask* 	0x8: Talk, 0x10: Question, 0x20: Exclamation, 0x40: Shout, 0x100: Laugh. These are used for the chatting emotes.
5 	EmoteSpecProc		Integer 	Theory: 0 = perform emote then revert; 1 = loop (emotes); 2 = loop states (ie stun). Actually, at some point in the code, a sound is only played if this is set to 2.
6 	EmoteSpecProcParam    		Integer 	Hold the last frame of the animation. Only set for kneel, dead, sleep, at_ease and sit. 
						Here the Animation is "Stand" all the time. It is most likely used to differ them.
7 	iRefID_SoundEntries	Integer 	A sound that is played on this emote.

--Schlumpf 01:35, 13 August 2007 (CEST)

6.0.1.18179

struct EmotesRec {
  uint32_t m_ID;
  stringref m_EmoteSlashCommand;
  foreign_key<uint32_t, &AnimationDataRec::m_ID> m_AnimID;
  uint32_t m_EmoteFlags;
  uint32_t m_EmoteSpecProc;
  uint32_t m_EmoteSpecProcParam;
  foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_EventSoundID;
  foreign_key<uint32_t, &SpellVisualKitRec::m_ID> m_SpellVisualKitID;
};