WOWW: Add SMSG_LOGIN_VERIFY_WORLD fields

This commit is contained in:
Gtker 2021-07-25 16:27:36 +02:00 committed by Wireshark GitLab Utility
parent 08ceeec81e
commit e31baaf99b
1 changed files with 24 additions and 0 deletions

View File

@ -108,6 +108,7 @@ static int hf_woww_character_level = -1;
static int hf_woww_character_position_x = -1;
static int hf_woww_character_position_y = -1;
static int hf_woww_character_position_z = -1;
static int hf_woww_character_orientation = -1;
#define WOWW_TCP_PORT 8085
@ -2630,6 +2631,24 @@ add_body_fields(guint32 opcode,
proto_tree_add_item(tree, hf_woww_character_guid, tvb,
offset, len, ENC_LITTLE_ENDIAN);
break;
case SMSG_LOGIN_VERIFY_WORLD:
len = 4;
proto_tree_add_item(tree, hf_woww_character_map, tvb,
offset, len, ENC_LITTLE_ENDIAN);
offset += len;
proto_tree_add_item(tree, hf_woww_character_position_x, tvb,
offset, len, ENC_LITTLE_ENDIAN);
offset += len;
proto_tree_add_item(tree, hf_woww_character_position_y, tvb,
offset, len, ENC_LITTLE_ENDIAN);
offset += len;
proto_tree_add_item(tree, hf_woww_character_position_z, tvb,
offset, len, ENC_LITTLE_ENDIAN);
offset += len;
proto_tree_add_item(tree, hf_woww_character_orientation, tvb,
offset, len, ENC_LITTLE_ENDIAN);
offset += len;
break;
default:
break;
}
@ -2900,6 +2919,11 @@ proto_register_woww(void)
FT_FLOAT, BASE_FLOAT, NULL, 0,
NULL, HFILL }
},
{ &hf_woww_character_orientation,
{ "Orientation", "woww.orientation",
FT_FLOAT, BASE_FLOAT, NULL, 0,
"Heading in degrees, with 0 being north", HFILL }
},
{ &hf_woww_character_guild_id,
{ "Guild ID", "woww.guild_id",
FT_UINT32, BASE_HEX_DEC, NULL, 0,