From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/character_reputation.md | 159 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 151 insertions(+), 8 deletions(-) (limited to 'docs/character_reputation.md') diff --git a/docs/character_reputation.md b/docs/character_reputation.md index 9f79bd9..23e49cb 100644 --- a/docs/character_reputation.md +++ b/docs/character_reputation.md @@ -1,8 +1,151 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_reputation](character_reputation) - -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Faction | smallint(5) unsigned | -Standing | int(11) | -Flags | smallint(5) unsigned | +# character\_reputation + +`Back-to:Characters` + +**The \`character\_reputation\` table** + +This table holds the reputation information for each character. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

guid

int(10)

unsigned

PRI

NO

0

 

Global Unique Identifier

faction

smallint(5)

unsigned

PRI

NO

0

 

 

standing

int(11)

signed

 

NO

0

 

 

flags

smallint(5)

unsigned

 

NO

0

 

 

+ +**Description of the fields** + +### guid + +The GUID of the character. See characters.guid + +### faction + +The faction ID that the character has the given reputation in. See Faction.dbc + +### 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. + + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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_HIDDEN

Hidden faction from reputation pane in client

8

FACTION_FLAG_INVISIBLE_FORCED

Always overwrites FACTION_FLAG_VISIBLE and hide faction in rep.list

16

FACTION_FLAG_PEACE_FORCED

Always overwrites FACTION_FLAG_AT_WAR

32

FACTION_FLAG_INACTIVE

 

64

FACTION_FLAG_RIVAL

Flag for the two competing outland factions

128

FACTION_FLAG_SPECIAL

Horde and alliance home cities and their northrend allies have this flag

+ + -- cgit