Character_reputation - cmangos/issues GitHub Wiki
Back to the characters database list of tables.
This table holds the reputation information for each character.
Field | Type | Null | Key | Default | Extra |
guid | int(11) unsigned | NO | PRI | 0 | |
faction | int(11) unsigned | NO | PRI | 0 | |
standing | int(11) | NO | 0 | ||
flags | int(11) | NO | 0 |
The GUID of the character. See character.guid
The faction ID that the character has the given reputation in. See Faction.dbc
The current reputation value that the character has.
This field is a bitmask containing flags that apply to the faction and how it’s displayed to the character. Just like any flag field, you can combine flags by adding them together. If this field is 0, then it is not shown in the reputation list in-game.
Flag | Name | Comments |
---|---|---|
1 | FACTION_FLAG_VISIBLE | Displayed in the reputation tab |
2 | FACTION_FLAG_AT_WAR | Active when the player sets the at war checkbox |
4 | FACTION_FLAG_UNKNOWN | |
8 | FACTION_FLAG_INVISIBLE | |
16 | FACTION_FLAG_OWN_TEAM | |
32 | FACTION_FLAG_INACTIVE |