summaryrefslogtreecommitdiff
path: root/docs/character_homebind.md
blob: c46654adfbb2ee9885201c2b0999282fedc5f000 (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
# character\_homebind

[<-Back-to:Characters](database-characters.md)

**The \`character\_homebind\` table**

Contains information on the location where characters get teleported when they use their Hearthstone.

**Structure**

| Field       | Type        | Attributes | Key | Null | Default | Extra | Comment                  |
| ----------- | ----------- | ---------- | --- | ---- | ------- | ----- | ------------------------ |
| [guid][1]   | INT         | UNSIGNED   | PRI | NO   | 0       |       | Global Unique Identifier |
| [mapId][2]  | SMALLINT    | UNSIGNED   |     | NO   | 0       |       | Map Identifier           |
| [zoneId][3] | SMALLINT    | UNSIGNED   |     | NO   | 0       |       | Zone Identifier          |
| [posX][4]   | FLOAT       | SIGNED     |     | NO   | 0       |       |                          |
| [posY][5]   | FLOAT       | SIGNED     |     | NO   | 0       |       |                          |
| [posZ][6]   | FLOAT       | SIGNED     |     | NO   | 0       |       |                          |

[1]: #guid
[2]: #mapid
[3]: #zoneid
[4]: #posx
[5]: #posy
[6]: #posz

**Description of the fields**

### guid

The GUID of the character. See [characters.guid](characters#guid).

### mapId

The map ID where the character gets teleported to. See [Map.dbc](map) column 1.

### zoneId

The zone ID where the character gets teleported to. See [AreaTable.dbc](areatable) column 1.

### posX

The X position where the character gets teleported to.

### posY

The Y position where the character gets teleported to.

### posZ

The Z position where the character gets teleported to.