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.

enum class ReputationFlags

ValueFlagNameComment
10x01Visiblemakes visible in client (set or can be set at interaction with target of this faction)
20x02AtWarenable AtWar-button in client. player controlled (except opposition team always war state), Flag only set on initial creation
40x04Hiddenhidden faction from reputation pane in client (player can gain reputation, but this update not sent to client)
80x08HeaderDisplay as header in UI
160x10Peacefulalways overwrite FACTION_FLAG_AT_WAR, used for prevent war with own team factions
320x20Inactiveplayer controlled, state stored in characters.data (CMSG_SET_FACTION_INACTIVE)
640x40ShowPropagatedflag for the two competing outland factions
1280x80HeaderShowsBarHeader has its own reputation bar