DB/Faction: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 42: | Line 42: | ||
|24 || Description || [[Loc]] || Seen in the reputation-GUI on click. | |24 || Description || [[Loc]] || Seen in the reputation-GUI on click. | ||
|} | |} | ||
Taken from https://github.com/arcemu/arcemu/blob/master/src/arcemu-world/ReputationHandler.cpp | |||
FACTION_FLAG_VISIBLE = 0x01, | |||
FACTION_FLAG_AT_WAR = 0x02, | |||
FACTION_FLAG_HIDDEN = 0x04, | |||
FACTION_FLAG_FORCED_INVISIBLE = 0x08,// if both ACTION_FLAG_VISIBLE and FACTION_FLAG_FORCED_INVISIBLE are set, client crashes! | |||
FACTION_FLAG_DISABLE_ATWAR = 0x10,// disables AtWar button for client, but you can be in war with the faction | |||
FACTION_FLAG_INACTIVE = 0x20, | |||
FACTION_FLAG_RIVAL = 0x40 // only Scryers and Aldor have this flag | |||
*--[[User:Tharo|Tharo]] 06:03, 30 November 2008 (CET) | *--[[User:Tharo|Tharo]] 06:03, 30 November 2008 (CET) |
Revision as of 14:52, 11 November 2012
Structure
Column | Field | Type | Notes |
---|---|---|---|
1 | ID | Integer | |
2 | reputationIndex | Integer | Each faction that has gainable rep has a unique number. All factions that you can not gain rep with have -1. |
3 | reputationRaceMask | BitMask | <.. Points to another Allied / AtWar ID |
4 | reputationRaceMask | BitMask | .. Honor Hold has 1101,690 & Thrallmar 690,1101 for example. ..> |
5 | reputationRaceMask | BitMask | 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 | reputationRaceMask | BitMask | 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 | reputationClassMask | BitMask | (479 = Cenerion Circle; 1503 = Lower City, "Friendly, Hidden", Netherwing; Shatari Skyguards) |
8 | reputationClassMask | BitMask | (1024 = Cenerion Circle;) |
9 | reputationClassMask | BitMask | Never set pre 3.* but 0x80 on "Kirin Tor" |
10 | reputationClassMask | BitMask | Never set pre 3.* but 0x80 on "Kirin Tor" |
11 | reputationBase | Integer[4] | Based on 0 = Neutral |
15 | reputationFlags | Integer[4] | |
19 | parentFactionID | iRefID | Recursive. i.e. Undercity lists ID 67, which is Horde |
20 | parentFactionMod | Float[2] | |
22 | parentFactionCap | Integer[2] | |
23 | Name | Loc | Display name of the faction |
24 | Description | Loc | Seen in the reputation-GUI on click. |
Taken from https://github.com/arcemu/arcemu/blob/master/src/arcemu-world/ReputationHandler.cpp
FACTION_FLAG_VISIBLE = 0x01, FACTION_FLAG_AT_WAR = 0x02, FACTION_FLAG_HIDDEN = 0x04, FACTION_FLAG_FORCED_INVISIBLE = 0x08,// if both ACTION_FLAG_VISIBLE and FACTION_FLAG_FORCED_INVISIBLE are set, client crashes! FACTION_FLAG_DISABLE_ATWAR = 0x10,// disables AtWar button for client, but you can be in war with the faction FACTION_FLAG_INACTIVE = 0x20, FACTION_FLAG_RIVAL = 0x40 // only Scryers and Aldor have this flag