Opcodes.h
上传用户:jxpjxmjjw
上传日期:2009-12-07
资源大小:5877k
文件大小:30k
源码类别:

模拟服务器

开发平台:

Visual C++

  1. // Copyright (C) 2004 Team Python //   // 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, write to the Free Software  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef WOWPYTHONSERVER_OPCODES_H #define WOWPYTHONSERVER_OPCODES_H enum Opcodes {      MSG_NULL_ACTION                             = 0x0000,     CMSG_BOOTME                                 = 0x0001,     CMSG_DBLOOKUP                               = 0x0002,     SMSG_DBLOOKUP                               = 0x0003,     CMSG_QUERY_OBJECT_POSITION                  = 0x0004,     SMSG_QUERY_OBJECT_POSITION                  = 0x0005,     CMSG_QUERY_OBJECT_ROTATION                  = 0x0006,     SMSG_QUERY_OBJECT_ROTATION                  = 0x0007,     CMSG_WORLD_TELEPORT                         = 0x0008,     CMSG_TELEPORT_TO_UNIT                       = 0x0009,     CMSG_ZONE_MAP                               = 0x000A,     SMSG_ZONE_MAP                               = 0x000B,     CMSG_DEBUG_CHANGECELLZONE                   = 0x000C,     CMSG_EMBLAZON_TABARD_OBSOLETE               = 0x000D,     CMSG_UNEMBLAZON_TABARD_OBSOLETE             = 0x000E,     CMSG_RECHARGE                               = 0x000F,     CMSG_LEARN_SPELL                            = 0x0010,     CMSG_CREATEMONSTER                          = 0x0011,     CMSG_DESTROYMONSTER                         = 0x0012,     CMSG_CREATEITEM                             = 0x0013,     CMSG_CREATEGAMEOBJECT                       = 0x0014,     CMSG_MAKEMONSTERATTACKME                    = 0x0015,     CMSG_MAKEMONSTERATTACKGUID                  = 0x0016,     CMSG_ENABLEDEBUGCOMBATLOGGING_OBSOLETE      = 0x0017,     CMSG_FORCEACTION                            = 0x0018,     CMSG_FORCEACTIONONOTHER                     = 0x0019,     CMSG_FORCEACTIONSHOW                        = 0x001A,     SMSG_FORCEACTIONSHOW                        = 0x001B,     SMSG_ATTACKERSTATEUPDATEDEBUGINFO_OBSOLETE  = 0x001C,     SMSG_DEBUGINFOSPELL_OBSOLETE                = 0x001D,     SMSG_DEBUGINFOSPELLMISS_OBSOLETE            = 0x001E,     SMSG_DEBUG_PLAYER_RANGE_OBSOLETE            = 0x001F,     CMSG_UNDRESSPLAYER                          = 0x0020,     CMSG_BEASTMASTER                            = 0x0021,     CMSG_GODMODE                                = 0x0022,     SMSG_GODMODE                                = 0x0023,     CMSG_CHEAT_SETMONEY                         = 0x0024,     CMSG_LEVEL_CHEAT                            = 0x0025,     CMSG_PET_LEVEL_CHEAT                        = 0x0026,     CMSG_LEVELUP_CHEAT_OBSOLETE                 = 0x0027,     CMSG_COOLDOWN_CHEAT                         = 0x0028,     CMSG_USE_SKILL_CHEAT                        = 0x0029,     CMSG_FLAG_QUEST                             = 0x002A,     CMSG_FLAG_QUEST_FINISH                      = 0x002B,     CMSG_CLEAR_QUEST                            = 0x002C,     CMSG_SEND_EVENT                             = 0x002D,     CMSG_DEBUG_AISTATE                          = 0x002E,     SMSG_DEBUG_AISTATE                          = 0x002F,     CMSG_DISABLE_PVP_CHEAT                      = 0x0030,     CMSG_ADVANCE_SPAWN_TIME                     = 0x0031,     CMSG_PVP_PORT_OBSOLETE                      = 0x0032,     CMSG_AUTH_SRP6_BEGIN                        = 0x0033,     CMSG_AUTH_SRP6_PROOF                        = 0x0034,     CMSG_AUTH_SRP6_RECODE                       = 0x0035,     CMSG_CHAR_CREATE                            = 0x0036,     CMSG_CHAR_ENUM                              = 0x0037,     CMSG_CHAR_DELETE                            = 0x0038,     SMSG_AUTH_SRP6_RESPONSE                     = 0x0039,     SMSG_CHAR_CREATE                            = 0x003A,     SMSG_CHAR_ENUM                              = 0x003B,     SMSG_CHAR_DELETE                            = 0x003C,     CMSG_PLAYER_LOGIN                           = 0x003D,     SMSG_NEW_WORLD                              = 0x003E,     SMSG_TRANSFER_PENDING                       = 0x003F,     SMSG_TRANSFER_ABORTED                       = 0x0040,     SMSG_CHARACTER_LOGIN_FAILED                 = 0x0041,     SMSG_LOGIN_SETTIMESPEED                     = 0x0042,     SMSG_GAMETIME_UPDATE                        = 0x0043,     CMSG_GAMETIME_SET                           = 0x0044,     SMSG_GAMETIME_SET                           = 0x0045,     CMSG_GAMESPEED_SET                          = 0x0046,     SMSG_GAMESPEED_SET                          = 0x0047,     CMSG_SERVERTIME                             = 0x0048,     SMSG_SERVERTIME                             = 0x0049,     CMSG_PLAYER_LOGOUT                          = 0x004A,     CMSG_LOGOUT_REQUEST                         = 0x004B,     SMSG_LOGOUT_RESPONSE                        = 0x004C,     SMSG_LOGOUT_COMPLETE                        = 0x004D,     CMSG_LOGOUT_CANCEL = 0x004E,     SMSG_LOGOUT_CANCEL_ACK = 0x004F,     CMSG_NAME_QUERY = 0x0050,     SMSG_NAME_QUERY_RESPONSE = 0x0051,     CMSG_PET_NAME_QUERY = 0x0052,     SMSG_PET_NAME_QUERY_RESPONSE = 0x0053,     CMSG_GUILD_QUERY = 0x0054,     SMSG_GUILD_QUERY_RESPONSE = 0x0055,     CMSG_ITEM_QUERY_SINGLE = 0x0056,     CMSG_ITEM_QUERY_MULTIPLE = 0x0057,     SMSG_ITEM_QUERY_SINGLE_RESPONSE             = 0x0058,     SMSG_ITEM_QUERY_MULTIPLE_RESPONSE           = 0x0059,     CMSG_PAGE_TEXT_QUERY                        = 0x005A,     SMSG_PAGE_TEXT_QUERY_RESPONSE               = 0x005B,     CMSG_QUEST_QUERY                            = 0x005C,     SMSG_QUEST_QUERY_RESPONSE                   = 0x005D,     CMSG_GAMEOBJECT_QUERY                       = 0x005E,     SMSG_GAMEOBJECT_QUERY_RESPONSE = 0x005F,     CMSG_CREATURE_QUERY = 0x0060,     SMSG_CREATURE_QUERY_RESPONSE = 0x0061,     CMSG_WHO = 0x0062,     SMSG_WHO = 0x0063,     CMSG_WHOIS = 0x0064,     SMSG_WHOIS = 0x0065,     CMSG_FRIEND_LIST = 0x0066,     SMSG_FRIEND_LIST = 0x0067,     SMSG_FRIEND_STATUS = 0x0068,     CMSG_ADD_FRIEND = 0x0069,     CMSG_DEL_FRIEND = 0x006A,     SMSG_IGNORE_LIST = 0x006B,     CMSG_ADD_IGNORE = 0x006C,     CMSG_DEL_IGNORE = 0x006D,     CMSG_GROUP_INVITE = 0x006E,     SMSG_GROUP_INVITE = 0x006F,     CMSG_GROUP_CANCEL = 0x0070,     SMSG_GROUP_CANCEL = 0x0071,     CMSG_GROUP_ACCEPT = 0x0072,     CMSG_GROUP_DECLINE = 0x0073,     SMSG_GROUP_DECLINE = 0x0074,     CMSG_GROUP_UNINVITE = 0x0075,     CMSG_GROUP_UNINVITE_GUID = 0x0076,     SMSG_GROUP_UNINVITE = 0x0077,     CMSG_GROUP_SET_LEADER = 0x0078,     SMSG_GROUP_SET_LEADER = 0x0079,     CMSG_LOOT_METHOD = 0x007A,     CMSG_GROUP_DISBAND = 0x007B,     SMSG_GROUP_DESTROYED = 0x007C,     SMSG_GROUP_LIST = 0x007D,     SMSG_PARTY_MEMBER_STATS = 0x007E,     SMSG_PARTY_COMMAND_RESULT = 0x007F,     UMSG_UPDATE_GROUP_MEMBERS = 0x0080,     CMSG_GUILD_CREATE = 0x0081,     CMSG_GUILD_INVITE = 0x0082,     SMSG_GUILD_INVITE = 0x0083,     CMSG_GUILD_ACCEPT = 0x0084,     CMSG_GUILD_DECLINE = 0x0085,     SMSG_GUILD_DECLINE = 0x0086,     CMSG_GUILD_INFO = 0x0087,     SMSG_GUILD_INFO = 0x0088,     CMSG_GUILD_ROSTER = 0x0089,     SMSG_GUILD_ROSTER = 0x008A,     CMSG_GUILD_PROMOTE = 0x008B,     CMSG_GUILD_DEMOTE = 0x008C,     CMSG_GUILD_LEAVE = 0x008D,     CMSG_GUILD_REMOVE = 0x008E,     CMSG_GUILD_DISBAND = 0x008F,     CMSG_GUILD_LEADER = 0x0090,     CMSG_GUILD_MOTD = 0x0091,     SMSG_GUILD_EVENT = 0x0092,     SMSG_GUILD_COMMAND_RESULT = 0x0093,     UMSG_UPDATE_GUILD = 0x0094,     CMSG_MESSAGECHAT = 0x0095,     SMSG_MESSAGECHAT = 0x0096,     CMSG_JOIN_CHANNEL = 0x0097,     CMSG_LEAVE_CHANNEL = 0x0098,     SMSG_CHANNEL_NOTIFY = 0x0099,     CMSG_CHANNEL_LIST = 0x009A,     SMSG_CHANNEL_LIST = 0x009B,     CMSG_CHANNEL_PASSWORD = 0x009C,     CMSG_CHANNEL_SET_OWNER = 0x009D,     CMSG_CHANNEL_OWNER = 0x009E,     CMSG_CHANNEL_MODERATOR = 0x009F,     CMSG_CHANNEL_UNMODERATOR = 0x00A0,     CMSG_CHANNEL_MUTE = 0x00A1,     CMSG_CHANNEL_UNMUTE = 0x00A2,     CMSG_CHANNEL_INVITE = 0x00A3,     CMSG_CHANNEL_KICK = 0x00A4,     CMSG_CHANNEL_BAN = 0x00A5,     CMSG_CHANNEL_UNBAN = 0x00A6,     CMSG_CHANNEL_ANNOUNCEMENTS = 0x00A7,     CMSG_CHANNEL_MODERATE = 0x00A8,     SMSG_UPDATE_OBJECT = 0x00A9,     SMSG_DESTROY_OBJECT = 0x00AA,     CMSG_USE_ITEM = 0x00AB,     CMSG_OPEN_ITEM = 0x00AC,     CMSG_READ_ITEM = 0x00AD,     SMSG_READ_ITEM_OK = 0x00AE,     SMSG_READ_ITEM_FAILED = 0x00AF,     SMSG_ITEM_COOLDOWN = 0x00B0,     CMSG_GAMEOBJ_USE = 0x00B1,     CMSG_GAMEOBJ_CHAIR_USE_OBSOLETE = 0x00B2,     SMSG_GAMEOBJECT_CUSTOM_ANIM = 0x00B3,     CMSG_AREATRIGGER = 0x00B4,     MSG_MOVE_START_FORWARD = 0x00B5,     MSG_MOVE_START_BACKWARD = 0x00B6,     MSG_MOVE_STOP = 0x00B7,     MSG_MOVE_START_STRAFE_LEFT = 0x00B8,     MSG_MOVE_START_STRAFE_RIGHT = 0x00B9,     MSG_MOVE_STOP_STRAFE = 0x00BA,     MSG_MOVE_JUMP = 0x00BB,     MSG_MOVE_START_TURN_LEFT = 0x00BC,     MSG_MOVE_START_TURN_RIGHT = 0x00BD,     MSG_MOVE_STOP_TURN = 0x00BE,     MSG_MOVE_START_PITCH_UP = 0x00BF,     MSG_MOVE_START_PITCH_DOWN = 0x00C0,     MSG_MOVE_STOP_PITCH = 0x00C1,     MSG_MOVE_SET_RUN_MODE = 0x00C2,     MSG_MOVE_SET_WALK_MODE = 0x00C3,     MSG_MOVE_TOGGLE_LOGGING = 0x00C4,     MSG_MOVE_TELEPORT = 0x00C5,     MSG_MOVE_TELEPORT_CHEAT = 0x00C6,     MSG_MOVE_TELEPORT_ACK = 0x00C7,     MSG_MOVE_TOGGLE_FALL_LOGGING = 0x00C8,     MSG_MOVE_FALL_LAND = 0x00C9,     MSG_MOVE_START_SWIM = 0x00CA,     MSG_MOVE_STOP_SWIM = 0x00CB,     MSG_MOVE_SET_RUN_SPEED_CHEAT = 0x00CC,     MSG_MOVE_SET_RUN_SPEED = 0x00CD,     MSG_MOVE_SET_RUN_BACK_SPEED_CHEAT = 0x00CE,     MSG_MOVE_SET_RUN_BACK_SPEED = 0x00CF,     MSG_MOVE_SET_WALK_SPEED_CHEAT = 0x00D0,     MSG_MOVE_SET_WALK_SPEED = 0x00D1,     MSG_MOVE_SET_SWIM_SPEED_CHEAT = 0x00D2,     MSG_MOVE_SET_SWIM_SPEED = 0x00D3,     MSG_MOVE_SET_SWIM_BACK_SPEED_CHEAT = 0x00D4,     MSG_MOVE_SET_SWIM_BACK_SPEED = 0x00D5,     MSG_MOVE_SET_ALL_SPEED_CHEAT = 0x00D6,     MSG_MOVE_SET_TURN_RATE_CHEAT = 0x00D7,     MSG_MOVE_SET_TURN_RATE = 0x00D8,     MSG_MOVE_TOGGLE_COLLISION_CHEAT = 0x00D9,     MSG_MOVE_SET_FACING = 0x00DA,     MSG_MOVE_SET_PITCH = 0x00DB,     MSG_MOVE_WORLDPORT_ACK = 0x00DC,     SMSG_MONSTER_MOVE = 0x00DD,     SMSG_MOVE_WATER_WALK = 0x00DE,     SMSG_MOVE_LAND_WALK = 0x00DF,     MSG_MOVE_SET_RAW_POSITION_ACK = 0x00E0,     CMSG_MOVE_SET_RAW_POSITION = 0x00E1,     SMSG_FORCE_SPEED_CHANGE = 0x00E2,     CMSG_FORCE_SPEED_CHANGE_ACK = 0x00E3,     SMSG_FORCE_SWIM_SPEED_CHANGE = 0x00E4,     CMSG_FORCE_SWIM_SPEED_CHANGE_ACK = 0x00E5,     SMSG_FORCE_MOVE_ROOT = 0x00E6,     CMSG_FORCE_MOVE_ROOT_ACK = 0x00E7,     SMSG_FORCE_MOVE_UNROOT = 0x00E8,     CMSG_FORCE_MOVE_UNROOT_ACK = 0x00E9,     MSG_MOVE_ROOT = 0x00EA,     MSG_MOVE_UNROOT = 0x00EB,     MSG_MOVE_HEARTBEAT = 0x00EC,     SMSG_MOVE_KNOCK_BACK = 0x00ED,     CMSG_MOVE_KNOCK_BACK_ACK = 0x00EE,     MSG_MOVE_KNOCK_BACK = 0x00EF,     SMSG_MOVE_FEATHER_FALL = 0x00F0,     SMSG_MOVE_NORMAL_FALL = 0x00F1,     SMSG_MOVE_SET_HOVER = 0x00F2,     SMSG_MOVE_UNSET_HOVER = 0x00F3,     CMSG_MOVE_HOVER_ACK = 0x00F4,     MSG_MOVE_HOVER = 0x00F5,     CMSG_TRIGGER_CINEMATIC_CHEAT = 0x00F6,     CMSG_OPENING_CINEMATIC = 0x00F7,     SMSG_TRIGGER_CINEMATIC = 0x00F8,     CMSG_NEXT_CINEMATIC_CAMERA = 0x00F9,     CMSG_COMPLETE_CINEMATIC = 0x00FA,     SMSG_TUTORIAL_FLAGS = 0x00FB,     CMSG_TUTORIAL_FLAG = 0x00FC,     CMSG_TUTORIAL_CLEAR = 0x00FD,     CMSG_TUTORIAL_RESET = 0x00FE,     CMSG_STANDSTATECHANGE = 0x00FF,     CMSG_EMOTE = 0x0100,     SMSG_EMOTE = 0x0101,     CMSG_TEXT_EMOTE = 0x0102,     SMSG_TEXT_EMOTE = 0x0103,     CMSG_AUTOEQUIP_GROUND_ITEM = 0x0104,     CMSG_AUTOSTORE_GROUND_ITEM = 0x0105,     CMSG_AUTOSTORE_LOOT_ITEM = 0x0106,     CMSG_STORE_LOOT_IN_SLOT = 0x0107,     CMSG_AUTOEQUIP_ITEM = 0x0108,     CMSG_AUTOSTORE_BAG_ITEM = 0x0109,     CMSG_SWAP_ITEM = 0x010A,     CMSG_SWAP_INV_ITEM = 0x010B,     CMSG_SPLIT_ITEM = 0x010C,     CMSG_PICKUP_ITEM = 0x010D,     CMSG_DROP_ITEM = 0x010E,     CMSG_DESTROYITEM = 0x010F,     SMSG_INVENTORY_CHANGE_FAILURE = 0x0110,     SMSG_OPEN_CONTAINER = 0x0111,     CMSG_INSPECT = 0x0112,     SMSG_INSPECT = 0x0113,     CMSG_INITIATE_TRADE = 0x0114,     CMSG_BEGIN_TRADE = 0x0115,     CMSG_BUSY_TRADE = 0x0116,     CMSG_IGNORE_TRADE = 0x0117,     CMSG_ACCEPT_TRADE = 0x0118,     CMSG_UNACCEPT_TRADE = 0x0119,     CMSG_CANCEL_TRADE = 0x011A,     CMSG_SET_TRADE_ITEM = 0x011B,     CMSG_CLEAR_TRADE_ITEM = 0x011C,     CMSG_SET_TRADE_GOLD = 0x011D,     SMSG_TRADE_STATUS = 0x011E,     SMSG_TRADE_STATUS_EXTENDED = 0x011F,     SMSG_INITIALIZE_FACTIONS = 0x0120,     SMSG_SET_FACTION_VISIBLE = 0x0121,     SMSG_SET_FACTION_STANDING = 0x0122,     CMSG_SET_FACTION_ATWAR = 0x0123,     CMSG_SET_FACTION_CHEAT = 0x0124,     SMSG_SET_PROFICIENCY = 0x0125,     CMSG_SET_ACTION_BUTTON = 0x0126,     SMSG_ACTION_BUTTONS = 0x0127,     SMSG_INITIAL_SPELLS = 0x0128,     SMSG_LEARNED_SPELL = 0x0129,     SMSG_SUPERCEDED_SPELL = 0x012A,     CMSG_NEW_SPELL_SLOT = 0x012B,     CMSG_CAST_SPELL = 0x012C,     CMSG_CANCEL_CAST = 0x012D,     SMSG_CAST_RESULT = 0x012E,     SMSG_SPELL_START = 0x012F,     SMSG_SPELL_GO = 0x0130,     SMSG_SPELL_FAILURE = 0x0131,     SMSG_SPELL_COOLDOWN = 0x0132,     SMSG_COOLDOWN_EVENT = 0x0133,     CMSG_CANCEL_AURA = 0x0134,     SMSG_UPDATE_AURA_DURATION = 0x0135,     SMSG_PET_CAST_FAILED = 0x0136,     MSG_CHANNEL_START = 0x0137,     MSG_CHANNEL_UPDATE = 0x0138,     CMSG_CANCEL_CHANNELLING = 0x0139,     SMSG_AI_REACTION = 0x013A,     CMSG_SET_SELECTION = 0x013B,     CMSG_SET_TARGET = 0x013C,     CMSG_UNUSED = 0x013D,     CMSG_UNUSED2 = 0x013E,     CMSG_ATTACKSWING = 0x013F,     CMSG_ATTACKSTOP = 0x0140,     SMSG_ATTACKSTART = 0x0141,     SMSG_ATTACKSTOP = 0x0142,     SMSG_ATTACKSWING_NOTINRANGE = 0x0143,     SMSG_ATTACKSWING_BADFACING = 0x0144,     SMSG_ATTACKSWING_NOTSTANDING = 0x0145,     SMSG_ATTACKSWING_DEADTARGET = 0x0146,     SMSG_ATTACKSWING_CANT_ATTACK = 0x0147,     SMSG_ATTACKERSTATEUPDATE = 0x0148,     SMSG_VICTIMSTATEUPDATE_OBSOLETE = 0x0149,     SMSG_DAMAGE_DONE_OBSOLETE = 0x014A,     SMSG_DAMAGE_TAKEN_OBSOLETE = 0x014B,     SMSG_CANCEL_COMBAT = 0x014C,     SMSG_PLAYER_COMBAT_XP_GAIN_OBSOLETE = 0x014D,     SMSG_HEALSPELL_ON_PLAYER = 0x014E,     SMSG_HEALSPELL_ON_PLAYERS_PET = 0x014F,     CMSG_SHEATHE_OBSOLETE = 0x0150,     CMSG_SAVE_PLAYER = 0x0151,     CMSG_SETDEATHBINDPOINT = 0x0152,     SMSG_BINDPOINTUPDATE = 0x0153,     CMSG_GETDEATHBINDZONE = 0x0154,     SMSG_BINDZONEREPLY = 0x0155,     SMSG_PLAYERBOUND = 0x0156,     SMSG_DEATH_NOTIFY_OBSOLETE = 0x0157,     CMSG_REPOP_REQUEST = 0x0158,     SMSG_RESURRECT_REQUEST = 0x0159,     CMSG_RESURRECT_RESPONSE = 0x015A,     CMSG_LOOT = 0x015B,     CMSG_LOOT_MONEY = 0x015C,     CMSG_LOOT_RELEASE = 0x015D,     SMSG_LOOT_RESPONSE = 0x015E,     SMSG_LOOT_RELEASE_RESPONSE = 0x015F,     SMSG_LOOT_REMOVED = 0x0160,     SMSG_LOOT_MONEY_NOTIFY = 0x0161,     SMSG_LOOT_ITEM_NOTIFY = 0x0162,     SMSG_LOOT_CLEAR_MONEY = 0x0163,     SMSG_ITEM_PUSH_RESULT = 0x0164,     SMSG_DUEL_REQUESTED = 0x0165,     SMSG_DUEL_OUTOFBOUNDS = 0x0166,     SMSG_DUEL_INBOUNDS = 0x0167,     SMSG_DUEL_COMPLETE = 0x0168,     SMSG_DUEL_WINNER = 0x0169,     CMSG_DUEL_ACCEPTED = 0x016A,     CMSG_DUEL_CANCELLED = 0x016B,     SMSG_MOUNTRESULT = 0x016C,     SMSG_DISMOUNTRESULT = 0x016D,     SMSG_PUREMOUNT_CANCELLED_OBSOLETE = 0x016E,     CMSG_MOUNTSPECIAL_ANIM = 0x016F,     SMSG_MOUNTSPECIAL_ANIM = 0x0170,     SMSG_PET_TAME_FAILURE = 0x0171,     CMSG_PET_SET_ACTION = 0x0172,     CMSG_PET_ACTION = 0x0173,     CMSG_PET_ABANDON = 0x0174,     CMSG_PET_RENAME = 0x0175,     SMSG_PET_NAME_INVALID = 0x0176,     SMSG_PET_SPELLS = 0x0177,     CMSG_PET_CAST_SPELL_OBSOLETE = 0x0178,     CMSG_GOSSIP_HELLO = 0x0179,     CMSG_GOSSIP_SELECT_OPTION = 0x017A,     SMSG_GOSSIP_MESSAGE = 0x017B,     SMSG_GOSSIP_COMPLETE = 0x017C,     CMSG_NPC_TEXT_QUERY = 0x017D,     SMSG_NPC_TEXT_UPDATE = 0x017E,     SMSG_NPC_WONT_TALK = 0x017F,     CMSG_QUESTGIVER_STATUS_QUERY = 0x0180,     SMSG_QUESTGIVER_STATUS = 0x0181,     CMSG_QUESTGIVER_HELLO = 0x0182,     SMSG_QUESTGIVER_QUEST_LIST = 0x0183,     CMSG_QUESTGIVER_QUERY_QUEST = 0x0184,     CMSG_QUESTGIVER_QUEST_AUTOLAUNCH = 0x0185,     SMSG_QUESTGIVER_QUEST_DETAILS = 0x0186,     CMSG_QUESTGIVER_ACCEPT_QUEST = 0x0187,     CMSG_QUESTGIVER_COMPLETE_QUEST = 0x0188,     SMSG_QUESTGIVER_REQUEST_ITEMS = 0x0189,     CMSG_QUESTGIVER_REQUEST_REWARD = 0x018A,     SMSG_QUESTGIVER_OFFER_REWARD = 0x018B,     CMSG_QUESTGIVER_CHOOSE_REWARD = 0x018C,     SMSG_QUESTGIVER_QUEST_INVALID = 0x018D,     CMSG_QUESTGIVER_CANCEL = 0x018E,     SMSG_QUESTGIVER_QUEST_COMPLETE = 0x018F,     SMSG_QUESTGIVER_QUEST_FAILED = 0x0190,     CMSG_QUESTLOG_SWAP_QUEST = 0x0191,     CMSG_QUESTLOG_REMOVE_QUEST = 0x0192,     SMSG_QUESTLOG_FULL = 0x0193,     SMSG_QUESTUPDATE_FAILED = 0x0194,     SMSG_QUESTUPDATE_FAILEDTIMER = 0x0195,     SMSG_QUESTUPDATE_COMPLETE = 0x0196,     SMSG_QUESTUPDATE_ADD_KILL = 0x0197,     SMSG_QUESTUPDATE_ADD_ITEM = 0x0198,     CMSG_QUEST_CONFIRM_ACCEPT = 0x0199,     SMSG_QUEST_CONFIRM_ACCEPT = 0x019A,     CMSG_PUSHQUESTTOPARTY = 0x019B,     CMSG_LIST_INVENTORY = 0x019C,     SMSG_LIST_INVENTORY = 0x019D,     CMSG_SELL_ITEM = 0x019E,     SMSG_SELL_ITEM = 0x019F,     CMSG_BUY_ITEM = 0x01A0,     CMSG_BUY_ITEM_IN_SLOT = 0x01A1,     SMSG_BUY_ITEM = 0x01A2,     SMSG_BUY_FAILED = 0x01A3,     CMSG_TAXICLEARALLNODES = 0x01A4,     CMSG_TAXIENABLEALLNODES = 0x01A5,     CMSG_TAXISHOWNODES = 0x01A6,     SMSG_SHOWTAXINODES = 0x01A7,     CMSG_TAXINODE_STATUS_QUERY = 0x01A8,     SMSG_TAXINODE_STATUS = 0x01A9,     CMSG_TAXIQUERYAVAILABLENODES = 0x01AA,     CMSG_ACTIVATETAXI = 0x01AB,     SMSG_ACTIVATETAXIREPLY = 0x01AC,     SMSG_NEW_TAXI_PATH = 0x01AD,     CMSG_TRAINER_LIST = 0x01AE,     SMSG_TRAINER_LIST = 0x01AF,     CMSG_TRAINER_BUY_SPELL = 0x01B0,     SMSG_TRAINER_BUY_SUCCEEDED = 0x01B1,     SMSG_TRAINER_BUY_FAILED = 0x01B2,     CMSG_BINDER_ACTIVATE = 0x01B3,     SMSG_PLAYERBINDERROR = 0x01B4,     CMSG_BANKER_ACTIVATE = 0x01B5,     SMSG_SHOW_BANK = 0x01B6,     CMSG_BUY_BANK_SLOT = 0x01B7,     SMSG_BUY_BANK_SLOT_RESULT = 0x01B8,     CMSG_PETITION_SHOWLIST = 0x01B9,     SMSG_PETITION_SHOWLIST = 0x01BA,     CMSG_PETITION_BUY = 0x01BB,     CMSG_PETITION_SHOW_SIGNATURES = 0x01BC,     SMSG_PETITION_SHOW_SIGNATURES = 0x01BD,     CMSG_PETITION_SIGN = 0x01BE,     SMSG_PETITION_SIGN_RESULTS = 0x01BF,     MSG_PETITION_DECLINE = 0x01C0, CMSG_OFFER_PETITION = 0x01C1, CMSG_TURN_IN_PETITION = 0x01C2,     SMSG_TURN_IN_PETITION_RESULTS = 0x01C3,     CMSG_PETITION_QUERY = 0x01C4,     SMSG_PETITION_QUERY_RESPONSE = 0x01C5,     SMSG_FISH_NOT_HOOKED = 0x01C6,     SMSG_FISH_ESCAPED = 0x01C7,     CMSG_BUG = 0x01C8,     SMSG_NOTIFICATION = 0x01C9,     CMSG_PLAYED_TIME = 0x01CA,     SMSG_PLAYED_TIME = 0x01CB,     CMSG_QUERY_TIME = 0x01CC,     SMSG_QUERY_TIME_RESPONSE = 0x01CD,     SMSG_LOG_XPGAIN = 0x01CE,     MSG_SPLIT_MONEY = 0x01CF,     CMSG_RECLAIM_CORPSE = 0x01D0,     CMSG_WRAP_ITEM = 0x01D1,     SMSG_LEVELUP_INFO = 0x01D2,     MSG_MINIMAP_PING = 0x01D3,     SMSG_RESISTLOG = 0x01D4,     SMSG_ENCHANTMENTLOG = 0x01D5,     CMSG_SET_SKILL_CHEAT = 0x01D6,     SMSG_START_MIRROR_TIMER = 0x01D7,     SMSG_PAUSE_MIRROR_TIMER = 0x01D8,     SMSG_STOP_MIRROR_TIMER = 0x01D9,     CMSG_PING = 0x01DA,     SMSG_PONG = 0x01DB,     SMSG_CLEAR_COOLDOWN = 0x01DC,     SMSG_GAMEOBJECT_PAGETEXT = 0x01DD,     CMSG_SETSHEATHED = 0x01DE,     SMSG_COOLDOWN_CHEAT = 0x01DF,     SMSG_SPELL_DELAYED = 0x01E0,     CMSG_PLAYER_MACRO = 0x01E1,     SMSG_PLAYER_MACRO = 0x01E2,     CMSG_GHOST = 0x01E3,     CMSG_GM_INVIS = 0x01E4,     CMSG_SCREENSHOT = 0x01E5,     MSG_GM_BIND_OTHER = 0x01E6,     MSG_GM_SUMMON = 0x01E7,     SMSG_ITEM_TIME_UPDATE = 0x01E8,     SMSG_ITEM_ENCHANT_TIME_UPDATE = 0x01E9,     SMSG_AUTH_CHALLENGE = 0x01EA,     CMSG_AUTH_SESSION = 0x01EB,     SMSG_AUTH_RESPONSE = 0x01EC,     MSG_GM_SHOWLABEL = 0x01ED,     MSG_ADD_DYNAMIC_TARGET = 0x01EE,     MSG_SAVE_GUILD_EMBLEM = 0x01EF,     MSG_TABARDVENDOR_ACTIVATE = 0x01F0,     SMSG_PLAY_SPELL_VISUAL = 0x01F1,     CMSG_ZONEUPDATE = 0x01F2,     SMSG_PARTYKILLLOG = 0x01F3,     SMSG_COMPRESSED_UPDATE_OBJECT = 0x01F4,     SMSG_OBSOLETE = 0x01F5,     SMSG_EXPLORATION_EXPERIENCE = 0x01F6,     CMSG_GM_SET_SECURITY_GROUP = 0x01F7,     CMSG_GM_NUKE = 0x01F8,     MSG_RANDOM_ROLL = 0x01F9,     SMSG_ENVIRONMENTALDAMAGELOG = 0x01FA,     CMSG_RWHOIS = 0x01FB,     SMSG_RWHOIS = 0x01FC,     MSG_LOOKING_FOR_GROUP = 0x01FD,     CMSG_SET_LOOKING_FOR_GROUP = 0x01FE,     CMSG_UNLEARN_SPELL = 0x01FF,     CMSG_UNLEARN_SKILL = 0x0200,     SMSG_REMOVED_SPELL = 0x0201,     CMSG_DECHARGE = 0x0202,     CMSG_GMTICKET_CREATE = 0x0203,     SMSG_GMTICKET_CREATE = 0x0204,     CMSG_GMTICKET_UPDATETEXT = 0x0205,     SMSG_GMTICKET_UPDATETEXT = 0x0206,     SMSG_ACCOUNT_DATA_MD5 = 0x0207,     CMSG_REQUEST_ACCOUNT_DATA = 0x0208,     CMSG_UPDATE_ACCOUNT_DATA = 0x0209,     SMSG_UPDATE_ACCOUNT_DATA = 0x020A,     SMSG_CLEAR_FAR_SIGHT_IMMEDIATE = 0x020B,     SMSG_POWERGAINLOG_OBSOLETE = 0x020C,     CMSG_GM_TEACH = 0x020D,     CMSG_GM_CREATE_ITEM_TARGET = 0x020E,     CMSG_GMTICKET_GETTICKET = 0x020F,     SMSG_GMTICKET_GETTICKET = 0x0210,     CMSG_UNLEARN_TALENTS = 0x0211,     SMSG_GAMEOBJECT_SPAWN_ANIM = 0x0212,     SMSG_GAMEOBJECT_DESPAWN_ANIM = 0x0213,     MSG_CORPSE_QUERY = 0x0214,     CMSG_GMTICKET_DELETETICKET = 0x0215,     SMSG_GMTICKET_DELETETICKET = 0x0216,     SMSG_CHAT_WRONG_FACTION = 0x0217,     CMSG_GMTICKET_SYSTEMSTATUS = 0x0218,     SMSG_GMTICKET_SYSTEMSTATUS = 0x0219,     CMSG_SPIRIT_HEALER_ACTIVATE = 0x021A,     CMSG_SET_STAT_CHEAT = 0x021B,     SMSG_SET_REST_START = 0x021C,     CMSG_SKILL_BUY_STEP = 0x021D,     CMSG_SKILL_BUY_RANK = 0x021E,     CMSG_XP_CHEAT = 0x021F,     SMSG_SPIRIT_HEALER_CONFIRM = 0x0220,     CMSG_CHARACTER_POINT_CHEAT = 0x0221,     SMSG_GOSSIP_POI = 0x0222,     CMSG_CHAT_IGNORED = 0x0223,     CMSG_GM_VISION = 0x0224,     CMSG_SERVER_COMMAND = 0x0225,     CMSG_GM_SILENCE = 0x0226,     CMSG_GM_REVEALTO = 0x0227,     CMSG_GM_RESURRECT = 0x0228,     CMSG_GM_SUMMONMOB = 0x0229,     CMSG_GM_MOVECORPSE = 0x022A,     CMSG_GM_FREEZE = 0x022B,     CMSG_GM_UBERINVIS = 0x022C,     CMSG_GM_REQUEST_PLAYER_INFO = 0x022D,     SMSG_GM_PLAYER_INFO = 0x022E,     CMSG_GUILD_RANK = 0x022F,     CMSG_GUILD_ADD_RANK = 0x0230,     CMSG_GUILD_DEL_RANK = 0x0231,     CMSG_GUILD_SET_PUBLIC_NOTE = 0x0232,     CMSG_GUILD_SET_OFFICER_NOTE = 0x0233,     SMSG_LOGIN_VERIFY_WORLD = 0x0234,     CMSG_CLEAR_EXPLORATION = 0x0235,     CMSG_SEND_MAIL = 0x0236,     SMSG_SEND_MAIL_RESULT = 0x0237,     CMSG_GET_MAIL_LIST = 0x0238,     SMSG_MAIL_LIST_RESULT = 0x0239,     CMSG_BATTLEFIELD_LIST = 0x023A,     SMSG_BATTLEFIELD_LIST = 0x023B,     CMSG_BATTLEFIELD_JOIN = 0x023C,     SMSG_BATTLEFIELD_WIN = 0x023D,     SMSG_BATTLEFIELD_LOSE = 0x023E,     CMSG_TAXICLEARNODE = 0x023F,     CMSG_TAXIENABLENODE = 0x0240,     CMSG_ITEM_TEXT_QUERY = 0x0241,     SMSG_ITEM_TEXT_QUERY_RESPONSE = 0x0242,     CMSG_MAIL_TAKE_MONEY = 0x0243,     CMSG_MAIL_TAKE_ITEM = 0x0244,     CMSG_MAIL_MARK_AS_READ = 0x0245,     CMSG_MAIL_RETURN_TO_SENDER = 0x0246,     CMSG_MAIL_DELETE = 0x0247,     CMSG_MAIL_CREATE_TEXT_ITEM = 0x0248,     SMSG_SPELLLOGMISS = 0x0249,     SMSG_SPELLLOGEXECUTE = 0x024A,     SMSG_DEBUGAURAPROC = 0x024B,     SMSG_PERIODICAURALOG = 0x024C,     SMSG_SPELLDAMAGESHIELD = 0x024D,     SMSG_SPELLNONMELEEDAMAGELOG = 0x024E,     CMSG_LEARN_TALENT = 0x024F,     SMSG_RESURRECT_FAILED = 0x0250,     CMSG_ENABLE_PVP = 0x0251,     SMSG_ZONE_UNDER_ATTACK = 0x0252,     MSG_AUCTION_HELLO = 0x0253,     CMSG_AUCTION_SELL_ITEM = 0x0254,     CMSG_AUCTION_REMOVE_ITEM = 0x0255,     CMSG_AUCTION_LIST_ITEMS = 0x0256,     CMSG_AUCTION_LIST_OWNER_ITEMS = 0x0257,     CMSG_AUCTION_PLACE_BID = 0x0258,     SMSG_AUCTION_COMMAND_RESULT = 0x0259,     SMSG_AUCTION_LIST_RESULT = 0x025A,     SMSG_AUCTION_OWNER_LIST_RESULT = 0x025B,     SMSG_AUCTION_BIDDER_NOTIFICATION = 0x025C,     SMSG_AUCTION_OWNER_NOTIFICATION = 0x025D,     SMSG_PROCRESIST = 0x025E,     SMSG_STANDSTATE_CHANGE_FAILURE = 0x025F,     SMSG_DISPEL_FAILED = 0x0260,     SMSG_SPELLORDAMAGE_IMMUNE = 0x0261,     CMSG_AUCTION_LIST_BIDDER_ITEMS = 0x0262,     SMSG_AUCTION_BIDDER_LIST_RESULT = 0x0263,     SMSG_SET_FLAT_SPELL_MODIFIER = 0x0264,     SMSG_SET_PCT_SPELL_MODIFIER = 0x0265,     CMSG_SET_AMMO = 0x0266,     SMSG_CORPSE_RECLAIM_DELAY = 0x0267,     CMSG_SET_ACTIVE_MOVER  = 0x0268,     CMSG_PET_CANCEL_AURA  = 0x0269,     CMSG_PLAYER_AI_CHEAT  = 0x026a,     CMSG_CANCEL_AUTO_REPEAT_SPELL  = 0x026b,     MSG_GM_ACCOUNT_ONLINE  = 0x026c,     MSG_LIST_STABLED_PETS  = 0x026d,     CMSG_STABLE_PET  = 0x026e,     CMSG_UNSTABLE_PET  = 0x026f,     CMSG_BUY_STABLE_SLOT  = 0x0270,     SMSG_STABLE_RESULT  = 0x0271,     CMSG_STABLE_REVIVE_PET  = 0x0272,     CMSG_STABLE_SWAP_PET  = 0x0273,     MSG_QUEST_PUSH_RESULT  = 0x0274,     SMSG_PLAY_MUSIC  = 0x0275,     SMSG_PLAY_OBJECT_SOUND  = 0x0276,     CMSG_REQUEST_PET_INFO  = 0x0277,     CMSG_FAR_SIGHT  = 0x0278,     SMSG_SPELLDISPELLOG  = 0x0279,     SMSG_DAMAGE_CALC_LOG  = 0x027a,     CMSG_ENABLE_DAMAGE_LOG  = 0x027b,     CMSG_GROUP_CHANGE_SUB_GROUP  = 0x027c,     SMSG_RAID_MEMBER_STATS  = 0x027d,     CMSG_GROUP_SWAP_SUB_GROUP  = 0x027e,     CMSG_RESET_FACTION_CHEAT  = 0x027f,     CMSG_AUTOSTORE_BANK_ITEM  = 0x0280,     CMSG_AUTOBANK_ITEM  = 0x0281,     MSG_QUERY_NEXT_MAIL_TIME  = 0x0282,     SMSG_RECEIVED_MAIL  = 0x0283,     SMSG_RAID_GROUP_ONLY  = 0x0284,     CMSG_SET_DURABILITY_CHEAT  = 0x0285,     CMSG_SET_PVP_TITLE  = 0x0286,     CMSG_SET_PVP_RANK_CHEAT  = 0x0287,     CMSG_ADD_PVP_MEDAL_CHEAT  = 0x0288,     CMSG_DEL_PVP_MEDAL_CHEAT  = 0x0289,     SMSG_PVP_CREDIT  = 0x028a,     SMSG_AUCTION_REMOVED_NOTIFICATION  = 0x028b,     CMSG_GROUP_RAID_CONVERT  = 0x028c,     CMSG_GROUP_ASSISTANT_LEADER  = 0x028d,     CMSG_BUYBACK_ITEM  = 0x028e,     SMSG_SERVER_MESSAGE  = 0x028f,     CMSG_GMTICKETSYSTEM_TOGGLE  = 0x0290,     CMSG_CANCEL_GROWTH_AURA  = 0x0291,     SMSG_CANCEL_AUTO_REPEAT  = 0x0292,     SMSG_STANDSTATE_CHANGE_ACK  = 0x0293,     NUM_MSG_TYPES  = 0x0294, }; enum CHAT {     CHAT_MSG_SAY         = 0x00000000,     CHAT_MSG_PARTY         = 0x00000001,     CHAT_MSG_GUILD         = 0x00000002,     CHAT_MSG_OFFICER         = 0x00000003,     CHAT_MSG_WHISPER_INFORM         = 0x00000004,
  2.     CHAT_MSG_YELL                   = 0x00000005,
  3.     CHAT_MSG_WHISPER                = 0x00000006,
  4.     CHAT_MSG_EMOTE         = 0x00000007,     CHAT_MSG_TEXT_EMOTE         = 0x00000008,     CHAT_MSG_SYSTEM         = 0x00000009,     CHAT_MSG_MONSTER_SAY         = 0x0000000a,     CHAT_MSG_MONSTER_YELL         = 0x0000000b,     CHAT_MSG_MONSTER_EMOTE         = 0x0000000c,     CHAT_MSG_CHANNEL         = 0x0000000d,     CHAT_MSG_CHANNEL_JOIN         = 0x0000000e,     CHAT_MSG_CHANNEL_LEAVE         = 0x0000000f,     CHAT_MSG_CHANNEL_LIST         = 0x00000010,     CHAT_MSG_CHANNEL_NOTICE         = 0x00000011,     CHAT_MSG_CHANNEL_NOTICE_USER    = 0x00000012,     CHAT_MSG_AFK             = 0x00000013,     CHAT_MSG_DND             = 0x00000014,     CHAT_MSG_COMBAT_LOG             = 0x00000015,     CHAT_MSG_IGNORED             = 0x00000016,     CHAT_MSG_SKILL             = 0x00000017,     CHAT_MSG_LOOT             = 0x00000018, }; enum FriendsResult {     FRIEND_DB_ERROR             = 0x0,     FRIEND_LIST_FULL            = 0x1,     FRIEND_ONLINE               = 0x2,     FRIEND_OFFLINE              = 0x3,     FRIEND_NOT_FOUND            = 0x4,     FRIEND_REMOVED              = 0x5,     FRIEND_ADDED_ONLINE         = 0x6,     FRIEND_ADDED_OFFLINE        = 0x7,     FRIEND_ALREADY              = 0x8,     FRIEND_SELF                 = 0x9,     FRIEND_ENEMY                = 0xA,     FRIEND_IGNORE_FULL          = 0xB,      FRIEND_IGNORE_SELF          = 0xC,     FRIEND_IGNORE_NOT_FOUND     = 0xD,     FRIEND_IGNORE_ALREADY       = 0xE,     FRIEND_IGNORE_ADDED         = 0xF,     FRIEND_IGNORE_REMOVED       = 0x10, }; typedef struct {     uint64 PlayerGUID;     unsigned char Status;     int Area;     int Level;     int Class; } FriendStr ; #endif