Playercreateinfo tc2
From TrinityCore Wiki
|
Back to world database list of tables.
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 | tinyint(3) | unsigned | PRI | NO | 0 | ||
| class | tinyint(3) | unsigned | PRI | NO | 0 | ||
| map | smallint(5) | unsigned | NO | 0 | |||
| zone | mediumint(8) | unsigned | NO | 0 | |||
| position_x | float | signed | NO | 0 | |||
| position_y | float | signed | NO | 0 | |||
| position_z | float | signed | NO | 0 | |||
| orientation | float | signed | NO | 0 |
Description of the fields
race
The character's race.
| Value | ID }} | Name |
| 1 | 1 }} | Human |
| 2 | 2 }} | Orc |
| 4 | 3 }} | Dwarf |
| 8 | 4 }} | Night Elf |
| 16 | 5 }} | Undead |
| 32 | 6 }} | Tauren |
| 64 | 7 }} | Gnome |
| 128 | 8 }} | Troll |
| 512 | 10 }} | Blood Elf |
| 1024 | 11 }} | Draenei |
class
The character's class.
| Value | ID }} | Name |
| 1 | 1 }} | Warrior |
| 2 | 2 }} | Paladin |
| 4 | 3 }} | Hunter |
| 8 | 4 }} | Rogue |
| 16 | 5 }} | Priest |
| 32 | 6 }} | Death Knight |
| 64 | 7 }} | Shaman |
| 128 | 8 }} | Mage |
| 256 | 9 }} | Warlock |
| 1024 | 11 }} | Druid |
map
The map ID. See Map.dbc
zone
The zone ID. See AreaTable.dbc
position_x
The X position.
position_y
The Y position.
position_z
The Z position.
orientation
The orientation.