DB/FactionGroup: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Added relevant information.)
(Mistakes were made.)
 
Line 7: Line 7:
  };
  };


==3.3.5.12340==
Defines column 3(FactionGroup), 4(FriendGroup), and 5(EnemyGroup).
{| class="wikitable sortable"
|-
! Flag !! Bitmask !! Description
|-
| 0 || 0x00 || 0 - None.
|-
| 1 || 0x01 || 1 - All players (and pets).
|-
| 2 || 0x02 || 2 - Alliance players (and their pets).
|-
| 4 || 0x04 || 3 - Horde players (and their pets).
|-
| 8 || 0x08 || 4 - Monster (Not a player nor a pet).
|}


[[Category:DBC]]
[[Category:DBC]]

Latest revision as of 06:52, 19 April 2023

0.5.3.3368, 1.12.1.5875, 6.0.1.18179

struct FactionGroupRec {
  uint32_t m_ID;
  uint32_t m_maskID;                  // (1 << m_maskID) & FactionTemplateRec::m_factionGroup
  stringref m_internalName;
  langstringref m_name_lang;
};