summaryrefslogtreecommitdiff
path: root/docs/playercreateinfo.md
blob: e310571a58277c04adc81919b4971df1bbbbe491 (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
# playercreateinfo

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

**The \`playercreateinfo\` table**

This table holds the start positions of each class-race combinations for all newly created characters.

**Structure**

| Field            | Type         | Attributes | Key | Null | Default | Extra | Comment |
|------------------|--------------|------------|-----|------|---------|-------|---------|
| [race][1]        | TINYINT   | UNSIGNED   | PRI | NO   | 0       |       |         |
| [class][2]       | TINYINT   | UNSIGNED   | PRI | NO   | 0       |       |         |
| [map][3]         | SMALLINT  | UNSIGNED   |     | NO   | 0       |       |         |
| [zone][4]        | MEDIUMINT | UNSIGNED   |     | NO   | 0       |       |         |
| [position_x][5]  | FLOAT        | SIGNED     |     | NO   | 0       |       |         |
| [position_y][6]  | FLOAT        | SIGNED     |     | NO   | 0       |       |         |
| [position_z][7]  | FLOAT        | SIGNED     |     | NO   | 0       |       |         |
| [orientation][8] | FLOAT        | SIGNED     |     | NO   | 0       |       |         |

[1]: #race
[2]: #class
[3]: #map
[4]: #zone
[5]: #position_x
[6]: #position_y
[7]: #position_z
[8]: #orientation

**Description of the fields**

### race

The character's race. `ChrRaces.dbc`

### class

The character's class. `ChrClasses.dbc`

### map

The map ID. See [Map.dbc](Map)

### zone

The zone ID. See [AreaTable.dbc](AreaTable)

### position\_x

The X position.

### position\_y

The Y position.

### position\_z

The Z position.

### orientation

The orientation.