blob: a111da5f298deafdfafcc4f9a6f3b226131c90dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
# character\_reputation
[<-Back-to:Characters](database-characters.md)
**The \`character\_reputation\` table**
This table holds the reputation information for each character.
**Structure**
<table>
<colgroup>
<col width="12%" />
<col width="12%" />
<col width="12%" />
<col width="12%" />
<col width="12%" />
<col width="12%" />
<col width="12%" />
<col width="12%" />
</colgroup>
<tbody>
<tr class="odd">
<td><p><strong>Field</strong></p></td>
<td><p><strong>Type</strong></p></td>
<td><p><strong>Attributes</strong></p></td>
<td><p><strong>Key</strong></p></td>
<td><p><strong>Null</strong></p></td>
<td><p><strong>Default</strong></p></td>
<td><p><strong>Extra</strong></p></td>
<td><p><strong>Comment</strong></p></td>
</tr>
<tr class="even">
<td><p><a href="#guid">guid</a></p></td>
<td><p>int(10)</p></td>
<td><p>unsigned</p></td>
<td><p>PRI</p></td>
<td><p>NO</p></td>
<td><p>0</p></td>
<td><p> </p></td>
<td><p>Global Unique Identifier</p></td>
</tr>
<tr class="odd">
<td><p><a href="#faction">faction</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>PRI</p></td>
<td><p>NO</p></td>
<td><p>0</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
<tr class="even">
<td><p><a href="#standing">standing</a></p></td>
<td><p>int(11)</p></td>
<td><p>signed</p></td>
<td><p> </p></td>
<td><p>NO</p></td>
<td><p>0</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
<tr class="odd">
<td><p><a href="#flags">flags</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p> </p></td>
<td><p>NO</p></td>
<td><p>0</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
</tbody>
</table>
**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.
<table>
<colgroup>
<col width="33%" />
<col width="33%" />
<col width="33%" />
</colgroup>
<thead>
<tr class="header">
<th><p>Flag</p></th>
<th><p>Name</p></th>
<th><p>Comments</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p>1</p></td>
<td><p>FACTION_FLAG_VISIBLE</p></td>
<td><p>Displayed in the reputation tab</p></td>
</tr>
<tr class="even">
<td><p>2</p></td>
<td><p>FACTION_FLAG_AT_WAR</p></td>
<td><p>Active when the player sets the at war checkbox</p></td>
</tr>
<tr class="odd">
<td><p>4</p></td>
<td><p>FACTION_FLAG_HIDDEN</p></td>
<td><p>Hidden faction from reputation pane in client</p></td>
</tr>
<tr class="even">
<td><p>8</p></td>
<td><p>FACTION_FLAG_INVISIBLE_FORCED</p></td>
<td><p>Always overwrites FACTION_FLAG_VISIBLE and hide faction in rep.list</p></td>
</tr>
<tr class="odd">
<td><p>16</p></td>
<td><p>FACTION_FLAG_PEACE_FORCED</p></td>
<td><p>Always overwrites FACTION_FLAG_AT_WAR</p></td>
</tr>
<tr class="even">
<td><p>32</p></td>
<td><p>FACTION_FLAG_INACTIVE</p></td>
<td><p> </p></td>
</tr>
<tr class="odd">
<td><p>64</p></td>
<td><p>FACTION_FLAG_RIVAL</p></td>
<td><p>Flag for the two competing outland factions</p></td>
</tr>
<tr class="even">
<td><p>128</p></td>
<td><p>FACTION_FLAG_SPECIAL</p></td>
<td><p>Horde and alliance home cities and their northrend allies have this flag</p></td>
</tr>
</tbody>
</table>
|