diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c index dbb1c3e86e..4f49058533 100644 --- a/epan/dissectors/packet-woww.c +++ b/epan/dissectors/packet-woww.c @@ -87,6 +87,11 @@ static int hf_woww_character_name = -1; static int hf_woww_character_race = -1; static int hf_woww_character_class = -1; static int hf_woww_character_gender = -1; +static int hf_woww_character_skin = -1; +static int hf_woww_character_face = -1; +static int hf_woww_character_hairstyle = -1; +static int hf_woww_character_haircolor = -1; +static int hf_woww_character_facialhair = -1; #define WOWW_TCP_PORT 8085 @@ -2446,8 +2451,28 @@ parse_SMSG_CHAR_ENUM(proto_tree* tree, offset, len, ENC_NA); offset += len; + proto_tree_add_item(char_tree, hf_woww_character_skin, tvb, + offset, len, ENC_NA); + offset += len; + + proto_tree_add_item(char_tree, hf_woww_character_face, tvb, + offset, len, ENC_NA); + offset += len; + + proto_tree_add_item(char_tree, hf_woww_character_hairstyle, tvb, + offset, len, ENC_NA); + offset += len; + + proto_tree_add_item(char_tree, hf_woww_character_haircolor, tvb, + offset, len, ENC_NA); + offset += len; + + proto_tree_add_item(char_tree, hf_woww_character_facialhair, tvb, + offset, len, ENC_NA); + offset += len; + (void)race; (void)class; - offset += 147; + offset += 142; } } @@ -2724,6 +2749,31 @@ proto_register_woww(void) FT_UINT8, BASE_HEX, VALS(genders_strings), 0, NULL, HFILL } }, + { &hf_woww_character_skin, + { "Skin Color", "woww.skin", + FT_UINT8, BASE_HEX, NULL, 0, + NULL, HFILL } + }, + { &hf_woww_character_face, + { "Face", "woww.face", + FT_UINT8, BASE_HEX, NULL, 0, + NULL, HFILL } + }, + { &hf_woww_character_hairstyle, + { "Hair Style", "woww.hairstyle", + FT_UINT8, BASE_HEX, NULL, 0, + NULL, HFILL } + }, + { &hf_woww_character_haircolor, + { "Hair Color", "woww.haircolor", + FT_UINT8, BASE_HEX, NULL, 0, + NULL, HFILL } + }, + { &hf_woww_character_facialhair, + { "Facial Hair/Accessory", "woww.facialhair", + FT_UINT8, BASE_HEX, NULL, 0, + NULL, HFILL } + }, }; static gint *ett[] = {