DB/FactionGroup: Difference between revisions

From wowdev
Jump to navigation Jump to search
(Added relevant information.)
Line 6: Line 6:
   {{Type|langstringref}} m_name_lang;
   {{Type|langstringref}} m_name_lang;
  };
  };
==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]]

Revision as of 06:50, 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;
};

3.3.5.12340

Defines column 3(FactionGroup), 4(FriendGroup), and 5(EnemyGroup).

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).