summaryrefslogtreecommitdiff
path: root/docs/quest_poi.md
blob: 5b4e639f213ec8400726044de7446faa25e9fe31 (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
# quest\_poi

[<-Back-to:World](database-world.md)

**The \`quest\_poi\` table**

Comes from sniffs.

**Structure**

| Field               | Type    | Attributes | Key | Null | Default | Extra | Comment |
|---------------------|---------|------------|-----|------|---------|-------|---------|
| [QuestID][1]        | INT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [id][2]             | INT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [ObjectiveIndex][3] | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [MapID][4]          | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [WorldMapAreaId][5] | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [Floor][6]          | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [Priority][7]       | INT | UNSIGNED   |     | NO   | 0       |       |         |
| [Flags][8]          | INT | UNSIGNED   |     | NO   | 0       |       |         |

[1]: #questid
[2]: #id
[3]: #objectiveindex
[4]: #mapid
[5]: #worldmapareaid
[6]: #floor
[7]: #priority
[8]: #flags

**Description of the fields**

### QuestID

The Quest Id from [quest\_template.id](quest_template#id)

### id

Used to group multiple entries from quest\_poi\_points.id it is the id of the POI.

### ObjectiveIndex

if -1 than position of npc where you can complete quest

### MapID

The Map id from [Map.dbc](Map)

### WorldMapAreaId

The ID from [WorldMapArea.dbc](WorldMapArea).

### Floor

This is the ID from [AreaTable.dbc](areatable.md) of the POI.

### Priority

`field-no-description|7`

### Flags

`field-no-description|8`