SMSG_CHAR_FACTION_CHANGE

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/character_screen/smsg_char_faction_change.wowm:1.

smsg SMSG_CHAR_FACTION_CHANGE = 0x04DA {
    WorldResult result;
    if (result == RESPONSE_SUCCESS) {
        Guid guid;
        CString name;
        Gender gender;
        u8 skin_color;
        u8 face;
        u8 hair_style;
        u8 hair_color;
        u8 facial_hair;
        Race race;
    }
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2.
-2 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-1 / -WorldResultresult

If result is equal to RESPONSE_SUCCESS:

OffsetSize / EndiannessTypeNameComment
-8 / LittleGuidguid
-- / -CStringname
-1 / -Gendergender
-1 / -u8skin_color
-1 / -u8face
-1 / -u8hair_style
-1 / -u8hair_color
-1 / -u8facial_hair
-1 / -Racerace