SMSG CHAR ENUM

From ArcEmu-Wiki
Jump to: navigation, search

((Updated: 3.3.3))

Structure of SMSG_CHAR_ENUM:

 uint8 Character_Count;
 for (uint8 CharNum = 0; CharNum < Character_Count; ++CharNum)
 {
   if(CharNum > 10)
       break; // Character limit
   uint64 PlayerGuid;
   string Character Name;
   uint8 Race;
   uint8 Class;
   uint8 Gender;
   uint8 Skin;
   uint8 Face;
   uint8 Hair Style;
   uint8 Hair Color;
   uint8 Facial Hair;
   uint8 Level;
   uint32 Zone ID;
   uint32 Map ID;
   float X;
   float Y;
   float Z;
   uint32 Guild ID;
   uint32 Character Flags;
   uint32 Login Flags;
   uint8 Is Customize Pending?;
   uint32 Pet DisplayID;
   uint32 Pet Level;
   uint32 Pet FamilyID;
   for (uint32 ItemSlot = 0; ItemSlot < EQUIPMENT_SLOT_END + 1; ++ItemSlot)
   {
       uint32 Item DisplayID;
       uint8 Item Inventory Type;
       uint32 Item EnchantID;
   }
   for (int c=0; c < 3; ++c) // In 3.3.3 they added 3x new uint32 uint8 uint32 
   {
      uint32 bag;
      uint8 slot;
      uint32 enchant?;
 }

Details -

SMSG_CHAR_ENUM is sent by server when clients sends CMSG_CHAR_ENUM.
Personal tools