DB/ChatChannels

From wowdev
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Wrath

1.12.1.5875, 3.3.5.12340-6.0.1.18179

Table

Column	Field 		Type 		Notes 
1 	ID 		Integer 	
2 	flags 	        Integer 	Something to do with linking between zones? (Patch 1.9, 1.11) 
3 	factionGroup 	Integer 	
4-20 	Name 		String + Loc
21-37 	shortcut 	String + Loc 

Struct

struct ChatChannelsRec {
  uint32_t m_ID;
  uint32_t m_flags;
  uint32_t m_factionGroup;
  langstringref m_name_lang;
  langstringref m_shortcut_lang;
};

enum ChannelDBCFlags

   CHANNEL_DBC_FLAG_NONE = 0x000000,
   Auto-Join	          = 0x000001,              // General, Trade, LocalDefense, LFG
   Zone-Based	          = 0x000002,              // General, Trade, LocalDefense, GuildRecruitment
   Read-Only	          = 0x000004,              // WorldDefense
   Allow Item Links	  = 0x000008,              // Trade, LFG
   Only in Cities	  = 0x000010,              // Trade, GuildRecruitment, LFG
   Linked Channel	  = 0x000020,              // Trade, GuildRecruitment, LFG
   Zone Attack Alerts	  = 0x010000,              // LocalDefense, WorldDefense
   Guild Recruitment	  = 0x020000,              // GuildRecruitment
   Looking for Group	  = 0x040000,              // LFG
   Global for Tournament = 0x080000,              // General
   Disable Raid Icons	  = 0x100000,