blob: d4bcf70d5dae613c193fb32656896cddc355bd12 (
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
|
# instance\_encounters
[<-Back-to:World](database-world.md)
**The \`instance\_encounters\` table**
Definitions of instance encounters. Used by LFG.
**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="#entry">entry</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>Unique entry from DungeonEncounter.dbc</p></td>
</tr>
<tr class="odd">
<td><p><a href="#credittype">creditType</a></p></td>
<td><p>tinyint(3)</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>
<tr class="even">
<td><p><a href="#creditentry">creditEntry</a></p></td>
<td><p>int(10)</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>
<tr class="odd">
<td><p><a href="#lastencounterdungeon">lastEncounterDungeon</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>If not 0, LfgDungeon.dbc entry for the instance it is last encounter in</p></td>
</tr>
<tr class="even">
<td><p><a href="#comment">comment</a></p></td>
<td><p>varchat(255)</p></td>
<td><p>signed</p></td>
<td><p> </p></td>
<td><p>NO</p></td>
<td><p>"</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
</tbody>
</table>
**Description of the fields**
### entry
Unique entry from DungeonEncounter.dbc
### creditType
See enum EncounterCreditType.
ENCOUNTER\_CREDIT\_KILL\_CREATURE = 0
ENCOUNTER\_CREDIT\_CAST\_SPELL = 1
### creditEntry
If creditType = 0, then value for this field is creature entry. See creature\_template.entry
If creditType = 1, then value for this field is a spell. See Spell.dbc.
### lastEncounterDungeon
Reference to LfgDungeon.dbc entry for the instance it which is this encounter last. If 0, encounter is not last one.
### comment
Instance encounter comment for easy identification. Encounter name used only.
|