/*
 * Copyright (C) 2008-2017 TrinityCore <http://www.trinitycore.org/>
 * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

/// \addtogroup u2w
/// @{
/// \file

#ifndef _OPCODES_H
#define _OPCODES_H

#include "Define.h"
#include <string>

enum ConnectionType : int8
{
    CONNECTION_TYPE_REALM       = 0,
    CONNECTION_TYPE_INSTANCE    = 1,
    MAX_CONNECTION_TYPES,

    CONNECTION_TYPE_DEFAULT     = -1
};

enum OpcodeMisc : uint16
{
    MAX_OPCODE                                        = 0x3FFF,
    NUM_OPCODE_HANDLERS                               = (MAX_OPCODE + 1),
    UNKNOWN_OPCODE                                    = 0xFFFF,
    NULL_OPCODE                                       = 0xBADD
};

enum OpcodeClient : uint16
{
    CMSG_ACCEPT_GUILD_INVITE                          = 0x35FD,
    CMSG_ACCEPT_LEVEL_GRANT                           = 0x34EF,
    CMSG_ACCEPT_TRADE                                 = 0x315A,
    CMSG_ACCEPT_WARGAME_INVITE                        = 0x35E0,
    CMSG_ACTIVATE_TAXI                                = 0x34AC,
    CMSG_ADDON_LIST                                   = 0x35D8,
    CMSG_ADD_BATTLENET_FRIEND                         = 0x365D,
    CMSG_ADD_FRIEND                                   = 0x36D2,
    CMSG_ADD_IGNORE                                   = 0x36D6,
    CMSG_ADD_TOY                                      = 0x327D,
    CMSG_ADVENTURE_JOURNAL_OPEN_QUEST                 = 0x31EF,
    CMSG_ADVENTURE_JOURNAL_START_QUEST                = 0x3325,
    CMSG_ALTER_APPEARANCE                             = 0x34EB,
    CMSG_AREA_SPIRIT_HEALER_QUERY                     = 0x34B1,
    CMSG_AREA_SPIRIT_HEALER_QUEUE                     = 0x34B2,
    CMSG_AREA_TRIGGER                                 = 0x31C5,
    CMSG_ARTIFACT_ADD_POWER                           = 0x31A5,
    CMSG_ARTIFACT_SET_APPEARANCE                      = 0x31A7,
    CMSG_ASSIGN_EQUIPMENT_SET_SPEC                    = 0x31F6,
    CMSG_ATTACK_STOP                                  = 0x3240,
    CMSG_ATTACK_SWING                                 = 0x323F,
    CMSG_AUCTION_HELLO_REQUEST                        = 0x34C1,
    CMSG_AUCTION_LIST_BIDDER_ITEMS                    = 0x34C7,
    CMSG_AUCTION_LIST_ITEMS                           = 0x34C4,
    CMSG_AUCTION_LIST_OWNER_ITEMS                     = 0x34C6,
    CMSG_AUCTION_LIST_PENDING_SALES                   = 0x34C9,
    CMSG_AUCTION_PLACE_BID                            = 0x34C8,
    CMSG_AUCTION_REMOVE_ITEM                          = 0x34C3,
    CMSG_AUCTION_REPLICATE_ITEMS                      = 0x34C5,
    CMSG_AUCTION_SELL_ITEM                            = 0x34C2,
    CMSG_AUTH_CONTINUED_SESSION                       = 0x3766,
    CMSG_AUTH_SESSION                                 = 0x3765,
    CMSG_AUTOBANK_ITEM                                = 0x3996,
    CMSG_AUTOBANK_REAGENT                             = 0x3998,
    CMSG_AUTOSTORE_BANK_ITEM                          = 0x3997,
    CMSG_AUTOSTORE_BANK_REAGENT                       = 0x3999,
    CMSG_AUTO_EQUIP_ITEM                              = 0x399A,
    CMSG_AUTO_EQUIP_ITEM_SLOT                         = 0x399F,
    CMSG_AUTO_STORE_BAG_ITEM                          = 0x399B,
    CMSG_BANKER_ACTIVATE                              = 0x34B4,
    CMSG_BATTLEFIELD_LEAVE                            = 0x3171,
    CMSG_BATTLEFIELD_LIST                             = 0x317D,
    CMSG_BATTLEFIELD_PORT                             = 0x351B,
    CMSG_BATTLEMASTER_HELLO                           = 0x3293,
    CMSG_BATTLEMASTER_JOIN                            = 0x3516,
    CMSG_BATTLEMASTER_JOIN_ARENA                      = 0x3517,
    CMSG_BATTLEMASTER_JOIN_BRAWL                      = 0x3519,
    CMSG_BATTLEMASTER_JOIN_SKIRMISH                   = 0x3518,
    CMSG_BATTLENET_CHALLENGE_RESPONSE                 = 0x36D5,
    CMSG_BATTLENET_REQUEST                            = 0x36F9,
    CMSG_BATTLENET_REQUEST_REALM_LIST_TICKET          = 0x36FA,
    CMSG_BATTLE_PAY_ACK_FAILED_RESPONSE               = 0x36CD,
    CMSG_BATTLE_PAY_CONFIRM_PURCHASE_RESPONSE         = 0x36CC,
    CMSG_BATTLE_PAY_DISTRIBUTION_ASSIGN_TO_TARGET     = 0x36C3,
    CMSG_BATTLE_PAY_GET_PRODUCT_LIST                  = 0x36BE,
    CMSG_BATTLE_PAY_GET_PURCHASE_LIST                 = 0x36BF,
    CMSG_BATTLE_PAY_QUERY_CLASS_TRIAL_BOOST_RESULT    = 0x36C6,
    CMSG_BATTLE_PAY_REQUEST_CHARACTER_BOOST_UNREVOKE  = 0x36C4,
    CMSG_BATTLE_PAY_REQUEST_CURRENT_VAS_TRANSFER_QUEUES = 0x370A,
    CMSG_BATTLE_PAY_REQUEST_PRICE_INFO                = 0x3709,
    CMSG_BATTLE_PAY_REQUEST_VAS_CHARACTER_QUEUE_TIME  = 0x370B,
    CMSG_BATTLE_PAY_START_PURCHASE                    = 0x36F5,
    CMSG_BATTLE_PAY_START_VAS_PURCHASE                = 0x36F6,
    CMSG_BATTLE_PAY_TRIAL_BOOST_CHARACTER             = 0x36C5,
    CMSG_BATTLE_PAY_VALIDATE_BNET_VAS_TRANSFER        = 0x370C,
    CMSG_BATTLE_PET_CLEAR_FANFARE                     = 0x312C,
    CMSG_BATTLE_PET_DELETE_PET                        = 0x3627,
    CMSG_BATTLE_PET_DELETE_PET_CHEAT                  = 0x3628,
    CMSG_BATTLE_PET_MODIFY_NAME                       = 0x362A,
    CMSG_BATTLE_PET_REQUEST_JOURNAL                   = 0x3626,
    CMSG_BATTLE_PET_REQUEST_JOURNAL_LOCK              = 0x3625,
    CMSG_BATTLE_PET_SET_BATTLE_SLOT                   = 0x362E,
    CMSG_BATTLE_PET_SET_FLAGS                         = 0x3632,
    CMSG_BATTLE_PET_SUMMON                            = 0x362B,
    CMSG_BATTLE_PET_UPDATE_NOTIFY                     = 0x31CE,
    CMSG_BEGIN_TRADE                                  = 0x3157,
    CMSG_BINDER_ACTIVATE                              = 0x34B3,
    CMSG_BLACK_MARKET_BID_ON_ITEM                     = 0x3523,
    CMSG_BLACK_MARKET_OPEN                            = 0x3521,
    CMSG_BLACK_MARKET_REQUEST_ITEMS                   = 0x3522,
    CMSG_BUG_REPORT                                   = 0x3689,
    CMSG_BUSY_TRADE                                   = 0x3158,
    CMSG_BUY_BACK_ITEM                                = 0x34A5,
    CMSG_BUY_BANK_SLOT                                = 0x34B5,
    CMSG_BUY_ITEM                                     = 0x34A4,
    CMSG_BUY_REAGENT_BANK                             = 0x34B6,
    CMSG_BUY_WOW_TOKEN_CONFIRM                        = 0x36EE,
    CMSG_BUY_WOW_TOKEN_START                          = 0x36ED,
    CMSG_CAGE_BATTLE_PET                              = 0x31DF,
    CMSG_CALENDAR_ADD_EVENT                           = 0x3680,
    CMSG_CALENDAR_COMPLAIN                            = 0x367C,
    CMSG_CALENDAR_COPY_EVENT                          = 0x367B,
    CMSG_CALENDAR_EVENT_INVITE                        = 0x3675,
    CMSG_CALENDAR_EVENT_MODERATOR_STATUS              = 0x3679,
    CMSG_CALENDAR_EVENT_RSVP                          = 0x3677,
    CMSG_CALENDAR_EVENT_SIGN_UP                       = 0x367E,
    CMSG_CALENDAR_EVENT_STATUS                        = 0x3678,
    CMSG_CALENDAR_GET                                 = 0x3672,
    CMSG_CALENDAR_GET_EVENT                           = 0x3673,
    CMSG_CALENDAR_GET_NUM_PENDING                     = 0x367D,
    CMSG_CALENDAR_GUILD_FILTER                        = 0x3674,
    CMSG_CALENDAR_REMOVE_EVENT                        = 0x367A,
    CMSG_CALENDAR_REMOVE_INVITE                       = 0x3676,
    CMSG_CALENDAR_UPDATE_EVENT                        = 0x3681,
    CMSG_CANCEL_AURA                                  = 0x31A9,
    CMSG_CANCEL_AUTO_REPEAT_SPELL                     = 0x34DD,
    CMSG_CANCEL_CAST                                  = 0x3283,
    CMSG_CANCEL_CHANNELLING                           = 0x324F,
    CMSG_CANCEL_GROWTH_AURA                           = 0x3254,
    CMSG_CANCEL_MASTER_LOOT_ROLL                      = 0x31FE,
    CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS            = 0x31A8,
    CMSG_CANCEL_MOUNT_AURA                            = 0x3265,
    CMSG_CANCEL_QUEUED_SPELL                          = 0x317E,
    CMSG_CANCEL_TEMP_ENCHANTMENT                      = 0x34E8,
    CMSG_CANCEL_TRADE                                 = 0x315C,
    CMSG_CAN_DUEL                                     = 0x3665,
    CMSG_CAN_REDEEM_WOW_TOKEN_FOR_BALANCE             = 0x3708,
    CMSG_CAST_SPELL                                   = 0x3280,
    CMSG_CHALLENGE_MODE_REQUEST_LEADERS               = 0x308F,
    CMSG_CHALLENGE_MODE_REQUEST_MAP_STATS             = 0x308E,
    CMSG_CHANGE_BAG_SLOT_FLAG                         = 0x3308,
    CMSG_CHANGE_MONUMENT_APPEARANCE                   = 0x32E8,
    CMSG_CHANGE_SUB_GROUP                             = 0x364F,
    CMSG_CHARACTER_RENAME_REQUEST                     = 0x36C1,
    CMSG_CHAR_CUSTOMIZE                               = 0x3691,
    CMSG_CHAR_DELETE                                  = 0x369E,
    CMSG_CHAR_RACE_OR_FACTION_CHANGE                  = 0x3697,
    CMSG_CHAT_ADDON_MESSAGE_CHANNEL                   = 0x37D0,
    CMSG_CHAT_ADDON_MESSAGE_GUILD                     = 0x37D4,
    CMSG_CHAT_ADDON_MESSAGE_INSTANCE_CHAT             = 0x37F3,
    CMSG_CHAT_ADDON_MESSAGE_OFFICER                   = 0x37D6,
    CMSG_CHAT_ADDON_MESSAGE_PARTY                     = 0x37EF,
    CMSG_CHAT_ADDON_MESSAGE_RAID                      = 0x37F1,
    CMSG_CHAT_ADDON_MESSAGE_WHISPER                   = 0x37D2,
    CMSG_CHAT_CHANNEL_ANNOUNCEMENTS                   = 0x37E7,
    CMSG_CHAT_CHANNEL_BAN                             = 0x37E5,
    CMSG_CHAT_CHANNEL_DECLINE_INVITE                  = 0x37EA,
    CMSG_CHAT_CHANNEL_DISPLAY_LIST                    = 0x37DA,
    CMSG_CHAT_CHANNEL_INVITE                          = 0x37E3,
    CMSG_CHAT_CHANNEL_KICK                            = 0x37E4,
    CMSG_CHAT_CHANNEL_LIST                            = 0x37D9,
    CMSG_CHAT_CHANNEL_MODERATE                        = 0x37DE,
    CMSG_CHAT_CHANNEL_MODERATOR                       = 0x37DF,
    CMSG_CHAT_CHANNEL_MUTE                            = 0x37E1,
    CMSG_CHAT_CHANNEL_OWNER                           = 0x37DD,
    CMSG_CHAT_CHANNEL_PASSWORD                        = 0x37DB,
    CMSG_CHAT_CHANNEL_SET_OWNER                       = 0x37DC,
    CMSG_CHAT_CHANNEL_SILENCE_ALL                     = 0x37E8,
    CMSG_CHAT_CHANNEL_UNBAN                           = 0x37E6,
    CMSG_CHAT_CHANNEL_UNMODERATOR                     = 0x37E0,
    CMSG_CHAT_CHANNEL_UNMUTE                          = 0x37E2,
    CMSG_CHAT_CHANNEL_UNSILENCE_ALL                   = 0x37E9,
    CMSG_CHAT_JOIN_CHANNEL                            = 0x37C8,
    CMSG_CHAT_LEAVE_CHANNEL                           = 0x37C9,
    CMSG_CHAT_MESSAGE_AFK                             = 0x37D7,
    CMSG_CHAT_MESSAGE_CHANNEL                         = 0x37CF,
    CMSG_CHAT_MESSAGE_DND                             = 0x37D8,
    CMSG_CHAT_MESSAGE_EMOTE                           = 0x37EC,
    CMSG_CHAT_MESSAGE_GUILD                           = 0x37D3,
    CMSG_CHAT_MESSAGE_INSTANCE_CHAT                   = 0x37F2,
    CMSG_CHAT_MESSAGE_OFFICER                         = 0x37D5,
    CMSG_CHAT_MESSAGE_PARTY                           = 0x37EE,
    CMSG_CHAT_MESSAGE_RAID                            = 0x37F0,
    CMSG_CHAT_MESSAGE_RAID_WARNING                    = 0x37F4,
    CMSG_CHAT_MESSAGE_SAY                             = 0x37EB,
    CMSG_CHAT_MESSAGE_WHISPER                         = 0x37D1,
    CMSG_CHAT_MESSAGE_YELL                            = 0x37ED,
    CMSG_CHAT_REGISTER_ADDON_PREFIXES                 = 0x37CD,
    CMSG_CHAT_REPORT_FILTERED                         = 0x37CC,
    CMSG_CHAT_REPORT_IGNORED                          = 0x37CB,
    CMSG_CHAT_UNREGISTER_ALL_ADDON_PREFIXES           = 0x37CE,
    CMSG_CHECK_RAF_EMAIL_ENABLED                      = 0x36CE,
    CMSG_CHECK_WOW_TOKEN_VETERAN_ELIGIBILITY          = 0x36EC,
    CMSG_CHOICE_RESPONSE                              = 0x3285,
    CMSG_CLEAR_RAID_MARKER                            = 0x31A1,
    CMSG_CLEAR_TRADE_ITEM                             = 0x315E,
    CMSG_CLIENT_PORT_GRAVEYARD                        = 0x351D,
    CMSG_CLOSE_INTERACTION                            = 0x3492,
    CMSG_COLLECTION_ITEM_SET_FAVORITE                 = 0x3635,
    CMSG_COMMENTATOR_ENABLE                           = 0x35F1,
    CMSG_COMMENTATOR_ENTER_INSTANCE                   = 0x35F5,
    CMSG_COMMENTATOR_EXIT_INSTANCE                    = 0x35F6,
    CMSG_COMMENTATOR_GET_MAP_INFO                     = 0x35F2,
    CMSG_COMMENTATOR_GET_PLAYER_COOLDOWNS             = 0x35F4,
    CMSG_COMMENTATOR_GET_PLAYER_INFO                  = 0x35F3,
    CMSG_COMMENTATOR_START_WARGAME                    = 0x35F0,
    CMSG_COMPLAINT                                    = 0x366F,
    CMSG_COMPLETE_CINEMATIC                           = 0x353B,
    CMSG_COMPLETE_MOVIE                               = 0x34D3,
    CMSG_CONFIRM_ARTIFACT_RESPEC                      = 0x31A6,
    CMSG_CONFIRM_RESPEC_WIPE                          = 0x31F8,
    CMSG_CONNECT_TO_FAILED                            = 0x35D4,
    CMSG_CONTRIBUTION_CONTRIBUTE                      = 0x354A,
    CMSG_CONTRIBUTION_GET_STATE                       = 0x354B,
    CMSG_CONVERT_CONSUMPTION_TIME                     = 0x36FC,
    CMSG_CONVERT_RAID                                 = 0x3651,
    CMSG_CREATE_CHARACTER                             = 0x3646,
    CMSG_CREATE_SHIPMENT                              = 0x32D4,
    CMSG_DB_QUERY_BULK                                = 0x35E4,
    CMSG_DECLINE_GUILD_INVITES                        = 0x3514,
    CMSG_DECLINE_PETITION                             = 0x352A,
    CMSG_DELETE_EQUIPMENT_SET                         = 0x3502,
    CMSG_DEL_FRIEND                                   = 0x36D3,
    CMSG_DEL_IGNORE                                   = 0x36D7,
    CMSG_DEPOSIT_REAGENT_BANK                         = 0x3311,
    CMSG_DESTROY_ITEM                                 = 0x3277,
    CMSG_DF_BOOT_PLAYER_VOTE                          = 0x3618,
    CMSG_DF_GET_JOIN_STATUS                           = 0x3616,
    CMSG_DF_GET_SYSTEM_INFO                           = 0x3615,
    CMSG_DF_JOIN                                      = 0x3609,
    CMSG_DF_LEAVE                                     = 0x3614,
    CMSG_DF_PROPOSAL_RESPONSE                         = 0x3608,
    CMSG_DF_READY_CHECK_RESPONSE                      = 0x361B,
    CMSG_DF_SET_ROLES                                 = 0x3617,
    CMSG_DF_TELEPORT                                  = 0x3619,
    CMSG_DISCARDED_TIME_SYNC_ACKS                     = 0x3A3C,
    CMSG_DISMISS_CRITTER                              = 0x34F1,
    CMSG_DO_MASTER_LOOT_ROLL                          = 0x31FD,
    CMSG_DO_READY_CHECK                               = 0x3636,
    CMSG_DUEL_RESPONSE                                = 0x34D8,
    CMSG_EJECT_PASSENGER                              = 0x3226,
    CMSG_EMOTE                                        = 0x3537,
    CMSG_ENABLE_ENCRYPTION_ACK                        = 0x3767,
    CMSG_ENABLE_NAGLE                                 = 0x376B,
    CMSG_ENABLE_TAXI_NODE                             = 0x34AA,
    CMSG_ENGINE_SURVEY                                = 0x36E6,
    CMSG_ENUM_CHARACTERS                              = 0x35E8,
    CMSG_ENUM_CHARACTERS_DELETED_BY_CLIENT            = 0x36E0,
    CMSG_FAR_SIGHT                                    = 0x34DE,
    CMSG_GAME_OBJ_REPORT_USE                          = 0x34E5,
    CMSG_GAME_OBJ_USE                                 = 0x34E4,
    CMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING         = 0x32BF,
    CMSG_GARRISON_CANCEL_CONSTRUCTION                 = 0x32B0,
    CMSG_GARRISON_CHECK_UPGRADEABLE                   = 0x3304,
    CMSG_GARRISON_COMPLETE_MISSION                    = 0x32F5,
    CMSG_GARRISON_GENERATE_RECRUITS                   = 0x32C2,
    CMSG_GARRISON_GET_BUILDING_LANDMARKS              = 0x32D0,
    CMSG_GARRISON_GET_MISSION_REWARD                  = 0x332B,
    CMSG_GARRISON_MISSION_BONUS_ROLL                  = 0x32F7,
    CMSG_GARRISON_PURCHASE_BUILDING                   = 0x32AC,
    CMSG_GARRISON_RECRUIT_FOLLOWER                    = 0x32C4,
    CMSG_GARRISON_REMOVE_FOLLOWER                     = 0x32EC,
    CMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING       = 0x32C0,
    CMSG_GARRISON_RENAME_FOLLOWER                     = 0x32C1,
    CMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA = 0x32AB,
    CMSG_GARRISON_REQUEST_CLASS_SPEC_CATEGORY_INFO    = 0x32C9,
    CMSG_GARRISON_REQUEST_LANDING_PAGE_SHIPMENT_INFO  = 0x32D3,
    CMSG_GARRISON_REQUEST_SHIPMENT_INFO               = 0x32D2,
    CMSG_GARRISON_RESEARCH_TALENT                     = 0x32C5,
    CMSG_GARRISON_SET_BUILDING_ACTIVE                 = 0x32AD,
    CMSG_GARRISON_SET_FOLLOWER_FAVORITE               = 0x32BD,
    CMSG_GARRISON_SET_FOLLOWER_INACTIVE               = 0x32B9,
    CMSG_GARRISON_SET_RECRUITMENT_PREFERENCES         = 0x32C3,
    CMSG_GARRISON_START_MISSION                       = 0x32F4,
    CMSG_GARRISON_SWAP_BUILDINGS                      = 0x32B1,
    CMSG_GENERATE_RANDOM_CHARACTER_NAME               = 0x35E7,
    CMSG_GET_CHALLENGE_MODE_REWARDS                   = 0x3686,
    CMSG_GET_GARRISON_INFO                            = 0x32A6,
    CMSG_GET_ITEM_PURCHASE_DATA                       = 0x3525,
    CMSG_GET_MIRROR_IMAGE_DATA                        = 0x327B,
    CMSG_GET_PVP_OPTIONS_ENABLED                      = 0x35EF,
    CMSG_GET_REMAINING_GAME_TIME                      = 0x36EF,
    CMSG_GET_TROPHY_LIST                              = 0x32E5,
    CMSG_GET_UNDELETE_CHARACTER_COOLDOWN_STATUS       = 0x36E2,
    CMSG_GM_TICKET_ACKNOWLEDGE_SURVEY                 = 0x3695,
    CMSG_GM_TICKET_GET_CASE_STATUS                    = 0x3694,
    CMSG_GM_TICKET_GET_SYSTEM_STATUS                  = 0x3693,
    CMSG_GOSSIP_SELECT_OPTION                         = 0x3493,
    CMSG_GRANT_LEVEL                                  = 0x34ED,
    CMSG_GUILD_ADD_BATTLENET_FRIEND                   = 0x308D,
    CMSG_GUILD_ADD_RANK                               = 0x3064,
    CMSG_GUILD_ASSIGN_MEMBER_RANK                     = 0x305F,
    CMSG_GUILD_AUTO_DECLINE_INVITATION                = 0x3061,
    CMSG_GUILD_BANK_ACTIVATE                          = 0x34B7,
    CMSG_GUILD_BANK_BUY_TAB                           = 0x34BA,
    CMSG_GUILD_BANK_DEPOSIT_MONEY                     = 0x34BC,
    CMSG_GUILD_BANK_LOG_QUERY                         = 0x3082,
    CMSG_GUILD_BANK_QUERY_TAB                         = 0x34B9,
    CMSG_GUILD_BANK_REMAINING_WITHDRAW_MONEY_QUERY    = 0x3083,
    CMSG_GUILD_BANK_SET_TAB_TEXT                      = 0x3086,
    CMSG_GUILD_BANK_SWAP_ITEMS                        = 0x34B8,
    CMSG_GUILD_BANK_TEXT_QUERY                        = 0x3087,
    CMSG_GUILD_BANK_UPDATE_TAB                        = 0x34BB,
    CMSG_GUILD_BANK_WITHDRAW_MONEY                    = 0x34BD,
    CMSG_GUILD_CHALLENGE_UPDATE_REQUEST               = 0x307B,
    CMSG_GUILD_CHANGE_NAME_REQUEST                    = 0x307E,
    CMSG_GUILD_DECLINE_INVITATION                     = 0x3060,
    CMSG_GUILD_DELETE                                 = 0x3068,
    CMSG_GUILD_DELETE_RANK                            = 0x3065,
    CMSG_GUILD_DEMOTE_MEMBER                          = 0x305E,
    CMSG_GUILD_EVENT_LOG_QUERY                        = 0x3085,
    CMSG_GUILD_GET_ACHIEVEMENT_MEMBERS                = 0x3071,
    CMSG_GUILD_GET_RANKS                              = 0x306D,
    CMSG_GUILD_GET_ROSTER                             = 0x3073,
    CMSG_GUILD_INVITE_BY_NAME                         = 0x3607,
    CMSG_GUILD_LEAVE                                  = 0x3062,
    CMSG_GUILD_MEMBER_SEND_SOR_REQUEST                = 0x308C,
    CMSG_GUILD_NEWS_UPDATE_STICKY                     = 0x306E,
    CMSG_GUILD_OFFICER_REMOVE_MEMBER                  = 0x3063,
    CMSG_GUILD_PERMISSIONS_QUERY                      = 0x3084,
    CMSG_GUILD_PROMOTE_MEMBER                         = 0x305D,
    CMSG_GUILD_QUERY_MEMBERS_FOR_RECIPE               = 0x306B,
    CMSG_GUILD_QUERY_MEMBER_RECIPES                   = 0x3069,
    CMSG_GUILD_QUERY_NEWS                             = 0x306C,
    CMSG_GUILD_QUERY_RECIPES                          = 0x306A,
    CMSG_GUILD_REPLACE_GUILD_MASTER                   = 0x3088,
    CMSG_GUILD_SET_ACHIEVEMENT_TRACKING               = 0x306F,
    CMSG_GUILD_SET_FOCUSED_ACHIEVEMENT                = 0x3070,
    CMSG_GUILD_SET_GUILD_MASTER                       = 0x36C8,
    CMSG_GUILD_SET_MEMBER_NOTE                        = 0x3072,
    CMSG_GUILD_SET_RANK_PERMISSIONS                   = 0x3067,
    CMSG_GUILD_SHIFT_RANK                             = 0x3066,
    CMSG_GUILD_UPDATE_INFO_TEXT                       = 0x3075,
    CMSG_GUILD_UPDATE_MOTD_TEXT                       = 0x3074,
    CMSG_HEARTH_AND_RESURRECT                         = 0x34FE,
    CMSG_HOTFIX_QUERY                                 = 0x35E5,
    CMSG_IGNORE_TRADE                                 = 0x3159,
    CMSG_INITIATE_ROLE_POLL                           = 0x35DA,
    CMSG_INITIATE_TRADE                               = 0x3156,
    CMSG_INSPECT                                      = 0x351F,
    CMSG_INSPECT_PVP                                  = 0x36A4,
    CMSG_INSTANCE_LOCK_RESPONSE                       = 0x3503,
    CMSG_ITEM_PURCHASE_REFUND                         = 0x3526,
    CMSG_ITEM_TEXT_QUERY                              = 0x3305,
    CMSG_JOIN_PET_BATTLE_QUEUE                        = 0x31CC,
    CMSG_JOIN_RATED_BATTLEGROUND                      = 0x3176,
    CMSG_KEEP_ALIVE                                   = 0x3682,
    CMSG_KEYBOUND_OVERRIDE                            = 0x320F,
    CMSG_LEARN_PVP_TALENTS                            = 0x3549,
    CMSG_LEARN_TALENTS                                = 0x3548,
    CMSG_LEAVE_GROUP                                  = 0x364C,
    CMSG_LEAVE_PET_BATTLE_QUEUE                       = 0x31CD,
    CMSG_LFG_LIST_APPLY_TO_GROUP                      = 0x360F,
    CMSG_LFG_LIST_CANCEL_APPLICATION                  = 0x3610,
    CMSG_LFG_LIST_DECLINE_APPLICANT                   = 0x3611,
    CMSG_LFG_LIST_GET_STATUS                          = 0x360D,
    CMSG_LFG_LIST_INVITE_APPLICANT                    = 0x3612,
    CMSG_LFG_LIST_INVITE_RESPONSE                     = 0x3613,
    CMSG_LFG_LIST_JOIN                                = 0x360A,
    CMSG_LFG_LIST_LEAVE                               = 0x360C,
    CMSG_LFG_LIST_SEARCH                              = 0x360E,
    CMSG_LFG_LIST_UPDATE_REQUEST                      = 0x360B,
    CMSG_LF_GUILD_ADD_RECRUIT                         = 0x361E,
    CMSG_LF_GUILD_BROWSE                              = 0x3620,
    CMSG_LF_GUILD_DECLINE_RECRUIT                     = 0x3078,
    CMSG_LF_GUILD_GET_APPLICATIONS                    = 0x3079,
    CMSG_LF_GUILD_GET_GUILD_POST                      = 0x3076,
    CMSG_LF_GUILD_GET_RECRUITS                        = 0x3077,
    CMSG_LF_GUILD_REMOVE_RECRUIT                      = 0x307A,
    CMSG_LF_GUILD_SET_GUILD_POST                      = 0x361F,
    CMSG_LIST_INVENTORY                               = 0x34A2,
    CMSG_LIVE_REGION_ACCOUNT_RESTORE                  = 0x36BD,
    CMSG_LIVE_REGION_CHARACTER_COPY                   = 0x36BC,
    CMSG_LIVE_REGION_GET_ACCOUNT_CHARACTER_LIST       = 0x36BB,
    CMSG_LOADING_SCREEN_NOTIFY                        = 0x35F9,
    CMSG_LOAD_SELECTED_TROPHY                         = 0x32E6,
    CMSG_LOGOUT_CANCEL                                = 0x34CE,
    CMSG_LOGOUT_INSTANT                               = 0x34CF,
    CMSG_LOGOUT_REQUEST                               = 0x34CD,
    CMSG_LOG_DISCONNECT                               = 0x3769,
    CMSG_LOG_STREAMING_ERROR                          = 0x376D,
    CMSG_LOOT_ITEM                                    = 0x31FB,
    CMSG_LOOT_MONEY                                   = 0x31FA,
    CMSG_LOOT_RELEASE                                 = 0x31FF,
    CMSG_LOOT_ROLL                                    = 0x3200,
    CMSG_LOOT_UNIT                                    = 0x31F9,
    CMSG_LOW_LEVEL_RAID1                              = 0x36A2,
    CMSG_LOW_LEVEL_RAID2                              = 0x350A,
    CMSG_MAIL_CREATE_TEXT_ITEM                        = 0x3531,
    CMSG_MAIL_DELETE                                  = 0x3211,
    CMSG_MAIL_GET_LIST                                = 0x352C,
    CMSG_MAIL_MARK_AS_READ                            = 0x3530,
    CMSG_MAIL_RETURN_TO_SENDER                        = 0x3658,
    CMSG_MAIL_TAKE_ITEM                               = 0x352E,
    CMSG_MAIL_TAKE_MONEY                              = 0x352D,
    CMSG_MASTER_LOOT_ITEM                             = 0x31FC,
    CMSG_MINIMAP_PING                                 = 0x364E,
    CMSG_MISSILE_TRAJECTORY_COLLISION                 = 0x3189,
    CMSG_MOUNT_CLEAR_FANFARE                          = 0x312D,
    CMSG_MOUNT_SET_FAVORITE                           = 0x3634,
    CMSG_MOUNT_SPECIAL_ANIM                           = 0x3266,
    CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK                = 0x3A12,
    CMSG_MOVE_CHANGE_TRANSPORT                        = 0x3A2C,
    CMSG_MOVE_CHANGE_VEHICLE_SEATS                    = 0x3A31,
    CMSG_MOVE_DISMISS_VEHICLE                         = 0x3A30,
    CMSG_MOVE_DOUBLE_JUMP                             = 0x39EB,
    CMSG_MOVE_ENABLE_DOUBLE_JUMP_ACK                  = 0x3A1B,
    CMSG_MOVE_ENABLE_SWIM_TO_FLY_TRANS_ACK            = 0x3A21,
    CMSG_MOVE_FALL_LAND                               = 0x39F9,
    CMSG_MOVE_FALL_RESET                              = 0x3A16,
    CMSG_MOVE_FEATHER_FALL_ACK                        = 0x3A19,
    CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK      = 0x3A2B,
    CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK           = 0x3A2A,
    CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK             = 0x3A2F,
    CMSG_MOVE_FORCE_ROOT_ACK                          = 0x3A0B,
    CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK         = 0x3A09,
    CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK              = 0x3A08,
    CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK        = 0x3A1F,
    CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK             = 0x3A0A,
    CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK              = 0x3A20,
    CMSG_MOVE_FORCE_UNROOT_ACK                        = 0x3A0C,
    CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK             = 0x3A1E,
    CMSG_MOVE_GRAVITY_DISABLE_ACK                     = 0x3A32,
    CMSG_MOVE_GRAVITY_ENABLE_ACK                      = 0x3A33,
    CMSG_MOVE_HEARTBEAT                               = 0x3A0D,
    CMSG_MOVE_HOVER_ACK                               = 0x3A10,
    CMSG_MOVE_JUMP                                    = 0x39EA,
    CMSG_MOVE_KNOCK_BACK_ACK                          = 0x3A0F,
    CMSG_MOVE_REMOVE_MOVEMENT_FORCES                  = 0x3A14,
    CMSG_MOVE_REMOVE_MOVEMENT_FORCE_ACK               = 0x3A13,
    CMSG_MOVE_SET_CAN_FLY_ACK                         = 0x3A24,
    CMSG_MOVE_SET_CAN_TURN_WHILE_FALLING_ACK          = 0x3A22,
    CMSG_MOVE_SET_COLLISION_HEIGHT_ACK                = 0x3A36,
    CMSG_MOVE_SET_FACING                              = 0x3A06,
    CMSG_MOVE_SET_FLY                                 = 0x3A25,
    CMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES_ACK          = 0x3A23,
    CMSG_MOVE_SET_PITCH                               = 0x3A07,
    CMSG_MOVE_SET_RUN_MODE                            = 0x39F2,
    CMSG_MOVE_SET_VEHICLE_REC_ID_ACK                  = 0x3A11,
    CMSG_MOVE_SET_WALK_MODE                           = 0x39F3,
    CMSG_MOVE_SPLINE_DONE                             = 0x3A15,
    CMSG_MOVE_START_ASCEND                            = 0x3A26,
    CMSG_MOVE_START_BACKWARD                          = 0x39E5,
    CMSG_MOVE_START_DESCEND                           = 0x3A2D,
    CMSG_MOVE_START_FORWARD                           = 0x39E4,
    CMSG_MOVE_START_PITCH_DOWN                        = 0x39F0,
    CMSG_MOVE_START_PITCH_UP                          = 0x39EF,
    CMSG_MOVE_START_STRAFE_LEFT                       = 0x39E7,
    CMSG_MOVE_START_STRAFE_RIGHT                      = 0x39E8,
    CMSG_MOVE_START_SWIM                              = 0x39FA,
    CMSG_MOVE_START_TURN_LEFT                         = 0x39EC,
    CMSG_MOVE_START_TURN_RIGHT                        = 0x39ED,
    CMSG_MOVE_STOP                                    = 0x39E6,
    CMSG_MOVE_STOP_ASCEND                             = 0x3A27,
    CMSG_MOVE_STOP_PITCH                              = 0x39F1,
    CMSG_MOVE_STOP_STRAFE                             = 0x39E9,
    CMSG_MOVE_STOP_SWIM                               = 0x39FB,
    CMSG_MOVE_STOP_TURN                               = 0x39EE,
    CMSG_MOVE_TELEPORT_ACK                            = 0x39F8,
    CMSG_MOVE_TIME_SKIPPED                            = 0x3A18,
    CMSG_MOVE_TOGGLE_COLLISION_CHEAT                  = 0x3A05,
    CMSG_MOVE_WATER_WALK_ACK                          = 0x3A1A,
    CMSG_NEUTRAL_PLAYER_SELECT_FACTION                = 0x31C2,
    CMSG_NEXT_CINEMATIC_CAMERA                        = 0x353A,
    CMSG_OBJECT_UPDATE_FAILED                         = 0x317F,
    CMSG_OBJECT_UPDATE_RESCUED                        = 0x3180,
    CMSG_OFFER_PETITION                               = 0x36B2,
    CMSG_OPENING_CINEMATIC                            = 0x3539,
    CMSG_OPEN_ITEM                                    = 0x3306,
    CMSG_OPEN_MISSION_NPC                             = 0x32CB,
    CMSG_OPEN_SHIPMENT_NPC                            = 0x32D1,
    CMSG_OPEN_TRADESKILL_NPC                          = 0x32DC,
    CMSG_OPT_OUT_OF_LOOT                              = 0x34EC,
    CMSG_PARTY_INVITE                                 = 0x3603,
    CMSG_PARTY_INVITE_RESPONSE                        = 0x3604,
    CMSG_PARTY_UNINVITE                               = 0x364A,
    CMSG_PETITION_BUY                                 = 0x34BF,
    CMSG_PETITION_RENAME_GUILD                        = 0x36C9,
    CMSG_PETITION_SHOW_LIST                           = 0x34BE,
    CMSG_PETITION_SHOW_SIGNATURES                     = 0x34C0,
    CMSG_PET_ABANDON                                  = 0x348C,
    CMSG_PET_ACTION                                   = 0x348A,
    CMSG_PET_BATTLE_FINAL_NOTIFY                      = 0x31D0,
    CMSG_PET_BATTLE_INPUT                             = 0x3643,
    CMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH_RESULT        = 0x3210,
    CMSG_PET_BATTLE_QUIT_NOTIFY                       = 0x31CF,
    CMSG_PET_BATTLE_REPLACE_FRONT_PET                 = 0x3644,
    CMSG_PET_BATTLE_REQUEST_PVP                       = 0x31CA,
    CMSG_PET_BATTLE_REQUEST_UPDATE                    = 0x31CB,
    CMSG_PET_BATTLE_REQUEST_WILD                      = 0x31C8,
    CMSG_PET_BATTLE_SCRIPT_ERROR_NOTIFY               = 0x31D1,
    CMSG_PET_BATTLE_WILD_LOCATION_FAIL                = 0x31C9,
    CMSG_PET_CANCEL_AURA                              = 0x348D,
    CMSG_PET_CAST_SPELL                               = 0x327F,
    CMSG_PET_RENAME                                   = 0x3688,
    CMSG_PET_SET_ACTION                               = 0x3489,
    CMSG_PET_SPELL_AUTOCAST                           = 0x348E,
    CMSG_PET_STOP_ATTACK                              = 0x348B,
    CMSG_PING                                         = 0x3768,
    CMSG_PLAYER_LOGIN                                 = 0x35EA,
    CMSG_PROTOCOL_MISMATCH                            = 0x376E,
    CMSG_PUSH_QUEST_TO_PARTY                          = 0x34A0,
    CMSG_PVP_LOG_DATA                                 = 0x317A,
    CMSG_PVP_PRESTIGE_RANK_UP                         = 0x3329,
    CMSG_QUERY_BATTLE_PET_NAME                        = 0x325B,
    CMSG_QUERY_CORPSE_LOCATION_FROM_CLIENT            = 0x3663,
    CMSG_QUERY_CORPSE_TRANSPORT                       = 0x3664,
    CMSG_QUERY_COUNTDOWN_TIMER                        = 0x31A4,
    CMSG_QUERY_CREATURE                               = 0x3255,
    CMSG_QUERY_GAME_OBJECT                            = 0x3256,
    CMSG_QUERY_GARRISON_CREATURE_NAME                 = 0x325C,
    CMSG_QUERY_GUILD_INFO                             = 0x3690,
    CMSG_QUERY_INSPECT_ACHIEVEMENTS                   = 0x34F8,
    CMSG_QUERY_NEXT_MAIL_TIME                         = 0x352F,
    CMSG_QUERY_NPC_TEXT                               = 0x3257,
    CMSG_QUERY_PAGE_TEXT                              = 0x3259,
    CMSG_QUERY_PETITION                               = 0x325D,
    CMSG_QUERY_PET_NAME                               = 0x325A,
    CMSG_QUERY_PLAYER_NAME                            = 0x368E,
    CMSG_QUERY_QUEST_COMPLETION_NPCS                  = 0x3173,
    CMSG_QUERY_QUEST_INFO                             = 0x3258,
    CMSG_QUERY_QUEST_REWARDS                          = 0x332D,
    CMSG_QUERY_REALM_NAME                             = 0x368F,
    CMSG_QUERY_SCENARIO_POI                           = 0x3659,
    CMSG_QUERY_TIME                                   = 0x34CC,
    CMSG_QUERY_VOID_STORAGE                           = 0x319D,
    CMSG_QUEST_CONFIRM_ACCEPT                         = 0x349F,
    CMSG_QUEST_GIVER_ACCEPT_QUEST                     = 0x3498,
    CMSG_QUEST_GIVER_CHOOSE_REWARD                    = 0x349B,
    CMSG_QUEST_GIVER_COMPLETE_QUEST                   = 0x3499,
    CMSG_QUEST_GIVER_HELLO                            = 0x3495,
    CMSG_QUEST_GIVER_QUERY_QUEST                      = 0x3496,
    CMSG_QUEST_GIVER_REQUEST_REWARD                   = 0x349C,
    CMSG_QUEST_GIVER_STATUS_MULTIPLE_QUERY            = 0x349E,
    CMSG_QUEST_GIVER_STATUS_QUERY                     = 0x349D,
    CMSG_QUEST_LOG_REMOVE_QUEST                       = 0x3524,
    CMSG_QUEST_POI_QUERY                              = 0x36B3,
    CMSG_QUEST_PUSH_RESULT                            = 0x34A1,
    CMSG_QUEUED_MESSAGES_END                          = 0x376C,
    CMSG_QUICK_JOIN_AUTO_ACCEPT_REQUESTS              = 0x3707,
    CMSG_QUICK_JOIN_REQUEST_INVITE                    = 0x3706,
    CMSG_QUICK_JOIN_RESPOND_TO_INVITE                 = 0x3705,
    CMSG_QUICK_JOIN_SIGNAL_TOAST_DISPLAYED            = 0x3704,
    CMSG_RAID_OR_BATTLEGROUND_ENGINE_SURVEY           = 0x36E7,
    CMSG_RANDOM_ROLL                                  = 0x3657,
    CMSG_READY_CHECK_RESPONSE                         = 0x3637,
    CMSG_READ_ITEM                                    = 0x3307,
    CMSG_RECLAIM_CORPSE                               = 0x34D1,
    CMSG_RECRUIT_A_FRIEND                             = 0x36CF,
    CMSG_REDEEM_WOW_TOKEN_CONFIRM                     = 0x36F1,
    CMSG_REDEEM_WOW_TOKEN_START                       = 0x36F0,
    CMSG_REMOVE_NEW_ITEM                              = 0x3330,
    CMSG_REORDER_CHARACTERS                           = 0x35E9,
    CMSG_REPAIR_ITEM                                  = 0x34E2,
    CMSG_REPLACE_TROPHY                               = 0x32E7,
    CMSG_REPOP_REQUEST                                = 0x351C,
    CMSG_REPORT_PVP_PLAYER_AFK                        = 0x34EA,
    CMSG_REQUEST_ACCOUNT_DATA                         = 0x3698,
    CMSG_REQUEST_AREA_POI_UPDATE                      = 0x332F,
    CMSG_REQUEST_BATTLEFIELD_STATUS                   = 0x35DC,
    CMSG_REQUEST_CATEGORY_COOLDOWNS                   = 0x317C,
    CMSG_REQUEST_CEMETERY_LIST                        = 0x3174,
    CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS           = 0x3296,
    CMSG_REQUEST_CONSUMPTION_CONVERSION_INFO          = 0x36FB,
    CMSG_REQUEST_CROWD_CONTROL_SPELL                  = 0x3520,
    CMSG_REQUEST_FORCED_REACTIONS                     = 0x31F4,
    CMSG_REQUEST_GUILD_PARTY_STATE                    = 0x31A3,
    CMSG_REQUEST_GUILD_REWARDS_LIST                   = 0x31A2,
    CMSG_REQUEST_HONOR_STATS                          = 0x3179,
    CMSG_REQUEST_LFG_LIST_BLACKLIST                   = 0x3287,
    CMSG_REQUEST_PARTY_JOIN_UPDATES                   = 0x35F8,
    CMSG_REQUEST_PARTY_MEMBER_STATS                   = 0x3656,
    CMSG_REQUEST_PET_INFO                             = 0x348F,
    CMSG_REQUEST_PLAYED_TIME                          = 0x3260,
    CMSG_REQUEST_PVP_BRAWL_INFO                       = 0x3191,
    CMSG_REQUEST_PVP_REWARDS                          = 0x3190,
    CMSG_REQUEST_RAID_INFO                            = 0x36CA,
    CMSG_REQUEST_RATED_BATTLEFIELD_INFO               = 0x35E3,
    CMSG_REQUEST_RESEARCH_HISTORY                     = 0x3167,
    CMSG_REQUEST_STABLED_PETS                         = 0x3490,
    CMSG_REQUEST_VEHICLE_EXIT                         = 0x3221,
    CMSG_REQUEST_VEHICLE_NEXT_SEAT                    = 0x3223,
    CMSG_REQUEST_VEHICLE_PREV_SEAT                    = 0x3222,
    CMSG_REQUEST_VEHICLE_SWITCH_SEAT                  = 0x3224,
    CMSG_REQUEST_WORLD_QUEST_UPDATE                   = 0x332E,
    CMSG_REQUEST_WOW_TOKEN_MARKET_PRICE               = 0x36E9,
    CMSG_RESET_CHALLENGE_MODE                         = 0x31F1,
    CMSG_RESET_CHALLENGE_MODE_CHEAT                   = 0x31F2,
    CMSG_RESET_INSTANCES                              = 0x366B,
    CMSG_RESURRECT_RESPONSE                           = 0x3687,
    CMSG_REVERT_MONUMENT_APPEARANCE                   = 0x32E9,
    CMSG_RIDE_VEHICLE_INTERACT                        = 0x3225,
    CMSG_SAVE_CLIENT_VARIABLES                        = 0x3702,
    CMSG_SAVE_CUF_PROFILES                            = 0x318A,
    CMSG_SAVE_ENABLED_ADDONS                          = 0x3701,
    CMSG_SAVE_EQUIPMENT_SET                           = 0x3501,
    CMSG_SAVE_GUILD_EMBLEM                            = 0x328B,
    CMSG_SCENE_PLAYBACK_CANCELED                      = 0x320C,
    CMSG_SCENE_PLAYBACK_COMPLETE                      = 0x320B,
    CMSG_SCENE_TRIGGER_EVENT                          = 0x320D,
    CMSG_SELF_RES                                     = 0x3527,
    CMSG_SELL_ITEM                                    = 0x34A3,
    CMSG_SELL_WOW_TOKEN_CONFIRM                       = 0x36EB,
    CMSG_SELL_WOW_TOKEN_START                         = 0x36EA,
    CMSG_SEND_CONTACT_LIST                            = 0x36D1,
    CMSG_SEND_MAIL                                    = 0x35FB,
    CMSG_SEND_SOR_REQUEST_VIA_ADDRESS                 = 0x3623,
    CMSG_SEND_TEXT_EMOTE                              = 0x3486,
    CMSG_SET_ACHIEVEMENTS_HIDDEN                      = 0x3212,
    CMSG_SET_ACTION_BAR_TOGGLES                       = 0x3528,
    CMSG_SET_ACTION_BUTTON                            = 0x3638,
    CMSG_SET_ACTIVE_MOVER                             = 0x3A37,
    CMSG_SET_ADVANCED_COMBAT_LOGGING                  = 0x3297,
    CMSG_SET_ASSISTANT_LEADER                         = 0x3652,
    CMSG_SET_BACKPACK_AUTOSORT_DISABLED               = 0x330A,
    CMSG_SET_BANK_AUTOSORT_DISABLED                   = 0x330B,
    CMSG_SET_BANK_BAG_SLOT_FLAG                       = 0x3309,
    CMSG_SET_CONTACT_NOTES                            = 0x36D4,
    CMSG_SET_CURRENCY_FLAGS                           = 0x3169,
    CMSG_SET_DIFFICULTY_ID                            = 0x320E,
    CMSG_SET_DUNGEON_DIFFICULTY                       = 0x3685,
    CMSG_SET_EVERYONE_IS_ASSISTANT                    = 0x361A,
    CMSG_SET_FACTION_AT_WAR                           = 0x34D4,
    CMSG_SET_FACTION_INACTIVE                         = 0x34D6,
    CMSG_SET_FACTION_NOT_AT_WAR                       = 0x34D5,
    CMSG_SET_INSERT_ITEMS_LEFT_TO_RIGHT               = 0x330D,
    CMSG_SET_LFG_BONUS_FACTION_ID                     = 0x3286,
    CMSG_SET_LOOT_METHOD                              = 0x364B,
    CMSG_SET_LOOT_SPECIALIZATION                      = 0x3535,
    CMSG_SET_PARTY_ASSIGNMENT                         = 0x3654,
    CMSG_SET_PARTY_LEADER                             = 0x364D,
    CMSG_SET_PET_SLOT                                 = 0x3168,
    CMSG_SET_PLAYER_DECLINED_NAMES                    = 0x368D,
    CMSG_SET_PREFERRED_CEMETERY                       = 0x3175,
    CMSG_SET_PVP                                      = 0x328F,
    CMSG_SET_RAID_DIFFICULTY                          = 0x36DE,
    CMSG_SET_ROLE                                     = 0x35D9,
    CMSG_SET_SAVED_INSTANCE_EXTEND                    = 0x368B,
    CMSG_SET_SELECTION                                = 0x351E,
    CMSG_SET_SHEATHED                                 = 0x3487,
    CMSG_SET_SORT_BAGS_RIGHT_TO_LEFT                  = 0x330C,
    CMSG_SET_TAXI_BENCHMARK_MODE                      = 0x34E9,
    CMSG_SET_TITLE                                    = 0x3264,
    CMSG_SET_TRADE_CURRENCY                           = 0x3160,
    CMSG_SET_TRADE_GOLD                               = 0x315F,
    CMSG_SET_TRADE_ITEM                               = 0x315D,
    CMSG_SET_USING_PARTY_GARRISON                     = 0x32CD,
    CMSG_SET_WATCHED_FACTION                          = 0x34D7,
    CMSG_SHOW_TRADE_SKILL                             = 0x36C2,
    CMSG_SIGN_PETITION                                = 0x3529,
    CMSG_SILENCE_PARTY_TALKER                         = 0x3655,
    CMSG_SOCKET_GEMS                                  = 0x34E1,
    CMSG_SORT_BAGS                                    = 0x330E,
    CMSG_SORT_BANK_BAGS                               = 0x330F,
    CMSG_SORT_REAGENT_BANK_BAGS                       = 0x3310,
    CMSG_SPELL_CLICK                                  = 0x3494,
    CMSG_SPIRIT_HEALER_ACTIVATE                       = 0x34B0,
    CMSG_SPLIT_ITEM                                   = 0x399E,
    CMSG_STAND_STATE_CHANGE                           = 0x3188,
    CMSG_START_CHALLENGE_MODE                         = 0x3540,
    CMSG_START_SPECTATOR_WAR_GAME                     = 0x35DF,
    CMSG_START_WAR_GAME                               = 0x35DE,
    CMSG_SUMMON_RESPONSE                              = 0x366D,
    CMSG_SUPPORT_TICKET_SUBMIT_BUG                    = 0x3648,
    CMSG_SUPPORT_TICKET_SUBMIT_COMPLAINT              = 0x3647,
    CMSG_SUPPORT_TICKET_SUBMIT_SUGGESTION             = 0x3649,
    CMSG_SURRENDER_ARENA                              = 0x3172,
    CMSG_SUSPEND_COMMS_ACK                            = 0x3764,
    CMSG_SUSPEND_TOKEN_RESPONSE                       = 0x376A,
    CMSG_SWAP_INV_ITEM                                = 0x399D,
    CMSG_SWAP_ITEM                                    = 0x399C,
    CMSG_SWAP_SUB_GROUPS                              = 0x3650,
    CMSG_SWAP_VOID_ITEM                               = 0x319F,
    CMSG_TABARD_VENDOR_ACTIVATE                       = 0x328C,
    CMSG_TALK_TO_GOSSIP                               = 0x3491,
    CMSG_TAXI_NODE_STATUS_QUERY                       = 0x34A9,
    CMSG_TAXI_QUERY_AVAILABLE_NODES                   = 0x34AB,
    CMSG_TAXI_REQUEST_EARLY_LANDING                   = 0x34AD,
    CMSG_TIME_ADJUSTMENT_RESPONSE                     = 0x3A3B,
    CMSG_TIME_SYNC_RESPONSE                           = 0x3A38,
    CMSG_TIME_SYNC_RESPONSE_DROPPED                   = 0x3A3A,
    CMSG_TIME_SYNC_RESPONSE_FAILED                    = 0x3A39,
    CMSG_TOGGLE_DIFFICULTY                            = 0x365A,
    CMSG_TOGGLE_PVP                                   = 0x328E,
    CMSG_TOTEM_DESTROYED                              = 0x34F0,
    CMSG_TRADE_SKILL_SET_FAVORITE                     = 0x332C,
    CMSG_TRAINER_BUY_SPELL                            = 0x34AF,
    CMSG_TRAINER_LIST                                 = 0x34AE,
    CMSG_TRANSMOGRIFY_ITEMS                           = 0x3192,
    CMSG_TURN_IN_PETITION                             = 0x352B,
    CMSG_TUTORIAL                                     = 0x36DF,
    CMSG_TWITTER_CHECK_STATUS                         = 0x312A,
    CMSG_TWITTER_CONNECT                              = 0x3127,
    CMSG_TWITTER_DISCONNECT                           = 0x312B,
    CMSG_TWITTER_POST                                 = 0x3312,
    CMSG_UI_TIME_REQUEST                              = 0x369D,
    CMSG_UNACCEPT_TRADE                               = 0x315B,
    CMSG_UNDELETE_CHARACTER                           = 0x36E1,
    CMSG_UNLEARN_SKILL                                = 0x34DB,
    CMSG_UNLEARN_SPECIALIZATION                       = 0x31A0,
    CMSG_UNLOCK_VOID_STORAGE                          = 0x319C,
    CMSG_UPDATE_ACCOUNT_DATA                          = 0x3699,
    CMSG_UPDATE_AREA_TRIGGER_VISUAL                   = 0x3282,
    CMSG_UPDATE_CLIENT_SETTINGS                       = 0x3667,
    CMSG_UPDATE_MISSILE_TRAJECTORY                    = 0x3A3E,
    CMSG_UPDATE_RAID_TARGET                           = 0x3653,
    CMSG_UPDATE_SPELL_VISUAL                          = 0x3281,
    CMSG_UPDATE_VAS_PURCHASE_STATES                   = 0x36F7,
    CMSG_UPDATE_WOW_TOKEN_AUCTIONABLE_LIST            = 0x36F2,
    CMSG_UPDATE_WOW_TOKEN_COUNT                       = 0x36E8,
    CMSG_UPGRADE_GARRISON                             = 0x329F,
    CMSG_UPGRADE_ITEM                                 = 0x3213,
    CMSG_USED_FOLLOW                                  = 0x3185,
    CMSG_USE_CRITTER_ITEM                             = 0x322C,
    CMSG_USE_EQUIPMENT_SET                            = 0x3995,
    CMSG_USE_ITEM                                     = 0x327C,
    CMSG_USE_TOY                                      = 0x327E,
    CMSG_VIOLENCE_LEVEL                               = 0x3183,
    CMSG_VOID_STORAGE_TRANSFER                        = 0x319E,
    CMSG_WARDEN_DATA                                  = 0x35EC,
    CMSG_WHO                                          = 0x3684,
    CMSG_WHO_IS                                       = 0x3683,
    CMSG_WORLD_PORT_RESPONSE                          = 0x35FA,
    CMSG_WRAP_ITEM                                    = 0x3994,

    CMSG_BF_MGR_ENTRY_INVITE_RESPONSE                 = 0xBADD,
    CMSG_BF_MGR_QUEUE_INVITE_RESPONSE                 = 0xBADD,
    CMSG_BF_MGR_QUEUE_EXIT_REQUEST                    = 0xBADD,
};

enum OpcodeServer : uint16
{
    SMSG_ABORT_NEW_WORLD                              = 0x25AE,
    SMSG_ACCOUNT_CRITERIA_UPDATE                      = 0x2654,
    SMSG_ACCOUNT_DATA_TIMES                           = 0x274B,
    SMSG_ACCOUNT_MOUNT_UPDATE                         = 0x25C4,
    SMSG_ACCOUNT_TOYS_UPDATE                          = 0x25C5,
    SMSG_ACHIEVEMENT_DELETED                          = 0x2720,
    SMSG_ACHIEVEMENT_EARNED                           = 0x2662,
    SMSG_ACTIVATE_TAXI_REPLY                          = 0x26A8,
    SMSG_ACTIVE_GLYPHS                                = 0x2C52,
    SMSG_ADD_BATTLENET_FRIEND_RESPONSE                = 0x265C,
    SMSG_ADD_ITEM_PASSIVE                             = 0x25C0,
    SMSG_ADD_LOSS_OF_CONTROL                          = 0x2698,
    SMSG_ADD_RUNE_POWER                               = 0x26E4,
    SMSG_ADJUST_SPLINE_DURATION                       = 0x25E9,
    SMSG_AE_LOOT_TARGETS                              = 0x262D,
    SMSG_AE_LOOT_TARGET_ACK                           = 0x262E,
    SMSG_AI_REACTION                                  = 0x26E1,
    SMSG_ALL_ACCOUNT_CRITERIA                         = 0x2570,
    SMSG_ALL_ACHIEVEMENT_DATA                         = 0x256F,
    SMSG_ALL_GUILD_ACHIEVEMENTS                       = 0x29B8,
    SMSG_ARCHAEOLOGY_SURVERY_CAST                     = 0x2587,
    SMSG_AREA_POI_UPDATE                              = 0x2844,
    SMSG_AREA_SPIRIT_HEALER_TIME                      = 0x2784,
    SMSG_AREA_TRIGGER_DENIED                          = 0x269F,
    SMSG_AREA_TRIGGER_NO_CORPSE                       = 0x2757,
    SMSG_AREA_TRIGGER_RE_PATH                         = 0x2641,
    SMSG_AREA_TRIGGER_RE_SHAPE                        = 0x263E,
    SMSG_ARENA_CROWD_CONTROL_SPELLS                   = 0x2650,
    SMSG_ARENA_ERROR                                  = 0x2713,
    SMSG_ARENA_PREP_OPPONENT_SPECIALIZATIONS          = 0x2667,
    SMSG_ARTIFACT_FORGE_OPENED                        = 0x27E5,
    SMSG_ARTIFACT_RESPEC_CONFIRM                      = 0x27E8,
    SMSG_ARTIFACT_TRAITS_REFUNDED                     = 0x27E9,
    SMSG_ARTIFACT_XP_GAIN                             = 0x282A,
    SMSG_ATTACKER_STATE_UPDATE                        = 0x27D2,
    SMSG_ATTACK_START                                 = 0x266F,
    SMSG_ATTACK_STOP                                  = 0x2670,
    SMSG_ATTACK_SWING_ERROR                           = 0x2735,
    SMSG_ATTACK_SWING_LANDED_LOG                      = 0x2736,
    SMSG_AUCTION_CLOSED_NOTIFICATION                  = 0x272A,
    SMSG_AUCTION_COMMAND_RESULT                       = 0x2727,
    SMSG_AUCTION_HELLO_RESPONSE                       = 0x2725,
    SMSG_AUCTION_LIST_BIDDER_ITEMS_RESULT             = 0x272E,
    SMSG_AUCTION_LIST_ITEMS_RESULT                    = 0x272C,
    SMSG_AUCTION_LIST_OWNER_ITEMS_RESULT              = 0x272D,
    SMSG_AUCTION_LIST_PENDING_SALES_RESULT            = 0x272F,
    SMSG_AUCTION_OUTBID_NOTIFICATION                  = 0x2729,
    SMSG_AUCTION_OWNER_BID_NOTIFICATION               = 0x272B,
    SMSG_AUCTION_REPLICATE_RESPONSE                   = 0x2726,
    SMSG_AUCTION_WON_NOTIFICATION                     = 0x2728,
    SMSG_AURA_POINTS_DEPLETED                         = 0x2C23,
    SMSG_AURA_UPDATE                                  = 0x2C22,
    SMSG_AUTH_CHALLENGE                               = 0x3048,
    SMSG_AUTH_RESPONSE                                = 0x256C,
    SMSG_BAN_REASON                                   = 0x26B4,
    SMSG_BARBER_SHOP_RESULT                           = 0x26EA,
    SMSG_BATTLEFIELD_LIST                             = 0x2595,
    SMSG_BATTLEFIELD_PORT_DENIED                      = 0x259B,
    SMSG_BATTLEFIELD_STATUS_ACTIVE                    = 0x2591,
    SMSG_BATTLEFIELD_STATUS_FAILED                    = 0x2594,
    SMSG_BATTLEFIELD_STATUS_NEED_CONFIRMATION         = 0x2590,
    SMSG_BATTLEFIELD_STATUS_NONE                      = 0x2593,
    SMSG_BATTLEFIELD_STATUS_QUEUED                    = 0x2592,
    SMSG_BATTLEFIELD_STATUS_WAIT_FOR_GROUPS           = 0x25A6,
    SMSG_BATTLEGROUND_INFO_THROTTLED                  = 0x259C,
    SMSG_BATTLEGROUND_INIT                            = 0x27A2,
    SMSG_BATTLEGROUND_PLAYER_JOINED                   = 0x2599,
    SMSG_BATTLEGROUND_PLAYER_LEFT                     = 0x259A,
    SMSG_BATTLEGROUND_PLAYER_POSITIONS                = 0x2596,
    SMSG_BATTLEGROUND_POINTS                          = 0x27A1,
    SMSG_BATTLENET_CHALLENGE_ABORT                    = 0x27D1,
    SMSG_BATTLENET_CHALLENGE_START                    = 0x27D0,
    SMSG_BATTLENET_NOTIFICATION                       = 0x283F,
    SMSG_BATTLENET_REALM_LIST_TICKET                  = 0x2841,
    SMSG_BATTLENET_RESPONSE                           = 0x283E,
    SMSG_BATTLENET_SET_SESSION_STATE                  = 0x2840,
    SMSG_BATTLE_PAY_ACK_FAILED                        = 0x27C9,
    SMSG_BATTLE_PAY_BATTLE_PET_DELIVERED              = 0x27BE,
    SMSG_BATTLE_PAY_CONFIRM_PURCHASE                  = 0x27C8,
    SMSG_BATTLE_PAY_DELIVERY_ENDED                    = 0x27BC,
    SMSG_BATTLE_PAY_DELIVERY_STARTED                  = 0x27BB,
    SMSG_BATTLE_PAY_DISTRIBUTION_UPDATE               = 0x27BA,
    SMSG_BATTLE_PAY_GET_DISTRIBUTION_LIST_RESPONSE    = 0x27B8,
    SMSG_BATTLE_PAY_GET_PRODUCT_LIST_RESPONSE         = 0x27B6,
    SMSG_BATTLE_PAY_GET_PURCHASE_LIST_RESPONSE        = 0x27B7,
    SMSG_BATTLE_PAY_MOUNT_DELIVERED                   = 0x27BD,
    SMSG_BATTLE_PAY_PURCHASE_UPDATE                   = 0x27C7,
    SMSG_BATTLE_PAY_START_DISTRIBUTION_ASSIGN_TO_TARGET_RESPONSE = 0x27C5,
    SMSG_BATTLE_PAY_START_PURCHASE_RESPONSE           = 0x27C4,
    SMSG_BATTLE_PAY_VAS_BNET_TRANSFER_VALIDATION_RESULT = 0x2856,
    SMSG_BATTLE_PAY_VAS_BOOST_CONSUMED                = 0x27B9,
    SMSG_BATTLE_PAY_VAS_CHARACTER_LIST                = 0x282D,
    SMSG_BATTLE_PAY_VAS_CHARACTER_QUEUE_STATUS        = 0x2855,
    SMSG_BATTLE_PAY_VAS_PURCHASE_COMPLETE             = 0x2830,
    SMSG_BATTLE_PAY_VAS_PURCHASE_LIST                 = 0x2831,
    SMSG_BATTLE_PAY_VAS_PURCHASE_STARTED              = 0x282F,
    SMSG_BATTLE_PAY_VAS_REALM_LIST                    = 0x282E,
    SMSG_BATTLE_PAY_VAS_TRANSFER_QUEUE_STATUS         = 0x2854,
    SMSG_BATTLE_PETS_HEALED                           = 0x260A,
    SMSG_BATTLE_PET_CAGE_DATE_ERROR                   = 0x26A2,
    SMSG_BATTLE_PET_DELETED                           = 0x2607,
    SMSG_BATTLE_PET_ERROR                             = 0x2657,
    SMSG_BATTLE_PET_JOURNAL                           = 0x2606,
    SMSG_BATTLE_PET_JOURNAL_LOCK_ACQUIRED             = 0x2604,
    SMSG_BATTLE_PET_JOURNAL_LOCK_DENIED               = 0x2605,
    SMSG_BATTLE_PET_LICENSE_CHANGED                   = 0x260B,
    SMSG_BATTLE_PET_MAX_COUNT_CHANGED                 = 0x2602,
    SMSG_BATTLE_PET_RESTORED                          = 0x2609,
    SMSG_BATTLE_PET_REVOKED                           = 0x2608,
    SMSG_BATTLE_PET_TRAP_LEVEL                        = 0x2601,
    SMSG_BATTLE_PET_UPDATES                           = 0x2600,
    SMSG_BINDER_CONFIRM                               = 0x273B,
    SMSG_BIND_POINT_UPDATE                            = 0x257D,
    SMSG_BLACK_MARKET_BID_ON_ITEM_RESULT              = 0x2646,
    SMSG_BLACK_MARKET_OPEN_RESULT                     = 0x2644,
    SMSG_BLACK_MARKET_OUTBID                          = 0x2647,
    SMSG_BLACK_MARKET_REQUEST_ITEMS_RESULT            = 0x2645,
    SMSG_BLACK_MARKET_WON                             = 0x2648,
    SMSG_BONUS_ROLL_EMPTY                             = 0x2664,
    SMSG_BOSS_KILL_CREDIT                             = 0x27C3,
    SMSG_BREAK_TARGET                                 = 0x266E,
    SMSG_BUY_FAILED                                   = 0x26F3,
    SMSG_BUY_SUCCEEDED                                = 0x26F2,
    SMSG_CACHE_INFO                                   = 0x2745,
    SMSG_CACHE_VERSION                                = 0x2744,
    SMSG_CALENDAR_CLEAR_PENDING_ACTION                = 0x26C8,
    SMSG_CALENDAR_COMMAND_RESULT                      = 0x26C9,
    SMSG_CALENDAR_EVENT_INITIAL_INVITES               = 0x26B8,
    SMSG_CALENDAR_EVENT_INVITE                        = 0x26B9,
    SMSG_CALENDAR_EVENT_INVITE_ALERT                  = 0x26BA,
    SMSG_CALENDAR_EVENT_INVITE_MODERATOR_STATUS       = 0x26BD,
    SMSG_CALENDAR_EVENT_INVITE_NOTES                  = 0x26C2,
    SMSG_CALENDAR_EVENT_INVITE_NOTES_ALERT            = 0x26C3,
    SMSG_CALENDAR_EVENT_INVITE_REMOVED                = 0x26BE,
    SMSG_CALENDAR_EVENT_INVITE_REMOVED_ALERT          = 0x26BF,
    SMSG_CALENDAR_EVENT_INVITE_STATUS                 = 0x26BB,
    SMSG_CALENDAR_EVENT_INVITE_STATUS_ALERT           = 0x26BC,
    SMSG_CALENDAR_EVENT_REMOVED_ALERT                 = 0x26C0,
    SMSG_CALENDAR_EVENT_UPDATED_ALERT                 = 0x26C1,
    SMSG_CALENDAR_RAID_LOCKOUT_ADDED                  = 0x26C4,
    SMSG_CALENDAR_RAID_LOCKOUT_REMOVED                = 0x26C5,
    SMSG_CALENDAR_RAID_LOCKOUT_UPDATED                = 0x26C6,
    SMSG_CALENDAR_SEND_CALENDAR                       = 0x26B6,
    SMSG_CALENDAR_SEND_EVENT                          = 0x26B7,
    SMSG_CALENDAR_SEND_NUM_PENDING                    = 0x26C7,
    SMSG_CAMERA_EFFECT                                = 0x2769,
    SMSG_CANCEL_AUTO_REPEAT                           = 0x2714,
    SMSG_CANCEL_COMBAT                                = 0x2733,
    SMSG_CANCEL_ORPHAN_SPELL_VISUAL                   = 0x2C45,
    SMSG_CANCEL_SCENE                                 = 0x2656,
    SMSG_CANCEL_SPELL_VISUAL                          = 0x2C43,
    SMSG_CANCEL_SPELL_VISUAL_KIT                      = 0x2C47,
    SMSG_CAN_DUEL_RESULT                              = 0x2678,
    SMSG_CAST_FAILED                                  = 0x2C55,
    SMSG_CATEGORY_COOLDOWN                            = 0x2C16,
    SMSG_CHALLENGE_MODE_ALL_MAP_STATS                 = 0x2623,
    SMSG_CHALLENGE_MODE_COMPLETE                      = 0x2621,
    SMSG_CHALLENGE_MODE_MAP_STATS_UPDATE              = 0x2624,
    SMSG_CHALLENGE_MODE_NEW_PLAYER_RECORD             = 0x2626,
    SMSG_CHALLENGE_MODE_REQUEST_LEADERS_RESULT        = 0x2625,
    SMSG_CHALLENGE_MODE_RESET                         = 0x2620,
    SMSG_CHALLENGE_MODE_REWARDS                       = 0x2622,
    SMSG_CHALLENGE_MODE_START                         = 0x261E,
    SMSG_CHALLENGE_MODE_UPDATE_DEATH_COUNT            = 0x261F,
    SMSG_CHANGE_PLAYER_DIFFICULTY_RESULT              = 0x2737,
    SMSG_CHANNEL_LIST                                 = 0x2BC3,
    SMSG_CHANNEL_NOTIFY                               = 0x2BC0,
    SMSG_CHANNEL_NOTIFY_JOINED                        = 0x2BC1,
    SMSG_CHANNEL_NOTIFY_LEFT                          = 0x2BC2,
    SMSG_CHARACTER_CLASS_TRIAL_CREATE                 = 0x2802,
    SMSG_CHARACTER_ITEM_FIXUP                         = 0x2850,
    SMSG_CHARACTER_LOGIN_FAILED                       = 0x2746,
    SMSG_CHARACTER_OBJECT_TEST_RESPONSE               = 0x27CF,
    SMSG_CHARACTER_RENAME_RESULT                      = 0x27A8,
    SMSG_CHARACTER_UPGRADE_COMPLETE                   = 0x2801,
    SMSG_CHARACTER_UPGRADE_QUEUED                     = 0x2800,
    SMSG_CHARACTER_UPGRADE_SPELL_TIER_SET             = 0x25F5,
    SMSG_CHARACTER_UPGRADE_STARTED                    = 0x27FF,
    SMSG_CHARACTER_UPGRADE_UNREVOKE_RESULT            = 0x2803,
    SMSG_CHAR_CUSTOMIZE                               = 0x271B,
    SMSG_CHAR_CUSTOMIZE_FAILED                        = 0x271A,
    SMSG_CHAR_FACTION_CHANGE_RESULT                   = 0x27ED,
    SMSG_CHAT                                         = 0x2BAD,
    SMSG_CHAT_AUTO_RESPONDED                          = 0x2BB8,
    SMSG_CHAT_DOWN                                    = 0x2BBD,
    SMSG_CHAT_IGNORED_ACCOUNT_MUTED                   = 0x2BAC,
    SMSG_CHAT_IS_DOWN                                 = 0x2BBE,
    SMSG_CHAT_NOT_IN_PARTY                            = 0x2BB2,
    SMSG_CHAT_PLAYER_AMBIGUOUS                        = 0x2BB0,
    SMSG_CHAT_PLAYER_NOTFOUND                         = 0x2BB7,
    SMSG_CHAT_RECONNECT                               = 0x2BBF,
    SMSG_CHAT_RESTRICTED                              = 0x2BB3,
    SMSG_CHAT_SERVER_MESSAGE                          = 0x2BC4,
    SMSG_CHEAT_IGNORE_DIMISHING_RETURNS               = 0x2C12,
    SMSG_CHECK_WARGAME_ENTRY                          = 0x259F,
    SMSG_CLEAR_ALL_SPELL_CHARGES                      = 0x2C27,
    SMSG_CLEAR_BOSS_EMOTES                            = 0x25CE,
    SMSG_CLEAR_COOLDOWN                               = 0x26E6,
    SMSG_CLEAR_COOLDOWNS                              = 0x2C26,
    SMSG_CLEAR_LOSS_OF_CONTROL                        = 0x269A,
    SMSG_CLEAR_SPELL_CHARGES                          = 0x2C28,
    SMSG_CLEAR_TARGET                                 = 0x26DD,
    SMSG_COIN_REMOVED                                 = 0x262C,
    SMSG_COMBAT_EVENT_FAILED                          = 0x2671,
    SMSG_COMMENTATOR_MAP_INFO                         = 0x2748,
    SMSG_COMMENTATOR_PLAYER_INFO                      = 0x2749,
    SMSG_COMMENTATOR_STATE_CHANGED                    = 0x2747,
    SMSG_COMPLAINT_RESULT                             = 0x26D5,
    SMSG_COMPLETE_SHIPMENT_RESPONSE                   = 0x27E1,
    SMSG_CONNECT_TO                                   = 0x304D,
    SMSG_CONQUEST_FORMULA_CONSTANTS                   = 0x27CA,
    SMSG_CONSOLE_WRITE                                = 0x2653,
    SMSG_CONSUMPTION_CONVERSION_INFO_RESPONSE         = 0x2845,
    SMSG_CONSUMPTION_CONVERSION_RESULT                = 0x2846,
    SMSG_CONTACT_LIST                                 = 0x27CD,
    SMSG_CONTROL_UPDATE                               = 0x2666,
    SMSG_COOLDOWN_CHEAT                               = 0x277D,
    SMSG_COOLDOWN_EVENT                               = 0x26E5,
    SMSG_CORPSE_LOCATION                              = 0x266D,
    SMSG_CORPSE_RECLAIM_DELAY                         = 0x2790,
    SMSG_CORPSE_TRANSPORT_QUERY                       = 0x2753,
    SMSG_CREATE_CHAR                                  = 0x2740,
    SMSG_CREATE_SHIPMENT_RESPONSE                     = 0x27E0,
    SMSG_CRITERIA_DELETED                             = 0x271F,
    SMSG_CRITERIA_UPDATE                              = 0x2719,
    SMSG_CROSSED_INEBRIATION_THRESHOLD                = 0x26EE,
    SMSG_CUSTOM_LOAD_SCREEN                           = 0x25E4,
    SMSG_DAILY_QUESTS_RESET                           = 0x2A80,
    SMSG_DAMAGE_CALC_LOG                              = 0x280A,
    SMSG_DANCE_STUDIO_CREATE_RESULT                   = 0x27A5,
    SMSG_DB_REPLY                                     = 0x25A1,
    SMSG_DEATH_RELEASE_LOC                            = 0x2707,
    SMSG_DEFENSE_MESSAGE                              = 0x2BB6,
    SMSG_DELETE_CHAR                                  = 0x2741,
    SMSG_DESTROY_ARENA_UNIT                           = 0x2786,
    SMSG_DESTRUCTIBLE_BUILDING_DAMAGE                 = 0x2734,
    SMSG_DIFFERENT_INSTANCE_FROM_PARTY                = 0x258B,
    SMSG_DISENCHANT_CREDIT                            = 0x25BD,
    SMSG_DISMOUNT                                     = 0x26DC,
    SMSG_DISMOUNT_RESULT                              = 0x257C,
    SMSG_DISPEL_FAILED                                = 0x2C30,
    SMSG_DISPLAY_GAME_ERROR                           = 0x25B6,
    SMSG_DISPLAY_PLAYER_CHOICE                        = 0x26A3,
    SMSG_DISPLAY_PROMOTION                            = 0x266A,
    SMSG_DISPLAY_QUEST_POPUP                          = 0x2A9D,
    SMSG_DISPLAY_TOAST                                = 0x263A,
    SMSG_DONT_AUTO_PUSH_SPELLS_TO_ACTION_BAR          = 0x25F7,
    SMSG_DROP_NEW_CONNECTION                          = 0x304C,
    SMSG_DUEL_COMPLETE                                = 0x2676,
    SMSG_DUEL_COUNTDOWN                               = 0x2675,
    SMSG_DUEL_IN_BOUNDS                               = 0x2674,
    SMSG_DUEL_OUT_OF_BOUNDS                           = 0x2673,
    SMSG_DUEL_REQUESTED                               = 0x2672,
    SMSG_DUEL_WINNER                                  = 0x2677,
    SMSG_DURABILITY_DAMAGE_DEATH                      = 0x278C,
    SMSG_EMOTE                                        = 0x280B,
    SMSG_ENABLE_BARBER_SHOP                           = 0x26E9,
    SMSG_ENABLE_ENCRYPTION                            = 0x3049,
    SMSG_ENCHANTMENT_LOG                              = 0x2754,
    SMSG_ENCOUNTER_END                                = 0x27C2,
    SMSG_ENCOUNTER_START                              = 0x27C1,
    SMSG_ENUM_CHARACTERS_RESULT                       = 0x2583,
    SMSG_ENVIRONMENTAL_DAMAGE_LOG                     = 0x2C21,
    SMSG_EQUIPMENT_SET_ID                             = 0x26DE,
    SMSG_EXPECTED_SPAM_RECORDS                        = 0x2BB1,
    SMSG_EXPLORATION_EXPERIENCE                       = 0x27A4,
    SMSG_FACTION_BONUS_INFO                           = 0x2768,
    SMSG_FAILED_PLAYER_CONDITION                      = 0x25E3,
    SMSG_FEATURE_SYSTEM_STATUS                        = 0x25D2,
    SMSG_FEATURE_SYSTEM_STATUS_GLUE_SCREEN            = 0x25D3,
    SMSG_FEIGN_DEATH_RESISTED                         = 0x2789,
    SMSG_FISH_ESCAPED                                 = 0x26FB,
    SMSG_FISH_NOT_HOOKED                              = 0x26FA,
    SMSG_FLIGHT_SPLINE_SYNC                           = 0x2DF7,
    SMSG_FORCED_DEATH_UPDATE                          = 0x2708,
    SMSG_FORCE_ANIM                                   = 0x2796,
    SMSG_FORCE_OBJECT_RELINK                          = 0x2669,
    SMSG_FRIEND_STATUS                                = 0x27CE,
    SMSG_GAME_OBJECT_ACTIVATE_ANIM_KIT                = 0x25D7,
    SMSG_GAME_OBJECT_CUSTOM_ANIM                      = 0x25D8,
    SMSG_GAME_OBJECT_DESPAWN                          = 0x25D9,
    SMSG_GAME_OBJECT_PLAY_SPELL_VISUAL                = 0x2C4A,
    SMSG_GAME_OBJECT_PLAY_SPELL_VISUAL_KIT            = 0x2C49,
    SMSG_GAME_OBJECT_RESET_STATE                      = 0x275F,
    SMSG_GAME_OBJECT_SET_STATE                        = 0x283D,
    SMSG_GAME_OBJECT_UI_ACTION                        = 0x275C,
    SMSG_GAME_SPEED_SET                               = 0x26AC,
    SMSG_GAME_TIME_SET                                = 0x274D,
    SMSG_GAME_TIME_UPDATE                             = 0x274C,
    SMSG_GARRISON_ADD_FOLLOWER_RESULT                 = 0x2902,
    SMSG_GARRISON_ADD_MISSION_RESULT                  = 0x2906,
    SMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING_RESULT  = 0x2918,
    SMSG_GARRISON_BUILDING_ACTIVATED                  = 0x28FB,
    SMSG_GARRISON_BUILDING_LANDMARKS                  = 0x292C,
    SMSG_GARRISON_BUILDING_REMOVED                    = 0x28F4,
    SMSG_GARRISON_BUILDING_SET_ACTIVE_SPECIALIZATION_RESULT = 0x28F6,
    SMSG_GARRISON_CLEAR_ALL_FOLLOWERS_EXHAUSTION      = 0x2916,
    SMSG_GARRISON_COMPLETE_MISSION_RESULT             = 0x2909,
    SMSG_GARRISON_CREATE_RESULT                       = 0x28FC,
    SMSG_GARRISON_DELETE_RESULT                       = 0x2920,
    SMSG_GARRISON_FOLLOWER_CHANGED_ABILITIES          = 0x2914,
    SMSG_GARRISON_FOLLOWER_CHANGED_DURABILITY         = 0x2904,
    SMSG_GARRISON_FOLLOWER_CHANGED_ITEM_LEVEL         = 0x2913,
    SMSG_GARRISON_FOLLOWER_CHANGED_STATUS             = 0x2915,
    SMSG_GARRISON_FOLLOWER_CHANGED_XP                 = 0x2912,
    SMSG_GARRISON_IS_UPGRADEABLE_RESULT               = 0x2929,
    SMSG_GARRISON_LANDING_PAGE_SHIPMENT_INFO          = 0x27E3,
    SMSG_GARRISON_LEARN_BLUEPRINT_RESULT              = 0x28F7,
    SMSG_GARRISON_LEARN_SPECIALIZATION_RESULT         = 0x28F5,
    SMSG_GARRISON_LIST_FOLLOWERS_CHEAT_RESULT         = 0x2905,
    SMSG_GARRISON_LIST_MISSIONS_CHEAT_RESULT          = 0x292A,
    SMSG_GARRISON_MISSION_AREA_BONUS_ADDED            = 0x2910,
    SMSG_GARRISON_MISSION_BONUS_ROLL_RESULT           = 0x290C,
    SMSG_GARRISON_MISSION_REWARD_RESPONSE             = 0x292D,
    SMSG_GARRISON_MISSION_UPDATE_CAN_START            = 0x2911,
    SMSG_GARRISON_NUM_FOLLOWER_ACTIVATIONS_REMAINING  = 0x2917,
    SMSG_GARRISON_OPEN_ARCHITECT                      = 0x2921,
    SMSG_GARRISON_OPEN_MISSION_NPC                    = 0x2923,
    SMSG_GARRISON_OPEN_RECRUITMENT_NPC                = 0x291C,
    SMSG_GARRISON_OPEN_TALENT_NPC                     = 0x291D,
    SMSG_GARRISON_OPEN_TRADESKILL_NPC                 = 0x2922,
    SMSG_GARRISON_PLACE_BUILDING_RESULT               = 0x28F3,
    SMSG_GARRISON_PLOT_PLACED                         = 0x28F1,
    SMSG_GARRISON_PLOT_REMOVED                        = 0x28F2,
    SMSG_GARRISON_RECALL_PORTAL_LAST_USED_TIME        = 0x290A,
    SMSG_GARRISON_RECALL_PORTAL_USED                  = 0x290B,
    SMSG_GARRISON_RECRUITMENT_FOLLOWERS_GENERATED     = 0x291E,
    SMSG_GARRISON_RECRUIT_FOLLOWER_RESULT             = 0x291F,
    SMSG_GARRISON_REMOTE_INFO                         = 0x28FA,
    SMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING_RESULT = 0x2919,
    SMSG_GARRISON_REMOVE_FOLLOWER_RESULT              = 0x2903,
    SMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA_RESULT = 0x28F9,
    SMSG_GARRISON_START_MISSION_RESULT                = 0x2907,
    SMSG_GARRISON_UNLEARN_BLUEPRINT_RESULT            = 0x28F8,
    SMSG_GARRISON_UPGRADE_RESULT                      = 0x28FD,
    SMSG_GENERATE_RANDOM_CHARACTER_NAME_RESULT        = 0x2584,
    SMSG_GET_ACCOUNT_CHARACTER_LIST_RESULT            = 0x27A6,
    SMSG_GET_DISPLAYED_TROPHY_LIST_RESPONSE           = 0x2928,
    SMSG_GET_GARRISON_INFO_RESULT                     = 0x28F0,
    SMSG_GET_SHIPMENTS_OF_TYPE_RESPONSE               = 0x27E2,
    SMSG_GET_SHIPMENT_INFO_RESPONSE                   = 0x27DE,
    SMSG_GET_TROPHY_LIST_RESPONSE                     = 0x2806,
    SMSG_GM_PLAYER_INFO                               = 0x277C,
    SMSG_GM_REQUEST_PLAYER_INFO                       = 0x25EE,
    SMSG_GM_TICKET_CASE_STATUS                        = 0x26CE,
    SMSG_GM_TICKET_SYSTEM_STATUS                      = 0x26CD,
    SMSG_GOD_MODE                                     = 0x273A,
    SMSG_GOSSIP_COMPLETE                              = 0x2A96,
    SMSG_GOSSIP_MESSAGE                               = 0x2A97,
    SMSG_GOSSIP_POI                                   = 0x27DB,
    SMSG_GROUP_ACTION_THROTTLED                       = 0x259D,
    SMSG_GROUP_DECLINE                                = 0x27D6,
    SMSG_GROUP_DESTROYED                              = 0x27D8,
    SMSG_GROUP_INVITE_CONFIRMATION                    = 0x2851,
    SMSG_GROUP_NEW_LEADER                             = 0x264B,
    SMSG_GROUP_UNINVITE                               = 0x27D7,
    SMSG_GUILD_ACHIEVEMENT_DELETED                    = 0x29C5,
    SMSG_GUILD_ACHIEVEMENT_EARNED                     = 0x29C4,
    SMSG_GUILD_ACHIEVEMENT_MEMBERS                    = 0x29C7,
    SMSG_GUILD_BANK_LOG_QUERY_RESULTS                 = 0x29DF,
    SMSG_GUILD_BANK_QUERY_RESULTS                     = 0x29DE,
    SMSG_GUILD_BANK_REMAINING_WITHDRAW_MONEY          = 0x29E0,
    SMSG_GUILD_BANK_TEXT_QUERY_RESULT                 = 0x29E3,
    SMSG_GUILD_CHALLENGE_COMPLETED                    = 0x29D3,
    SMSG_GUILD_CHALLENGE_UPDATE                       = 0x29D2,
    SMSG_GUILD_CHANGE_NAME_RESULT                     = 0x29DD,
    SMSG_GUILD_COMMAND_RESULT                         = 0x29BA,
    SMSG_GUILD_CRITERIA_DELETED                       = 0x29C6,
    SMSG_GUILD_CRITERIA_UPDATE                        = 0x29C3,
    SMSG_GUILD_EVENT_BANK_CONTENTS_CHANGED            = 0x29F5,
    SMSG_GUILD_EVENT_BANK_MONEY_CHANGED               = 0x29F4,
    SMSG_GUILD_EVENT_DISBANDED                        = 0x29EB,
    SMSG_GUILD_EVENT_LOG_QUERY_RESULTS                = 0x29E2,
    SMSG_GUILD_EVENT_MOTD                             = 0x29EC,
    SMSG_GUILD_EVENT_NEW_LEADER                       = 0x29EA,
    SMSG_GUILD_EVENT_PLAYER_JOINED                    = 0x29E8,
    SMSG_GUILD_EVENT_PLAYER_LEFT                      = 0x29E9,
    SMSG_GUILD_EVENT_PRESENCE_CHANGE                  = 0x29ED,
    SMSG_GUILD_EVENT_RANKS_UPDATED                    = 0x29EE,
    SMSG_GUILD_EVENT_RANK_CHANGED                     = 0x29EF,
    SMSG_GUILD_EVENT_TAB_ADDED                        = 0x29F0,
    SMSG_GUILD_EVENT_TAB_DELETED                      = 0x29F1,
    SMSG_GUILD_EVENT_TAB_MODIFIED                     = 0x29F2,
    SMSG_GUILD_EVENT_TAB_TEXT_CHANGED                 = 0x29F3,
    SMSG_GUILD_FLAGGED_FOR_RENAME                     = 0x29DC,
    SMSG_GUILD_INVITE                                 = 0x29CA,
    SMSG_GUILD_INVITE_DECLINED                        = 0x29E6,
    SMSG_GUILD_INVITE_EXPIRED                         = 0x29E7,
    SMSG_GUILD_ITEM_LOOTED                            = 0x29D4,
    SMSG_GUILD_KNOWN_RECIPES                          = 0x29BE,
    SMSG_GUILD_MEMBERS_WITH_RECIPE                    = 0x29BF,
    SMSG_GUILD_MEMBER_DAILY_RESET                     = 0x29E4,
    SMSG_GUILD_MEMBER_RECIPES                         = 0x29BD,
    SMSG_GUILD_MEMBER_UPDATE_NOTE                     = 0x29C9,
    SMSG_GUILD_MOVED                                  = 0x29DA,
    SMSG_GUILD_MOVE_STARTING                          = 0x29D9,
    SMSG_GUILD_NAME_CHANGED                           = 0x29DB,
    SMSG_GUILD_NEWS                                   = 0x29C1,
    SMSG_GUILD_NEWS_DELETED                           = 0x29C2,
    SMSG_GUILD_PARTY_STATE                            = 0x29CB,
    SMSG_GUILD_PERMISSIONS_QUERY_RESULTS              = 0x29E1,
    SMSG_GUILD_RANKS                                  = 0x29C8,
    SMSG_GUILD_REPUTATION_REACTION_CHANGED            = 0x29CC,
    SMSG_GUILD_RESET                                  = 0x29D8,
    SMSG_GUILD_REWARD_LIST                            = 0x29C0,
    SMSG_GUILD_ROSTER                                 = 0x29BB,
    SMSG_GUILD_ROSTER_UPDATE                          = 0x29BC,
    SMSG_GUILD_SEND_RANK_CHANGE                       = 0x29B9,
    SMSG_HEALTH_UPDATE                                = 0x26FE,
    SMSG_HIGHEST_THREAT_UPDATE                        = 0x270E,
    SMSG_HOTFIXES                                     = 0x25A3,
    SMSG_HOTFIX_LIST                                  = 0x25A2,
    SMSG_HOTFIX_QUERY_RESPONSE                        = 0x25A4,
    SMSG_INITIALIZE_FACTIONS                          = 0x2767,
    SMSG_INITIAL_SETUP                                = 0x2580,
    SMSG_INIT_WORLD_STATES                            = 0x278D,
    SMSG_INSPECT_HONOR_STATS                          = 0x25B3,
    SMSG_INSPECT_PVP                                  = 0x2763,
    SMSG_INSPECT_RESULT                               = 0x264F,
    SMSG_INSTANCE_ENCOUNTER_CHANGE_PRIORITY           = 0x27F3,
    SMSG_INSTANCE_ENCOUNTER_DISENGAGE_UNIT            = 0x27F2,
    SMSG_INSTANCE_ENCOUNTER_END                       = 0x27FA,
    SMSG_INSTANCE_ENCOUNTER_ENGAGE_UNIT               = 0x27F1,
    SMSG_INSTANCE_ENCOUNTER_GAIN_COMBAT_RESURRECTION_CHARGE = 0x27FC,
    SMSG_INSTANCE_ENCOUNTER_IN_COMBAT_RESURRECTION    = 0x27FB,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_COMPLETE        = 0x27F6,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_START           = 0x27F5,
    SMSG_INSTANCE_ENCOUNTER_OBJECTIVE_UPDATE          = 0x27F9,
    SMSG_INSTANCE_ENCOUNTER_PHASE_SHIFT_CHANGED       = 0x27FD,
    SMSG_INSTANCE_ENCOUNTER_SET_SUPPRESSING_RELEASE   = 0x27F8,
    SMSG_INSTANCE_ENCOUNTER_START                     = 0x27F7,
    SMSG_INSTANCE_ENCOUNTER_TIMER_START               = 0x27F4,
    SMSG_INSTANCE_GROUP_SIZE_CHANGED                  = 0x2738,
    SMSG_INSTANCE_INFO                                = 0x2652,
    SMSG_INSTANCE_RESET                               = 0x26B1,
    SMSG_INSTANCE_RESET_FAILED                        = 0x26B2,
    SMSG_INSTANCE_SAVE_CREATED                        = 0x27C0,
    SMSG_INVALIDATE_PAGE_TEXT                         = 0x2703,
    SMSG_INVALIDATE_PLAYER                            = 0x26D4,
    SMSG_INVALID_PROMOTION_CODE                       = 0x2797,
    SMSG_INVENTORY_CHANGE_FAILURE                     = 0x2765,
    SMSG_IS_QUEST_COMPLETE_RESPONSE                   = 0x2A83,
    SMSG_ITEM_CHANGED                                 = 0x2722,
    SMSG_ITEM_COOLDOWN                                = 0x2809,
    SMSG_ITEM_ENCHANT_TIME_UPDATE                     = 0x2799,
    SMSG_ITEM_EXPIRE_PURCHASE_REFUND                  = 0x25B2,
    SMSG_ITEM_PURCHASE_REFUND_RESULT                  = 0x25B0,
    SMSG_ITEM_PUSH_RESULT                             = 0x2639,
    SMSG_ITEM_TIME_UPDATE                             = 0x2798,
    SMSG_KICK_REASON                                  = 0x282C,
    SMSG_LEARNED_SPELLS                               = 0x2C4C,
    SMSG_LEARN_PVP_TALENTS_FAILED                     = 0x25EB,
    SMSG_LEARN_TALENTS_FAILED                         = 0x25EA,
    SMSG_LEVEL_UPDATE                                 = 0x2588,
    SMSG_LEVEL_UP_INFO                                = 0x2721,
    SMSG_LFG_BOOT_PLAYER                              = 0x2A36,
    SMSG_LFG_DISABLED                                 = 0x2A34,
    SMSG_LFG_INSTANCE_SHUTDOWN_COUNTDOWN              = 0x2A25,
    SMSG_LFG_JOIN_RESULT                              = 0x2A1C,
    SMSG_LFG_LIST_JOIN_RESULT                         = 0x2A1D,
    SMSG_LFG_LIST_SEARCH_RESULTS                      = 0x2A1E,
    SMSG_LFG_LIST_SEARCH_STATUS                       = 0x2A1F,
    SMSG_LFG_LIST_UPDATE_BLACKLIST                    = 0x2A2A,
    SMSG_LFG_LIST_UPDATE_STATUS                       = 0x2A26,
    SMSG_LFG_OFFER_CONTINUE                           = 0x2A35,
    SMSG_LFG_PARTY_INFO                               = 0x2A37,
    SMSG_LFG_PLAYER_INFO                              = 0x2A38,
    SMSG_LFG_PLAYER_REWARD                            = 0x2A39,
    SMSG_LFG_PROPOSAL_UPDATE                          = 0x2A2D,
    SMSG_LFG_QUEUE_STATUS                             = 0x2A20,
    SMSG_LFG_READY_CHECK_RESULT                       = 0x2A3B,
    SMSG_LFG_READY_CHECK_UPDATE                       = 0x2A22,
    SMSG_LFG_ROLE_CHECK_UPDATE                        = 0x2A21,
    SMSG_LFG_SLOT_INVALID                             = 0x2A30,
    SMSG_LFG_TELEPORT_DENIED                          = 0x2A33,
    SMSG_LFG_UPDATE_STATUS                            = 0x2A24,
    SMSG_LF_GUILD_APPLICANT_LIST_CHANGED              = 0x29D5,
    SMSG_LF_GUILD_APPLICATIONS                        = 0x29D1,
    SMSG_LF_GUILD_APPLICATIONS_LIST_CHANGED           = 0x29D6,
    SMSG_LF_GUILD_BROWSE                              = 0x29CE,
    SMSG_LF_GUILD_COMMAND_RESULT                      = 0x29D0,
    SMSG_LF_GUILD_POST                                = 0x29CD,
    SMSG_LF_GUILD_RECRUITS                            = 0x29CF,
    SMSG_LIVE_REGION_ACCOUNT_RESTORE_RESULT           = 0x27B4,
    SMSG_LIVE_REGION_CHARACTER_COPY_RESULT            = 0x27B2,
    SMSG_LIVE_REGION_GET_ACCOUNT_CHARACTER_LIST_RESULT = 0x27A7,
    SMSG_LOAD_CUF_PROFILES                            = 0x25CF,
    SMSG_LOAD_EQUIPMENT_SET                           = 0x274F,
    SMSG_LOAD_SELECTED_TROPHY_RESULT                  = 0x2807,
    SMSG_LOGIN_SET_TIME_SPEED                         = 0x274E,
    SMSG_LOGIN_VERIFY_WORLD                           = 0x25AD,
    SMSG_LOGOUT_CANCEL_ACK                            = 0x26B0,
    SMSG_LOGOUT_COMPLETE                              = 0x26AF,
    SMSG_LOGOUT_RESPONSE                              = 0x26AE,
    SMSG_LOG_XP_GAIN                                  = 0x271D,
    SMSG_LOOT_ALL_PASSED                              = 0x2637,
    SMSG_LOOT_ITEM_LIST                               = 0x2635,
    SMSG_LOOT_LIST                                    = 0x2785,
    SMSG_LOOT_MONEY_NOTIFY                            = 0x2631,
    SMSG_LOOT_RELEASE                                 = 0x2630,
    SMSG_LOOT_RELEASE_ALL                             = 0x262F,
    SMSG_LOOT_REMOVED                                 = 0x262A,
    SMSG_LOOT_RESPONSE                                = 0x2629,
    SMSG_LOOT_ROLL                                    = 0x2633,
    SMSG_LOOT_ROLLS_COMPLETE                          = 0x2636,
    SMSG_LOOT_ROLL_WON                                = 0x2638,
    SMSG_LOSS_OF_CONTROL_AURA_UPDATE                  = 0x2697,
    SMSG_MAIL_COMMAND_RESULT                          = 0x265A,
    SMSG_MAIL_LIST_RESULT                             = 0x279A,
    SMSG_MAIL_QUERY_NEXT_TIME_RESULT                  = 0x279B,
    SMSG_MAP_OBJECTIVES_INIT                          = 0x27A3,
    SMSG_MAP_OBJ_EVENTS                               = 0x25DA,
    SMSG_MASTER_LOOT_CANDIDATE_LIST                   = 0x2634,
    SMSG_MESSAGE_BOX                                  = 0x2575,
    SMSG_MINIMAP_PING                                 = 0x26F9,
    SMSG_MIRROR_IMAGE_COMPONENTED_DATA                = 0x2C14,
    SMSG_MIRROR_IMAGE_CREATURE_DATA                   = 0x2C13,
    SMSG_MISSILE_CANCEL                               = 0x25DB,
    SMSG_MODIFY_CHARGE_RECOVERY_SPEED                 = 0x27AB,
    SMSG_MODIFY_COOLDOWN                              = 0x27A9,
    SMSG_MODIFY_COOLDOWN_RECOVERY_SPEED               = 0x27AA,
    SMSG_MODIFY_PARTY_RANGE                           = 0x2788,
    SMSG_MOTD                                         = 0x2BAF,
    SMSG_MOUNT_RESULT                                 = 0x257B,
    SMSG_MOVE_APPLY_MOVEMENT_FORCE                    = 0x2DE1,
    SMSG_MOVE_DISABLE_COLLISION                       = 0x2DDD,
    SMSG_MOVE_DISABLE_DOUBLE_JUMP                     = 0x2DCB,
    SMSG_MOVE_DISABLE_GRAVITY                         = 0x2DDB,
    SMSG_MOVE_DISABLE_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x2DDA,
    SMSG_MOVE_ENABLE_COLLISION                        = 0x2DDE,
    SMSG_MOVE_ENABLE_DOUBLE_JUMP                      = 0x2DCA,
    SMSG_MOVE_ENABLE_GRAVITY                          = 0x2DDC,
    SMSG_MOVE_ENABLE_TRANSITION_BETWEEN_SWIM_AND_FLY  = 0x2DD9,
    SMSG_MOVE_KNOCK_BACK                              = 0x2DD1,
    SMSG_MOVE_REMOVE_MOVEMENT_FORCE                   = 0x2DE2,
    SMSG_MOVE_ROOT                                    = 0x2DC7,
    SMSG_MOVE_SET_ACTIVE_MOVER                        = 0x2DA3,
    SMSG_MOVE_SET_CAN_FLY                             = 0x2DD3,
    SMSG_MOVE_SET_CAN_TURN_WHILE_FALLING              = 0x2DD5,
    SMSG_MOVE_SET_COLLISION_HEIGHT                    = 0x2DDF,
    SMSG_MOVE_SET_COMPOUND_STATE                      = 0x2DE3,
    SMSG_MOVE_SET_FEATHER_FALL                        = 0x2DCD,
    SMSG_MOVE_SET_FLIGHT_BACK_SPEED                   = 0x2DC3,
    SMSG_MOVE_SET_FLIGHT_SPEED                        = 0x2DC2,
    SMSG_MOVE_SET_HOVERING                            = 0x2DCF,
    SMSG_MOVE_SET_IGNORE_MOVEMENT_FORCES              = 0x2DD7,
    SMSG_MOVE_SET_LAND_WALK                           = 0x2DCC,
    SMSG_MOVE_SET_NORMAL_FALL                         = 0x2DCE,
    SMSG_MOVE_SET_PITCH_RATE                          = 0x2DC6,
    SMSG_MOVE_SET_RUN_BACK_SPEED                      = 0x2DBF,
    SMSG_MOVE_SET_RUN_SPEED                           = 0x2DBE,
    SMSG_MOVE_SET_SWIM_BACK_SPEED                     = 0x2DC1,
    SMSG_MOVE_SET_SWIM_SPEED                          = 0x2DC0,
    SMSG_MOVE_SET_TURN_RATE                           = 0x2DC5,
    SMSG_MOVE_SET_VEHICLE_REC_ID                      = 0x2DE0,
    SMSG_MOVE_SET_WALK_SPEED                          = 0x2DC4,
    SMSG_MOVE_SET_WATER_WALK                          = 0x2DC9,
    SMSG_MOVE_SKIP_TIME                               = 0x2DE4,
    SMSG_MOVE_SPLINE_DISABLE_COLLISION                = 0x2DE9,
    SMSG_MOVE_SPLINE_DISABLE_GRAVITY                  = 0x2DE7,
    SMSG_MOVE_SPLINE_ENABLE_COLLISION                 = 0x2DEA,
    SMSG_MOVE_SPLINE_ENABLE_GRAVITY                   = 0x2DE8,
    SMSG_MOVE_SPLINE_ROOT                             = 0x2DE5,
    SMSG_MOVE_SPLINE_SET_FEATHER_FALL                 = 0x2DEB,
    SMSG_MOVE_SPLINE_SET_FLIGHT_BACK_SPEED            = 0x2DBA,
    SMSG_MOVE_SPLINE_SET_FLIGHT_SPEED                 = 0x2DB9,
    SMSG_MOVE_SPLINE_SET_FLYING                       = 0x2DF5,
    SMSG_MOVE_SPLINE_SET_HOVER                        = 0x2DED,
    SMSG_MOVE_SPLINE_SET_LAND_WALK                    = 0x2DF0,
    SMSG_MOVE_SPLINE_SET_NORMAL_FALL                  = 0x2DEC,
    SMSG_MOVE_SPLINE_SET_PITCH_RATE                   = 0x2DBD,
    SMSG_MOVE_SPLINE_SET_RUN_BACK_SPEED               = 0x2DB6,
    SMSG_MOVE_SPLINE_SET_RUN_MODE                     = 0x2DF3,
    SMSG_MOVE_SPLINE_SET_RUN_SPEED                    = 0x2DB5,
    SMSG_MOVE_SPLINE_SET_SWIM_BACK_SPEED              = 0x2DB8,
    SMSG_MOVE_SPLINE_SET_SWIM_SPEED                   = 0x2DB7,
    SMSG_MOVE_SPLINE_SET_TURN_RATE                    = 0x2DBC,
    SMSG_MOVE_SPLINE_SET_WALK_MODE                    = 0x2DF4,
    SMSG_MOVE_SPLINE_SET_WALK_SPEED                   = 0x2DBB,
    SMSG_MOVE_SPLINE_SET_WATER_WALK                   = 0x2DEF,
    SMSG_MOVE_SPLINE_START_SWIM                       = 0x2DF1,
    SMSG_MOVE_SPLINE_STOP_SWIM                        = 0x2DF2,
    SMSG_MOVE_SPLINE_UNROOT                           = 0x2DE6,
    SMSG_MOVE_SPLINE_UNSET_FLYING                     = 0x2DF6,
    SMSG_MOVE_SPLINE_UNSET_HOVER                      = 0x2DEE,
    SMSG_MOVE_TELEPORT                                = 0x2DD2,
    SMSG_MOVE_UNROOT                                  = 0x2DC8,
    SMSG_MOVE_UNSET_CAN_FLY                           = 0x2DD4,
    SMSG_MOVE_UNSET_CAN_TURN_WHILE_FALLING            = 0x2DD6,
    SMSG_MOVE_UNSET_HOVERING                          = 0x2DD0,
    SMSG_MOVE_UNSET_IGNORE_MOVEMENT_FORCES            = 0x2DD8,
    SMSG_MOVE_UPDATE                                  = 0x2DAE,
    SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE             = 0x2DB2,
    SMSG_MOVE_UPDATE_COLLISION_HEIGHT                 = 0x2DAD,
    SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED                = 0x2DAA,
    SMSG_MOVE_UPDATE_FLIGHT_SPEED                     = 0x2DA9,
    SMSG_MOVE_UPDATE_KNOCK_BACK                       = 0x2DB0,
    SMSG_MOVE_UPDATE_PITCH_RATE                       = 0x2DAC,
    SMSG_MOVE_UPDATE_REMOVE_MOVEMENT_FORCE            = 0x2DB3,
    SMSG_MOVE_UPDATE_RUN_BACK_SPEED                   = 0x2DA5,
    SMSG_MOVE_UPDATE_RUN_SPEED                        = 0x2DA4,
    SMSG_MOVE_UPDATE_SWIM_BACK_SPEED                  = 0x2DA8,
    SMSG_MOVE_UPDATE_SWIM_SPEED                       = 0x2DA7,
    SMSG_MOVE_UPDATE_TELEPORT                         = 0x2DAF,
    SMSG_MOVE_UPDATE_TURN_RATE                        = 0x2DAB,
    SMSG_MOVE_UPDATE_WALK_SPEED                       = 0x2DA6,
    SMSG_NEUTRAL_PLAYER_FACTION_SELECT_RESULT         = 0x25F2,
    SMSG_NEW_TAXI_PATH                                = 0x26A9,
    SMSG_NEW_WORLD                                    = 0x25AC,
    SMSG_NOTIFY_DEST_LOC_SPELL_CAST                   = 0x2C42,
    SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION          = 0x26D3,
    SMSG_NOTIFY_MONEY                                 = 0x25AF,
    SMSG_NOTIFY_RECEIVED_MAIL                         = 0x265B,
    SMSG_OFFER_PETITION_ERROR                         = 0x26E2,
    SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA         = 0x271E,
    SMSG_ON_MONSTER_MOVE                              = 0x2DA2,
    SMSG_OPEN_CONTAINER                               = 0x2766,
    SMSG_OPEN_LFG_DUNGEON_FINDER                      = 0x2A32,
    SMSG_OPEN_SHIPMENT_NPC_FROM_GOSSIP                = 0x27DD,
    SMSG_OPEN_SHIPMENT_NPC_RESULT                     = 0x27DF,
    SMSG_OPEN_TRANSMOGRIFIER                          = 0x2833,
    SMSG_OVERRIDE_LIGHT                               = 0x26E8,
    SMSG_PAGE_TEXT                                    = 0x275B,
    SMSG_PARTY_COMMAND_RESULT                         = 0x27DA,
    SMSG_PARTY_INVITE                                 = 0x25D0,
    SMSG_PARTY_KILL_LOG                               = 0x279F,
    SMSG_PARTY_MEMBER_STATE                           = 0x279D,
    SMSG_PARTY_MEMBER_STATE_UPDATE                    = 0x279C,
    SMSG_PARTY_UPDATE                                 = 0x260C,
    SMSG_PAUSE_MIRROR_TIMER                           = 0x2751,
    SMSG_PENDING_RAID_LOCK                            = 0x2732,
    SMSG_PETITION_ALREADY_SIGNED                      = 0x25B9,
    SMSG_PETITION_RENAME_GUILD_RESPONSE               = 0x29F7,
    SMSG_PETITION_SHOW_LIST                           = 0x26EB,
    SMSG_PETITION_SHOW_SIGNATURES                     = 0x26EC,
    SMSG_PETITION_SIGN_RESULTS                        = 0x2791,
    SMSG_PET_ACTION_FEEDBACK                          = 0x278F,
    SMSG_PET_ACTION_SOUND                             = 0x26CB,
    SMSG_PET_ADDED                                    = 0x25A9,
    SMSG_PET_BATTLE_CHAT_RESTRICTED                   = 0x2619,
    SMSG_PET_BATTLE_DEBUG_QUEUE_DUMP_RESPONSE         = 0x269E,
    SMSG_PET_BATTLE_FINALIZE_LOCATION                 = 0x2612,
    SMSG_PET_BATTLE_FINAL_ROUND                       = 0x2617,
    SMSG_PET_BATTLE_FINISHED                          = 0x2618,
    SMSG_PET_BATTLE_FIRST_ROUND                       = 0x2614,
    SMSG_PET_BATTLE_INITIAL_UPDATE                    = 0x2613,
    SMSG_PET_BATTLE_MAX_GAME_LENGTH_WARNING           = 0x261A,
    SMSG_PET_BATTLE_PVP_CHALLENGE                     = 0x2611,
    SMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH               = 0x2658,
    SMSG_PET_BATTLE_QUEUE_STATUS                      = 0x2659,
    SMSG_PET_BATTLE_REPLACEMENTS_MADE                 = 0x2616,
    SMSG_PET_BATTLE_REQUEST_FAILED                    = 0x2610,
    SMSG_PET_BATTLE_ROUND_RESULT                      = 0x2615,
    SMSG_PET_BATTLE_SLOT_UPDATES                      = 0x2603,
    SMSG_PET_CAST_FAILED                              = 0x2C56,
    SMSG_PET_CLEAR_SPELLS                             = 0x2C24,
    SMSG_PET_DISMISS_SOUND                            = 0x26CC,
    SMSG_PET_GOD_MODE                                 = 0x26A6,
    SMSG_PET_GUIDS                                    = 0x2743,
    SMSG_PET_LEARNED_SPELLS                           = 0x2C4E,
    SMSG_PET_MODE                                     = 0x258A,
    SMSG_PET_NAME_INVALID                             = 0x26F0,
    SMSG_PET_SLOT_UPDATED                             = 0x2589,
    SMSG_PET_SPELLS_MESSAGE                           = 0x2C25,
    SMSG_PET_STABLE_LIST                              = 0x25AA,
    SMSG_PET_STABLE_RESULT                            = 0x25AB,
    SMSG_PET_TAME_FAILURE                             = 0x26DF,
    SMSG_PET_UNLEARNED_SPELLS                         = 0x2C4F,
    SMSG_PHASE_SHIFT_CHANGE                           = 0x2578,
    SMSG_PLAYED_TIME                                  = 0x270A,
    SMSG_PLAYER_BOUND                                 = 0x257E,
    SMSG_PLAYER_SAVE_GUILD_EMBLEM                     = 0x29F6,
    SMSG_PLAYER_SKINNED                               = 0x278A,
    SMSG_PLAYER_TABARD_VENDOR_ACTIVATE                = 0x279E,
    SMSG_PLAY_MUSIC                                   = 0x27AE,
    SMSG_PLAY_OBJECT_SOUND                            = 0x27AF,
    SMSG_PLAY_ONE_SHOT_ANIM_KIT                       = 0x2774,
    SMSG_PLAY_ORPHAN_SPELL_VISUAL                     = 0x2C46,
    SMSG_PLAY_SCENE                                   = 0x2655,
    SMSG_PLAY_SOUND                                   = 0x27AD,
    SMSG_PLAY_SPEAKERBOT_SOUND                        = 0x27B0,
    SMSG_PLAY_SPELL_VISUAL                            = 0x2C44,
    SMSG_PLAY_SPELL_VISUAL_KIT                        = 0x2C48,
    SMSG_PLAY_TIME_WARNING                            = 0x273C,
    SMSG_PONG                                         = 0x304E,
    SMSG_POWER_UPDATE                                 = 0x26FF,
    SMSG_PRESTIGE_AND_HONOR_INVOLUNTARILY_CHANGED     = 0x275A,
    SMSG_PRE_RESSURECT                                = 0x27AC,
    SMSG_PRINT_NOTIFICATION                           = 0x25E2,
    SMSG_PROC_RESIST                                  = 0x27A0,
    SMSG_PROPOSE_LEVEL_GRANT                          = 0x2712,
    SMSG_PUSH_SPELL_TO_ACTION_BAR                     = 0x2C50,
    SMSG_PVP_CREDIT                                   = 0x2718,
    SMSG_PVP_LOG_DATA                                 = 0x25B4,
    SMSG_PVP_OPTIONS_ENABLED                          = 0x25B7,
    SMSG_PVP_SEASON                                   = 0x25D4,
    SMSG_QUERY_BATTLE_PET_NAME_RESPONSE               = 0x2705,
    SMSG_QUERY_CREATURE_RESPONSE                      = 0x26FC,
    SMSG_QUERY_GAME_OBJECT_RESPONSE                   = 0x26FD,
    SMSG_QUERY_GARRISON_CREATURE_NAME_RESPONSE        = 0x292B,
    SMSG_QUERY_GUILD_INFO_RESPONSE                    = 0x29E5,
    SMSG_QUERY_ITEM_TEXT_RESPONSE                     = 0x2808,
    SMSG_QUERY_NPC_TEXT_RESPONSE                      = 0x2700,
    SMSG_QUERY_PAGE_TEXT_RESPONSE                     = 0x2702,
    SMSG_QUERY_PETITION_RESPONSE                      = 0x2706,
    SMSG_QUERY_PET_NAME_RESPONSE                      = 0x2704,
    SMSG_QUERY_PLAYER_NAME_RESPONSE                   = 0x2701,
    SMSG_QUERY_QUEST_INFO_RESPONSE                    = 0x2A95,
    SMSG_QUERY_QUEST_REWARD_RESPONSE                  = 0x2842,
    SMSG_QUERY_TIME_RESPONSE                          = 0x271C,
    SMSG_QUEST_COMPLETION_NPC_RESPONSE                = 0x2A81,
    SMSG_QUEST_CONFIRM_ACCEPT                         = 0x2A8E,
    SMSG_QUEST_FORCE_REMOVED                          = 0x2A9B,
    SMSG_QUEST_GIVER_INVALID_QUEST                    = 0x2A84,
    SMSG_QUEST_GIVER_OFFER_REWARD_MESSAGE             = 0x2A93,
    SMSG_QUEST_GIVER_QUEST_COMPLETE                   = 0x2A82,
    SMSG_QUEST_GIVER_QUEST_DETAILS                    = 0x2A91,
    SMSG_QUEST_GIVER_QUEST_FAILED                     = 0x2A85,
    SMSG_QUEST_GIVER_QUEST_LIST_MESSAGE               = 0x2A99,
    SMSG_QUEST_GIVER_QUEST_TURN_IN_FAILURE            = 0x284E,
    SMSG_QUEST_GIVER_REQUEST_ITEMS                    = 0x2A92,
    SMSG_QUEST_GIVER_STATUS                           = 0x2A9A,
    SMSG_QUEST_GIVER_STATUS_MULTIPLE                  = 0x2A90,
    SMSG_QUEST_LOG_FULL                               = 0x2A86,
    SMSG_QUEST_POI_CHANGED                            = 0x2A9F,
    SMSG_QUEST_POI_QUERY_RESPONSE                     = 0x2A9C,
    SMSG_QUEST_PUSH_RESULT                            = 0x2A8F,
    SMSG_QUEST_SPAWN_TRACKING_UPDATE                  = 0x2A9E,
    SMSG_QUEST_UPDATE_ADD_CREDIT                      = 0x2A8B,
    SMSG_QUEST_UPDATE_ADD_CREDIT_SIMPLE               = 0x2A8C,
    SMSG_QUEST_UPDATE_ADD_PVP_CREDIT                  = 0x2A8D,
    SMSG_QUEST_UPDATE_COMPLETE                        = 0x2A88,
    SMSG_QUEST_UPDATE_COMPLETE_BY_SPELL               = 0x2A87,
    SMSG_QUEST_UPDATE_FAILED                          = 0x2A89,
    SMSG_QUEST_UPDATE_FAILED_TIMER                    = 0x2A8A,
    SMSG_RAF_EMAIL_ENABLED_RESPONSE                   = 0x27CB,
    SMSG_RAID_DIFFICULTY_SET                          = 0x27EE,
    SMSG_RAID_GROUP_ONLY                              = 0x27F0,
    SMSG_RAID_INSTANCE_MESSAGE                        = 0x2BB4,
    SMSG_RAID_MARKERS_CHANGED                         = 0x25BA,
    SMSG_RANDOM_ROLL                                  = 0x264E,
    SMSG_RATED_BATTLEFIELD_INFO                       = 0x25A7,
    SMSG_READY_CHECK_COMPLETED                        = 0x260F,
    SMSG_READY_CHECK_RESPONSE                         = 0x260E,
    SMSG_READY_CHECK_STARTED                          = 0x260D,
    SMSG_READ_ITEM_RESULT_FAILED                      = 0x27EA,
    SMSG_READ_ITEM_RESULT_OK                          = 0x27E4,
    SMSG_REALM_QUERY_RESPONSE                         = 0x26E7,
    SMSG_RECRUIT_A_FRIEND_RESPONSE                    = 0x27CC,
    SMSG_REFER_A_FRIEND_EXPIRED                       = 0x2764,
    SMSG_REFER_A_FRIEND_FAILURE                       = 0x26ED,
    SMSG_REFRESH_COMPONENT                            = 0x267A,
    SMSG_REFRESH_SPELL_HISTORY                        = 0x2C2C,
    SMSG_REMOVE_ITEM_PASSIVE                          = 0x25C1,
    SMSG_REMOVE_LOSS_OF_CONTROL                       = 0x2699,
    SMSG_REPLACE_TROPHY_RESPONSE                      = 0x2805,
    SMSG_REPORT_PVP_PLAYER_AFK_RESULT                 = 0x26DB,
    SMSG_REQUEST_ADDON_LIST                           = 0x2661,
    SMSG_REQUEST_CEMETERY_LIST_RESPONSE               = 0x259E,
    SMSG_REQUEST_PVP_BRAWL_INFO_RESPONSE              = 0x25D6,
    SMSG_REQUEST_PVP_REWARDS_RESPONSE                 = 0x25D5,
    SMSG_RESEARCH_COMPLETE                            = 0x2586,
    SMSG_RESET_AREA_TRIGGER                           = 0x2642,
    SMSG_RESET_COMPRESSION_CONTEXT                    = 0x304F,
    SMSG_RESET_FAILED_NOTIFY                          = 0x26E3,
    SMSG_RESET_RANGED_COMBAT_TIMER                    = 0x2715,
    SMSG_RESET_WEEKLY_CURRENCY                        = 0x2574,
    SMSG_RESPEC_WIPE_CONFIRM                          = 0x2627,
    SMSG_RESPOND_INSPECT_ACHIEVEMENTS                 = 0x2571,
    SMSG_RESUME_CAST_BAR                              = 0x2C3D,
    SMSG_RESUME_COMMS                                 = 0x304B,
    SMSG_RESUME_TOKEN                                 = 0x25BF,
    SMSG_RESURRECT_REQUEST                            = 0x257F,
    SMSG_RESYNC_RUNES                                 = 0x273F,
    SMSG_ROLE_CHANGED_INFORM                          = 0x258D,
    SMSG_ROLE_CHOSEN                                  = 0x2A3A,
    SMSG_ROLE_POLL_INFORM                             = 0x258E,
    SMSG_RUNE_REGEN_DEBUG                             = 0x25C9,
    SMSG_SCENARIO_BOOT                                = 0x27EB,
    SMSG_SCENARIO_COMPLETED                           = 0x2829,
    SMSG_SCENARIO_POIS                                = 0x2651,
    SMSG_SCENARIO_PROGRESS_UPDATE                     = 0x264A,
    SMSG_SCENARIO_SET_SHOULD_SHOW_CRITERIA            = 0x2836,
    SMSG_SCENARIO_SPELL_UPDATE                        = 0x2835,
    SMSG_SCENARIO_STATE                               = 0x2649,
    SMSG_SCENE_OBJECT_EVENT                           = 0x25F8,
    SMSG_SCENE_OBJECT_PET_BATTLE_FINAL_ROUND          = 0x25FD,
    SMSG_SCENE_OBJECT_PET_BATTLE_FINISHED             = 0x25FE,
    SMSG_SCENE_OBJECT_PET_BATTLE_FIRST_ROUND          = 0x25FA,
    SMSG_SCENE_OBJECT_PET_BATTLE_INITIAL_UPDATE       = 0x25F9,
    SMSG_SCENE_OBJECT_PET_BATTLE_REPLACEMENTS_MADE    = 0x25FC,
    SMSG_SCENE_OBJECT_PET_BATTLE_ROUND_RESULT         = 0x25FB,
    SMSG_SCRIPT_CAST                                  = 0x2C54,
    SMSG_SELL_RESPONSE                                = 0x26F1,
    SMSG_SEND_ITEM_PASSIVES                           = 0x25C2,
    SMSG_SEND_KNOWN_SPELLS                            = 0x2C2A,
    SMSG_SEND_RAID_TARGET_UPDATE_ALL                  = 0x264C,
    SMSG_SEND_RAID_TARGET_UPDATE_SINGLE               = 0x264D,
    SMSG_SEND_SPELL_CHARGES                           = 0x2C2D,
    SMSG_SEND_SPELL_HISTORY                           = 0x2C2B,
    SMSG_SEND_UNLEARN_SPELLS                          = 0x2C2E,
    SMSG_SERVER_FIRST_ACHIEVEMENT                     = 0x2BBC,
    SMSG_SERVER_FIRST_ACHIEVEMENTS                    = 0x266C,
    SMSG_SERVER_TIME                                  = 0x26AD,
    SMSG_SETUP_CURRENCY                               = 0x2572,
    SMSG_SETUP_RESEARCH_HISTORY                       = 0x2585,
    SMSG_SET_AI_ANIM_KIT                              = 0x2773,
    SMSG_SET_ALL_TASK_PROGRESS                        = 0x27D4,
    SMSG_SET_ANIM_TIER                                = 0x2777,
    SMSG_SET_CURRENCY                                 = 0x2573,
    SMSG_SET_DF_FAST_LAUNCH_RESULT                    = 0x2A2E,
    SMSG_SET_DUNGEON_DIFFICULTY                       = 0x26CF,
    SMSG_SET_FACTION_AT_WAR                           = 0x273E,
    SMSG_SET_FACTION_NOT_VISIBLE                      = 0x276E,
    SMSG_SET_FACTION_STANDING                         = 0x276F,
    SMSG_SET_FACTION_VISIBLE                          = 0x276D,
    SMSG_SET_FLAT_SPELL_MODIFIER                      = 0x2C36,
    SMSG_SET_FORCED_REACTIONS                         = 0x275E,
    SMSG_SET_ITEM_PURCHASE_DATA                       = 0x25B1,
    SMSG_SET_LOOT_METHOD_FAILED                       = 0x2814,
    SMSG_SET_MAX_WEEKLY_QUANTITY                      = 0x25B8,
    SMSG_SET_MELEE_ANIM_KIT                           = 0x2776,
    SMSG_SET_MOVEMENT_ANIM_KIT                        = 0x2775,
    SMSG_SET_PCT_SPELL_MODIFIER                       = 0x2C37,
    SMSG_SET_PET_SPECIALIZATION                       = 0x2643,
    SMSG_SET_PLAYER_DECLINED_NAMES_RESULT             = 0x2709,
    SMSG_SET_PLAY_HOVER_ANIM                          = 0x25CD,
    SMSG_SET_PROFICIENCY                              = 0x2778,
    SMSG_SET_SPELL_CHARGES                            = 0x2C29,
    SMSG_SET_TASK_COMPLETE                            = 0x27D5,
    SMSG_SET_TIME_ZONE_INFORMATION                    = 0x26A1,
    SMSG_SET_VEHICLE_REC_ID                           = 0x2731,
    SMSG_SHOW_ADVENTURE_MAP                           = 0x2832,
    SMSG_SHOW_BANK                                    = 0x26AA,
    SMSG_SHOW_MAILBOX                                 = 0x27EC,
    SMSG_SHOW_NEUTRAL_PLAYER_FACTION_SELECT_UI        = 0x25F1,
    SMSG_SHOW_TAXI_NODES                              = 0x26F8,
    SMSG_SHOW_TRADE_SKILL_RESPONSE                    = 0x27B5,
    SMSG_SOCKET_GEMS                                  = 0x276A,
    SMSG_SOCKET_GEMS_FAILURE                          = 0x276B,
    SMSG_SORT_BAGS_RESULT                             = 0x2822,
    SMSG_SOR_START_EXPERIENCE_INCOMPLETE              = 0x25F3,
    SMSG_SPECIALIZATION_CHANGED                       = 0x25ED,
    SMSG_SPECIAL_MOUNT_ANIM                           = 0x26CA,
    SMSG_SPEC_INVOLUNTARILY_CHANGED                   = 0x2759,
    SMSG_SPELL_ABSORB_LOG                             = 0x2C1F,
    SMSG_SPELL_CATEGORY_COOLDOWN                      = 0x2C17,
    SMSG_SPELL_CHANNEL_START                          = 0x2C34,
    SMSG_SPELL_CHANNEL_UPDATE                         = 0x2C35,
    SMSG_SPELL_COOLDOWN                               = 0x2C15,
    SMSG_SPELL_DAMAGE_SHIELD                          = 0x2C31,
    SMSG_SPELL_DELAYED                                = 0x2C3E,
    SMSG_SPELL_DISPELL_LOG                            = 0x2C1A,
    SMSG_SPELL_ENERGIZE_LOG                           = 0x2C1C,
    SMSG_SPELL_EXECUTE_LOG                            = 0x2C3F,
    SMSG_SPELL_FAILED_OTHER                           = 0x2C53,
    SMSG_SPELL_FAILURE                                = 0x2C51,
    SMSG_SPELL_FAILURE_MESSAGE                        = 0x2C58,
    SMSG_SPELL_GO                                     = 0x2C39,
    SMSG_SPELL_HEAL_ABSORB_LOG                        = 0x2C1E,
    SMSG_SPELL_HEAL_LOG                               = 0x2C1D,
    SMSG_SPELL_INSTAKILL_LOG                          = 0x2C33,
    SMSG_SPELL_INTERRUPT_LOG                          = 0x2C20,
    SMSG_SPELL_MISS_LOG                               = 0x2C40,
    SMSG_SPELL_NON_MELEE_DAMAGE_LOG                   = 0x2C32,
    SMSG_SPELL_OR_DAMAGE_IMMUNE                       = 0x2C2F,
    SMSG_SPELL_PERIODIC_AURA_LOG                      = 0x2C1B,
    SMSG_SPELL_PREPARE                                = 0x2C38,
    SMSG_SPELL_START                                  = 0x2C3A,
    SMSG_SPIRIT_HEALER_CONFIRM                        = 0x2756,
    SMSG_STAND_STATE_UPDATE                           = 0x275D,
    SMSG_START_ELAPSED_TIMER                          = 0x261B,
    SMSG_START_ELAPSED_TIMERS                         = 0x261D,
    SMSG_START_LOOT_ROLL                              = 0x2632,
    SMSG_START_MIRROR_TIMER                           = 0x2750,
    SMSG_START_TIMER                                  = 0x25BC,
    SMSG_STOP_ELAPSED_TIMER                           = 0x261C,
    SMSG_STOP_MIRROR_TIMER                            = 0x2752,
    SMSG_STOP_SPEAKERBOT_SOUND                        = 0x27B1,
    SMSG_STREAMING_MOVIES                             = 0x25BB,
    SMSG_SUMMON_CANCEL                                = 0x26DA,
    SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED           = 0x258F,
    SMSG_SUMMON_REQUEST                               = 0x2762,
    SMSG_SUPERCEDED_SPELLS                            = 0x2C4B,
    SMSG_SUSPEND_COMMS                                = 0x304A,
    SMSG_SUSPEND_TOKEN                                = 0x25BE,
    SMSG_TALENTS_INVOLUNTARILY_RESET                  = 0x2758,
    SMSG_TAXI_NODE_STATUS                             = 0x26A7,
    SMSG_TEXT_EMOTE                                   = 0x26A5,
    SMSG_THREAT_CLEAR                                 = 0x2711,
    SMSG_THREAT_REMOVE                                = 0x2710,
    SMSG_THREAT_UPDATE                                = 0x270F,
    SMSG_TIME_ADJUSTMENT                              = 0x2DA1,
    SMSG_TIME_SYNC_REQUEST                            = 0x2DA0,
    SMSG_TITLE_EARNED                                 = 0x270C,
    SMSG_TITLE_LOST                                   = 0x270D,
    SMSG_TOTEM_CREATED                                = 0x26F4,
    SMSG_TOTEM_MOVED                                  = 0x26F5,
    SMSG_TRADE_STATUS                                 = 0x2582,
    SMSG_TRADE_UPDATED                                = 0x2581,
    SMSG_TRAINER_BUY_FAILED                           = 0x2717,
    SMSG_TRAINER_LIST                                 = 0x2716,
    SMSG_TRANSFER_ABORTED                             = 0x2742,
    SMSG_TRANSFER_PENDING                             = 0x25E6,
    SMSG_TRANSMOG_COLLECTION_UPDATE                   = 0x25C7,
    SMSG_TRANSMOG_SET_COLLECTION_UPDATE               = 0x25C8,
    SMSG_TRIGGER_CINEMATIC                            = 0x280C,
    SMSG_TRIGGER_MOVIE                                = 0x26F6,
    SMSG_TURN_IN_PETITION_RESULT                      = 0x2793,
    SMSG_TUTORIAL_FLAGS                               = 0x27FE,
    SMSG_TUTORIAL_HIGHLIGHT_SPELL                     = 0x283C,
    SMSG_TUTORIAL_UNHIGHLIGHT_SPELL                   = 0x283B,
    SMSG_TWITTER_STATUS                               = 0x2FFD,
    SMSG_UI_TIME                                      = 0x2755,
    SMSG_UNDELETE_CHARACTER_RESPONSE                  = 0x280F,
    SMSG_UNDELETE_COOLDOWN_STATUS_RESPONSE            = 0x2810,
    SMSG_UNLEARNED_SPELLS                             = 0x2C4D,
    SMSG_UPDATE_ACCOUNT_DATA                          = 0x274A,
    SMSG_UPDATE_ACTION_BUTTONS                        = 0x25F6,
    SMSG_UPDATE_CHARACTER_FLAGS                       = 0x2804,
    SMSG_UPDATE_DUNGEON_ENCOUNTER_FOR_LOOT            = 0x2A31,
    SMSG_UPDATE_EXPANSION_LEVEL                       = 0x2665,
    SMSG_UPDATE_INSTANCE_OWNERSHIP                    = 0x26D2,
    SMSG_UPDATE_LAST_INSTANCE                         = 0x26B3,
    SMSG_UPDATE_OBJECT                                = 0x280D,
    SMSG_UPDATE_TALENT_DATA                           = 0x25EC,
    SMSG_UPDATE_TASK_PROGRESS                         = 0x27D3,
    SMSG_UPDATE_WEEKLY_SPELL_USAGE                    = 0x2C19,
    SMSG_UPDATE_WORLD_STATE                           = 0x278E,
    SMSG_USERLIST_ADD                                 = 0x2BB9,
    SMSG_USERLIST_REMOVE                              = 0x2BBA,
    SMSG_USERLIST_UPDATE                              = 0x2BBB,
    SMSG_USE_EQUIPMENT_SET_RESULT                     = 0x2794,
    SMSG_VENDOR_INVENTORY                             = 0x25CB,
    SMSG_VIGNETTE_UPDATE                              = 0x27B3,
    SMSG_VOID_ITEM_SWAP_RESPONSE                      = 0x25E0,
    SMSG_VOID_STORAGE_CONTENTS                        = 0x25DD,
    SMSG_VOID_STORAGE_FAILED                          = 0x25DC,
    SMSG_VOID_STORAGE_TRANSFER_CHANGES                = 0x25DE,
    SMSG_VOID_TRANSFER_RESULT                         = 0x25DF,
    SMSG_WAIT_QUEUE_FINISH                            = 0x256E,
    SMSG_WAIT_QUEUE_UPDATE                            = 0x256D,
    SMSG_WARDEN_DATA                                  = 0x2576,
    SMSG_WARGAME_REQUEST_SUCCESSFULLY_SENT_TO_OPPONENT = 0x25B5,
    SMSG_WEATHER                                      = 0x26D1,
    SMSG_WEEKLY_SPELL_USAGE                           = 0x2C18,
    SMSG_WHO                                          = 0x2BAE,
    SMSG_WHO_IS                                       = 0x26D0,
    SMSG_WORLD_QUEST_UPDATE                           = 0x2843,
    SMSG_WORLD_SERVER_INFO                            = 0x25C3,
    SMSG_WORLD_TEXT                                   = 0x282B,
    SMSG_WOW_TOKEN_AUCTION_SOLD                       = 0x281A,
    SMSG_WOW_TOKEN_BUY_REQUEST_CONFIRMATION           = 0x281C,
    SMSG_WOW_TOKEN_BUY_RESULT_CONFIRMATION            = 0x281D,
    SMSG_WOW_TOKEN_CAN_REDEEM_FOR_BALANCE_RESULT      = 0x2852,
    SMSG_WOW_TOKEN_CAN_VETERAN_BUY_RESULT             = 0x281B,
    SMSG_WOW_TOKEN_DISTRIBUTION_GLUE_UPDATE           = 0x2815,
    SMSG_WOW_TOKEN_DISTRIBUTION_UPDATE                = 0x2816,
    SMSG_WOW_TOKEN_MARKET_PRICE_RESPONSE              = 0x2817,
    SMSG_WOW_TOKEN_REDEEM_GAME_TIME_UPDATED           = 0x281E,
    SMSG_WOW_TOKEN_REDEEM_REQUEST_CONFIRMATION        = 0x281F,
    SMSG_WOW_TOKEN_REDEEM_RESULT                      = 0x2820,
    SMSG_WOW_TOKEN_SELL_REQUEST_CONFIRMATION          = 0x2818,
    SMSG_WOW_TOKEN_SELL_RESULT_CONFIRMATION           = 0x2819,
    SMSG_WOW_TOKEN_UPDATE_AUCTIONABLE_LIST_RESPONSE   = 0x2821,
    SMSG_XP_GAIN_ABORTED                              = 0x25E1,
    SMSG_XP_GAIN_ENABLED                              = 0x27EF,
    SMSG_ZONE_UNDER_ATTACK                            = 0x2BB5,

    // Opcodes that are not generated automatically
    SMSG_ACCOUNT_HEIRLOOM_UPDATE                      = 0xBADD, // no client handler
    SMSG_ITEM_UPGRADE_RESULT                          = 0xBADD, // no client handler
    SMSG_COMPRESSED_PACKET                            = 0x3052,
    SMSG_MULTIPLE_PACKETS                             = 0x3051,

    // Deleted opcodes, here only to allow compile
    SMSG_ARENA_TEAM_STATS                             = 0xBADD,
    SMSG_BUY_BANK_SLOT_RESULT                         = 0xBADD,
    SMSG_BF_MGR_EJECTED                               = 0xBADD,
    SMSG_BF_MGR_ENTERING                              = 0xBADD,
    SMSG_BF_MGR_ENTRY_INVITE                          = 0xBADD,
    SMSG_BF_MGR_QUEUE_INVITE                          = 0xBADD,
    SMSG_BF_MGR_QUEUE_REQUEST_RESPONSE                = 0xBADD,
};

inline bool IsInstanceOnlyOpcode(uint32 opcode)
{
    switch (opcode)
    {
        case SMSG_QUEST_GIVER_STATUS: // ClientQuest
        case SMSG_DUEL_REQUESTED: // Client
        case SMSG_DUEL_IN_BOUNDS: // Client
        case SMSG_QUERY_TIME_RESPONSE: // Client
        case SMSG_DUEL_WINNER: // Client
        case SMSG_DUEL_COMPLETE: // Client
        case SMSG_DUEL_OUT_OF_BOUNDS: // Client
        case SMSG_ATTACK_STOP: // Client
        case SMSG_ATTACK_START: // Client
        case SMSG_MOUNT_RESULT: // Client
            return true;
        default:
            return false;
    }
}

/// Player state
enum SessionStatus
{
    STATUS_AUTHED = 0,                                      // Player authenticated (_player == NULL, m_playerRecentlyLogout = false or will be reset before handler call, m_GUID have garbage)
    STATUS_LOGGEDIN,                                        // Player in game (_player != NULL, m_GUID == _player->GetGUID(), inWorld())
    STATUS_TRANSFER,                                        // Player transferring to another map (_player != NULL, m_GUID == _player->GetGUID(), !inWorld())
    STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT,                    // _player != NULL or _player == NULL && m_playerRecentlyLogout && m_playerLogout, m_GUID store last _player guid)
    STATUS_NEVER,                                           // Opcode not accepted from client (deprecated or server side only)
    STATUS_UNHANDLED                                        // Opcode not handled yet
};

enum PacketProcessing
{
    PROCESS_INPLACE = 0,                                    //process packet whenever we receive it - mostly for non-handled or non-implemented packets
    PROCESS_THREADUNSAFE,                                   //packet is not thread-safe - process it in World::UpdateSessions()
    PROCESS_THREADSAFE                                      //packet is thread-safe - process it in Map::Update()
};

class WorldPacket;
class WorldSession;

class OpcodeHandler
{
public:
    OpcodeHandler(char const* name, SessionStatus status) : Name(name), Status(status) { }
    virtual ~OpcodeHandler() { }

    char const* Name;
    SessionStatus Status;
};

class ClientOpcodeHandler : public OpcodeHandler
{
public:
    ClientOpcodeHandler(char const* name, SessionStatus status, PacketProcessing processing)
        : OpcodeHandler(name, status), ProcessingPlace(processing) { }

    virtual void Call(WorldSession* session, WorldPacket& packet) const = 0;

    PacketProcessing ProcessingPlace;
};

class ServerOpcodeHandler : public OpcodeHandler
{
public:
    ServerOpcodeHandler(char const* name, SessionStatus status, ConnectionType conIdx)
        : OpcodeHandler(name, status), ConnectionIndex(conIdx) { }

    ConnectionType ConnectionIndex;
};

class OpcodeTable
{
    public:
        OpcodeTable();

        OpcodeTable(OpcodeTable const&) = delete;
        OpcodeTable& operator=(OpcodeTable const&) = delete;

        ~OpcodeTable();

        void Initialize();

        ClientOpcodeHandler const* operator[](OpcodeClient index) const
        {
            return _internalTableClient[index];
        }

        ServerOpcodeHandler const* operator[](OpcodeServer index) const
        {
            return _internalTableServer[index];
        }

    private:
        template<typename Handler, Handler HandlerFunction>
        void ValidateAndSetClientOpcode(OpcodeClient opcode, char const* name, SessionStatus status, PacketProcessing processing);

        void ValidateAndSetServerOpcode(OpcodeServer opcode, char const* name, SessionStatus status, ConnectionType conIdx);

        ClientOpcodeHandler* _internalTableClient[NUM_OPCODE_HANDLERS];
        ServerOpcodeHandler* _internalTableServer[NUM_OPCODE_HANDLERS];
};

extern OpcodeTable opcodeTable;

/// Lookup opcode name for human understandable logging
std::string GetOpcodeNameForLogging(OpcodeClient opcode);
std::string GetOpcodeNameForLogging(OpcodeServer opcode);

#endif
/// @}
