DB/Faction: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
== Structure ==
== Structure ==
'''Column Field Type Notes'''
 
  1 ID Integer
{| style="background:#FCFCFC; color:black"
  2 uGainID Integer Unique Faction Gain ID? Each faction that has gainable rep has a unique number. All factions that you can not gain rep with has -1 (or MaxInt)
|-
  3 AtWar BitMask <.. Points to another Allied / AtWar ID
! width="80" | Column  
  4 Allied BitMask .. Honor Hold has 1101,690 & Thrallmar 690,1101 for example. ..>
! width="180 " | Field  
  5 Unknown Binary? Only city factions have a value. Possible relationship to Modifiers and 17 (1 = Stormwind; 2 = Orgrimmar; 4 = Wildhammer Clan & Iron Forge; 8 = Dranassus; 16 = Undercity; 64 = Gnomeregan Exiles; 512 = Shattrath City Factions & Silvermoon City; 528 = Thunder Bluff & Darkspear Trolls; 1024 = Exodar)  
! width="80" | Type  
  6 Unknown Binary? Only Horde cities have a value. Possible relationship to Modifiers and 18 (16 = Silvermoon City; 32 = Thunder Bluff; 128 = Darkspear Trolls; 512 = Undercity; 528 = Orgrimmar)  
! width="600" | Notes
  7 Unknown Binary? (479 = Cenerion Circle; 1503 = Lower City, "Friendly, Hidden", Netherwing; Shatari Skyguards)  
|-
  8 Unknown Binary? (1024 = Cenerion Circle;)  
|1 || ID || Integer ||
  Unknown Binary? Never set pre 3.* but 0x80 on "Kirin Tor"
|-
  10  Unknown Binary? Never set pre 3.* but 0x80 on "Kirin Tor"
|2 || UniqueGainID  || Integer || Each faction that has gainable rep has a unique number. All factions that you can not gain rep with have -1.
  11 Reputation Signed Integer Base repuation (Based on 0 = Neutral)
|-
  12 Modifier 1 Signed Integer Modifies the reputation of selected factions based on a condition (eg. Aliance or Horde)
|3 || AtWar || BitMask || <.. Points to another Allied / AtWar ID
  13 Modifier 2 Signed Integer Modifies the reputation of selected factions based on a condition (eg. Orc, Troll or Tauren)
|-
14 Modifier 3 Signed Integer Modifies the reputation of selected factions based on a condition (eg. Blood Elf or Undead)
|4 || Allied || BitMask ||  .. Honor Hold has 1101,690 & Thrallmar 690,1101 for example. ..>
  15 Condition 1 Integer Relationship to field 11. Possible Relationship to 3 (2 = Key rep factions; 4 = Proffesions, Caer Darrow & "Friendly, Hidden"; 6 = Wintersabre Trainers; 8 = Outland & Steamwheedle Cartel; 9 = Alliance & Horde; 12 = Shattrath City; 16 = PvP Factions & Randoms; 17 = Capital Cities; 20 = Wildhammer Clan; 24 = Alliance & Horde Forces; 80 = Shattrath City Factions;)
|-
  16 Condition 2 Integer Relationship to field 12. Possible Relationship to 4 (2 = AB and AV Factions; 6 = Tranquillien, WSG Factions, The Mag'har & Alliance and Horde Factions; 17 = Alliance & Horde Forces, Alliance, Horde; 80 = Shattrath City Factions;)
|5 || Unknown || Binary || Only city factions have a value. Possible relationship to Modifiers and 17 (1 = Stormwind; 2 = Orgrimmar; 4 = Wildhammer Clan & Iron Forge; 8 = Dranassus; 16 = Undercity; 64 = Gnomeregan Exiles; 512 = Shattrath City Factions & Silvermoon City; 528 = Thunder Bluff & Darkspear Trolls; 1024 = Exodar)  
17 Condition 3 Integer Relationship to field 13. Possible Relationship to 5 (4 = Wildhammer Clan; 17 = Alliance and Horde Factions; 80 = Shattrath City Factions;)
|-
18 Condition 4 Integer Relationship to field 14. Possible Relationship to 6 (17 = Horde Factions;)
|6 || Unknown || Binary || Only Horde cities have a value. Possible relationship to Modifiers and 18 (16 = Silvermoon City; 32 = Thunder Bluff; 128 = Darkspear Trolls; 512 = Undercity; 528 = Orgrimmar)  
  19 iRefID_[[Faction.dbc|Faction]] Integer Recursive. Parent Faction (i.e. Undercity lists ID 67, which is Horde)
|-
  20 Name String + [[Loc]] Display name of the faction  
|7 || Unknown || Binary || (479 = Cenerion Circle; 1503 = Lower City, "Friendly, Hidden", Netherwing; Shatari Skyguards)  
  37 Description String + [[Loc]]
|-
|8 || Unknown || Binary || (1024 = Cenerion Circle;)  
|-
|9 || Unknown || Binary || Never set pre 3.* but 0x80 on "Kirin Tor"
|-
|10 || Unknown || Binary || Never set pre 3.* but 0x80 on "Kirin Tor"
|-
|11 || Base Reputation || Integer || Based on 0 = Neutral
|-
|12 || Modifier[3]  || Integer[] || Modifies the reputation of selected factions based on a condition.
|-
|15 || Condition[4] || Integer[] || Conditions for the modifiers and the base reputation above and maybe to 3 to 6.
|- style="background:#F0F8FF;"
|19 || [[Faction.dbc|Parent Faction]] || iRefID  || Recursive. i.e. Undercity lists ID 67, which is Horde
|-
|20 || Name || [[Loc]] || Display name of the faction  
|-
|37 || Description || [[Loc]] || Seen in the reputation-GUI on click.
|}


*--[[User:Tharo|Tharo]] 06:03, 30 November 2008 (CET)
*--[[User:Tharo|Tharo]] 06:03, 30 November 2008 (CET)

Revision as of 13:52, 30 November 2008

Structure

Column Field Type Notes
1 ID Integer
2 UniqueGainID Integer Each faction that has gainable rep has a unique number. All factions that you can not gain rep with have -1.
3 AtWar BitMask <.. Points to another Allied / AtWar ID
4 Allied BitMask .. Honor Hold has 1101,690 & Thrallmar 690,1101 for example. ..>
5 Unknown Binary Only city factions have a value. Possible relationship to Modifiers and 17 (1 = Stormwind; 2 = Orgrimmar; 4 = Wildhammer Clan & Iron Forge; 8 = Dranassus; 16 = Undercity; 64 = Gnomeregan Exiles; 512 = Shattrath City Factions & Silvermoon City; 528 = Thunder Bluff & Darkspear Trolls; 1024 = Exodar)
6 Unknown Binary Only Horde cities have a value. Possible relationship to Modifiers and 18 (16 = Silvermoon City; 32 = Thunder Bluff; 128 = Darkspear Trolls; 512 = Undercity; 528 = Orgrimmar)
7 Unknown Binary (479 = Cenerion Circle; 1503 = Lower City, "Friendly, Hidden", Netherwing; Shatari Skyguards)
8 Unknown Binary (1024 = Cenerion Circle;)
9 Unknown Binary Never set pre 3.* but 0x80 on "Kirin Tor"
10 Unknown Binary Never set pre 3.* but 0x80 on "Kirin Tor"
11 Base Reputation Integer Based on 0 = Neutral
12 Modifier[3] Integer[] Modifies the reputation of selected factions based on a condition.
15 Condition[4] Integer[] Conditions for the modifiers and the base reputation above and maybe to 3 to 6.
19 Parent Faction iRefID Recursive. i.e. Undercity lists ID 67, which is Horde
20 Name Loc Display name of the faction
37 Description Loc Seen in the reputation-GUI on click.
  • --Tharo 06:03, 30 November 2008 (CET)
  • --schlumpf_ 12:34, 30 November 2008 (CET)