DB/BattlemasterList: Difference between revisions

From wowdev
Jump to navigation Jump to search
(add full and correct info for 6.0.1.18179)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__TOC__
{{Template:Sandbox/VersionRange|min_expansionlevel=2}}
A list of battlemasters for PvP areas.
A list of battlemasters for PvP areas.


==Structure==
==Wrath==
===3.0.2.8905-3.3.5.12340===
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 11: Line 16:
| 1 || ID || Integer ||  
| 1 || ID || Integer ||  
|- style="background:#F0F8FF;"
|- style="background:#F0F8FF;"
| 2 || [[Map.dbc|Instance1]] || iRefID || A list of instances that will be joined at once.
| 2 || [[Map.dbc|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.
|- style="background:#F0F8FF;"
| 3 || [[Map.dbc|Instance2]] || iRefID ||
|- style="background:#F0F8FF;"
| 4 || [[Map.dbc|Instance3]] || iRefID ||
|- style="background:#F0F8FF;"
| 5 || [[Map.dbc|Instance4]] || iRefID ||
|- style="background:#F0F8FF;"
| 6 || [[Map.dbc|Instance5]] || iRefID ||
|- style="background:#F0F8FF;"
| 7 || [[Map.dbc|Instance6]] || iRefID || 
|- style="background:#F0F8FF;"
| 8 || [[Map.dbc|Instance7]] || iRefID ||
|- style="background:#F0F8FF;"
| 9 || [[Map.dbc|Instance8]] || iRefID || 
|-
|-
| 10 || instanceType || Integer || Type of Instance? (3 = Battleground; 4 = Arena;)  
| 10 || InstanceType || Integer || Type of Instance? (3 = Battleground; 4 = Arena;)  
|-
|-
| 11 || Min Level || Integer || Minimum level
| 11 || GroupsAllowed || Boolean || Join as Group (?)
|-
|-
| 12 || Max Level || Integer || Maximum level
| 12 || Name || [[Loc]] || PVP instance name
|-
|-
| 13 || Players || Integer || Player Limit  
| 29 || MaxGroupSize || Integer || Player Limit  
|-
|-
| 14 || Bands || Integer || Level band size
| 30 || HolidayWorldState ||Integer ||  
|-
|-
| 15 || JoinAsGroup || Boolean || Join as Group (?)
| 31 || MinLevel || Integer || Minimum level
|-
|-
| 16 || Name || [[Loc]] || PVP instance name
| 32 || MaxLevel || Integer || Maximum level
|- style="background:#C1FFC1;"
| 33 || Unknown || Integer || Alterac: 5, Strand of the ancients: 10, rest: 40. (WotLK)
|}
|}


*cataclysm info
==Cataclysm==
===4.0.x.?????===
====Struct====
     m_instanceType; // +0x24, size 0x4, type 0
     m_instanceType; // +0x24, size 0x4, type 0
     m_groupsAllowed; // +0x28, size 0x4, type 0
     m_groupsAllowed; // +0x28, size 0x4, type 0
Line 53: Line 44:
     m_maxlevel; // +0x3C, size 0x4, type 0
     m_maxlevel; // +0x3C, size 0x4, type 0


==6.0.1.18179==
==Warlords==
===6.0.1.18179===
====Struct====
  struct BattlemasterListRec {
  struct BattlemasterListRec {
   int m_ID;
   uint32_t m_ID;
   int m_mapID[16];
   {{Template:Type/foreign_key|table=Map}} m_mapID[16];
   int m_instanceType;
   uint32_t m_instanceType;
   int m_groupsAllowed;
   uint32_t m_groupsAllowed;
   stringref m_name_lang;
   {{Template:Type|stringref}} m_name_lang;
   int m_maxGroupSize;
   uint32_t m_maxGroupSize;
   int m_holidayWorldState;
   uint32_t m_holidayWorldState;
   int m_minlevel;
   uint32_t m_minlevel;
   int m_maxlevel;
   uint32_t m_maxlevel;
   int m_ratedPlayers;
   uint32_t m_ratedPlayers;
   int m_minPlayers;
   uint32_t m_minPlayers;
   int m_maxPlayers;
   uint32_t m_maxPlayers;
   int m_flags;
   uint32_t m_flags;   // &2: rated battleground
   int m_iconFileDataID;
   {{Template:Type/foreign_key|table=FileData}} m_iconFileDataID;
   stringref m_gametype_lang;
   {{Template:Type|stringref}} m_gametype_lang;
  };
  };
 
[[Category:DBC]]
[[Category:DBC]][[Category:3.0.2.8905]][[Category:DBC_WotLK]]
[[Category:DBC_WotLK]][[Category:3.0.2.8905]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]]

Latest revision as of 11:55, 30 April 2019

≥ BC

A list of battlemasters for PvP areas.

Wrath

3.0.2.8905-3.3.5.12340

Table

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

Cataclysm

4.0.x.?????

Struct

   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

Warlords

6.0.1.18179

Struct

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;
};