Packets/CharSelection/Vanilla

From wowdev
Jump to navigation Jump to search

1.1.2.4125

Upon creating a character, the client sends CMSG_CHAR_CREATE to the server with all the details that makeup the newly created character.

AuthLogonChallenge_Client
Type Name Description
uint64 guid
char[] name
uint8 race
uint8 class
uint8 gender
uint8 skin
uint8 face
uint8 hairstyle
uint8 haircolor
uint8 facialhair
uint8 level
uint32 zone
uint32 map
float[3] position X, Y, Z
uint32 guild
uint32 flags ?
uint8 firstlogin
uint32 petdisplay
uint32 petlevel
uint32 petfamily
CharEquipment[] equipments

CharEquipment is a small struct { uint32; uint8 }. You have to append all visible equipments (which is 19 entries, from head to tabard), plus the first bag for some reason, so a total 20 entries.