mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Creature typeflags research.
This commit is contained in:
parent
45ad804752
commit
0a01d2bc6e
1 changed files with 29 additions and 24 deletions
|
|
@ -1913,30 +1913,35 @@ enum CreatureFamily
|
||||||
|
|
||||||
enum CreatureTypeFlags
|
enum CreatureTypeFlags
|
||||||
{
|
{
|
||||||
CREATURE_TYPEFLAGS_TAMEABLE = 0x000001, // Tameable by any hunter
|
CREATURE_TYPEFLAGS_TAMEABLE = 0x00000001, // Tameable by any hunter
|
||||||
CREATURE_TYPEFLAGS_GHOST_VISIBLE = 0x000002, // Creatures which can _also_ be seen when player is a ghost
|
CREATURE_TYPEFLAGS_GHOST_VISIBLE = 0x00000002, // Creatures which can _also_ be seen when player is a ghost, used in CanInteract function by client, can't be attacked
|
||||||
CREATURE_TYPEFLAGS_UNK3 = 0x000004,
|
CREATURE_TYPEFLAGS_UNK3 = 0x00000004, // "BOSS" flag for tooltips
|
||||||
CREATURE_TYPEFLAGS_UNK4 = 0x000008,
|
CREATURE_TYPEFLAGS_UNK4 = 0x00000008,
|
||||||
CREATURE_TYPEFLAGS_UNK5 = 0x000010,
|
CREATURE_TYPEFLAGS_UNK5 = 0x00000010, // controls something in client tooltip related to creature faction
|
||||||
CREATURE_TYPEFLAGS_UNK6 = 0x000020,
|
CREATURE_TYPEFLAGS_UNK6 = 0x00000020, // may be sound related
|
||||||
CREATURE_TYPEFLAGS_UNK7 = 0x000040,
|
CREATURE_TYPEFLAGS_UNK7 = 0x00000040, // may be related to attackable / not attackable creatures with spells, used together with lua_IsHelpfulSpell/lua_IsHarmfulSpell
|
||||||
CREATURE_TYPEFLAGS_UNK8 = 0x000080,
|
CREATURE_TYPEFLAGS_UNK8 = 0x00000080, // has something to do with unit interaction / quest status requests
|
||||||
CREATURE_TYPEFLAGS_HERBLOOT = 0x000100, // Can be looted by herbalist
|
CREATURE_TYPEFLAGS_HERBLOOT = 0x00000100, // Can be looted by herbalist
|
||||||
CREATURE_TYPEFLAGS_MININGLOOT = 0x000200, // Can be looted by miner
|
CREATURE_TYPEFLAGS_MININGLOOT = 0x00000200, // Can be looted by miner
|
||||||
CREATURE_TYPEFLAGS_UNK11 = 0x000400,
|
CREATURE_TYPEFLAGS_UNK11 = 0x00000400, // no idea, but it used by client
|
||||||
CREATURE_TYPEFLAGS_UNK12 = 0x000800, // ? Related to mounts in some way. If mounted, fight mounted, mount appear as independant when rider dies?
|
CREATURE_TYPEFLAGS_UNK12 = 0x00000800, // related to possibility to cast spells while mounted
|
||||||
CREATURE_TYPEFLAGS_UNK13 = 0x001000, // ? Can aid any player in combat if in range?
|
CREATURE_TYPEFLAGS_UNK13 = 0x00001000, // ? Can aid any player in combat if in range?
|
||||||
CREATURE_TYPEFLAGS_UNK14 = 0x002000,
|
CREATURE_TYPEFLAGS_UNK14 = 0x00002000, // checked from calls in Lua_PetHasActionBar
|
||||||
CREATURE_TYPEFLAGS_UNK15 = 0x004000, // ? Possibly not in use
|
CREATURE_TYPEFLAGS_UNK15 = 0x00004000, // Lua_UnitGUID, client does guid_low &= 0xFF000000 if this flag is set
|
||||||
CREATURE_TYPEFLAGS_ENGINEERLOOT = 0x008000, // Can be looted by engineer
|
CREATURE_TYPEFLAGS_ENGINEERLOOT = 0x00008000, // Can be looted by engineer
|
||||||
CREATURE_TYPEFLAGS_EXOTIC = 0x010000, // Can be tamed by hunter as exotic pet
|
CREATURE_TYPEFLAGS_EXOTIC = 0x00010000, // Can be tamed by hunter as exotic pet
|
||||||
CREATURE_TYPEFLAGS_UNK18 = 0x020000, // ? Related to vehicles/pvp?
|
CREATURE_TYPEFLAGS_UNK18 = 0x00020000, // related to CreatureDisplayInfo and scaling in some way
|
||||||
CREATURE_TYPEFLAGS_UNK19 = 0x040000, // ? Related to vehicle/siege weapons?
|
CREATURE_TYPEFLAGS_UNK19 = 0x00040000, // ? Related to vehicle/siege weapons?
|
||||||
CREATURE_TYPEFLAGS_UNK20 = 0x080000,
|
CREATURE_TYPEFLAGS_UNK20 = 0x00080000, // may be has something to do with missiles
|
||||||
CREATURE_TYPEFLAGS_UNK21 = 0x100000,
|
CREATURE_TYPEFLAGS_UNK21 = 0x00100000, // no idea, but it used by client, may be related to rendering
|
||||||
CREATURE_TYPEFLAGS_UNK22 = 0x200000,
|
CREATURE_TYPEFLAGS_UNK22 = 0x00200000, // may be has something to do with animation (disable animation?)
|
||||||
CREATURE_TYPEFLAGS_UNK23 = 0x400000,
|
CREATURE_TYPEFLAGS_UNK23 = 0x00400000, // this one probably controls some creature visual
|
||||||
CREATURE_TYPEFLAGS_UNK24 = 0x800000 // ? First seen in 3.2.2. Related to banner/backpack of creature/companion?
|
CREATURE_TYPEFLAGS_UNK24 = 0x00800000, // ? First seen in 3.2.2. Related to banner/backpack of creature/companion, used in CanInteract function by client
|
||||||
|
CREATURE_TYPEFLAGS_UNK25 = 0x01000000, // pet sounds related?
|
||||||
|
CREATURE_TYPEFLAGS_UNK26 = 0x02000000, // this one probably controls some creature visual
|
||||||
|
CREATURE_TYPEFLAGS_UNK27 = 0x04000000, // creature has no type, or forces creature to be considered as in party, may be related to creature assistance
|
||||||
|
CREATURE_TYPEFLAGS_UNK28 = 0x08000000, // used in Lua_ForceGossip
|
||||||
|
CREATURE_TYPEFLAGS_UNK29 = 0x10000000, // no idea, but it used by client
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CreatureEliteType
|
enum CreatureEliteType
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue