From wowdev
Jump to navigation Jump to search

≥ BC

A list of battlemasters for PvP areas.



Column Field Type Notes
1 ID Integer
2 Map[8] iRefID A list of instances that will be joined at once. -1 for unused slot. More than 1 is used only in "All Arenas" option.
10 InstanceType Integer Type of Instance? (3 = Battleground; 4 = Arena;)
11 GroupsAllowed Boolean Join as Group (?)
12 Name Loc PVP instance name
29 MaxGroupSize Integer Player Limit
30 HolidayWorldState Integer
31 MinLevel Integer Minimum level
32 MaxLevel Integer Maximum level




   m_instanceType; // +0x24, size 0x4, type 0
   m_groupsAllowed; // +0x28, size 0x4, type 0
   m_name_lang; // +0x2C, size 0x4, type 2
   m_maxGroupSize; // +0x30, size 0x4, type 0
   m_holidayWorldState; // +0x34, size 0x4, type 0
   m_minlevel; // +0x38, size 0x4, type 0
   m_maxlevel; // +0x3C, size 0x4, type 0



struct BattlemasterListRec {
  uint32_t m_ID;
  foreign_key<uint32_t, &MapRec::m_ID> m_mapID[16];
  uint32_t m_instanceType;
  uint32_t m_groupsAllowed;
  stringref m_name_lang;
  uint32_t m_maxGroupSize;
  uint32_t m_holidayWorldState;
  uint32_t m_minlevel;
  uint32_t m_maxlevel;
  uint32_t m_ratedPlayers;
  uint32_t m_minPlayers;
  uint32_t m_maxPlayers;
  uint32_t m_flags;   // &2: rated battleground
  foreign_key<uint32_t, &FileDataRec::m_ID> m_iconFileDataID;
  stringref m_gametype_lang;