diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-08-22 12:24:04 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-08-22 12:24:04 +0200 |
commit | e512c22b42f34c4a6ef7442e2046098be34fd826 (patch) | |
tree | 618dd7d722d2bbc0649c55f75ce83bf75496d1d1 /src | |
parent | cae31c8865be0f4687122e3e2f1f9046a45a8826 (diff) |
Core/Units: Defined new npc flag
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/Unit/UnitDefines.h | 81 |
1 files changed, 41 insertions, 40 deletions
diff --git a/src/server/game/Entities/Unit/UnitDefines.h b/src/server/game/Entities/Unit/UnitDefines.h index 0a6dd35a0c9..b1818862be1 100644 --- a/src/server/game/Entities/Unit/UnitDefines.h +++ b/src/server/game/Entities/Unit/UnitDefines.h @@ -240,46 +240,47 @@ enum UnitFlags3 : uint32 /// Non Player Character flags enum NPCFlags : uint64 { - UNIT_NPC_FLAG_NONE = 0x0000000000, - UNIT_NPC_FLAG_GOSSIP = 0x0000000001, // 100% - UNIT_NPC_FLAG_QUESTGIVER = 0x0000000002, // 100% - UNIT_NPC_FLAG_UNK1 = 0x0000000004, - UNIT_NPC_FLAG_UNK2 = 0x0000000008, - UNIT_NPC_FLAG_TRAINER = 0x0000000010, // 100% - UNIT_NPC_FLAG_TRAINER_CLASS = 0x0000000020, // 100% - UNIT_NPC_FLAG_TRAINER_PROFESSION = 0x0000000040, // 100% - UNIT_NPC_FLAG_VENDOR = 0x0000000080, // 100% - UNIT_NPC_FLAG_VENDOR_AMMO = 0x0000000100, // 100%, general goods vendor - UNIT_NPC_FLAG_VENDOR_FOOD = 0x0000000200, // 100% - UNIT_NPC_FLAG_VENDOR_POISON = 0x0000000400, // guessed - UNIT_NPC_FLAG_VENDOR_REAGENT = 0x0000000800, // 100% - UNIT_NPC_FLAG_REPAIR = 0x0000001000, // 100% - UNIT_NPC_FLAG_FLIGHTMASTER = 0x0000002000, // 100% - UNIT_NPC_FLAG_SPIRITHEALER = 0x0000004000, // guessed - UNIT_NPC_FLAG_SPIRITGUIDE = 0x0000008000, // guessed - UNIT_NPC_FLAG_INNKEEPER = 0x0000010000, // 100% - UNIT_NPC_FLAG_BANKER = 0x0000020000, // 100% - UNIT_NPC_FLAG_PETITIONER = 0x0000040000, // 100% 0xC0000 = guild petitions, 0x40000 = arena team petitions - UNIT_NPC_FLAG_TABARDDESIGNER = 0x0000080000, // 100% - UNIT_NPC_FLAG_BATTLEMASTER = 0x0000100000, // 100% - UNIT_NPC_FLAG_AUCTIONEER = 0x0000200000, // 100% - UNIT_NPC_FLAG_STABLEMASTER = 0x0000400000, // 100% - UNIT_NPC_FLAG_GUILD_BANKER = 0x0000800000, // cause client to send 997 opcode - UNIT_NPC_FLAG_SPELLCLICK = 0x0001000000, // cause client to send 1015 opcode (spell click) - UNIT_NPC_FLAG_PLAYER_VEHICLE = 0x0002000000, // players with mounts that have vehicle data should have it set - UNIT_NPC_FLAG_MAILBOX = 0x0004000000, // mailbox - UNIT_NPC_FLAG_ARTIFACT_POWER_RESPEC = 0x0008000000, // artifact powers reset - UNIT_NPC_FLAG_TRANSMOGRIFIER = 0x0010000000, // transmogrification - UNIT_NPC_FLAG_VAULTKEEPER = 0x0020000000, // void storage - UNIT_NPC_FLAG_WILD_BATTLE_PET = 0x0040000000, // Pet that player can fight (Battle Pet) - UNIT_NPC_FLAG_BLACK_MARKET = 0x0080000000, // black market - UNIT_NPC_FLAG_ITEM_UPGRADE_MASTER = 0x0100000000, - UNIT_NPC_FLAG_GARRISON_ARCHITECT = 0x0200000000, - UNIT_NPC_FLAG_STEERING = 0x0400000000, - UNIT_NPC_FLAG_SHIPMENT_CRAFTER = 0x1000000000, - UNIT_NPC_FLAG_GARRISON_MISSION_NPC = 0x2000000000, - UNIT_NPC_FLAG_TRADESKILL_NPC = 0x4000000000, - UNIT_NPC_FLAG_BLACK_MARKET_VIEW = 0x8000000000 + UNIT_NPC_FLAG_NONE = 0x00000000000, + UNIT_NPC_FLAG_GOSSIP = 0x00000000001, // 100% + UNIT_NPC_FLAG_QUESTGIVER = 0x00000000002, // 100% + UNIT_NPC_FLAG_UNK1 = 0x00000000004, + UNIT_NPC_FLAG_UNK2 = 0x00000000008, + UNIT_NPC_FLAG_TRAINER = 0x00000000010, // 100% + UNIT_NPC_FLAG_TRAINER_CLASS = 0x00000000020, // 100% + UNIT_NPC_FLAG_TRAINER_PROFESSION = 0x00000000040, // 100% + UNIT_NPC_FLAG_VENDOR = 0x00000000080, // 100% + UNIT_NPC_FLAG_VENDOR_AMMO = 0x00000000100, // 100%, general goods vendor + UNIT_NPC_FLAG_VENDOR_FOOD = 0x00000000200, // 100% + UNIT_NPC_FLAG_VENDOR_POISON = 0x00000000400, // guessed + UNIT_NPC_FLAG_VENDOR_REAGENT = 0x00000000800, // 100% + UNIT_NPC_FLAG_REPAIR = 0x00000001000, // 100% + UNIT_NPC_FLAG_FLIGHTMASTER = 0x00000002000, // 100% + UNIT_NPC_FLAG_SPIRITHEALER = 0x00000004000, // guessed + UNIT_NPC_FLAG_SPIRITGUIDE = 0x00000008000, // guessed + UNIT_NPC_FLAG_INNKEEPER = 0x00000010000, // 100% + UNIT_NPC_FLAG_BANKER = 0x00000020000, // 100% + UNIT_NPC_FLAG_PETITIONER = 0x00000040000, // 100% 0xC0000 = guild petitions, 0x40000 = arena team petitions + UNIT_NPC_FLAG_TABARDDESIGNER = 0x00000080000, // 100% + UNIT_NPC_FLAG_BATTLEMASTER = 0x00000100000, // 100% + UNIT_NPC_FLAG_AUCTIONEER = 0x00000200000, // 100% + UNIT_NPC_FLAG_STABLEMASTER = 0x00000400000, // 100% + UNIT_NPC_FLAG_GUILD_BANKER = 0x00000800000, // + UNIT_NPC_FLAG_SPELLCLICK = 0x00001000000, // + UNIT_NPC_FLAG_PLAYER_VEHICLE = 0x00002000000, // players with mounts that have vehicle data should have it set + UNIT_NPC_FLAG_MAILBOX = 0x00004000000, // mailbox + UNIT_NPC_FLAG_ARTIFACT_POWER_RESPEC = 0x00008000000, // artifact powers reset + UNIT_NPC_FLAG_TRANSMOGRIFIER = 0x00010000000, // transmogrification + UNIT_NPC_FLAG_VAULTKEEPER = 0x00020000000, // void storage + UNIT_NPC_FLAG_WILD_BATTLE_PET = 0x00040000000, // Pet that player can fight (Battle Pet) + UNIT_NPC_FLAG_BLACK_MARKET = 0x00080000000, // black market + UNIT_NPC_FLAG_ITEM_UPGRADE_MASTER = 0x00100000000, + UNIT_NPC_FLAG_GARRISON_ARCHITECT = 0x00200000000, + UNIT_NPC_FLAG_STEERING = 0x00400000000, + UNIT_NPC_FLAG_SHIPMENT_CRAFTER = 0x01000000000, + UNIT_NPC_FLAG_GARRISON_MISSION_NPC = 0x02000000000, + UNIT_NPC_FLAG_TRADESKILL_NPC = 0x04000000000, + UNIT_NPC_FLAG_BLACK_MARKET_VIEW = 0x08000000000, + UNIT_NPC_FLAG_CONTRIBUTION_COLLECTOR = 0x40000000000, }; enum MovementFlags : uint32 |