summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-woww.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
commit9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch)
tree2784370cda9bbf2da9114d70f05399c0b229d28c /epan/dissectors/packet-woww.c
parentAdding debian version 4.2.6-1. (diff)
downloadwireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz
wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-woww.c')
-rw-r--r--epan/dissectors/packet-woww.c2168
1 files changed, 1077 insertions, 1091 deletions
diff --git a/epan/dissectors/packet-woww.c b/epan/dissectors/packet-woww.c
index ea4b92a9..8593089a 100644
--- a/epan/dissectors/packet-woww.c
+++ b/epan/dissectors/packet-woww.c
@@ -65,820 +65,818 @@ void proto_reg_handoff_woww(void);
void proto_register_woww(void);
static dissector_handle_t woww_handle;
-static int proto_woww = -1;
+static int proto_woww;
/* Fields that all packets have */
-static int hf_woww_size = -1;
-static int hf_woww_opcode = -1;
+static int hf_woww_size;
+static int hf_woww_opcode;
-static int hf_woww_string_length = -1;
+static int hf_woww_string_length;
-static int hf_woww_aura_mask = -1;
-static int hf_woww_aura = -1;
-static int hf_woww_amount_of_masks = -1;
-static int hf_woww_update_mask = -1;
-static int hf_woww_update_mask_index = -1;
-static int hf_woww_update_mask_value = -1;
-static int hf_woww_amount_of_splines = -1;
-static int hf_woww_packed_spline = -1;
+static int hf_woww_aura_mask;
+static int hf_woww_aura;
+static int hf_woww_amount_of_masks;
+static int hf_woww_update_mask;
+static int hf_woww_update_mask_index;
+static int hf_woww_update_mask_value;
+static int hf_woww_amount_of_splines;
+static int hf_woww_packed_spline;
/* AUTOGENERATED_START_HF */
-static int hf_woww_absorb = -1;
-static int hf_woww_absorbed = -1;
-static int hf_woww_absorbed_damage = -1;
-static int hf_woww_account_data_type = -1;
-static int hf_woww_action = -1;
-static int hf_woww_action_bar = -1;
-static int hf_woww_action_bars = -1;
-static int hf_woww_action_type = -1;
-static int hf_woww_activate_taxi_reply = -1;
-static int hf_woww_actual_roll = -1;
-static int hf_woww_addon_crc = -1;
-static int hf_woww_addon_extra_crc = -1;
-static int hf_woww_addon_has_signature = -1;
-static int hf_woww_addon_name = -1;
-static int hf_woww_addon_type = -1;
-static int hf_woww_agility = -1;
-static int hf_woww_ai_reaction = -1;
-static int hf_woww_allow_movement = -1;
-static int hf_woww_allowed_class = -1;
-static int hf_woww_allowed_genders = -1;
-static int hf_woww_allowed_guild_id = -1;
-static int hf_woww_allowed_maximum_level = -1;
-static int hf_woww_allowed_minimum_level = -1;
-static int hf_woww_allowed_race = -1;
-static int hf_woww_ammo_display_id = -1;
-static int hf_woww_ammo_inventory_type = -1;
-static int hf_woww_ammo_type = -1;
-static int hf_woww_amount = -1;
-static int hf_woww_amount_bought = -1;
-static int hf_woww_amount_for_sale = -1;
-static int hf_woww_amount_of_accounts_in_guild = -1;
-static int hf_woww_amount_of_auras = -1;
-static int hf_woww_amount_of_carriers = -1;
-static int hf_woww_amount_of_characters = -1;
-static int hf_woww_amount_of_characters_in_guild = -1;
-static int hf_woww_amount_of_choice_item_rewards = -1;
-static int hf_woww_amount_of_cooldowns = -1;
-static int hf_woww_amount_of_damages = -1;
-static int hf_woww_amount_of_effects = -1;
-static int hf_woww_amount_of_emotes = -1;
-static int hf_woww_amount_of_entries = -1;
-static int hf_woww_amount_of_events = -1;
-static int hf_woww_amount_of_extra_fields = -1;
-static int hf_woww_amount_of_faction_standings = -1;
-static int hf_woww_amount_of_factions = -1;
-static int hf_woww_amount_of_friends = -1;
-static int hf_woww_amount_of_gossip_items = -1;
-static int hf_woww_amount_of_hits = -1;
-static int hf_woww_amount_of_ignored = -1;
-static int hf_woww_amount_of_item_rewards = -1;
-static int hf_woww_amount_of_items = -1;
-static int hf_woww_amount_of_logs = -1;
-static int hf_woww_amount_of_mails = -1;
-static int hf_woww_amount_of_members = -1;
-static int hf_woww_amount_of_misses = -1;
-static int hf_woww_amount_of_nodes = -1;
-static int hf_woww_amount_of_objects = -1;
-static int hf_woww_amount_of_outbid_items = -1;
-static int hf_woww_amount_of_petitions = -1;
-static int hf_woww_amount_of_pets = -1;
-static int hf_woww_amount_of_players = -1;
-static int hf_woww_amount_of_quests = -1;
-static int hf_woww_amount_of_raid_infos = -1;
-static int hf_woww_amount_of_reactions = -1;
-static int hf_woww_amount_of_records = -1;
-static int hf_woww_amount_of_required_items = -1;
-static int hf_woww_amount_of_rights = -1;
-static int hf_woww_amount_of_signatures = -1;
-static int hf_woww_amount_of_spells = -1;
-static int hf_woww_amount_of_states = -1;
-static int hf_woww_amount_of_strings = -1;
-static int hf_woww_amount_of_targets = -1;
-static int hf_woww_amount_of_teammates = -1;
-static int hf_woww_amount_of_zones = -1;
-static int hf_woww_angle = -1;
-static int hf_woww_animation_id = -1;
-static int hf_woww_answer = -1;
-static int hf_woww_answer_comment = -1;
-static int hf_woww_apply = -1;
-static int hf_woww_arcane_resistance = -1;
-static int hf_woww_area = -1;
-static int hf_woww_argument = -1;
-static int hf_woww_armor = -1;
-static int hf_woww_attacker = -1;
-static int hf_woww_auction_command_action = -1;
-static int hf_woww_auction_command_result = -1;
-static int hf_woww_auction_command_result_two = -1;
-static int hf_woww_auction_duration_in_minutes = -1;
-static int hf_woww_auction_house = -1;
-static int hf_woww_auction_id = -1;
-static int hf_woww_auction_main_category = -1;
-static int hf_woww_auction_out_bid = -1;
-static int hf_woww_auction_outbid = -1;
-static int hf_woww_auction_slot_id = -1;
-static int hf_woww_auction_sub_category = -1;
-static int hf_woww_auctioneer = -1;
-static int hf_woww_aura_duration = -1;
-static int hf_woww_aura_slot = -1;
-static int hf_woww_aura_type = -1;
-static int hf_woww_auto_decline_time = -1;
-static int hf_woww_auto_finish = -1;
-static int hf_woww_autocast_enabled = -1;
-static int hf_woww_average_wait_time_in_ms = -1;
-static int hf_woww_background_color = -1;
-static int hf_woww_backwards_running_speed = -1;
-static int hf_woww_backwards_swimming_speed = -1;
-static int hf_woww_bag = -1;
-static int hf_woww_bag_family = -1;
-static int hf_woww_bag_index = -1;
-static int hf_woww_bag_slot = -1;
-static int hf_woww_bag_type_subclass = -1;
-static int hf_woww_battlefield_port_action = -1;
-static int hf_woww_battleground_bracket = -1;
-static int hf_woww_battleground_end_status = -1;
-static int hf_woww_battleground_winner = -1;
-static int hf_woww_battlegrounds = -1;
-static int hf_woww_battlemaster = -1;
-static int hf_woww_bg_type_id = -1;
-static int hf_woww_bid = -1;
-static int hf_woww_bidder = -1;
-static int hf_woww_billing_flags = -1;
-static int hf_woww_billing_rested = -1;
-static int hf_woww_billing_time = -1;
-static int hf_woww_block = -1;
-static int hf_woww_blocked = -1;
-static int hf_woww_blocked_amount = -1;
-static int hf_woww_body = -1;
-static int hf_woww_body_text = -1;
-static int hf_woww_bonding = -1;
-static int hf_woww_bonus_honor = -1;
-static int hf_woww_border_color = -1;
-static int hf_woww_border_style = -1;
-static int hf_woww_bug_type = -1;
-static int hf_woww_build = -1;
-static int hf_woww_button = -1;
-static int hf_woww_buy_bank_slot_result = -1;
-static int hf_woww_buy_price = -1;
-static int hf_woww_buy_result = -1;
-static int hf_woww_buyback_slot = -1;
-static int hf_woww_buyout = -1;
-static int hf_woww_buyout_amount = -1;
-static int hf_woww_cash_on_delivery_amount = -1;
-static int hf_woww_cast_failure_reason = -1;
-static int hf_woww_cast_flags = -1;
-static int hf_woww_cast_item = -1;
-static int hf_woww_caster = -1;
-static int hf_woww_category_cooldown = -1;
-static int hf_woww_channel = -1;
-static int hf_woww_channel_flags = -1;
-static int hf_woww_channel_member_flags = -1;
-static int hf_woww_channel_name = -1;
-static int hf_woww_channel_password = -1;
-static int hf_woww_character_flags = -1;
-static int hf_woww_character_guid = -1;
-static int hf_woww_character_name = -1;
-static int hf_woww_charter_display_id = -1;
-static int hf_woww_charter_entry = -1;
-static int hf_woww_charter_owner = -1;
-static int hf_woww_chat_credit = -1;
-static int hf_woww_chat_data_line_count = -1;
-static int hf_woww_chat_data_size_uncompressed = -1;
-static int hf_woww_chat_notify = -1;
-static int hf_woww_chat_type = -1;
-static int hf_woww_checked_timestamp = -1;
-static int hf_woww_cinematic_sequence_id = -1;
-static int hf_woww_civilian = -1;
-static int hf_woww_class = -1;
-static int hf_woww_class_mask = -1;
-static int hf_woww_client_instance_id = -1;
-static int hf_woww_client_proof = -1;
-static int hf_woww_client_seed = -1;
-static int hf_woww_code = -1;
-static int hf_woww_coded = -1;
-static int hf_woww_comment = -1;
-static int hf_woww_compressed_chat_data = -1;
-static int hf_woww_compressed_data = -1;
-static int hf_woww_compressed_move_opcode = -1;
-static int hf_woww_container_slots = -1;
-static int hf_woww_content = -1;
-static int hf_woww_cooldown = -1;
-static int hf_woww_cooldown_count = -1;
-static int hf_woww_cooldown_time = -1;
-static int hf_woww_corpse = -1;
-static int hf_woww_corpse_query_result = -1;
-static int hf_woww_cos_angle = -1;
-static int hf_woww_cost_in_copper = -1;
-static int hf_woww_count = -1;
-static int hf_woww_countdown_time = -1;
-static int hf_woww_counter = -1;
-static int hf_woww_created_day = -1;
-static int hf_woww_created_month = -1;
-static int hf_woww_created_year = -1;
-static int hf_woww_creature = -1;
-static int hf_woww_creature_entry = -1;
-static int hf_woww_creature_family = -1;
-static int hf_woww_creature_id = -1;
-static int hf_woww_creature_rank = -1;
-static int hf_woww_creature_type = -1;
-static int hf_woww_critical = -1;
-static int hf_woww_current_health = -1;
-static int hf_woww_current_power = -1;
-static int hf_woww_damage = -1;
-static int hf_woww_damage_float = -1;
-static int hf_woww_damage_maximum = -1;
-static int hf_woww_damage_minimum = -1;
-static int hf_woww_damage_state = -1;
-static int hf_woww_damage_uint = -1;
-static int hf_woww_data = -1;
-static int hf_woww_data_type = -1;
-static int hf_woww_datetime = -1;
-static int hf_woww_days_since_last_updated = -1;
-static int hf_woww_days_since_oldest_ticket_creation = -1;
-static int hf_woww_days_since_ticket_creation = -1;
-static int hf_woww_deadline = -1;
-static int hf_woww_deaths = -1;
-static int hf_woww_debug_log_format = -1;
-static int hf_woww_decompressed_addon_info_size = -1;
-static int hf_woww_decompressed_size = -1;
-static int hf_woww_delay = -1;
-static int hf_woww_delay_time = -1;
-static int hf_woww_description = -1;
-static int hf_woww_destination_bag = -1;
-static int hf_woww_destination_node = -1;
-static int hf_woww_destination_slot = -1;
-static int hf_woww_destionation_slot = -1;
-static int hf_woww_details = -1;
-static int hf_woww_dismount_result = -1;
-static int hf_woww_display_id = -1;
-static int hf_woww_duel_winner_reason = -1;
-static int hf_woww_durability = -1;
-static int hf_woww_duration = -1;
-static int hf_woww_eff = -1;
-static int hf_woww_emblem_color = -1;
-static int hf_woww_emblem_style = -1;
-static int hf_woww_emote_delay = -1;
-static int hf_woww_emote_enum = -1;
-static int hf_woww_emote_int = -1;
-static int hf_woww_enable_pvp = -1;
-static int hf_woww_enchantment = -1;
-static int hf_woww_encrypted_data = -1;
-static int hf_woww_end_text = -1;
-static int hf_woww_ended_without_interruption = -1;
-static int hf_woww_enemy = -1;
-static int hf_woww_energize_amount = -1;
-static int hf_woww_energize_power = -1;
-static int hf_woww_energy = -1;
-static int hf_woww_entry = -1;
-static int hf_woww_entry_id = -1;
-static int hf_woww_environmental_damage_type = -1;
-static int hf_woww_equip_error = -1;
-static int hf_woww_equipment_display_id = -1;
-static int hf_woww_equipped_item_class = -1;
-static int hf_woww_equipped_item_inventory_type_mask = -1;
-static int hf_woww_equipped_item_subclass_mask = -1;
-static int hf_woww_event_descriptions = -1;
-static int hf_woww_exp_group_bonus = -1;
-static int hf_woww_experience = -1;
-static int hf_woww_experience_award_type = -1;
-static int hf_woww_experience_reward = -1;
-static int hf_woww_experience_without_rested = -1;
-static int hf_woww_expiration_time = -1;
-static int hf_woww_extend_flag = -1;
-static int hf_woww_extra_attacks = -1;
-static int hf_woww_face = -1;
-static int hf_woww_facial_hair = -1;
-static int hf_woww_faction = -1;
-static int hf_woww_faction_flag = -1;
-static int hf_woww_fall_time = -1;
-static int hf_woww_far_sight_operation = -1;
-static int hf_woww_feed_pet_item = -1;
-static int hf_woww_fields = -1;
-static int hf_woww_fire_resistance = -1;
-static int hf_woww_first_bag_display_id = -1;
-static int hf_woww_first_bag_inventory_id = -1;
-static int hf_woww_first_login = -1;
-static int hf_woww_first_rank = -1;
-static int hf_woww_flags = -1;
-static int hf_woww_focus = -1;
-static int hf_woww_friend_result = -1;
-static int hf_woww_friend_status = -1;
-static int hf_woww_frost_resistance = -1;
-static int hf_woww_gain_multiplier = -1;
-static int hf_woww_gameobject = -1;
-static int hf_woww_gender = -1;
-static int hf_woww_gift_bag_index = -1;
-static int hf_woww_gift_slot = -1;
-static int hf_woww_gift_wrapper = -1;
-static int hf_woww_gm_ticket_escalation_status = -1;
-static int hf_woww_gm_ticket_queue_status = -1;
-static int hf_woww_gm_ticket_response = -1;
-static int hf_woww_gm_ticket_status = -1;
-static int hf_woww_gm_ticket_status_response = -1;
-static int hf_woww_gm_ticket_type = -1;
-static int hf_woww_gold = -1;
-static int hf_woww_gossip_list_id = -1;
-static int hf_woww_grade = -1;
-static int hf_woww_greeting = -1;
-static int hf_woww_group_loot_setting = -1;
-static int hf_woww_group_member_online_status = -1;
-static int hf_woww_group_number = -1;
-static int hf_woww_group_type = -1;
-static int hf_woww_group_update_flags = -1;
-static int hf_woww_guid = -1;
-static int hf_woww_guids = -1;
-static int hf_woww_guild = -1;
-static int hf_woww_guild_charter_cost = -1;
-static int hf_woww_guild_command = -1;
-static int hf_woww_guild_command_result = -1;
-static int hf_woww_guild_emblem_result = -1;
-static int hf_woww_guild_event = -1;
-static int hf_woww_guild_id = -1;
-static int hf_woww_guild_info = -1;
-static int hf_woww_guild_member_status = -1;
-static int hf_woww_guild_name = -1;
-static int hf_woww_hair_color = -1;
-static int hf_woww_hair_style = -1;
-static int hf_woww_happiness = -1;
-static int hf_woww_has_transport = -1;
-static int hf_woww_heal_amount = -1;
-static int hf_woww_heal_critical = -1;
-static int hf_woww_health = -1;
-static int hf_woww_higher_bidder = -1;
-static int hf_woww_highest_bid = -1;
-static int hf_woww_highest_bidder = -1;
-static int hf_woww_hit_info = -1;
-static int hf_woww_hits = -1;
-static int hf_woww_holy_resistance = -1;
-static int hf_woww_homebind_timer = -1;
-static int hf_woww_honor_points = -1;
-static int hf_woww_honorable_kills = -1;
-static int hf_woww_horizontal_speed = -1;
-static int hf_woww_icon = -1;
-static int hf_woww_id = -1;
-static int hf_woww_ignored = -1;
-static int hf_woww_inactive = -1;
-static int hf_woww_index = -1;
-static int hf_woww_info_block = -1;
-static int hf_woww_info_type = -1;
-static int hf_woww_initiator = -1;
-static int hf_woww_initiator_name = -1;
-static int hf_woww_instance_id = -1;
-static int hf_woww_instance_reset_failed_reason = -1;
-static int hf_woww_intellect = -1;
-static int hf_woww_interrupted_spell = -1;
-static int hf_woww_inventory_result = -1;
-static int hf_woww_inventory_type = -1;
-static int hf_woww_invited_player = -1;
-static int hf_woww_is_applied = -1;
-static int hf_woww_is_frozen = -1;
-static int hf_woww_is_online = -1;
-static int hf_woww_issue_date = -1;
-static int hf_woww_item = -1;
-static int hf_woww_item_bag_index = -1;
-static int hf_woww_item_charges = -1;
-static int hf_woww_item_class = -1;
-static int hf_woww_item_class_and_sub_class = -1;
-static int hf_woww_item_count = -1;
-static int hf_woww_item_creator = -1;
-static int hf_woww_item_display_id = -1;
-static int hf_woww_item_enchant_id = -1;
-static int hf_woww_item_enchantment = -1;
-static int hf_woww_item_flag = -1;
-static int hf_woww_item_icon = -1;
-static int hf_woww_item_id = -1;
-static int hf_woww_item_level = -1;
-static int hf_woww_item_limit_category_id = -1;
-static int hf_woww_item_name = -1;
-static int hf_woww_item_owner = -1;
-static int hf_woww_item_quality = -1;
-static int hf_woww_item_random_properties_id = -1;
-static int hf_woww_item_random_property_id = -1;
-static int hf_woww_item_random_suffix = -1;
-static int hf_woww_item_random_suffix_id = -1;
-static int hf_woww_item_set = -1;
-static int hf_woww_item_slot = -1;
-static int hf_woww_item_slot_int = -1;
-static int hf_woww_item_spell_charges = -1;
-static int hf_woww_item_stack_count = -1;
-static int hf_woww_item_stack_size = -1;
-static int hf_woww_item_stat_type = -1;
-static int hf_woww_item_sub_class_mask = -1;
-static int hf_woww_item_suffix_factor = -1;
-static int hf_woww_item_template = -1;
-static int hf_woww_item_text_id = -1;
-static int hf_woww_item_to_damage = -1;
-static int hf_woww_items_required = -1;
-static int hf_woww_join_as_group = -1;
-static int hf_woww_key_version = -1;
-static int hf_woww_kill_count = -1;
-static int hf_woww_killing_blows = -1;
-static int hf_woww_lag = -1;
-static int hf_woww_language = -1;
-static int hf_woww_last_week_honor = -1;
-static int hf_woww_last_week_honorable = -1;
-static int hf_woww_leader = -1;
-static int hf_woww_level = -1;
-static int hf_woww_level_played_time = -1;
-static int hf_woww_lifetime_dishonorable = -1;
-static int hf_woww_lifetime_honorable = -1;
-static int hf_woww_list_from = -1;
-static int hf_woww_list_start_item = -1;
-static int hf_woww_listed_players = -1;
-static int hf_woww_living_orientation = -1;
-static int hf_woww_location_name = -1;
-static int hf_woww_lock_id = -1;
-static int hf_woww_log_format = -1;
-static int hf_woww_logout_result = -1;
-static int hf_woww_logout_speed = -1;
-static int hf_woww_loot = -1;
-static int hf_woww_loot_master = -1;
-static int hf_woww_loot_method = -1;
-static int hf_woww_loot_method_error = -1;
-static int hf_woww_loot_slot = -1;
-static int hf_woww_loot_slot_type = -1;
-static int hf_woww_looted_target = -1;
-static int hf_woww_loyalty = -1;
-static int hf_woww_mail_action = -1;
-static int hf_woww_mail_id = -1;
-static int hf_woww_mail_result = -1;
-static int hf_woww_mail_result_two = -1;
-static int hf_woww_mail_template_id = -1;
-static int hf_woww_mail_type = -1;
-static int hf_woww_mailbox = -1;
-static int hf_woww_mailbox_id = -1;
-static int hf_woww_mana = -1;
-static int hf_woww_map = -1;
-static int hf_woww_master_loot = -1;
-static int hf_woww_material = -1;
-static int hf_woww_max_count = -1;
-static int hf_woww_max_durability = -1;
-static int hf_woww_max_health = -1;
-static int hf_woww_max_items = -1;
-static int hf_woww_max_level_money_reward = -1;
-static int hf_woww_max_power = -1;
-static int hf_woww_maximum = -1;
-static int hf_woww_maximum_level = -1;
-static int hf_woww_maximum_signatures = -1;
-static int hf_woww_meeting_stone_failure = -1;
-static int hf_woww_meeting_stone_status = -1;
-static int hf_woww_member = -1;
-static int hf_woww_message = -1;
-static int hf_woww_message_id = -1;
-static int hf_woww_message_of_the_day = -1;
-static int hf_woww_minimum = -1;
-static int hf_woww_minimum_bid = -1;
-static int hf_woww_minimum_level = -1;
-static int hf_woww_minimum_signatures = -1;
-static int hf_woww_misc = -1;
-static int hf_woww_misc_value = -1;
-static int hf_woww_money = -1;
-static int hf_woww_money_in_trade = -1;
-static int hf_woww_money_reward = -1;
-static int hf_woww_monster = -1;
-static int hf_woww_monster_move_type = -1;
-static int hf_woww_monster_name = -1;
-static int hf_woww_motd = -1;
-static int hf_woww_mount_result = -1;
-static int hf_woww_move_event = -1;
-static int hf_woww_movement_counter = -1;
-static int hf_woww_movement_flags = -1;
-static int hf_woww_multiplier = -1;
-static int hf_woww_name = -1;
-static int hf_woww_nature_resistance = -1;
-static int hf_woww_nearest_node = -1;
-static int hf_woww_new_bid = -1;
-static int hf_woww_new_guild_leader_name = -1;
-static int hf_woww_new_item_chat_alert = -1;
-static int hf_woww_new_item_creation_type = -1;
-static int hf_woww_new_item_source = -1;
-static int hf_woww_new_level = -1;
-static int hf_woww_new_name = -1;
-static int hf_woww_new_owner = -1;
-static int hf_woww_new_speed = -1;
-static int hf_woww_new_spell_id = -1;
-static int hf_woww_next_page_id = -1;
-static int hf_woww_next_quest_in_chain = -1;
-static int hf_woww_next_resurrect_time = -1;
-static int hf_woww_node_count = -1;
-static int hf_woww_nodes = -1;
-static int hf_woww_note = -1;
-static int hf_woww_notification = -1;
-static int hf_woww_npc = -1;
-static int hf_woww_number_of_battlegrounds = -1;
-static int hf_woww_number_of_choices = -1;
-static int hf_woww_object_type = -1;
-static int hf_woww_object_unk = -1;
-static int hf_woww_objective_text = -1;
-static int hf_woww_objective_texts = -1;
-static int hf_woww_objectives = -1;
-static int hf_woww_offer_reward_text = -1;
-static int hf_woww_officer_note = -1;
-static int hf_woww_old_mover = -1;
-static int hf_woww_old_spell_id = -1;
-static int hf_woww_online_players = -1;
-static int hf_woww_op = -1;
-static int hf_woww_opponent_name = -1;
-static int hf_woww_orientation = -1;
-static int hf_woww_out_bid = -1;
-static int hf_woww_outbid_item_ids = -1;
-static int hf_woww_outfit_id = -1;
-static int hf_woww_owner = -1;
-static int hf_woww_page_id = -1;
-static int hf_woww_page_text = -1;
-static int hf_woww_page_text_material = -1;
-static int hf_woww_party_operation = -1;
-static int hf_woww_party_result = -1;
-static int hf_woww_party_status = -1;
-static int hf_woww_periodic_log = -1;
-static int hf_woww_pet = -1;
-static int hf_woww_pet_command_state = -1;
-static int hf_woww_pet_current_health = -1;
-static int hf_woww_pet_current_power = -1;
-static int hf_woww_pet_display_id = -1;
-static int hf_woww_pet_enabled = -1;
-static int hf_woww_pet_feedback = -1;
-static int hf_woww_pet_level = -1;
-static int hf_woww_pet_max_health = -1;
-static int hf_woww_pet_max_power = -1;
-static int hf_woww_pet_name = -1;
-static int hf_woww_pet_name_timestamp = -1;
-static int hf_woww_pet_number = -1;
-static int hf_woww_pet_react_state = -1;
-static int hf_woww_pet_slot = -1;
-static int hf_woww_pet_talk_reason = -1;
-static int hf_woww_pet_tame_failure_reason = -1;
-static int hf_woww_petition = -1;
-static int hf_woww_petition_id = -1;
-static int hf_woww_petition_result = -1;
-static int hf_woww_pitch = -1;
-static int hf_woww_player = -1;
-static int hf_woww_player_chat_tag = -1;
-static int hf_woww_player_is_saved_to_a_raid = -1;
-static int hf_woww_player_name = -1;
-static int hf_woww_player_rank = -1;
-static int hf_woww_player_with_killing_blow = -1;
-static int hf_woww_point_map_id = -1;
-static int hf_woww_point_opt = -1;
-static int hf_woww_position = -1;
-static int hf_woww_position_x = -1;
-static int hf_woww_position_x_int = -1;
-static int hf_woww_position_y = -1;
-static int hf_woww_position_y_int = -1;
-static int hf_woww_power = -1;
-static int hf_woww_price = -1;
-static int hf_woww_probability = -1;
-static int hf_woww_public_key = -1;
-static int hf_woww_public_note = -1;
-static int hf_woww_pvp_corpse = -1;
-static int hf_woww_pvp_rank = -1;
-static int hf_woww_query = -1;
-static int hf_woww_quest_completable = -1;
-static int hf_woww_quest_failed_reason = -1;
-static int hf_woww_quest_flags = -1;
-static int hf_woww_quest_giver_status = -1;
-static int hf_woww_quest_icon = -1;
-static int hf_woww_quest_id = -1;
-static int hf_woww_quest_level = -1;
-static int hf_woww_quest_method = -1;
-static int hf_woww_quest_party_message = -1;
-static int hf_woww_quest_title = -1;
-static int hf_woww_quest_type = -1;
-static int hf_woww_question_id = -1;
-static int hf_woww_queue_position = -1;
-static int hf_woww_queue_slot = -1;
-static int hf_woww_race = -1;
-static int hf_woww_race_mask = -1;
-static int hf_woww_racial_leader = -1;
-static int hf_woww_rage = -1;
-static int hf_woww_raid_group_error = -1;
-static int hf_woww_raid_instance_message = -1;
-static int hf_woww_raid_target_index = -1;
-static int hf_woww_raid_target_update_type = -1;
-static int hf_woww_random_property = -1;
-static int hf_woww_random_property_id = -1;
-static int hf_woww_ranged_range_modification = -1;
-static int hf_woww_rank = -1;
-static int hf_woww_rank_id = -1;
-static int hf_woww_rank_name = -1;
-static int hf_woww_rank_names = -1;
-static int hf_woww_rank_progress_bar = -1;
-static int hf_woww_raw_data = -1;
-static int hf_woww_read_by_gm = -1;
-static int hf_woww_realm_name = -1;
-static int hf_woww_receiver = -1;
-static int hf_woww_records = -1;
-static int hf_woww_reputation_objective_value = -1;
-static int hf_woww_reputation_rank = -1;
-static int hf_woww_request_items_text = -1;
-static int hf_woww_requested_rank = -1;
-static int hf_woww_required_city_rank = -1;
-static int hf_woww_required_faction_rank = -1;
-static int hf_woww_required_honor_rank = -1;
-static int hf_woww_required_item_count = -1;
-static int hf_woww_required_item_id = -1;
-static int hf_woww_required_kill_count = -1;
-static int hf_woww_required_level = -1;
-static int hf_woww_required_money = -1;
-static int hf_woww_required_opposite_reputation_value = -1;
-static int hf_woww_required_skill_rank = -1;
-static int hf_woww_required_skill_value = -1;
-static int hf_woww_required_spell = -1;
-static int hf_woww_required_spell_focus = -1;
-static int hf_woww_required_spells = -1;
-static int hf_woww_reserved_for_future_use = -1;
-static int hf_woww_reset_time = -1;
-static int hf_woww_resist = -1;
-static int hf_woww_resisted = -1;
-static int hf_woww_reward = -1;
-static int hf_woww_reward_spell = -1;
-static int hf_woww_reward_spell_cast = -1;
-static int hf_woww_rights = -1;
-static int hf_woww_roll_number = -1;
-static int hf_woww_roll_vote = -1;
-static int hf_woww_round_time_in_ms = -1;
-static int hf_woww_running_speed = -1;
-static int hf_woww_scale = -1;
-static int hf_woww_search_strings = -1;
-static int hf_woww_searched_name = -1;
-static int hf_woww_self_player = -1;
-static int hf_woww_sell_item_result = -1;
-static int hf_woww_sell_price = -1;
-static int hf_woww_sender = -1;
-static int hf_woww_sender_id = -1;
-static int hf_woww_sender_name = -1;
-static int hf_woww_sequence_id = -1;
-static int hf_woww_server_id = -1;
-static int hf_woww_server_message_type = -1;
-static int hf_woww_server_seed = -1;
-static int hf_woww_set_assistant = -1;
-static int hf_woww_shadow_resistance = -1;
-static int hf_woww_sheath_state = -1;
-static int hf_woww_sheathe_type = -1;
-static int hf_woww_show_affiliation = -1;
-static int hf_woww_signer = -1;
-static int hf_woww_simple_spell_cast_result = -1;
-static int hf_woww_sin_angle = -1;
-static int hf_woww_size_struct = -1;
-static int hf_woww_skill = -1;
-static int hf_woww_skin = -1;
-static int hf_woww_skin_color = -1;
-static int hf_woww_slot = -1;
-static int hf_woww_slot_id = -1;
-static int hf_woww_slot_index = -1;
-static int hf_woww_sound_id = -1;
-static int hf_woww_source_bag = -1;
-static int hf_woww_source_item_id = -1;
-static int hf_woww_source_node = -1;
-static int hf_woww_source_slot = -1;
-static int hf_woww_speech_bubble_credit = -1;
-static int hf_woww_speed = -1;
-static int hf_woww_spell = -1;
-static int hf_woww_spell_art_kit = -1;
-static int hf_woww_spell_cast_result = -1;
-static int hf_woww_spell_cast_target_flags = -1;
-static int hf_woww_spell_category = -1;
-static int hf_woww_spell_category_cooldown = -1;
-static int hf_woww_spell_charges = -1;
-static int hf_woww_spell_cooldown = -1;
-static int hf_woww_spell_cost = -1;
-static int hf_woww_spell_count = -1;
-static int hf_woww_spell_data_id = -1;
-static int hf_woww_spell_effect = -1;
-static int hf_woww_spell_id = -1;
-static int hf_woww_spell_index = -1;
-static int hf_woww_spell_miss_info = -1;
-static int hf_woww_spell_on_lowest_slot = -1;
-static int hf_woww_spell_school = -1;
-static int hf_woww_spell_school_mask = -1;
-static int hf_woww_spell_trigger_type = -1;
-static int hf_woww_spell_visual_kit = -1;
-static int hf_woww_spells = -1;
-static int hf_woww_spirit = -1;
-static int hf_woww_spirit_released = -1;
-static int hf_woww_spline_elevation = -1;
-static int hf_woww_spline_flag = -1;
-static int hf_woww_spline_id = -1;
-static int hf_woww_stable_master = -1;
-static int hf_woww_stable_result = -1;
-static int hf_woww_stable_slots = -1;
-static int hf_woww_stack_count = -1;
-static int hf_woww_stackable = -1;
-static int hf_woww_stamina = -1;
-static int hf_woww_standing = -1;
-static int hf_woww_start_bid = -1;
-static int hf_woww_start_from_page = -1;
-static int hf_woww_start_quest = -1;
-static int hf_woww_starting_bid = -1;
-static int hf_woww_state = -1;
-static int hf_woww_stationery = -1;
-static int hf_woww_status = -1;
-static int hf_woww_status_id = -1;
-static int hf_woww_strength = -1;
-static int hf_woww_string = -1;
-static int hf_woww_sub_name = -1;
-static int hf_woww_subject = -1;
-static int hf_woww_suggestion = -1;
-static int hf_woww_summoner = -1;
-static int hf_woww_survey_id = -1;
-static int hf_woww_swap_with_name = -1;
-static int hf_woww_swimming_speed = -1;
-static int hf_woww_talent = -1;
-static int hf_woww_talent_point_cost = -1;
-static int hf_woww_talent_reset_cost = -1;
-static int hf_woww_target = -1;
-static int hf_woww_target_error = -1;
-static int hf_woww_target_player = -1;
-static int hf_woww_target_string = -1;
-static int hf_woww_targets = -1;
-static int hf_woww_taxi_mask_node_known = -1;
-static int hf_woww_text = -1;
-static int hf_woww_text_emote = -1;
-static int hf_woww_text_id = -1;
-static int hf_woww_texts = -1;
-static int hf_woww_this_week_honor = -1;
-static int hf_woww_this_week_honorable = -1;
-static int hf_woww_time = -1;
-static int hf_woww_time_in_queue_in_ms = -1;
-static int hf_woww_time_left = -1;
-static int hf_woww_time_offline = -1;
-static int hf_woww_time_passed = -1;
-static int hf_woww_time_remaining = -1;
-static int hf_woww_time_skipped = -1;
-static int hf_woww_time_to_bg_autoleave_in_ms = -1;
-static int hf_woww_time_to_bg_start_in_ms = -1;
-static int hf_woww_time_to_remove_in_queue_in_ms = -1;
-static int hf_woww_timer = -1;
-static int hf_woww_timer_type = -1;
-static int hf_woww_timescale = -1;
-static int hf_woww_timestamp = -1;
-static int hf_woww_title = -1;
-static int hf_woww_title_text_id = -1;
-static int hf_woww_today_honorable_and_dishonorable = -1;
-static int hf_woww_todo_amount_of_signers = -1;
-static int hf_woww_total_amount_of_auctions = -1;
-static int hf_woww_total_cost = -1;
-static int hf_woww_total_damage = -1;
-static int hf_woww_total_exp = -1;
-static int hf_woww_total_played_time = -1;
-static int hf_woww_trade_item = -1;
-static int hf_woww_trade_slot = -1;
-static int hf_woww_trade_slot_count = -1;
-static int hf_woww_trade_slot_number = -1;
-static int hf_woww_trade_status = -1;
-static int hf_woww_trainer_spell_state = -1;
-static int hf_woww_trainer_type = -1;
-static int hf_woww_training_failure_reason = -1;
-static int hf_woww_transfer_abort_reason = -1;
-static int hf_woww_transport = -1;
-static int hf_woww_transport_guid = -1;
-static int hf_woww_transport_orientation = -1;
-static int hf_woww_transport_progress_in_ms = -1;
-static int hf_woww_trigger_id = -1;
-static int hf_woww_turn_rate = -1;
-static int hf_woww_tutorial_data = -1;
-static int hf_woww_tutorial_flag = -1;
-static int hf_woww_type_flags = -1;
-static int hf_woww_unit_stand_state = -1;
-static int hf_woww_unit_target = -1;
-static int hf_woww_unknown_flags = -1;
-static int hf_woww_unknown_float = -1;
-static int hf_woww_unknown_guid = -1;
-static int hf_woww_unknown_int = -1;
-static int hf_woww_unread_mails = -1;
-static int hf_woww_unused = -1;
-static int hf_woww_update_available_flag = -1;
-static int hf_woww_update_flag = -1;
-static int hf_woww_update_type = -1;
-static int hf_woww_url = -1;
-static int hf_woww_url_info = -1;
-static int hf_woww_usable = -1;
-static int hf_woww_username = -1;
-static int hf_woww_v_cos = -1;
-static int hf_woww_v_sin = -1;
-static int hf_woww_value = -1;
-static int hf_woww_vendor = -1;
-static int hf_woww_vendor_slot = -1;
-static int hf_woww_vertical_speed = -1;
-static int hf_woww_victim = -1;
-static int hf_woww_walking_speed = -1;
-static int hf_woww_weather_change_type = -1;
-static int hf_woww_weather_type = -1;
-static int hf_woww_winning_player = -1;
-static int hf_woww_winning_roll = -1;
-static int hf_woww_wiping_npc = -1;
-static int hf_woww_won = -1;
-static int hf_woww_world_result = -1;
-static int hf_woww_wrapped = -1;
-static int hf_woww_x = -1;
-static int hf_woww_xy_speed = -1;
-static int hf_woww_y = -1;
-static int hf_woww_yesterday_honor = -1;
-static int hf_woww_yesterday_honorable = -1;
-static int hf_woww_z = -1;
-static int hf_woww_z_speed = -1;
-static int hf_woww_zone_or_sort = -1;
-static int hf_woww_zones = -1;
+static int hf_woww_absorb;
+static int hf_woww_absorbed;
+static int hf_woww_absorbed_damage;
+static int hf_woww_account_data_type;
+static int hf_woww_action;
+static int hf_woww_action_bar;
+static int hf_woww_action_bars;
+static int hf_woww_action_type;
+static int hf_woww_activate_taxi_reply;
+static int hf_woww_actual_roll;
+static int hf_woww_addon_crc;
+static int hf_woww_addon_extra_crc;
+static int hf_woww_addon_has_signature;
+static int hf_woww_addon_name;
+static int hf_woww_addon_type;
+static int hf_woww_agility;
+static int hf_woww_ai_reaction;
+static int hf_woww_allow_movement;
+static int hf_woww_allowed_class;
+static int hf_woww_allowed_genders;
+static int hf_woww_allowed_guild_id;
+static int hf_woww_allowed_maximum_level;
+static int hf_woww_allowed_minimum_level;
+static int hf_woww_allowed_race;
+static int hf_woww_ammo_display_id;
+static int hf_woww_ammo_inventory_type;
+static int hf_woww_ammo_type;
+static int hf_woww_amount;
+static int hf_woww_amount_bought;
+static int hf_woww_amount_for_sale;
+static int hf_woww_amount_of_accounts_in_guild;
+static int hf_woww_amount_of_auras;
+static int hf_woww_amount_of_carriers;
+static int hf_woww_amount_of_characters;
+static int hf_woww_amount_of_characters_in_guild;
+static int hf_woww_amount_of_choice_item_rewards;
+static int hf_woww_amount_of_cooldowns;
+static int hf_woww_amount_of_damages;
+static int hf_woww_amount_of_effects;
+static int hf_woww_amount_of_emotes;
+static int hf_woww_amount_of_entries;
+static int hf_woww_amount_of_events;
+static int hf_woww_amount_of_extra_fields;
+static int hf_woww_amount_of_faction_standings;
+static int hf_woww_amount_of_factions;
+static int hf_woww_amount_of_friends;
+static int hf_woww_amount_of_gossip_items;
+static int hf_woww_amount_of_hits;
+static int hf_woww_amount_of_ignored;
+static int hf_woww_amount_of_item_rewards;
+static int hf_woww_amount_of_items;
+static int hf_woww_amount_of_logs;
+static int hf_woww_amount_of_mails;
+static int hf_woww_amount_of_members;
+static int hf_woww_amount_of_misses;
+static int hf_woww_amount_of_nodes;
+static int hf_woww_amount_of_objects;
+static int hf_woww_amount_of_outbid_items;
+static int hf_woww_amount_of_petitions;
+static int hf_woww_amount_of_pets;
+static int hf_woww_amount_of_players;
+static int hf_woww_amount_of_quests;
+static int hf_woww_amount_of_raid_infos;
+static int hf_woww_amount_of_reactions;
+static int hf_woww_amount_of_records;
+static int hf_woww_amount_of_required_items;
+static int hf_woww_amount_of_rights;
+static int hf_woww_amount_of_signatures;
+static int hf_woww_amount_of_spells;
+static int hf_woww_amount_of_states;
+static int hf_woww_amount_of_strings;
+static int hf_woww_amount_of_targets;
+static int hf_woww_amount_of_teammates;
+static int hf_woww_amount_of_zones;
+static int hf_woww_angle;
+static int hf_woww_animation_id;
+static int hf_woww_answer;
+static int hf_woww_answer_comment;
+static int hf_woww_apply;
+static int hf_woww_arcane_resistance;
+static int hf_woww_area;
+static int hf_woww_argument;
+static int hf_woww_armor;
+static int hf_woww_attacker;
+static int hf_woww_auction_command_action;
+static int hf_woww_auction_command_result;
+static int hf_woww_auction_command_result_two;
+static int hf_woww_auction_duration_in_minutes;
+static int hf_woww_auction_house;
+static int hf_woww_auction_id;
+static int hf_woww_auction_main_category;
+static int hf_woww_auction_out_bid;
+static int hf_woww_auction_outbid;
+static int hf_woww_auction_slot_id;
+static int hf_woww_auction_sub_category;
+static int hf_woww_auctioneer;
+static int hf_woww_aura_duration;
+static int hf_woww_aura_slot;
+static int hf_woww_aura_type;
+static int hf_woww_auto_decline_time;
+static int hf_woww_auto_finish;
+static int hf_woww_autocast_enabled;
+static int hf_woww_average_wait_time_in_ms;
+static int hf_woww_background_color;
+static int hf_woww_backwards_running_speed;
+static int hf_woww_backwards_swimming_speed;
+static int hf_woww_bag;
+static int hf_woww_bag_family;
+static int hf_woww_bag_index;
+static int hf_woww_bag_slot;
+static int hf_woww_bag_type_subclass;
+static int hf_woww_battlefield_port_action;
+static int hf_woww_battleground_bracket;
+static int hf_woww_battleground_end_status;
+static int hf_woww_battleground_winner;
+static int hf_woww_battlegrounds;
+static int hf_woww_battlemaster;
+static int hf_woww_bg_type_id;
+static int hf_woww_bid;
+static int hf_woww_bidder;
+static int hf_woww_billing_flags;
+static int hf_woww_billing_rested;
+static int hf_woww_billing_time;
+static int hf_woww_block;
+static int hf_woww_blocked;
+static int hf_woww_blocked_amount;
+static int hf_woww_body;
+static int hf_woww_body_text;
+static int hf_woww_bonding;
+static int hf_woww_bonus_honor;
+static int hf_woww_border_color;
+static int hf_woww_border_style;
+static int hf_woww_bug_type;
+static int hf_woww_build;
+static int hf_woww_button;
+static int hf_woww_buy_bank_slot_result;
+static int hf_woww_buy_price;
+static int hf_woww_buy_result;
+static int hf_woww_buyback_slot;
+static int hf_woww_buyout;
+static int hf_woww_buyout_amount;
+static int hf_woww_cash_on_delivery_amount;
+static int hf_woww_cast_failure_reason;
+static int hf_woww_cast_flags;
+static int hf_woww_cast_item;
+static int hf_woww_caster;
+static int hf_woww_category_cooldown;
+static int hf_woww_channel;
+static int hf_woww_channel_flags;
+static int hf_woww_channel_member_flags;
+static int hf_woww_channel_name;
+static int hf_woww_channel_password;
+static int hf_woww_character_flags;
+static int hf_woww_character_guid;
+static int hf_woww_character_name;
+static int hf_woww_charter_display_id;
+static int hf_woww_charter_entry;
+static int hf_woww_charter_owner;
+static int hf_woww_chat_credit;
+static int hf_woww_chat_data_line_count;
+static int hf_woww_chat_notify;
+static int hf_woww_chat_type;
+static int hf_woww_checked_timestamp;
+static int hf_woww_cinematic_sequence_id;
+static int hf_woww_civilian;
+static int hf_woww_class;
+static int hf_woww_class_mask;
+static int hf_woww_client_instance_id;
+static int hf_woww_client_proof;
+static int hf_woww_client_seed;
+static int hf_woww_code;
+static int hf_woww_coded;
+static int hf_woww_comment;
+static int hf_woww_compressed_chat_data;
+static int hf_woww_compressed_data;
+static int hf_woww_compressed_move_opcode;
+static int hf_woww_container_slots;
+static int hf_woww_content;
+static int hf_woww_cooldown;
+static int hf_woww_cooldown_count;
+static int hf_woww_cooldown_time;
+static int hf_woww_corpse;
+static int hf_woww_corpse_query_result;
+static int hf_woww_cos_angle;
+static int hf_woww_cost_in_copper;
+static int hf_woww_count;
+static int hf_woww_countdown_time;
+static int hf_woww_counter;
+static int hf_woww_created_day;
+static int hf_woww_created_month;
+static int hf_woww_created_year;
+static int hf_woww_creature;
+static int hf_woww_creature_entry;
+static int hf_woww_creature_family;
+static int hf_woww_creature_id;
+static int hf_woww_creature_rank;
+static int hf_woww_creature_type;
+static int hf_woww_critical;
+static int hf_woww_current_health;
+static int hf_woww_current_power;
+static int hf_woww_damage;
+static int hf_woww_damage_float;
+static int hf_woww_damage_maximum;
+static int hf_woww_damage_minimum;
+static int hf_woww_damage_state;
+static int hf_woww_damage_uint;
+static int hf_woww_data;
+static int hf_woww_data_type;
+static int hf_woww_datetime;
+static int hf_woww_days_since_last_updated;
+static int hf_woww_days_since_oldest_ticket_creation;
+static int hf_woww_days_since_ticket_creation;
+static int hf_woww_deadline;
+static int hf_woww_deaths;
+static int hf_woww_debug_log_format;
+static int hf_woww_decompressed_size;
+static int hf_woww_delay;
+static int hf_woww_delay_time;
+static int hf_woww_description;
+static int hf_woww_destination_bag;
+static int hf_woww_destination_node;
+static int hf_woww_destination_slot;
+static int hf_woww_destionation_slot;
+static int hf_woww_details;
+static int hf_woww_dismount_result;
+static int hf_woww_display_id;
+static int hf_woww_duel_winner_reason;
+static int hf_woww_durability;
+static int hf_woww_duration;
+static int hf_woww_eff;
+static int hf_woww_emblem_color;
+static int hf_woww_emblem_style;
+static int hf_woww_emote_delay;
+static int hf_woww_emote_enum;
+static int hf_woww_emote_int;
+static int hf_woww_enable_pvp;
+static int hf_woww_enchantment;
+static int hf_woww_encrypted_data;
+static int hf_woww_end_text;
+static int hf_woww_ended_without_interruption;
+static int hf_woww_enemy;
+static int hf_woww_energize_amount;
+static int hf_woww_energize_power;
+static int hf_woww_energy;
+static int hf_woww_entry;
+static int hf_woww_entry_id;
+static int hf_woww_environmental_damage_type;
+static int hf_woww_equip_error;
+static int hf_woww_equipment_display_id;
+static int hf_woww_equipped_item_class;
+static int hf_woww_equipped_item_inventory_type_mask;
+static int hf_woww_equipped_item_subclass_mask;
+static int hf_woww_event_descriptions;
+static int hf_woww_exp_group_bonus;
+static int hf_woww_experience;
+static int hf_woww_experience_award_type;
+static int hf_woww_experience_reward;
+static int hf_woww_experience_without_rested;
+static int hf_woww_expiration_time;
+static int hf_woww_extend_flag;
+static int hf_woww_extra_attacks;
+static int hf_woww_face;
+static int hf_woww_facial_hair;
+static int hf_woww_faction;
+static int hf_woww_faction_flag;
+static int hf_woww_fall_time;
+static int hf_woww_far_sight_operation;
+static int hf_woww_feed_pet_item;
+static int hf_woww_fields;
+static int hf_woww_fire_resistance;
+static int hf_woww_first_bag_display_id;
+static int hf_woww_first_bag_inventory_id;
+static int hf_woww_first_login;
+static int hf_woww_first_rank;
+static int hf_woww_flags;
+static int hf_woww_focus;
+static int hf_woww_friend_result;
+static int hf_woww_friend_status;
+static int hf_woww_frost_resistance;
+static int hf_woww_gain_multiplier;
+static int hf_woww_gameobject;
+static int hf_woww_gender;
+static int hf_woww_gift_bag_index;
+static int hf_woww_gift_slot;
+static int hf_woww_gift_wrapper;
+static int hf_woww_gm_ticket_escalation_status;
+static int hf_woww_gm_ticket_queue_status;
+static int hf_woww_gm_ticket_response;
+static int hf_woww_gm_ticket_status;
+static int hf_woww_gm_ticket_status_response;
+static int hf_woww_gm_ticket_type;
+static int hf_woww_gold;
+static int hf_woww_gossip_list_id;
+static int hf_woww_grade;
+static int hf_woww_greeting;
+static int hf_woww_group_loot_setting;
+static int hf_woww_group_member_online_status;
+static int hf_woww_group_number;
+static int hf_woww_group_type;
+static int hf_woww_group_update_flags;
+static int hf_woww_guid;
+static int hf_woww_guids;
+static int hf_woww_guild;
+static int hf_woww_guild_charter_cost;
+static int hf_woww_guild_command;
+static int hf_woww_guild_command_result;
+static int hf_woww_guild_emblem_result;
+static int hf_woww_guild_event;
+static int hf_woww_guild_id;
+static int hf_woww_guild_info;
+static int hf_woww_guild_member_status;
+static int hf_woww_guild_name;
+static int hf_woww_hair_color;
+static int hf_woww_hair_style;
+static int hf_woww_happiness;
+static int hf_woww_has_transport;
+static int hf_woww_heal_amount;
+static int hf_woww_heal_critical;
+static int hf_woww_health;
+static int hf_woww_higher_bidder;
+static int hf_woww_highest_bid;
+static int hf_woww_highest_bidder;
+static int hf_woww_hit_info;
+static int hf_woww_hits;
+static int hf_woww_holy_resistance;
+static int hf_woww_homebind_timer;
+static int hf_woww_honor_points;
+static int hf_woww_honorable_kills;
+static int hf_woww_horizontal_speed;
+static int hf_woww_icon;
+static int hf_woww_id;
+static int hf_woww_ignored;
+static int hf_woww_inactive;
+static int hf_woww_index;
+static int hf_woww_info_block;
+static int hf_woww_info_type;
+static int hf_woww_initiator;
+static int hf_woww_initiator_name;
+static int hf_woww_instance_id;
+static int hf_woww_instance_reset_failed_reason;
+static int hf_woww_intellect;
+static int hf_woww_interrupted_spell;
+static int hf_woww_inventory_result;
+static int hf_woww_inventory_type;
+static int hf_woww_invited_player;
+static int hf_woww_is_applied;
+static int hf_woww_is_frozen;
+static int hf_woww_is_online;
+static int hf_woww_issue_date;
+static int hf_woww_item;
+static int hf_woww_item_bag_index;
+static int hf_woww_item_charges;
+static int hf_woww_item_class;
+static int hf_woww_item_class_and_sub_class;
+static int hf_woww_item_count;
+static int hf_woww_item_creator;
+static int hf_woww_item_display_id;
+static int hf_woww_item_enchant_id;
+static int hf_woww_item_enchantment;
+static int hf_woww_item_flag;
+static int hf_woww_item_icon;
+static int hf_woww_item_id;
+static int hf_woww_item_level;
+static int hf_woww_item_limit_category_id;
+static int hf_woww_item_name;
+static int hf_woww_item_owner;
+static int hf_woww_item_quality;
+static int hf_woww_item_random_properties_id;
+static int hf_woww_item_random_property_id;
+static int hf_woww_item_random_suffix;
+static int hf_woww_item_random_suffix_id;
+static int hf_woww_item_set;
+static int hf_woww_item_slot;
+static int hf_woww_item_slot_int;
+static int hf_woww_item_spell_charges;
+static int hf_woww_item_stack_count;
+static int hf_woww_item_stack_size;
+static int hf_woww_item_stat_type;
+static int hf_woww_item_sub_class_mask;
+static int hf_woww_item_suffix_factor;
+static int hf_woww_item_template;
+static int hf_woww_item_text_id;
+static int hf_woww_item_to_damage;
+static int hf_woww_items_required;
+static int hf_woww_join_as_group;
+static int hf_woww_key_version;
+static int hf_woww_kill_count;
+static int hf_woww_killing_blows;
+static int hf_woww_lag;
+static int hf_woww_language;
+static int hf_woww_last_week_honor;
+static int hf_woww_last_week_honorable;
+static int hf_woww_leader;
+static int hf_woww_level;
+static int hf_woww_level_played_time;
+static int hf_woww_lifetime_dishonorable;
+static int hf_woww_lifetime_honorable;
+static int hf_woww_list_from;
+static int hf_woww_list_start_item;
+static int hf_woww_listed_players;
+static int hf_woww_living_orientation;
+static int hf_woww_location_name;
+static int hf_woww_lock_id;
+static int hf_woww_log_format;
+static int hf_woww_logout_result;
+static int hf_woww_logout_speed;
+static int hf_woww_loot;
+static int hf_woww_loot_master;
+static int hf_woww_loot_method;
+static int hf_woww_loot_method_error;
+static int hf_woww_loot_slot;
+static int hf_woww_loot_slot_type;
+static int hf_woww_looted_target;
+static int hf_woww_loyalty;
+static int hf_woww_mail_action;
+static int hf_woww_mail_id;
+static int hf_woww_mail_result;
+static int hf_woww_mail_result_two;
+static int hf_woww_mail_template_id;
+static int hf_woww_mail_type;
+static int hf_woww_mailbox;
+static int hf_woww_mailbox_id;
+static int hf_woww_mana;
+static int hf_woww_map;
+static int hf_woww_master_loot;
+static int hf_woww_material;
+static int hf_woww_max_count;
+static int hf_woww_max_durability;
+static int hf_woww_max_health;
+static int hf_woww_max_items;
+static int hf_woww_max_level_money_reward;
+static int hf_woww_max_power;
+static int hf_woww_maximum;
+static int hf_woww_maximum_level;
+static int hf_woww_maximum_signatures;
+static int hf_woww_meeting_stone_failure;
+static int hf_woww_meeting_stone_status;
+static int hf_woww_member;
+static int hf_woww_message;
+static int hf_woww_message_id;
+static int hf_woww_message_of_the_day;
+static int hf_woww_minimum;
+static int hf_woww_minimum_bid;
+static int hf_woww_minimum_level;
+static int hf_woww_minimum_signatures;
+static int hf_woww_misc;
+static int hf_woww_misc_value;
+static int hf_woww_money;
+static int hf_woww_money_in_trade;
+static int hf_woww_money_reward;
+static int hf_woww_monster;
+static int hf_woww_monster_move_type;
+static int hf_woww_monster_name;
+static int hf_woww_motd;
+static int hf_woww_mount_result;
+static int hf_woww_move_event;
+static int hf_woww_movement_counter;
+static int hf_woww_movement_flags;
+static int hf_woww_multiplier;
+static int hf_woww_name;
+static int hf_woww_nature_resistance;
+static int hf_woww_nearest_node;
+static int hf_woww_new_bid;
+static int hf_woww_new_guild_leader_name;
+static int hf_woww_new_item_chat_alert;
+static int hf_woww_new_item_creation_type;
+static int hf_woww_new_item_source;
+static int hf_woww_new_level;
+static int hf_woww_new_name;
+static int hf_woww_new_owner;
+static int hf_woww_new_speed;
+static int hf_woww_new_spell_id;
+static int hf_woww_next_page_id;
+static int hf_woww_next_quest_in_chain;
+static int hf_woww_next_resurrect_time;
+static int hf_woww_node_count;
+static int hf_woww_nodes;
+static int hf_woww_note;
+static int hf_woww_notification;
+static int hf_woww_npc;
+static int hf_woww_number_of_battlegrounds;
+static int hf_woww_number_of_choices;
+static int hf_woww_object_type;
+static int hf_woww_object_unk;
+static int hf_woww_objective_text;
+static int hf_woww_objective_texts;
+static int hf_woww_objectives;
+static int hf_woww_offer_reward_text;
+static int hf_woww_officer_note;
+static int hf_woww_old_mover;
+static int hf_woww_old_spell_id;
+static int hf_woww_online_players;
+static int hf_woww_op;
+static int hf_woww_opponent_name;
+static int hf_woww_orientation;
+static int hf_woww_out_bid;
+static int hf_woww_outbid_item_ids;
+static int hf_woww_outfit_id;
+static int hf_woww_owner;
+static int hf_woww_page_id;
+static int hf_woww_page_text;
+static int hf_woww_page_text_material;
+static int hf_woww_party_operation;
+static int hf_woww_party_result;
+static int hf_woww_party_status;
+static int hf_woww_periodic_log;
+static int hf_woww_pet;
+static int hf_woww_pet_command_state;
+static int hf_woww_pet_current_health;
+static int hf_woww_pet_current_power;
+static int hf_woww_pet_display_id;
+static int hf_woww_pet_enabled;
+static int hf_woww_pet_feedback;
+static int hf_woww_pet_level;
+static int hf_woww_pet_max_health;
+static int hf_woww_pet_max_power;
+static int hf_woww_pet_name;
+static int hf_woww_pet_name_timestamp;
+static int hf_woww_pet_number;
+static int hf_woww_pet_react_state;
+static int hf_woww_pet_slot;
+static int hf_woww_pet_talk_reason;
+static int hf_woww_pet_tame_failure_reason;
+static int hf_woww_petition;
+static int hf_woww_petition_id;
+static int hf_woww_petition_result;
+static int hf_woww_pitch;
+static int hf_woww_player;
+static int hf_woww_player_chat_tag;
+static int hf_woww_player_is_saved_to_a_raid;
+static int hf_woww_player_name;
+static int hf_woww_player_rank;
+static int hf_woww_player_with_killing_blow;
+static int hf_woww_point_map_id;
+static int hf_woww_point_opt;
+static int hf_woww_position;
+static int hf_woww_position_x;
+static int hf_woww_position_x_int;
+static int hf_woww_position_y;
+static int hf_woww_position_y_int;
+static int hf_woww_power;
+static int hf_woww_price;
+static int hf_woww_probability;
+static int hf_woww_public_key;
+static int hf_woww_public_note;
+static int hf_woww_pvp_corpse;
+static int hf_woww_pvp_rank;
+static int hf_woww_query;
+static int hf_woww_quest_completable;
+static int hf_woww_quest_failed_reason;
+static int hf_woww_quest_flags;
+static int hf_woww_quest_giver_status;
+static int hf_woww_quest_icon;
+static int hf_woww_quest_id;
+static int hf_woww_quest_level;
+static int hf_woww_quest_method;
+static int hf_woww_quest_party_message;
+static int hf_woww_quest_title;
+static int hf_woww_quest_type;
+static int hf_woww_question_id;
+static int hf_woww_queue_position;
+static int hf_woww_queue_slot;
+static int hf_woww_race;
+static int hf_woww_race_mask;
+static int hf_woww_racial_leader;
+static int hf_woww_rage;
+static int hf_woww_raid_group_error;
+static int hf_woww_raid_instance_message;
+static int hf_woww_raid_target_index;
+static int hf_woww_raid_target_update_type;
+static int hf_woww_random_property;
+static int hf_woww_random_property_id;
+static int hf_woww_ranged_range_modification;
+static int hf_woww_rank;
+static int hf_woww_rank_id;
+static int hf_woww_rank_name;
+static int hf_woww_rank_names;
+static int hf_woww_rank_progress_bar;
+static int hf_woww_raw_data;
+static int hf_woww_read_by_gm;
+static int hf_woww_realm_name;
+static int hf_woww_receiver;
+static int hf_woww_records;
+static int hf_woww_reputation_objective_value;
+static int hf_woww_reputation_rank;
+static int hf_woww_request_items_text;
+static int hf_woww_requested_rank;
+static int hf_woww_required_city_rank;
+static int hf_woww_required_faction_rank;
+static int hf_woww_required_honor_rank;
+static int hf_woww_required_item_count;
+static int hf_woww_required_item_id;
+static int hf_woww_required_kill_count;
+static int hf_woww_required_level;
+static int hf_woww_required_money;
+static int hf_woww_required_opposite_reputation_value;
+static int hf_woww_required_skill_rank;
+static int hf_woww_required_skill_value;
+static int hf_woww_required_spell;
+static int hf_woww_required_spell_focus;
+static int hf_woww_required_spells;
+static int hf_woww_reserved_for_future_use;
+static int hf_woww_reset_time;
+static int hf_woww_resist;
+static int hf_woww_resisted;
+static int hf_woww_reward;
+static int hf_woww_reward_spell;
+static int hf_woww_reward_spell_cast;
+static int hf_woww_rights;
+static int hf_woww_roll_number;
+static int hf_woww_roll_vote;
+static int hf_woww_round_time_in_ms;
+static int hf_woww_running_speed;
+static int hf_woww_scale;
+static int hf_woww_search_strings;
+static int hf_woww_searched_name;
+static int hf_woww_self_player;
+static int hf_woww_sell_item_result;
+static int hf_woww_sell_price;
+static int hf_woww_sender;
+static int hf_woww_sender_id;
+static int hf_woww_sender_name;
+static int hf_woww_sequence_id;
+static int hf_woww_server_id;
+static int hf_woww_server_message_type;
+static int hf_woww_server_seed;
+static int hf_woww_set_assistant;
+static int hf_woww_shadow_resistance;
+static int hf_woww_sheath_state;
+static int hf_woww_sheathe_type;
+static int hf_woww_show_affiliation;
+static int hf_woww_signer;
+static int hf_woww_simple_spell_cast_result;
+static int hf_woww_sin_angle;
+static int hf_woww_size_struct;
+static int hf_woww_skill;
+static int hf_woww_skin;
+static int hf_woww_skin_color;
+static int hf_woww_slot;
+static int hf_woww_slot_id;
+static int hf_woww_slot_index;
+static int hf_woww_sound_id;
+static int hf_woww_source_bag;
+static int hf_woww_source_item_id;
+static int hf_woww_source_node;
+static int hf_woww_source_slot;
+static int hf_woww_speech_bubble_credit;
+static int hf_woww_speed;
+static int hf_woww_spell;
+static int hf_woww_spell_art_kit;
+static int hf_woww_spell_cast_result;
+static int hf_woww_spell_cast_target_flags;
+static int hf_woww_spell_category;
+static int hf_woww_spell_category_cooldown;
+static int hf_woww_spell_charges;
+static int hf_woww_spell_cooldown;
+static int hf_woww_spell_cost;
+static int hf_woww_spell_count;
+static int hf_woww_spell_data_id;
+static int hf_woww_spell_effect;
+static int hf_woww_spell_id;
+static int hf_woww_spell_index;
+static int hf_woww_spell_miss_info;
+static int hf_woww_spell_on_lowest_slot;
+static int hf_woww_spell_school;
+static int hf_woww_spell_school_mask;
+static int hf_woww_spell_trigger_type;
+static int hf_woww_spell_visual_kit;
+static int hf_woww_spells;
+static int hf_woww_spirit;
+static int hf_woww_spirit_released;
+static int hf_woww_spline_elevation;
+static int hf_woww_spline_flag;
+static int hf_woww_spline_id;
+static int hf_woww_stable_master;
+static int hf_woww_stable_result;
+static int hf_woww_stable_slots;
+static int hf_woww_stack_count;
+static int hf_woww_stackable;
+static int hf_woww_stamina;
+static int hf_woww_standing;
+static int hf_woww_start_bid;
+static int hf_woww_start_from_page;
+static int hf_woww_start_quest;
+static int hf_woww_starting_bid;
+static int hf_woww_state;
+static int hf_woww_stationery;
+static int hf_woww_status;
+static int hf_woww_status_id;
+static int hf_woww_strength;
+static int hf_woww_string;
+static int hf_woww_sub_name;
+static int hf_woww_subject;
+static int hf_woww_suggestion;
+static int hf_woww_summoner;
+static int hf_woww_survey_id;
+static int hf_woww_swap_with_name;
+static int hf_woww_swimming_speed;
+static int hf_woww_talent;
+static int hf_woww_talent_point_cost;
+static int hf_woww_talent_reset_cost;
+static int hf_woww_target;
+static int hf_woww_target_error;
+static int hf_woww_target_player;
+static int hf_woww_target_string;
+static int hf_woww_targets;
+static int hf_woww_taxi_mask_node_known;
+static int hf_woww_text;
+static int hf_woww_text_emote;
+static int hf_woww_text_id;
+static int hf_woww_texts;
+static int hf_woww_this_week_honor;
+static int hf_woww_this_week_honorable;
+static int hf_woww_time;
+static int hf_woww_time_in_queue_in_ms;
+static int hf_woww_time_left;
+static int hf_woww_time_offline;
+static int hf_woww_time_passed;
+static int hf_woww_time_remaining;
+static int hf_woww_time_skipped;
+static int hf_woww_time_to_bg_autoleave_in_ms;
+static int hf_woww_time_to_bg_start_in_ms;
+static int hf_woww_time_to_remove_in_queue_in_ms;
+static int hf_woww_timer;
+static int hf_woww_timer_type;
+static int hf_woww_timescale;
+static int hf_woww_timestamp;
+static int hf_woww_title;
+static int hf_woww_title_text_id;
+static int hf_woww_today_honorable_and_dishonorable;
+static int hf_woww_todo_amount_of_signers;
+static int hf_woww_total_amount_of_auctions;
+static int hf_woww_total_cost;
+static int hf_woww_total_damage;
+static int hf_woww_total_exp;
+static int hf_woww_total_played_time;
+static int hf_woww_trade_item;
+static int hf_woww_trade_slot;
+static int hf_woww_trade_slot_count;
+static int hf_woww_trade_slot_number;
+static int hf_woww_trade_status;
+static int hf_woww_trainer_spell_state;
+static int hf_woww_trainer_type;
+static int hf_woww_training_failure_reason;
+static int hf_woww_transfer_abort_reason;
+static int hf_woww_transport;
+static int hf_woww_transport_guid;
+static int hf_woww_transport_orientation;
+static int hf_woww_transport_progress_in_ms;
+static int hf_woww_trigger_id;
+static int hf_woww_turn_rate;
+static int hf_woww_tutorial_data;
+static int hf_woww_tutorial_flag;
+static int hf_woww_type_flags;
+static int hf_woww_unit_stand_state;
+static int hf_woww_unit_target;
+static int hf_woww_unknown_flags;
+static int hf_woww_unknown_float;
+static int hf_woww_unknown_guid;
+static int hf_woww_unknown_int;
+static int hf_woww_unread_mails;
+static int hf_woww_unused;
+static int hf_woww_update_available_flag;
+static int hf_woww_update_flag;
+static int hf_woww_update_type;
+static int hf_woww_url;
+static int hf_woww_url_info;
+static int hf_woww_usable;
+static int hf_woww_username;
+static int hf_woww_v_cos;
+static int hf_woww_v_sin;
+static int hf_woww_value;
+static int hf_woww_vendor;
+static int hf_woww_vendor_slot;
+static int hf_woww_vertical_speed;
+static int hf_woww_victim;
+static int hf_woww_walking_speed;
+static int hf_woww_weather_change_type;
+static int hf_woww_weather_type;
+static int hf_woww_winning_player;
+static int hf_woww_winning_roll;
+static int hf_woww_wiping_npc;
+static int hf_woww_won;
+static int hf_woww_world_result;
+static int hf_woww_wrapped;
+static int hf_woww_x;
+static int hf_woww_xy_speed;
+static int hf_woww_y;
+static int hf_woww_yesterday_honor;
+static int hf_woww_yesterday_honorable;
+static int hf_woww_z;
+static int hf_woww_z_speed;
+static int hf_woww_zone_or_sort;
+static int hf_woww_zones;
/* AUTOGENERATED_END_HF */
#define WOWW_CLIENT_TO_SERVER pinfo->srcport > pinfo->destport
@@ -893,9 +891,9 @@ static int hf_woww_zones = -1;
// _always_ 40 bytes.
#define WOWW_SESSION_KEY_LENGTH 40
-static gint ett_woww = -1;
-static gint ett_message = -1;
-static gint ett_character = -1;
+static int ett_woww;
+static int ett_message;
+static int ett_character;
// Packets that do not have at least a u16 size field and a u16 opcode field are not valid.
#define WOWW_MIN_LENGTH 4
@@ -903,21 +901,21 @@ static gint ett_character = -1;
// A participant can either be the server or a client.
typedef struct WowwParticipant {
// The previous encrypted value sent. Persists through headers.
- guint8 last_encrypted_value;
+ uint8_t last_encrypted_value;
// Index into the session key. Must always be in [0; WOWW_SESSION_KEY_LENGTH - 1].
// Named idx because there's a check for 'index'
- guint8 idx;
+ uint8_t idx;
// The first header is unencrypted. Tracks if that header has been encountered.
- gboolean unencrypted_packet_encountered;
+ bool unencrypted_packet_encountered;
// If a server message is unable to be fully decrypted we stop decrypting any
// any more, since it's impossible to know if the PDU contains multiple messages
// and thus how many times the session key index should be incremented.
- guint64 stopped_at;
+ uint64_t stopped_at;
} WowwParticipant_t;
typedef struct WowwConversation {
// Secret session key known to the client and host.
- guint8 session_key[WOWW_SESSION_KEY_LENGTH];
+ uint8_t session_key[WOWW_SESSION_KEY_LENGTH];
// Which values of the session key have been deduced.
bool known_indices[WOWW_SESSION_KEY_LENGTH];
// Cache headers that have already been decrypted to save time
@@ -935,13 +933,13 @@ typedef struct WowwConversation {
typedef struct {
// Index into the session key, named idx because there's a check for 'index'
- guint8 idx;
- guint8 last_encrypted_value;
+ uint8_t idx;
+ uint8_t last_encrypted_value;
} WowwPreviousValues_t;
typedef struct {
- guint8 size[2];
- guint8 opcode[];
+ uint8_t size[2];
+ uint8_t opcode[];
} WowwDecryptedHeader_t;
/* AUTOGENERATED_START_ENUM */
@@ -4879,7 +4877,7 @@ typedef enum {
SKILL_RIDING_WOLF = 0x095,
SKILL_RIDING_TIGER = 0x096,
SKILL_RIDING_RAM = 0x098,
- SKILL_SWIMING = 0x09B,
+ SKILL_SWIMMING = 0x09B,
SKILL_TWO_HANDED_MACES = 0x0A0,
SKILL_UNARMED = 0x0A2,
SKILL_MARKSMANSHIP = 0x0A3,
@@ -5005,7 +5003,7 @@ static const value_string e_skill_strings[] = {
{ SKILL_RIDING_WOLF, "Riding Wolf" },
{ SKILL_RIDING_TIGER, "Riding Tiger" },
{ SKILL_RIDING_RAM, "Riding Ram" },
- { SKILL_SWIMING, "Swiming" },
+ { SKILL_SWIMMING, "Swimming" },
{ SKILL_TWO_HANDED_MACES, "Two Handed Maces" },
{ SKILL_UNARMED, "Unarmed" },
{ SKILL_MARKSMANSHIP, "Marksmanship" },
@@ -7338,7 +7336,7 @@ static const value_string e_inventory_result_strings[] = {
{ INVENTORY_RESULT_OK, "Ok" },
{ INVENTORY_RESULT_CANT_EQUIP_LEVEL_I, "Cant Equip Level I" },
{ INVENTORY_RESULT_CANT_EQUIP_SKILL, "Cant Equip Skill" },
- { INVENTORY_RESULT_ITEM_DOESNT_GO_TO_SLOT, "Item Doesnt Go To Slot" },
+ { INVENTORY_RESULT_ITEM_DOESNT_GO_TO_SLOT, "Item Doesn't Go To Slot" },
{ INVENTORY_RESULT_BAG_FULL, "Bag Full" },
{ INVENTORY_RESULT_NONEMPTY_BAG_OVER_OTHER_BAG, "Nonempty Bag Over Other Bag" },
{ INVENTORY_RESULT_CANT_TRADE_EQUIP_BAGS, "Cant Trade Equip Bags" },
@@ -7350,8 +7348,8 @@ static const value_string e_inventory_result_strings[] = {
{ INVENTORY_RESULT_NO_EQUIPMENT_SLOT_AVAILABLE2, "No Equipment Slot Available2" },
{ INVENTORY_RESULT_CANT_EQUIP_WITH_TWOHANDED, "Cant Equip With Twohanded" },
{ INVENTORY_RESULT_CANT_DUAL_WIELD, "Cant Dual Wield" },
- { INVENTORY_RESULT_ITEM_DOESNT_GO_INTO_BAG, "Item Doesnt Go Into Bag" },
- { INVENTORY_RESULT_ITEM_DOESNT_GO_INTO_BAG2, "Item Doesnt Go Into Bag2" },
+ { INVENTORY_RESULT_ITEM_DOESNT_GO_INTO_BAG, "Item Doesn't Go Into Bag" },
+ { INVENTORY_RESULT_ITEM_DOESNT_GO_INTO_BAG2, "Item Doesn't Go Into Bag2" },
{ INVENTORY_RESULT_CANT_CARRY_MORE_OF_THIS, "Cant Carry More Of This" },
{ INVENTORY_RESULT_NO_EQUIPMENT_SLOT_AVAILABLE3, "No Equipment Slot Available3" },
{ INVENTORY_RESULT_ITEM_CANT_STACK, "Item Cant Stack" },
@@ -7603,7 +7601,7 @@ typedef enum {
BATTLEGROUND_BRACKET_TENS = 0x0,
BATTLEGROUND_BRACKET_TWENTIES = 0x1,
BATTLEGROUND_BRACKET_THIRTIES = 0x2,
- BATTLEGROUND_BRACKET_FOURTIES = 0x3,
+ BATTLEGROUND_BRACKET_FORTIES = 0x3,
BATTLEGROUND_BRACKET_FIFTIES = 0x4,
BATTLEGROUND_BRACKET_SIXTY = 0x5,
} e_battleground_bracket;
@@ -7611,7 +7609,7 @@ static const value_string e_battleground_bracket_strings[] = {
{ BATTLEGROUND_BRACKET_TENS, "Tens" },
{ BATTLEGROUND_BRACKET_TWENTIES, "Twenties" },
{ BATTLEGROUND_BRACKET_THIRTIES, "Thirties" },
- { BATTLEGROUND_BRACKET_FOURTIES, "Fourties" },
+ { BATTLEGROUND_BRACKET_FORTIES, "Forties" },
{ BATTLEGROUND_BRACKET_FIFTIES, "Fifties" },
{ BATTLEGROUND_BRACKET_SIXTY, "Sixty" },
{ 0, NULL }
@@ -7650,7 +7648,7 @@ static const value_string e_buy_bank_slot_result_strings[] = {
typedef enum {
BUY_RESULT_CANT_FIND_ITEM = 0x0,
BUY_RESULT_ITEM_ALREADY_SOLD = 0x1,
- BUY_RESULT_NOT_ENOUGHT_MONEY = 0x2,
+ BUY_RESULT_NOT_ENOUGH_MONEY = 0x2,
BUY_RESULT_SELLER_DONT_LIKE_YOU = 0x4,
BUY_RESULT_DISTANCE_TOO_FAR = 0x5,
BUY_RESULT_ITEM_SOLD_OUT = 0x7,
@@ -7661,7 +7659,7 @@ typedef enum {
static const value_string e_buy_result_strings[] = {
{ BUY_RESULT_CANT_FIND_ITEM, "Cant Find Item" },
{ BUY_RESULT_ITEM_ALREADY_SOLD, "Item Already Sold" },
- { BUY_RESULT_NOT_ENOUGHT_MONEY, "Not Enought Money" },
+ { BUY_RESULT_NOT_ENOUGH_MONEY, "Not Enough Money" },
{ BUY_RESULT_SELLER_DONT_LIKE_YOU, "Seller Dont Like You" },
{ BUY_RESULT_DISTANCE_TOO_FAR, "Distance Too Far" },
{ BUY_RESULT_ITEM_SOLD_OUT, "Item Sold Out" },
@@ -9031,7 +9029,7 @@ typedef enum {
LOOT_METHOD_ERROR_NOT_WHILE_SHAPESHIFTED = 0x10,
} e_loot_method_error;
static const value_string e_loot_method_error_strings[] = {
- { LOOT_METHOD_ERROR_DIDNT_KILL, "Didnt Kill" },
+ { LOOT_METHOD_ERROR_DIDNT_KILL, "Didn't Kill" },
{ LOOT_METHOD_ERROR_TOO_FAR, "Too Far" },
{ LOOT_METHOD_ERROR_BAD_FACING, "Bad Facing" },
{ LOOT_METHOD_ERROR_LOCKED, "Locked" },
@@ -12012,15 +12010,15 @@ static const value_string world_packet_strings[] = {
};
/*! Decrypts the header after the session key has been deducted as described in the top level comment. */
-static guint8*
-get_decrypted_header(const guint8 session_key[WOWW_SESSION_KEY_LENGTH],
- guint8* idx,
- guint8* last_encrypted_value,
- const guint8* header,
- guint8 header_size) {
- guint8* decrypted_header = wmem_alloc0(wmem_file_scope(), WOWW_HEADER_ARRAY_ALLOC_SIZE);
+static uint8_t*
+get_decrypted_header(const uint8_t session_key[WOWW_SESSION_KEY_LENGTH],
+ uint8_t* idx,
+ uint8_t* last_encrypted_value,
+ const uint8_t* header,
+ uint8_t header_size) {
+ uint8_t* decrypted_header = wmem_alloc0(wmem_file_scope(), WOWW_HEADER_ARRAY_ALLOC_SIZE);
- for (guint8 i = 0; i < header_size; i++) {
+ for (uint8_t i = 0; i < header_size; i++) {
// x = (E - L) ^ S as described in top level comment
decrypted_header[i] = (header[i] - *last_encrypted_value) ^ session_key[*idx];
@@ -12034,9 +12032,9 @@ get_decrypted_header(const guint8 session_key[WOWW_SESSION_KEY_LENGTH],
/*! Deduces the session key values as described in the top level comment. */
static void
-deduce_header(guint8 session_key[WOWW_SESSION_KEY_LENGTH],
+deduce_header(uint8_t session_key[WOWW_SESSION_KEY_LENGTH],
bool known_indices[WOWW_SESSION_KEY_LENGTH],
- const guint8* header,
+ const uint8_t* header,
WowwParticipant_t* participant) {
// Skip size field (2 bytes) and 2 least significant bytes of opcode field
participant->idx = (participant->idx + 2 + 2) % WOWW_SESSION_KEY_LENGTH;
@@ -12056,12 +12054,12 @@ deduce_header(guint8 session_key[WOWW_SESSION_KEY_LENGTH],
}
/*! Returns true if all necessary values of the session key are fully known. */
-static gboolean
+static bool
session_key_is_fully_deduced(const bool known_indices[WOWW_SESSION_KEY_LENGTH],
- guint8 header_length,
- guint8 start_index) {
- gboolean fully_deduced = true;
- for (guint8 i = 0; i < header_length; i++) {
+ uint8_t header_length,
+ uint8_t start_index) {
+ bool fully_deduced = true;
+ for (uint8_t i = 0; i < header_length; i++) {
if (!known_indices[(start_index + i) % WOWW_SESSION_KEY_LENGTH]) {
fully_deduced = false;
}
@@ -12075,12 +12073,12 @@ handle_packet_header(packet_info* pinfo,
tvbuff_t* tvb,
WowwParticipant_t* participant,
WowwConversation_t* wowwConversation,
- guint8 headerSize,
- guint8 index_in_pdu,
- gint tvb_offset) {
- guint64 key = ((guint64)index_in_pdu << 32) | pinfo->num;
+ uint8_t headerSize,
+ uint8_t index_in_pdu,
+ int tvb_offset) {
+ uint64_t key = ((uint64_t)index_in_pdu << 32) | pinfo->num;
- guint8* decrypted_header = wmem_map_lookup(wowwConversation->decrypted_headers, &key);
+ uint8_t* decrypted_header = wmem_map_lookup(wowwConversation->decrypted_headers, &key);
if (decrypted_header) {
// Header has already been decrypted
@@ -12095,9 +12093,9 @@ handle_packet_header(packet_info* pinfo,
}
// First time we see this header, we need to decrypt it
- guint8* header = wmem_alloc0(wmem_packet_scope(), WOWW_HEADER_ARRAY_ALLOC_SIZE);
+ uint8_t* header = wmem_alloc0(wmem_packet_scope(), WOWW_HEADER_ARRAY_ALLOC_SIZE);
for (int i = 0; i < headerSize; i++) {
- header[i] = tvb_get_guint8(tvb, tvb_offset + i);
+ header[i] = tvb_get_uint8(tvb, tvb_offset + i);
}
// If we're seeing the first header
@@ -12110,7 +12108,7 @@ handle_packet_header(packet_info* pinfo,
decrypted_header = wmem_alloc0(wmem_file_scope(), WOWW_HEADER_ARRAY_ALLOC_SIZE);
memcpy(decrypted_header, header, headerSize);
- guint64* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(guint64));
+ uint64_t* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(uint64_t));
*allocated_key = key;
wmem_map_insert(wowwConversation->decrypted_headers, allocated_key, decrypted_header);
@@ -12135,7 +12133,7 @@ handle_packet_header(packet_info* pinfo,
array_index->idx = participant->idx;
array_index->last_encrypted_value = participant->last_encrypted_value;
- guint64* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(guint64));
+ uint64_t* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(uint64_t));
*allocated_key = key;
wmem_map_insert(wowwConversation->headers_need_decryption, allocated_key, array_index);
@@ -12155,8 +12153,8 @@ handle_packet_header(packet_info* pinfo,
return NULL;
}
- guint8* idx = &participant->idx;
- guint8* last_encrypted_value = &participant->last_encrypted_value;
+ uint8_t* idx = &participant->idx;
+ uint8_t* last_encrypted_value = &participant->last_encrypted_value;
// If this is an out of order packet we must use the original state
if (original_header_values) {
@@ -12178,7 +12176,7 @@ handle_packet_header(packet_info* pinfo,
header,
headerSize);
- guint64* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(guint64));
+ uint64_t* allocated_key = wmem_alloc0(wmem_file_scope(), sizeof(uint64_t));
*allocated_key = key;
// The header has been fully decrypted, cache it for future use
@@ -12187,13 +12185,13 @@ handle_packet_header(packet_info* pinfo,
return (WowwDecryptedHeader_t*)decrypted_header;
}
-static gint32
+static int32_t
get_null_terminated_string_length( tvbuff_t* tvb,
- gint32 offset)
+ int32_t offset)
{
- const gint32 maximum_length = 0x7FFF;
- for (gint32 length = 0; length < maximum_length; length++) {
- guint8 character = tvb_get_guint8(tvb, offset + length);
+ const int32_t maximum_length = 0x7FFF;
+ for (int32_t length = 0; length < maximum_length; length++) {
+ uint8_t character = tvb_get_uint8(tvb, offset + length);
if (character == 0) {
// Include the null character in the length
return length + 1;
@@ -12205,23 +12203,23 @@ get_null_terminated_string_length( tvbuff_t* tvb,
static void
add_cstring(ptvcursor_t* ptv, const int* hf) {
- gint32 len = get_null_terminated_string_length(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv));
+ int32_t len = get_null_terminated_string_length(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv));
ptvcursor_add(ptv, *hf, len, ENC_UTF_8);
}
static void
add_sized_cstring(ptvcursor_t* ptv, const int* hf) {
ptvcursor_add(ptv, hf_woww_string_length, 4, ENC_LITTLE_ENDIAN);
- gint32 len = get_null_terminated_string_length(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv));
+ int32_t len = get_null_terminated_string_length(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv));
ptvcursor_add(ptv, *hf, len, ENC_UTF_8);
}
static void
add_aura_mask(ptvcursor_t* ptv) {
- guint32 mask = 0;
+ uint32_t mask = 0;
ptvcursor_add_ret_uint(ptv, hf_woww_aura_mask, 4, ENC_LITTLE_ENDIAN, &mask);
- for (gint i = 0; i < 32; ++i) {
+ for (int i = 0; i < 32; ++i) {
if (mask & (1u << i)) {
ptvcursor_add(ptv, hf_woww_aura, 4, ENC_LITTLE_ENDIAN);
}
@@ -12230,7 +12228,7 @@ add_aura_mask(ptvcursor_t* ptv) {
static void
add_monster_move_spline(ptvcursor_t* ptv) {
- guint32 amount_of_splines = 0;
+ uint32_t amount_of_splines = 0;
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_splines, 4, ENC_LITTLE_ENDIAN, &amount_of_splines);
if (amount_of_splines >= 1) {
@@ -12241,44 +12239,44 @@ add_monster_move_spline(ptvcursor_t* ptv) {
ptvcursor_pop_subtree(ptv);
}
- for (guint32 i = 1; i < amount_of_splines; ++i) {
+ for (uint32_t i = 1; i < amount_of_splines; ++i) {
ptvcursor_add(ptv, hf_woww_packed_spline, 4, ENC_LITTLE_ENDIAN);
}
}
static void
add_update_mask(ptvcursor_t* ptv, packet_info* pinfo) {
- guint32 amount_of_masks = 0;
+ uint32_t amount_of_masks = 0;
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_masks, 1, ENC_NA, &amount_of_masks);
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Update Mask");
- guint32* masks = (guint32*)wmem_alloc0(wmem_packet_scope(), amount_of_masks * 4);
- for (guint32 i = 0; i < amount_of_masks; ++i) {
+ uint32_t* masks = (uint32_t*)wmem_alloc0(wmem_packet_scope(), amount_of_masks * 4);
+ for (uint32_t i = 0; i < amount_of_masks; ++i) {
ptvcursor_add_ret_uint(ptv, hf_woww_update_mask, 4, ENC_LITTLE_ENDIAN, masks + i);
}
ptvcursor_pop_subtree(ptv);
- guint32 amount_of_indices = 0;
- for (guint32 mask = 0; mask < amount_of_masks; ++mask) {
- for (guint bit = 0; bit < 32; ++bit) {
+ uint32_t amount_of_indices = 0;
+ for (uint32_t mask = 0; mask < amount_of_masks; ++mask) {
+ for (unsigned bit = 0; bit < 32; ++bit) {
if (masks[mask] & (1u << bit)) {
amount_of_indices += 1;
}
}
}
- guint32 indices_length = amount_of_indices * 4;
- guint32* indices = (guint32*)wmem_alloc0(wmem_packet_scope(), indices_length);
+ uint32_t indices_length = amount_of_indices * 4;
+ uint32_t* indices = (uint32_t*)wmem_alloc0(wmem_packet_scope(), indices_length);
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Update Mask Values");
tvbuff_t* tvb = ptvcursor_tvbuff(ptv);
- tvbuff_t* next_tvb = tvb_new_child_real_data(tvb, (guint8*)indices, indices_length, indices_length);
+ tvbuff_t* next_tvb = tvb_new_child_real_data(tvb, (uint8_t*)indices, indices_length, indices_length);
add_new_data_source(pinfo, next_tvb, "Update Mask Indices");
- guint32 indices_index = 0;
- for (guint32 mask = 0; mask < amount_of_masks; ++mask) {
- for (guint32 i = 0; i < 32; ++i) {
+ uint32_t indices_index = 0;
+ for (uint32_t mask = 0; mask < amount_of_masks; ++mask) {
+ for (uint32_t i = 0; i < 32; ++i) {
if (masks[mask] & (1u << i)) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Update Mask Pair");
@@ -12301,109 +12299,109 @@ add_packed_guid(ptvcursor_t* ptv, packet_info* pinfo) {
tvbuff_t* tvb = ptvcursor_tvbuff(ptv);
proto_tree* tree = ptvcursor_tree(ptv);
- guint8 byte_mask = tvb_get_guint8(tvb, ptvcursor_current_offset(ptv));
+ uint8_t byte_mask = tvb_get_uint8(tvb, ptvcursor_current_offset(ptv));
ptvcursor_advance(ptv, 1);
- guint8* guid = (guint8*)wmem_alloc(wmem_packet_scope(), 8);
+ uint8_t* guid = (uint8_t*)wmem_alloc(wmem_packet_scope(), 8);
- for (gint i = 0; i < 8; ++i) {
+ for (int i = 0; i < 8; ++i) {
if (byte_mask & (1 << i)) {
- guid[i] = tvb_get_guint8(tvb, ptvcursor_current_offset(ptv));
+ guid[i] = tvb_get_uint8(tvb, ptvcursor_current_offset(ptv));
ptvcursor_advance(ptv, 1);
}
}
- tvbuff_t* next_tvb = tvb_new_child_real_data(tvb, (guint8*)guid, 8, 8);
+ tvbuff_t* next_tvb = tvb_new_child_real_data(tvb, (uint8_t*)guid, 8, 8);
add_new_data_source(pinfo, next_tvb, "Packed Guid");
proto_tree_add_item(tree, hf_woww_guid, next_tvb, 0, 8, ENC_LITTLE_ENDIAN);
}
static void
-add_body_fields(guint32 header_opcode,
+add_body_fields(uint32_t header_opcode,
proto_tree* tree,
tvbuff_t* tvb,
- gint32 offset,
- gint32 offset_packet_end,
+ int32_t offset,
+ int32_t offset_packet_end,
packet_info* pinfo)
{
- guint32 len = 0;
+ uint32_t len = 0;
tvbuff_t* compressed_tvb = NULL;
/* AUTOGENERATED_START_VARIABLES */
- guint32 action = 0;
- guint32 amount_of_auras = 0;
- guint32 amount_of_carriers = 0;
- guint32 amount_of_characters = 0;
- guint32 amount_of_choice_item_rewards = 0;
- guint32 amount_of_cooldowns = 0;
- guint32 amount_of_damages = 0;
- guint32 amount_of_effects = 0;
- guint32 amount_of_emotes = 0;
- guint32 amount_of_entries = 0;
- guint32 amount_of_events = 0;
- guint32 amount_of_extra_fields = 0;
- guint32 amount_of_faction_standings = 0;
- guint32 amount_of_factions = 0;
- guint32 amount_of_friends = 0;
- guint32 amount_of_gossip_items = 0;
- guint32 amount_of_hits = 0;
- guint32 amount_of_ignored = 0;
- guint32 amount_of_item_rewards = 0;
- guint32 amount_of_items = 0;
- guint32 amount_of_mails = 0;
- guint32 amount_of_members = 0;
- guint32 amount_of_misses = 0;
- guint32 amount_of_nodes = 0;
- guint32 amount_of_objects = 0;
- guint32 amount_of_outbid_items = 0;
- guint32 amount_of_petitions = 0;
- guint32 amount_of_pets = 0;
- guint32 amount_of_players = 0;
- guint32 amount_of_quests = 0;
- guint32 amount_of_raid_infos = 0;
- guint32 amount_of_reactions = 0;
- guint32 amount_of_records = 0;
- guint32 amount_of_required_items = 0;
- guint32 amount_of_rights = 0;
- guint32 amount_of_signatures = 0;
- guint32 amount_of_spells = 0;
- guint32 amount_of_states = 0;
- guint32 amount_of_strings = 0;
- guint32 amount_of_targets = 0;
- guint32 amount_of_teammates = 0;
- guint32 amount_of_zones = 0;
- guint32 aura_type = 0;
- guint32 category = 0;
- guint32 chat_type = 0;
- guint32 cooldown_count = 0;
- guint32 count = 0;
- guint32 effect = 0;
- guint32 exp_type = 0;
- guint32 flags = 0;
- guint32 info_block = 0;
- guint32 key_version = 0;
- guint32 listed_players = 0;
- guint32 loot_method = 0;
- guint32 map = 0;
- guint32 mask = 0;
- guint32 message_type = 0;
- guint32 miss_info = 0;
- guint32 move_type = 0;
- guint32 node_count = 0;
- guint32 number_of_battlegrounds = 0;
- guint32 opcode = 0;
- guint32 reason = 0;
- guint32 result = 0;
- guint32 result2 = 0;
- guint32 spell_count = 0;
- guint32 spline_flags = 0;
- guint32 status = 0;
- guint32 status_id = 0;
- guint32 target_flags = 0;
- guint32 target_index = 0;
- guint32 update_flag = 0;
- guint32 update_type = 0;
- guint32 url_info = 0;
+ uint32_t action = 0;
+ uint32_t amount_of_auras = 0;
+ uint32_t amount_of_carriers = 0;
+ uint32_t amount_of_characters = 0;
+ uint32_t amount_of_choice_item_rewards = 0;
+ uint32_t amount_of_cooldowns = 0;
+ uint32_t amount_of_damages = 0;
+ uint32_t amount_of_effects = 0;
+ uint32_t amount_of_emotes = 0;
+ uint32_t amount_of_entries = 0;
+ uint32_t amount_of_events = 0;
+ uint32_t amount_of_extra_fields = 0;
+ uint32_t amount_of_faction_standings = 0;
+ uint32_t amount_of_factions = 0;
+ uint32_t amount_of_friends = 0;
+ uint32_t amount_of_gossip_items = 0;
+ uint32_t amount_of_hits = 0;
+ uint32_t amount_of_ignored = 0;
+ uint32_t amount_of_item_rewards = 0;
+ uint32_t amount_of_items = 0;
+ uint32_t amount_of_mails = 0;
+ uint32_t amount_of_members = 0;
+ uint32_t amount_of_misses = 0;
+ uint32_t amount_of_nodes = 0;
+ uint32_t amount_of_objects = 0;
+ uint32_t amount_of_outbid_items = 0;
+ uint32_t amount_of_petitions = 0;
+ uint32_t amount_of_pets = 0;
+ uint32_t amount_of_players = 0;
+ uint32_t amount_of_quests = 0;
+ uint32_t amount_of_raid_infos = 0;
+ uint32_t amount_of_reactions = 0;
+ uint32_t amount_of_records = 0;
+ uint32_t amount_of_required_items = 0;
+ uint32_t amount_of_rights = 0;
+ uint32_t amount_of_signatures = 0;
+ uint32_t amount_of_spells = 0;
+ uint32_t amount_of_states = 0;
+ uint32_t amount_of_strings = 0;
+ uint32_t amount_of_targets = 0;
+ uint32_t amount_of_teammates = 0;
+ uint32_t amount_of_zones = 0;
+ uint32_t aura_type = 0;
+ uint32_t category = 0;
+ uint32_t chat_type = 0;
+ uint32_t cooldown_count = 0;
+ uint32_t count = 0;
+ uint32_t effect = 0;
+ uint32_t exp_type = 0;
+ uint32_t flags = 0;
+ uint32_t info_block = 0;
+ uint32_t key_version = 0;
+ uint32_t listed_players = 0;
+ uint32_t loot_method = 0;
+ uint32_t map = 0;
+ uint32_t mask = 0;
+ uint32_t message_type = 0;
+ uint32_t miss_info = 0;
+ uint32_t move_type = 0;
+ uint32_t node_count = 0;
+ uint32_t number_of_battlegrounds = 0;
+ uint32_t opcode = 0;
+ uint32_t reason = 0;
+ uint32_t result = 0;
+ uint32_t result2 = 0;
+ uint32_t spell_count = 0;
+ uint32_t spline_flags = 0;
+ uint32_t status = 0;
+ uint32_t status_id = 0;
+ uint32_t target_flags = 0;
+ uint32_t target_index = 0;
+ uint32_t update_flag = 0;
+ uint32_t update_type = 0;
+ uint32_t url_info = 0;
/* AUTOGENERATED_END_VARIABLES */
ptvcursor_t* ptv = ptvcursor_new(wmem_packet_scope(), tree, tvb, offset);
/* AUTOGENERATED_START_PARSER */
@@ -12420,7 +12418,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_total_cost, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_node_count, 4, ENC_LITTLE_ENDIAN, &node_count);
- for (guint32 i1 = 0; i1 < node_count; ++i1) {
+ for (uint32_t i1 = 0; i1 < node_count; ++i1) {
ptvcursor_add(ptv, hf_woww_nodes, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -12446,7 +12444,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_auctioneer, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_start_from_page, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_outbid_items, 4, ENC_LITTLE_ENDIAN, &amount_of_outbid_items);
- for (guint32 i1 = 0; i1 < amount_of_outbid_items; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_outbid_items; ++i1) {
ptvcursor_add(ptv, hf_woww_outbid_item_ids, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -12488,12 +12486,12 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_username);
ptvcursor_add(ptv, hf_woww_client_seed, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_client_proof, 20, ENC_NA);
- ptvcursor_add(ptv, hf_woww_decompressed_addon_info_size, 4, ENC_LITTLE_ENDIAN);
- compressed_tvb = tvb_uncompress(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
+ ptvcursor_add(ptv, hf_woww_decompressed_size, 4, ENC_LITTLE_ENDIAN);
+ compressed_tvb = tvb_uncompress_zlib(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
if (compressed_tvb != NULL) {
ptvcursor_t* old_ptv = ptv;
ptv = ptvcursor_new(wmem_packet_scope(), tree, compressed_tvb, 0);
- gint compression_end = tvb_reported_length(compressed_tvb);
+ int compression_end = tvb_reported_length(compressed_tvb);
while (ptvcursor_current_offset(ptv) < compression_end) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "AddonInfo");
add_cstring(ptv, &hf_woww_addon_name);
@@ -13077,7 +13075,7 @@ add_body_fields(guint32 header_opcode,
break;
case CMSG_GMSURVEY_SUBMIT:
ptvcursor_add(ptv, hf_woww_survey_id, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 10; ++i1) {
+ for (uint32_t i1 = 0; i1 < 10; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "GmSurveyQuestion %i", i1);
ptvcursor_add(ptv, hf_woww_question_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_answer, 1, ENC_LITTLE_ENDIAN);
@@ -13098,8 +13096,8 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_reserved_for_future_use);
if (category == GM_TICKET_TYPE_BEHAVIOR_HARASSMENT) {
ptvcursor_add(ptv, hf_woww_chat_data_line_count, 4, ENC_LITTLE_ENDIAN);
- ptvcursor_add(ptv, hf_woww_chat_data_size_uncompressed, 4, ENC_LITTLE_ENDIAN);
- compressed_tvb = tvb_uncompress(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
+ ptvcursor_add(ptv, hf_woww_decompressed_size, 4, ENC_LITTLE_ENDIAN);
+ compressed_tvb = tvb_uncompress_zlib(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
if (compressed_tvb != NULL) {
ptvcursor_t* old_ptv = ptv;
ptv = ptvcursor_new(wmem_packet_scope(), tree, compressed_tvb, 0);
@@ -13920,7 +13918,7 @@ add_body_fields(guint32 header_opcode,
case CMSG_UPDATE_ACCOUNT_DATA:
ptvcursor_add(ptv, hf_woww_account_data_type, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_decompressed_size, 4, ENC_LITTLE_ENDIAN);
- compressed_tvb = tvb_uncompress(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
+ compressed_tvb = tvb_uncompress_zlib(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
if (compressed_tvb != NULL) {
ptvcursor_t* old_ptv = ptv;
ptv = ptvcursor_new(wmem_packet_scope(), tree, compressed_tvb, 0);
@@ -13989,11 +13987,11 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_race_mask, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_class_mask, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_zones, 4, ENC_LITTLE_ENDIAN, &amount_of_zones);
- for (guint32 i1 = 0; i1 < amount_of_zones; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_zones; ++i1) {
ptvcursor_add(ptv, hf_woww_zones, 4, ENC_LITTLE_ENDIAN);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_strings, 4, ENC_LITTLE_ENDIAN, &amount_of_strings);
- for (guint32 i1 = 0; i1 < amount_of_strings; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_strings; ++i1) {
add_cstring(ptv, &hf_woww_search_strings);
}
break;
@@ -14031,7 +14029,7 @@ add_body_fields(guint32 header_opcode,
case MSG_BATTLEGROUND_PLAYER_POSITIONS:
if (WOWW_SERVER_TO_CLIENT) {
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_teammates, 4, ENC_LITTLE_ENDIAN, &amount_of_teammates);
- for (guint32 i1 = 0; i1 < amount_of_teammates; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_teammates; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "BattlegroundPlayerPosition %i", i1);
ptvcursor_add(ptv, hf_woww_player, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_position_x, 4, ENC_LITTLE_ENDIAN);
@@ -14039,7 +14037,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_carriers, 1, ENC_LITTLE_ENDIAN, &amount_of_carriers);
- for (guint32 i1 = 0; i1 < amount_of_carriers; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_carriers; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "BattlegroundPlayerPosition %i", i1);
ptvcursor_add(ptv, hf_woww_player, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_position_x, 4, ENC_LITTLE_ENDIAN);
@@ -14105,7 +14103,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_npc, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_pets, 1, ENC_LITTLE_ENDIAN, &amount_of_pets);
ptvcursor_add(ptv, hf_woww_stable_slots, 1, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < amount_of_pets; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_pets; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "StabledPet %i", i1);
ptvcursor_add(ptv, hf_woww_pet_number, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_entry, 4, ENC_LITTLE_ENDIAN);
@@ -15899,7 +15897,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_battleground_winner, 1, ENC_LITTLE_ENDIAN);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_players, 4, ENC_LITTLE_ENDIAN, &amount_of_players);
- for (guint32 i1 = 0; i1 < amount_of_players; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_players; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "BattlegroundPlayer %i", i1);
ptvcursor_add(ptv, hf_woww_player, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_pvp_rank, 4, ENC_LITTLE_ENDIAN);
@@ -15908,7 +15906,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_deaths, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_bonus_honor, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_extra_fields, 4, ENC_LITTLE_ENDIAN, &amount_of_extra_fields);
- for (guint32 i2 = 0; i2 < amount_of_extra_fields; ++i2) {
+ for (uint32_t i2 = 0; i2 < amount_of_extra_fields; ++i2) {
ptvcursor_add(ptv, hf_woww_fields, 4, ENC_LITTLE_ENDIAN);
}
ptvcursor_pop_subtree(ptv);
@@ -15947,7 +15945,7 @@ add_body_fields(guint32 header_opcode,
if (WOWW_SERVER_TO_CLIENT) {
ptvcursor_add_ret_uint(ptv, hf_woww_raid_target_update_type, 1, ENC_LITTLE_ENDIAN, &update_type);
if (update_type == RAID_TARGET_UPDATE_TYPE_FULL) {
- for (guint32 i1 = 0; i1 < 8; ++i1) {
+ for (uint32_t i1 = 0; i1 < 8; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "RaidTargetUpdate %i", i1);
ptvcursor_add(ptv, hf_woww_raid_target_index, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
@@ -16006,12 +16004,12 @@ add_body_fields(guint32 header_opcode,
}
break;
case SMSG_ACCOUNT_DATA_TIMES:
- for (guint32 i1 = 0; i1 < 32; ++i1) {
+ for (uint32_t i1 = 0; i1 < 32; ++i1) {
ptvcursor_add(ptv, hf_woww_data, 4, ENC_LITTLE_ENDIAN);
}
break;
case SMSG_ACTION_BUTTONS:
- for (guint32 i1 = 0; i1 < 120; ++i1) {
+ for (uint32_t i1 = 0; i1 < 120; ++i1) {
ptvcursor_add(ptv, hf_woww_data, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -16054,7 +16052,7 @@ add_body_fields(guint32 header_opcode,
add_packed_guid(ptv, pinfo);
ptvcursor_add(ptv, hf_woww_total_damage, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_damages, 1, ENC_LITTLE_ENDIAN, &amount_of_damages);
- for (guint32 i1 = 0; i1 < amount_of_damages; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_damages; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "DamageInfo %i", i1);
ptvcursor_add(ptv, hf_woww_spell_school_mask, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_damage_float, 4, ENC_LITTLE_ENDIAN);
@@ -16079,7 +16077,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_AUCTION_BIDDER_LIST_RESULT:
ptvcursor_add_ret_uint(ptv, hf_woww_count, 4, ENC_LITTLE_ENDIAN, &count);
- for (guint32 i1 = 0; i1 < count; ++i1) {
+ for (uint32_t i1 = 0; i1 < count; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "AuctionListItem %i", i1);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -16139,7 +16137,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_AUCTION_LIST_RESULT:
ptvcursor_add_ret_uint(ptv, hf_woww_count, 4, ENC_LITTLE_ENDIAN, &count);
- for (guint32 i1 = 0; i1 < count; ++i1) {
+ for (uint32_t i1 = 0; i1 < count; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "AuctionListItem %i", i1);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -16161,7 +16159,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_AUCTION_OWNER_LIST_RESULT:
ptvcursor_add_ret_uint(ptv, hf_woww_count, 4, ENC_LITTLE_ENDIAN, &count);
- for (guint32 i1 = 0; i1 < count; ++i1) {
+ for (uint32_t i1 = 0; i1 < count; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "AuctionListItem %i", i1);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -16213,7 +16211,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_map, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_battleground_bracket, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_number_of_battlegrounds, 4, ENC_LITTLE_ENDIAN, &number_of_battlegrounds);
- for (guint32 i1 = 0; i1 < number_of_battlegrounds; ++i1) {
+ for (uint32_t i1 = 0; i1 < number_of_battlegrounds; ++i1) {
ptvcursor_add(ptv, hf_woww_battlegrounds, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -16291,7 +16289,7 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_channel_name);
ptvcursor_add(ptv, hf_woww_channel_flags, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_members, 4, ENC_LITTLE_ENDIAN, &amount_of_members);
- for (guint32 i1 = 0; i1 < amount_of_members; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_members; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ChannelMember %i", i1);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_channel_member_flags, 1, ENC_LITTLE_ENDIAN);
@@ -16313,7 +16311,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_CHAR_ENUM:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_characters, 1, ENC_LITTLE_ENDIAN, &amount_of_characters);
- for (guint32 i1 = 0; i1 < amount_of_characters; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_characters; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Character %i", i1);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
add_cstring(ptv, &hf_woww_name);
@@ -16339,7 +16337,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_pet_display_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_pet_level, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_creature_family, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i2 = 0; i2 < 19; ++i2) {
+ for (uint32_t i2 = 0; i2 < 19; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "CharacterGear %i", i2);
ptvcursor_add(ptv, hf_woww_equipment_display_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_inventory_type, 1, ENC_LITTLE_ENDIAN);
@@ -16370,11 +16368,11 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_COMPRESSED_MOVES:
ptvcursor_add(ptv, hf_woww_decompressed_size, 4, ENC_LITTLE_ENDIAN);
- compressed_tvb = tvb_uncompress(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
+ compressed_tvb = tvb_uncompress_zlib(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
if (compressed_tvb != NULL) {
ptvcursor_t* old_ptv = ptv;
ptv = ptvcursor_new(wmem_packet_scope(), tree, compressed_tvb, 0);
- gint compression_end = tvb_reported_length(compressed_tvb);
+ int compression_end = tvb_reported_length(compressed_tvb);
while (ptvcursor_current_offset(ptv) < compression_end) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "CompressedMove");
ptvcursor_add(ptv, hf_woww_size_struct, 1, ENC_LITTLE_ENDIAN);
@@ -16451,13 +16449,13 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_COMPRESSED_UPDATE_OBJECT:
ptvcursor_add(ptv, hf_woww_decompressed_size, 4, ENC_LITTLE_ENDIAN);
- compressed_tvb = tvb_uncompress(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
+ compressed_tvb = tvb_uncompress_zlib(ptvcursor_tvbuff(ptv), ptvcursor_current_offset(ptv), offset_packet_end - ptvcursor_current_offset(ptv));
if (compressed_tvb != NULL) {
ptvcursor_t* old_ptv = ptv;
ptv = ptvcursor_new(wmem_packet_scope(), tree, compressed_tvb, 0);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_objects, 4, ENC_LITTLE_ENDIAN, &amount_of_objects);
ptvcursor_add(ptv, hf_woww_has_transport, 1, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < amount_of_objects; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_objects; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Object %i", i1);
ptvcursor_add_ret_uint(ptv, hf_woww_update_type, 1, ENC_LITTLE_ENDIAN, &update_type);
if (update_type == UPDATE_TYPE_VALUES) {
@@ -16524,7 +16522,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_duration, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_nodes, 4, ENC_LITTLE_ENDIAN, &amount_of_nodes);
- for (guint32 i2 = 0; i2 < amount_of_nodes; ++i2) {
+ for (uint32_t i2 = 0; i2 < amount_of_nodes; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Vector3d %i", i2);
ptvcursor_add(ptv, hf_woww_x, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_y, 4, ENC_LITTLE_ENDIAN);
@@ -16622,7 +16620,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_duration, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_nodes, 4, ENC_LITTLE_ENDIAN, &amount_of_nodes);
- for (guint32 i2 = 0; i2 < amount_of_nodes; ++i2) {
+ for (uint32_t i2 = 0; i2 < amount_of_nodes; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Vector3d %i", i2);
ptvcursor_add(ptv, hf_woww_x, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_y, 4, ENC_LITTLE_ENDIAN);
@@ -16662,7 +16660,7 @@ add_body_fields(guint32 header_opcode,
else if (update_type == UPDATE_TYPE_OUT_OF_RANGE_OBJECTS
|| update_type == UPDATE_TYPE_NEAR_OBJECTS) {
ptvcursor_add_ret_uint(ptv, hf_woww_count, 4, ENC_LITTLE_ENDIAN, &count);
- for (guint32 i2 = 0; i2 < count; ++i2) {
+ for (uint32_t i2 = 0; i2 < count; ++i2) {
add_packed_guid(ptv, pinfo);
}
}
@@ -16752,7 +16750,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_EXPECTED_SPAM_RECORDS:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_records, 4, ENC_LITTLE_ENDIAN, &amount_of_records);
- for (guint32 i1 = 0; i1 < amount_of_records; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_records; ++i1) {
add_cstring(ptv, &hf_woww_records);
}
break;
@@ -16800,7 +16798,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_FRIEND_LIST:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_friends, 1, ENC_LITTLE_ENDIAN, &amount_of_friends);
- for (guint32 i1 = 0; i1 < amount_of_friends; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_friends; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Friend %i", i1);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_friend_status, 1, ENC_LITTLE_ENDIAN, &status);
@@ -16837,7 +16835,7 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_name);
add_cstring(ptv, &hf_woww_name);
add_cstring(ptv, &hf_woww_name);
- for (guint32 i1 = 0; i1 < 6; ++i1) {
+ for (uint32_t i1 = 0; i1 < 6; ++i1) {
ptvcursor_add(ptv, hf_woww_raw_data, 4, ENC_LITTLE_ENDIAN);
}
}
@@ -16879,7 +16877,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_title_text_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_gossip_items, 4, ENC_LITTLE_ENDIAN, &amount_of_gossip_items);
- for (guint32 i1 = 0; i1 < amount_of_gossip_items; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_gossip_items; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "GossipItem %i", i1);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_icon, 1, ENC_LITTLE_ENDIAN);
@@ -16888,7 +16886,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_quests, 4, ENC_LITTLE_ENDIAN, &amount_of_quests);
- for (guint32 i1 = 0; i1 < amount_of_quests; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_quests; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItem %i", i1);
ptvcursor_add(ptv, hf_woww_quest_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_quest_icon, 4, ENC_LITTLE_ENDIAN);
@@ -16920,7 +16918,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_group_type, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_flags, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_members, 4, ENC_LITTLE_ENDIAN, &amount_of_members);
- for (guint32 i1 = 0; i1 < amount_of_members; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_members; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "GroupListMember %i", i1);
add_cstring(ptv, &hf_woww_name);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
@@ -16947,7 +16945,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_GUILD_EVENT:
ptvcursor_add(ptv, hf_woww_guild_event, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_events, 1, ENC_LITTLE_ENDIAN, &amount_of_events);
- for (guint32 i1 = 0; i1 < amount_of_events; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_events; ++i1) {
add_cstring(ptv, &hf_woww_event_descriptions);
}
break;
@@ -16966,7 +16964,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_GUILD_QUERY_RESPONSE:
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
add_cstring(ptv, &hf_woww_name);
- for (guint32 i1 = 0; i1 < 10; ++i1) {
+ for (uint32_t i1 = 0; i1 < 10; ++i1) {
add_cstring(ptv, &hf_woww_rank_names);
}
ptvcursor_add(ptv, hf_woww_emblem_style, 4, ENC_LITTLE_ENDIAN);
@@ -16980,10 +16978,10 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_motd);
add_cstring(ptv, &hf_woww_guild_info);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_rights, 4, ENC_LITTLE_ENDIAN, &amount_of_rights);
- for (guint32 i1 = 0; i1 < amount_of_rights; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_rights; ++i1) {
ptvcursor_add(ptv, hf_woww_rights, 4, ENC_LITTLE_ENDIAN);
}
- for (guint32 i1 = 0; i1 < amount_of_members; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_members; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "GuildMember %i", i1);
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_guild_member_status, 1, ENC_LITTLE_ENDIAN, &status);
@@ -17002,13 +17000,13 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_IGNORE_LIST:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_ignored, 1, ENC_LITTLE_ENDIAN, &amount_of_ignored);
- for (guint32 i1 = 0; i1 < amount_of_ignored; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_ignored; ++i1) {
ptvcursor_add(ptv, hf_woww_ignored, 8, ENC_LITTLE_ENDIAN);
}
break;
case SMSG_INITIALIZE_FACTIONS:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_factions, 4, ENC_LITTLE_ENDIAN, &amount_of_factions);
- for (guint32 i1 = 0; i1 < amount_of_factions; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_factions; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "FactionInitializer %i", i1);
ptvcursor_add(ptv, hf_woww_faction_flag, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_standing, 4, ENC_LITTLE_ENDIAN);
@@ -17018,14 +17016,14 @@ add_body_fields(guint32 header_opcode,
case SMSG_INITIAL_SPELLS:
ptvcursor_add(ptv, hf_woww_unknown_int, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_spell_count, 2, ENC_LITTLE_ENDIAN, &spell_count);
- for (guint32 i1 = 0; i1 < spell_count; ++i1) {
+ for (uint32_t i1 = 0; i1 < spell_count; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "InitialSpell %i", i1);
ptvcursor_add(ptv, hf_woww_spell_id, 2, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_unknown_int, 2, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_cooldown_count, 2, ENC_LITTLE_ENDIAN, &cooldown_count);
- for (guint32 i1 = 0; i1 < cooldown_count; ++i1) {
+ for (uint32_t i1 = 0; i1 < cooldown_count; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "CooldownSpell %i", i1);
ptvcursor_add(ptv, hf_woww_spell_id, 2, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_id, 2, ENC_LITTLE_ENDIAN);
@@ -17039,7 +17037,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_map, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_area, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_states, 2, ENC_LITTLE_ENDIAN, &amount_of_states);
- for (guint32 i1 = 0; i1 < amount_of_states; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_states; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "WorldState %i", i1);
ptvcursor_add(ptv, hf_woww_state, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_value, 4, ENC_LITTLE_ENDIAN);
@@ -17128,13 +17126,13 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_max_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_stackable, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_container_slots, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 10; ++i1) {
+ for (uint32_t i1 = 0; i1 < 10; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ItemStat %i", i1);
ptvcursor_add(ptv, hf_woww_item_stat_type, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_value, 4, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
- for (guint32 i1 = 0; i1 < 5; ++i1) {
+ for (uint32_t i1 = 0; i1 < 5; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ItemDamageType %i", i1);
ptvcursor_add(ptv, hf_woww_damage_minimum, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_damage_maximum, 4, ENC_LITTLE_ENDIAN);
@@ -17151,7 +17149,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_delay, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_ammo_type, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_ranged_range_modification, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 5; ++i1) {
+ for (uint32_t i1 = 0; i1 < 5; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ItemSpells %i", i1);
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_spell_trigger_type, 4, ENC_LITTLE_ENDIAN);
@@ -17207,7 +17205,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_LIST_INVENTORY:
ptvcursor_add(ptv, hf_woww_vendor, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_items, 1, ENC_LITTLE_ENDIAN, &amount_of_items);
- for (guint32 i1 = 0; i1 < amount_of_items; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_items; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ListInventoryItem %i", i1);
ptvcursor_add(ptv, hf_woww_item_stack_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -17254,7 +17252,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_LOOT_MASTER_LIST:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_players, 1, ENC_LITTLE_ENDIAN, &amount_of_players);
- for (guint32 i1 = 0; i1 < amount_of_players; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_players; ++i1) {
ptvcursor_add(ptv, hf_woww_guids, 8, ENC_LITTLE_ENDIAN);
}
break;
@@ -17276,7 +17274,7 @@ add_body_fields(guint32 header_opcode,
}
ptvcursor_add(ptv, hf_woww_gold, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_items, 1, ENC_LITTLE_ENDIAN, &amount_of_items);
- for (guint32 i1 = 0; i1 < amount_of_items; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_items; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "LootItem %i", i1);
ptvcursor_add(ptv, hf_woww_index, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -17314,7 +17312,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_MAIL_LIST_RESULT:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_mails, 1, ENC_LITTLE_ENDIAN, &amount_of_mails);
- for (guint32 i1 = 0; i1 < amount_of_mails; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_mails; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Mail %i", i1);
ptvcursor_add(ptv, hf_woww_message_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_mail_type, 1, ENC_LITTLE_ENDIAN, &message_type);
@@ -17503,14 +17501,14 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_NPC_TEXT_UPDATE:
ptvcursor_add(ptv, hf_woww_text_id, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 8; ++i1) {
+ for (uint32_t i1 = 0; i1 < 8; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "NpcTextUpdate %i", i1);
ptvcursor_add(ptv, hf_woww_probability, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i2 = 0; i2 < 2; ++i2) {
+ for (uint32_t i2 = 0; i2 < 2; ++i2) {
add_cstring(ptv, &hf_woww_texts);
}
ptvcursor_add(ptv, hf_woww_language, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i2 = 0; i2 < 3; ++i2) {
+ for (uint32_t i2 = 0; i2 < 3; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "NpcTextUpdateEmote %i", i2);
ptvcursor_add(ptv, hf_woww_delay, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_emote_int, 4, ENC_LITTLE_ENDIAN);
@@ -17672,7 +17670,7 @@ add_body_fields(guint32 header_opcode,
add_packed_guid(ptv, pinfo);
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_auras, 4, ENC_LITTLE_ENDIAN, &amount_of_auras);
- for (guint32 i1 = 0; i1 < amount_of_auras; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_auras; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "AuraLog %i", i1);
ptvcursor_add_ret_uint(ptv, hf_woww_aura_type, 4, ENC_LITTLE_ENDIAN, &aura_type);
if (aura_type == AURA_TYPE_PERIODIC_DAMAGE
@@ -17721,7 +17719,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_PETITION_SHOWLIST:
ptvcursor_add(ptv, hf_woww_npc, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_petitions, 1, ENC_LITTLE_ENDIAN, &amount_of_petitions);
- for (guint32 i1 = 0; i1 < amount_of_petitions; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_petitions; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "PetitionShowlist %i", i1);
ptvcursor_add(ptv, hf_woww_index, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_charter_entry, 4, ENC_LITTLE_ENDIAN);
@@ -17736,7 +17734,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_owner, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_petition, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_signatures, 1, ENC_LITTLE_ENDIAN, &amount_of_signatures);
- for (guint32 i1 = 0; i1 < amount_of_signatures; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_signatures; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "PetitionSignature %i", i1);
ptvcursor_add(ptv, hf_woww_signer, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_unknown_int, 4, ENC_LITTLE_ENDIAN);
@@ -17789,15 +17787,15 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_pet_command_state, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_unknown_int, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_pet_enabled, 1, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 10; ++i1) {
+ for (uint32_t i1 = 0; i1 < 10; ++i1) {
ptvcursor_add(ptv, hf_woww_action_bars, 4, ENC_LITTLE_ENDIAN);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_spells, 1, ENC_LITTLE_ENDIAN, &amount_of_spells);
- for (guint32 i1 = 0; i1 < amount_of_spells; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_spells; ++i1) {
ptvcursor_add(ptv, hf_woww_spells, 4, ENC_LITTLE_ENDIAN);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_cooldowns, 1, ENC_LITTLE_ENDIAN, &amount_of_cooldowns);
- for (guint32 i1 = 0; i1 < amount_of_cooldowns; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_cooldowns; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "PetSpellCooldown %i", i1);
ptvcursor_add(ptv, hf_woww_spell, 2, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_spell_category, 2, ENC_LITTLE_ENDIAN);
@@ -17867,14 +17865,14 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_offer_reward_text);
ptvcursor_add(ptv, hf_woww_auto_finish, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_emotes, 4, ENC_LITTLE_ENDIAN, &amount_of_emotes);
- for (guint32 i1 = 0; i1 < amount_of_emotes; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_emotes; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "NpcTextUpdateEmote %i", i1);
ptvcursor_add(ptv, hf_woww_delay, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_emote_int, 4, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_choice_item_rewards, 4, ENC_LITTLE_ENDIAN, &amount_of_choice_item_rewards);
- for (guint32 i1 = 0; i1 < amount_of_choice_item_rewards; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_choice_item_rewards; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemRequirement %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -17882,7 +17880,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_item_rewards, 4, ENC_LITTLE_ENDIAN, &amount_of_item_rewards);
- for (guint32 i1 = 0; i1 < amount_of_item_rewards; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_item_rewards; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemRequirement %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -17899,7 +17897,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_experience_reward, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_money_reward, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_item_rewards, 4, ENC_LITTLE_ENDIAN, &amount_of_item_rewards);
- for (guint32 i1 = 0; i1 < amount_of_item_rewards; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_item_rewards; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemReward %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -17914,14 +17912,14 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_objectives);
ptvcursor_add(ptv, hf_woww_auto_finish, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_choice_item_rewards, 4, ENC_LITTLE_ENDIAN, &amount_of_choice_item_rewards);
- for (guint32 i1 = 0; i1 < amount_of_choice_item_rewards; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_choice_item_rewards; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemReward %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_item_rewards, 4, ENC_LITTLE_ENDIAN, &amount_of_item_rewards);
- for (guint32 i1 = 0; i1 < amount_of_item_rewards; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_item_rewards; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemReward %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -17930,7 +17928,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_money_reward, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_reward_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_emotes, 4, ENC_LITTLE_ENDIAN, &amount_of_emotes);
- for (guint32 i1 = 0; i1 < amount_of_emotes; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_emotes; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestDetailsEmote %i", i1);
ptvcursor_add(ptv, hf_woww_emote_int, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_emote_delay, 4, ENC_LITTLE_ENDIAN);
@@ -17950,7 +17948,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_emote_delay, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_emote_int, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_entries, 1, ENC_LITTLE_ENDIAN, &amount_of_entries);
- for (guint32 i1 = 0; i1 < amount_of_entries; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_entries; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItem %i", i1);
ptvcursor_add(ptv, hf_woww_quest_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_quest_icon, 4, ENC_LITTLE_ENDIAN);
@@ -17969,7 +17967,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_auto_finish, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_required_money, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_required_items, 4, ENC_LITTLE_ENDIAN, &amount_of_required_items);
- for (guint32 i1 = 0; i1 < amount_of_required_items; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_required_items; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemRequirement %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -18026,13 +18024,13 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_reward_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_source_item_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_quest_flags, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 4; ++i1) {
+ for (uint32_t i1 = 0; i1 < 4; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemReward %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
- for (guint32 i1 = 0; i1 < 6; ++i1) {
+ for (uint32_t i1 = 0; i1 < 6; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestItemReward %i", i1);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item_count, 4, ENC_LITTLE_ENDIAN);
@@ -18048,7 +18046,7 @@ add_body_fields(guint32 header_opcode,
add_cstring(ptv, &hf_woww_objective_text);
add_cstring(ptv, &hf_woww_details);
add_cstring(ptv, &hf_woww_end_text);
- for (guint32 i1 = 0; i1 < 4; ++i1) {
+ for (uint32_t i1 = 0; i1 < 4; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "QuestObjective %i", i1);
ptvcursor_add(ptv, hf_woww_creature_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_kill_count, 4, ENC_LITTLE_ENDIAN);
@@ -18056,7 +18054,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_required_item_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
- for (guint32 i1 = 0; i1 < 4; ++i1) {
+ for (uint32_t i1 = 0; i1 < 4; ++i1) {
add_cstring(ptv, &hf_woww_objective_texts);
}
break;
@@ -18066,7 +18064,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_RAID_INSTANCE_INFO:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_raid_infos, 4, ENC_LITTLE_ENDIAN, &amount_of_raid_infos);
- for (guint32 i1 = 0; i1 < amount_of_raid_infos; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_raid_infos; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "RaidInfo %i", i1);
ptvcursor_add(ptv, hf_woww_map, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_reset_time, 4, ENC_LITTLE_ENDIAN);
@@ -18136,7 +18134,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_SET_FACTION_STANDING:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_faction_standings, 4, ENC_LITTLE_ENDIAN, &amount_of_faction_standings);
- for (guint32 i1 = 0; i1 < amount_of_faction_standings; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_faction_standings; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "FactionStanding %i", i1);
ptvcursor_add(ptv, hf_woww_faction, 2, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_standing, 4, ENC_LITTLE_ENDIAN);
@@ -18153,7 +18151,7 @@ add_body_fields(guint32 header_opcode,
break;
case SMSG_SET_FORCED_REACTIONS:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_reactions, 4, ENC_LITTLE_ENDIAN, &amount_of_reactions);
- for (guint32 i1 = 0; i1 < amount_of_reactions; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_reactions; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "ForcedReaction %i", i1);
ptvcursor_add(ptv, hf_woww_faction, 2, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_reputation_rank, 4, ENC_LITTLE_ENDIAN);
@@ -18193,7 +18191,7 @@ add_body_fields(guint32 header_opcode,
add_packed_guid(ptv, pinfo);
add_packed_guid(ptv, pinfo);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_spells, 4, ENC_LITTLE_ENDIAN, &amount_of_spells);
- for (guint32 i1 = 0; i1 < amount_of_spells; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_spells; ++i1) {
ptvcursor_add(ptv, hf_woww_spells, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -18219,7 +18217,7 @@ add_body_fields(guint32 header_opcode,
add_packed_guid(ptv, pinfo);
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_effects, 4, ENC_LITTLE_ENDIAN, &amount_of_effects);
- for (guint32 i1 = 0; i1 < amount_of_effects; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_effects; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "SpellLog %i", i1);
ptvcursor_add_ret_uint(ptv, hf_woww_spell_effect, 4, ENC_LITTLE_ENDIAN, &effect);
ptvcursor_add(ptv, hf_woww_amount_of_logs, 4, ENC_LITTLE_ENDIAN);
@@ -18303,10 +18301,10 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_caster, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_unknown_int, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_targets, 4, ENC_LITTLE_ENDIAN, &amount_of_targets);
- for (guint32 i1 = 0; i1 < amount_of_targets; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_targets; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "SpellLogMiss %i", i1);
ptvcursor_add(ptv, hf_woww_target, 8, ENC_LITTLE_ENDIAN);
- ptvcursor_add(ptv, hf_woww_spell_miss_info, 4, ENC_LITTLE_ENDIAN);
+ ptvcursor_add(ptv, hf_woww_spell_miss_info, 1, ENC_LITTLE_ENDIAN);
ptvcursor_pop_subtree(ptv);
}
break;
@@ -18358,14 +18356,14 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_cast_flags, 2, ENC_LITTLE_ENDIAN, &flags);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_hits, 1, ENC_LITTLE_ENDIAN, &amount_of_hits);
- for (guint32 i1 = 0; i1 < amount_of_hits; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_hits; ++i1) {
ptvcursor_add(ptv, hf_woww_hits, 8, ENC_LITTLE_ENDIAN);
}
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_misses, 1, ENC_LITTLE_ENDIAN, &amount_of_misses);
- for (guint32 i1 = 0; i1 < amount_of_misses; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_misses; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "SpellMiss %i", i1);
ptvcursor_add(ptv, hf_woww_target, 8, ENC_LITTLE_ENDIAN);
- ptvcursor_add_ret_uint(ptv, hf_woww_spell_miss_info, 4, ENC_LITTLE_ENDIAN, &miss_info);
+ ptvcursor_add_ret_uint(ptv, hf_woww_spell_miss_info, 1, ENC_LITTLE_ENDIAN, &miss_info);
ptvcursor_pop_subtree(ptv);
}
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "SpellCastTargets");
@@ -18470,7 +18468,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_caster, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_targets, 4, ENC_LITTLE_ENDIAN, &amount_of_targets);
- for (guint32 i1 = 0; i1 < amount_of_targets; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_targets; ++i1) {
ptvcursor_add(ptv, hf_woww_targets, 8, ENC_LITTLE_ENDIAN);
}
break;
@@ -18594,7 +18592,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_trade_slot_count, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_money_in_trade, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_spell_on_lowest_slot, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < 7; ++i1) {
+ for (uint32_t i1 = 0; i1 < 7; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "TradeSlot %i", i1);
ptvcursor_add(ptv, hf_woww_trade_slot_number, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_item, 4, ENC_LITTLE_ENDIAN);
@@ -18626,7 +18624,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_guid, 8, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_trainer_type, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_spells, 4, ENC_LITTLE_ENDIAN, &amount_of_spells);
- for (guint32 i1 = 0; i1 < amount_of_spells; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_spells; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "TrainerSpell %i", i1);
ptvcursor_add(ptv, hf_woww_spell, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_trainer_spell_state, 1, ENC_LITTLE_ENDIAN);
@@ -18636,7 +18634,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_required_level, 1, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_skill, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_required_skill_value, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i2 = 0; i2 < 3; ++i2) {
+ for (uint32_t i2 = 0; i2 < 3; ++i2) {
ptvcursor_add(ptv, hf_woww_required_spells, 4, ENC_LITTLE_ENDIAN);
}
ptvcursor_pop_subtree(ptv);
@@ -18663,7 +18661,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_petition_result, 4, ENC_LITTLE_ENDIAN);
break;
case SMSG_TUTORIAL_FLAGS:
- for (guint32 i1 = 0; i1 < 8; ++i1) {
+ for (uint32_t i1 = 0; i1 < 8; ++i1) {
ptvcursor_add(ptv, hf_woww_tutorial_data, 4, ENC_LITTLE_ENDIAN);
}
break;
@@ -18680,7 +18678,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_UPDATE_OBJECT:
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_objects, 4, ENC_LITTLE_ENDIAN, &amount_of_objects);
ptvcursor_add(ptv, hf_woww_has_transport, 1, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < amount_of_objects; ++i1) {
+ for (uint32_t i1 = 0; i1 < amount_of_objects; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Object %i", i1);
ptvcursor_add_ret_uint(ptv, hf_woww_update_type, 1, ENC_LITTLE_ENDIAN, &update_type);
if (update_type == UPDATE_TYPE_VALUES) {
@@ -18747,7 +18745,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_duration, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_nodes, 4, ENC_LITTLE_ENDIAN, &amount_of_nodes);
- for (guint32 i2 = 0; i2 < amount_of_nodes; ++i2) {
+ for (uint32_t i2 = 0; i2 < amount_of_nodes; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Vector3d %i", i2);
ptvcursor_add(ptv, hf_woww_x, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_y, 4, ENC_LITTLE_ENDIAN);
@@ -18845,7 +18843,7 @@ add_body_fields(guint32 header_opcode,
ptvcursor_add(ptv, hf_woww_duration, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_id, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add_ret_uint(ptv, hf_woww_amount_of_nodes, 4, ENC_LITTLE_ENDIAN, &amount_of_nodes);
- for (guint32 i2 = 0; i2 < amount_of_nodes; ++i2) {
+ for (uint32_t i2 = 0; i2 < amount_of_nodes; ++i2) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "Vector3d %i", i2);
ptvcursor_add(ptv, hf_woww_x, 4, ENC_LITTLE_ENDIAN);
ptvcursor_add(ptv, hf_woww_y, 4, ENC_LITTLE_ENDIAN);
@@ -18885,7 +18883,7 @@ add_body_fields(guint32 header_opcode,
else if (update_type == UPDATE_TYPE_OUT_OF_RANGE_OBJECTS
|| update_type == UPDATE_TYPE_NEAR_OBJECTS) {
ptvcursor_add_ret_uint(ptv, hf_woww_count, 4, ENC_LITTLE_ENDIAN, &count);
- for (guint32 i2 = 0; i2 < count; ++i2) {
+ for (uint32_t i2 = 0; i2 < count; ++i2) {
add_packed_guid(ptv, pinfo);
}
}
@@ -18911,7 +18909,7 @@ add_body_fields(guint32 header_opcode,
case SMSG_WHO:
ptvcursor_add_ret_uint(ptv, hf_woww_listed_players, 4, ENC_LITTLE_ENDIAN, &listed_players);
ptvcursor_add(ptv, hf_woww_online_players, 4, ENC_LITTLE_ENDIAN);
- for (guint32 i1 = 0; i1 < listed_players; ++i1) {
+ for (uint32_t i1 = 0; i1 < listed_players; ++i1) {
ptvcursor_add_text_with_subtree(ptv, SUBTREE_UNDEFINED_LENGTH, ett_message, "WhoPlayer %i", i1);
add_cstring(ptv, &hf_woww_name);
add_cstring(ptv, &hf_woww_guild);
@@ -18938,39 +18936,39 @@ add_body_fields(guint32 header_opcode,
ptvcursor_free(ptv);
}
-static gint
+static int
add_header_to_tree(WowwDecryptedHeader_t* decrypted_header,
proto_tree* tree,
tvbuff_t* tvb,
packet_info* pinfo,
- guint8 headerSize,
- gint start_offset)
+ uint8_t headerSize,
+ int start_offset)
{
// Size field does not count in the reported size, so we need to add it.
- const guint16 packet_size = (decrypted_header->size[0] << 8 | decrypted_header->size[1]) + WOWW_HEADER_SIZE_FIELD_WIDTH;
+ const uint16_t packet_size = (decrypted_header->size[0] << 8 | decrypted_header->size[1]) + WOWW_HEADER_SIZE_FIELD_WIDTH;
proto_tree* ti = proto_tree_add_item(tree, proto_woww, tvb, start_offset, packet_size, ENC_NA);
proto_tree* woww_tree = proto_item_add_subtree(ti, ett_message);
// Add to tree
- tvbuff_t *next_tvb = tvb_new_child_real_data(tvb, (guint8*)decrypted_header, headerSize, headerSize);
+ tvbuff_t *next_tvb = tvb_new_child_real_data(tvb, (uint8_t*)decrypted_header, headerSize, headerSize);
add_new_data_source(pinfo, next_tvb, "Decrypted Header");
// We're indexing into another tvb
- gint offset = 0;
- gint len = WOWW_HEADER_SIZE_FIELD_WIDTH;
+ int offset = 0;
+ int len = WOWW_HEADER_SIZE_FIELD_WIDTH;
proto_tree_add_item(woww_tree, hf_woww_size, next_tvb,
offset, len, ENC_BIG_ENDIAN);
offset += len;
- guint32 opcode = 0;
+ uint32_t opcode = 0;
if (WOWW_SERVER_TO_CLIENT) {
len = 2;
- opcode = tvb_get_guint16(next_tvb, offset, ENC_LITTLE_ENDIAN);
+ opcode = tvb_get_uint16(next_tvb, offset, ENC_LITTLE_ENDIAN);
} else if (WOWW_CLIENT_TO_SERVER) {
len = 4;
- opcode = tvb_get_guint32(next_tvb, offset, ENC_LITTLE_ENDIAN);
+ opcode = tvb_get_uint32(next_tvb, offset, ENC_LITTLE_ENDIAN);
}
proto_tree_add_item(woww_tree, hf_woww_opcode, next_tvb,
@@ -18993,7 +18991,7 @@ add_header_to_tree(WowwDecryptedHeader_t* decrypted_header,
world_packet_strings,
"Encrypted Header"));
- gint offset_packet_end = start_offset + (gint)packet_size;
+ int offset_packet_end = start_offset + (int)packet_size;
// Remember to go back to original tvb
add_body_fields(opcode, woww_tree, tvb, start_offset + headerSize, offset_packet_end, pinfo);
@@ -19031,7 +19029,7 @@ dissect_woww(tvbuff_t *tvb,
// Isolate session key for packet
WowwParticipant_t* participant;
- guint8 headerSize = 4;
+ uint8_t headerSize = 4;
if (WOWW_SERVER_TO_CLIENT) {
participant = &wowwConversation->server;
@@ -19045,15 +19043,15 @@ dissect_woww(tvbuff_t *tvb,
proto_tree* woww_tree = proto_item_add_subtree(ti, ett_woww);
- gint pdu_offset = 0;
- gint reported_length = (gint)tvb_reported_length(tvb);
- guint8 header_index = 0;
+ int pdu_offset = 0;
+ int reported_length = (int)tvb_reported_length(tvb);
+ uint8_t header_index = 0;
do {
WowwDecryptedHeader_t* decrypted_header = handle_packet_header(pinfo, tvb, participant, wowwConversation, headerSize, header_index, pdu_offset);
if (!decrypted_header) {
return tvb_captured_length(tvb);
}
- const gint message_size = (decrypted_header->size[0] << 8 | decrypted_header->size[1]) + WOWW_HEADER_SIZE_FIELD_WIDTH;
+ const int message_size = (decrypted_header->size[0] << 8 | decrypted_header->size[1]) + WOWW_HEADER_SIZE_FIELD_WIDTH;
if ((pdu_offset + message_size) > reported_length) {
return pdu_offset;
}
@@ -20086,12 +20084,6 @@ proto_register_woww(void)
NULL, HFILL
}
},
- { &hf_woww_chat_data_size_uncompressed,
- { "Chat Data Size Uncompressed", "woww.chat.data.size.uncompressed",
- FT_UINT32, BASE_HEX_DEC, NULL, 0,
- NULL, HFILL
- }
- },
{ &hf_woww_chat_notify,
{ "Chat Notify", "woww.chat.notify",
FT_UINT8, BASE_HEX_DEC, VALS(e_chat_notify_strings), 0,
@@ -20422,12 +20414,6 @@ proto_register_woww(void)
NULL, HFILL
}
},
- { &hf_woww_decompressed_addon_info_size,
- { "Decompressed Addon Info Size", "woww.decompressed.addon.info.size",
- FT_UINT32, BASE_HEX_DEC, NULL, 0,
- NULL, HFILL
- }
- },
{ &hf_woww_decompressed_size,
{ "Decompressed Size", "woww.decompressed.size",
FT_UINT32, BASE_HEX_DEC, NULL, 0,
@@ -23112,7 +23098,7 @@ proto_register_woww(void)
},
{ &hf_woww_spell_miss_info,
{ "Spell Miss Info", "woww.spell.miss.info",
- FT_UINT32, BASE_HEX_DEC, VALS(e_spell_miss_info_strings), 0,
+ FT_UINT8, BASE_HEX_DEC, VALS(e_spell_miss_info_strings), 0,
NULL, HFILL
}
},
@@ -23905,7 +23891,7 @@ proto_register_woww(void)
/* AUTOGENERATED_END_REGISTER */
};
- static gint *ett[] = {
+ static int *ett[] = {
&ett_woww,
&ett_message,
&ett_character