Back to 'characters' Return to characters Go to 'game_event_condition_save'
This table hold info about character's corpse.
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
guid | int | unsigned | PRI | NO | 0 | Character Global Unique Identifier | |
posX | float | NO | 0 | ||||
posY | float | NO | 0 | ||||
posZ | float | NO | 0 | ||||
orientation | float | NO | 0 | ||||
mapId | smallint | unsigned | NO | 0 | Map Identifier | ||
phaseMask | int | unsigned | NO | 1 | |||
displayId | int | unsigned | NO | 0 | |||
itemCache | text | NO | |||||
bytes1 | int | unsigned | NO | 0 | |||
bytes2 | int | unsigned | NO | 0 | |||
guildId | int | unsigned | NO | 0 | |||
flags | tinyint | unsigned | NO | 0 | |||
dynFlags | tinyint | unsigned | NO | 0 | |||
time | int | unsigned | MUL | NO | 0 | ||
corpseType | tinyint | unsigned | MUL | NO | 0 | ||
instanceId | int | unsigned | MUL | NO | 0 | Instance Identifier |
The guid of the character.
The X position of the corpse.
The Y position of the corpse.
The Z position of the corpse.
The orientation of the corpse. (North = 0.0; South = pi (3.14159))
The Map ID the corpse resides on.
This is a bitmask field that describes all the phases the corpse is visible in.
A ChrRace DisplayID, where race dictates the row and gender the column.
Space separated list of byte fields describing the equipped items, ordered by EQUIPMENT_SLOT.
byteField = displayid | (InventoryType << 24);
Index | Name |
---|---|
0 | EQUIPMENT_SLOT_HEAD |
1 | EQUIPMENT_SLOT_NECK |
2 | EQUIPMENT_SLOT_SHOULDERS |
3 | EQUIPMENT_SLOT_BODY |
4 | EQUIPMENT_SLOT_CHEST |
5 | EQUIPMENT_SLOT_WAIST |
6 | EQUIPMENT_SLOT_LEGS |
7 | EQUIPMENT_SLOT_FEET |
8 | EQUIPMENT_SLOT_WRISTS |
9 | EQUIPMENT_SLOT_HANDS |
10 | EQUIPMENT_SLOT_FINGER1 |
11 | EQUIPMENT_SLOT_FINGER2 |
12 | EQUIPMENT_SLOT_TRINKET1 |
13 | EQUIPMENT_SLOT_TRINKET2 |
14 | EQUIPMENT_SLOT_BACK |
15 | EQUIPMENT_SLOT_MAINHAND |
16 | EQUIPMENT_SLOT_OFFHAND |
17 | EQUIPMENT_SLOT_RANGED |
18 | EQUIPMENT_SLOT_TABARD |
Byte encoded 8bit integers. Shift each value left by 8 * byteIndex.
Byte encoded 8bit integers. Shift each value left by 8 * byteIndex.
byteIndex | Value |
---|---|
0 | face |
1 | hairStyle |
2 | hairColor |
3 | facialStyle |
The corpses guildid.
Value | Flag | Name | Comment |
---|---|---|---|
1 | 0x01 | CORPSE_FLAG_BONES | Leaves bones, not the body. |
4 | 0x04 | CORPSE_FLAG_UNK2 | always set |
8 | 0x08 | CORPSE_FLAG_HIDE_HELM | inherited from PLAYER_FLAGS_HIDE_HELM |
16 | 0x10 | CORPSE_FLAG_HIDE_CLOAK | inherited from PLAYER_FLAGS_HIDE_CLOAK |
32 | 0x20 | CORPSE_FLAG_LOOTABLE | can collect insignia in BGs |
Value | Flag | Name |
---|---|---|
1 | 0x1 | CORPSE_DYNFLAG_LOOTABLE |
Unix timestamp when the corpse was created.
ID | Name |
---|---|
0 | CORPSE_BONES |
1 | CORPSE_RESURRECTABLE_PVE |
2 | CORPSE_RESURRECTABLE_PVP |
The instance id this corpse belongs to.
Back to 'characters' Return to characters Go to 'game_event_condition_save'