Skip to content

character_reputation

This table holds the reputation information for each character.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
guidintunsignedPRINO0Global Unique Identifier
factionsmallintunsignedPRINO0
standingintsignedNO0
flagssmallintunsignedNO0
 

Description of fields ​

guid ​

The guid of the character.  

faction ​

The Faction ID that the character has the given reputation in.  

standing ​

The current reputation value that the character has.  

flags ​

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.

ValueFlagNameComment
10x01FACTION_FLAG_VISIBLEmakes visible in client (set or can be set at interaction with target of this faction)
20x02FACTION_FLAG_AT_WARenable AtWar-button in client. player controlled (except opposition team always war state), Flag only set on initial creation
40x04FACTION_FLAG_HIDDENhidden faction from reputation pane in client (player can gain reputation, but this update not sent to client)
80x08FACTION_FLAG_INVISIBLE_FORCEDalways overwrite FACTION_FLAG_VISIBLE and hide faction in rep.list, used for hide opposite team factions
160x10FACTION_FLAG_PEACE_FORCEDalways overwrite FACTION_FLAG_AT_WAR, used for prevent war with own team factions
320x20FACTION_FLAG_INACTIVEplayer controlled, state stored in characters.data (CMSG_SET_FACTION_INACTIVE)
640x40FACTION_FLAG_RIVALflag for the two competing outland factions
1280x80FACTION_FLAG_SPECIALhorde and alliance home cities and their northrend allies have this flag