Difference between revisions of "DB/ChatChannels"

From wowdev
Jump to: navigation, search
Line 1: Line 1:
==Structure==
+
__TOC__
 +
==???==
 +
====Struct====
 +
struct ChatChannelsEntry // sizeof(0x14)
 +
{
 +
    m_ID; // +0x0, size 0x4, type 0
 +
    m_flags; // +0x4, size 0x4, type 0
 +
    m_factionGroup; // +0x8, size 0x4, type 0
 +
    m_name_lang; // +0xC, size 0x4, type 2
 +
    m_shortcut_lang; // +0x10, size 0x4, type 2
 +
};
 +
==Wrath==
 +
===3.3.5.12340===
 +
====Table====
 
  '''Column Field Type Notes'''  
 
  '''Column Field Type Notes'''  
 
  1 ID Integer
 
  1 ID Integer
Line 7: Line 20:
 
  21-37 shortcut String + [[Loc]]  
 
  21-37 shortcut String + [[Loc]]  
  
  struct ChatChannelsEntry // sizeof(0x14)
+
==Warlords==
{
+
===6.0.1.18179===
    m_ID; // +0x0, size 0x4, type 0
+
====Struct====
    m_flags; // +0x4, size 0x4, type 0
+
  struct ChatChannelsRec {
    m_factionGroup; // +0x8, size 0x4, type 0
+
  uint32_t m_ID;
    m_name_lang; // +0xC, size 0x4, type 2
+
  uint32_t m_flags;
    m_shortcut_lang; // +0x10, size 0x4, type 2
+
  uint32_t m_factionGroup;
 +
  {{Template:Type|stringref}} m_name_lang;
 +
  {{Template:Type|stringref}} m_shortcut_lang;
 
  };
 
  };
  
===enum ChannelDBCFlags===
+
==enum ChannelDBCFlags==
 
     CHANNEL_DBC_FLAG_NONE      = 0x00000,
 
     CHANNEL_DBC_FLAG_NONE      = 0x00000,
 
     CHANNEL_DBC_FLAG_INITIAL    = 0x00001,              // General, Trade, LocalDefense, LFG
 
     CHANNEL_DBC_FLAG_INITIAL    = 0x00001,              // General, Trade, LocalDefense, LFG
Line 28: Line 43:
 
     CHANNEL_DBC_FLAG_LFG        = 0x40000,              // LFG
 
     CHANNEL_DBC_FLAG_LFG        = 0x40000,              // LFG
 
     CHANNEL_DBC_FLAG_UNK1      = 0x80000,              // General
 
     CHANNEL_DBC_FLAG_UNK1      = 0x80000,              // General
Extracted from Trinity Core Source. /-[[User:Ascathos|Ascathos]] 14:07, 27 September 2012 (UTC)
+
 
==6.0.1.18179==
+
[[Category:DBC]][[Category:DBC_WotLK]][[Category:3.3.5.12340]]
struct ChatChannelsRec {
 
  uint32_t m_ID;
 
  uint32_t m_flags;
 
  uint32_t m_factionGroup;
 
  {{Template:Type|stringref}} m_name_lang;
 
  {{Template:Type|stringref}} m_shortcut_lang;
 
};
 
[[Category:DBC]][[Category:DBC_WotLK]]
 
 
[[Category:DBC_WoD]][[Category:6.0.1.18179]]
 
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Revision as of 02:27, 14 July 2016

???

Struct

struct ChatChannelsEntry // sizeof(0x14)
{
   m_ID; // +0x0, size 0x4, type 0
   m_flags; // +0x4, size 0x4, type 0
   m_factionGroup; // +0x8, size 0x4, type 0
   m_name_lang; // +0xC, size 0x4, type 2
   m_shortcut_lang; // +0x10, size 0x4, type 2
};

Wrath

3.3.5.12340

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 

Warlords

6.0.1.18179

Struct

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

enum ChannelDBCFlags

   CHANNEL_DBC_FLAG_NONE       = 0x00000,
   CHANNEL_DBC_FLAG_INITIAL    = 0x00001,              // General, Trade, LocalDefense, LFG
   CHANNEL_DBC_FLAG_ZONE_DEP   = 0x00002,              // General, Trade, LocalDefense, GuildRecruitment
   CHANNEL_DBC_FLAG_GLOBAL     = 0x00004,              // WorldDefense
   CHANNEL_DBC_FLAG_TRADE      = 0x00008,              // Trade, LFG
   CHANNEL_DBC_FLAG_CITY_ONLY  = 0x00010,              // Trade, GuildRecruitment, LFG
   CHANNEL_DBC_FLAG_CITY_ONLY2 = 0x00020,              // Trade, GuildRecruitment, LFG
   CHANNEL_DBC_FLAG_DEFENSE    = 0x10000,              // LocalDefense, WorldDefense
   CHANNEL_DBC_FLAG_GUILD_REQ  = 0x20000,              // GuildRecruitment
   CHANNEL_DBC_FLAG_LFG        = 0x40000,              // LFG
   CHANNEL_DBC_FLAG_UNK1       = 0x80000,              // General