|
enum | UnitBytes1Offsets : uint8 {
UNIT_BYTES_1_OFFSET_STAND_STATE = 0
,
UNIT_BYTES_1_OFFSET_PET_TALENTS = 1
,
UNIT_BYTES_1_OFFSET_VIS_FLAG = 2
,
UNIT_BYTES_1_OFFSET_ANIM_TIER = 3
} |
|
enum | UnitStandStateType {
UNIT_STAND_STATE_STAND = 0
,
UNIT_STAND_STATE_SIT = 1
,
UNIT_STAND_STATE_SIT_CHAIR = 2
,
UNIT_STAND_STATE_SLEEP = 3
,
UNIT_STAND_STATE_SIT_LOW_CHAIR = 4
,
UNIT_STAND_STATE_SIT_MEDIUM_CHAIR = 5
,
UNIT_STAND_STATE_SIT_HIGH_CHAIR = 6
,
UNIT_STAND_STATE_DEAD = 7
,
UNIT_STAND_STATE_KNEEL = 8
,
UNIT_STAND_STATE_SUBMERGED = 9
} |
|
enum | UnitStandFlags {
UNIT_STAND_FLAGS_UNK1 = 0x01
,
UNIT_STAND_FLAGS_CREEP = 0x02
,
UNIT_STAND_FLAGS_UNTRACKABLE = 0x04
,
UNIT_STAND_FLAGS_UNK4 = 0x08
,
UNIT_STAND_FLAGS_UNK5 = 0x10
,
UNIT_STAND_FLAGS_ALL = 0xFF
} |
|
enum | UnitBytes1_Flags {
UNIT_BYTE1_FLAG_GROUND = 0x00
,
UNIT_BYTE1_FLAG_ALWAYS_STAND = 0x01
,
UNIT_BYTE1_FLAG_HOVER = 0x02
,
UNIT_BYTE1_FLAG_FLY = 0x03
,
UNIT_BYTE1_FLAG_SUBMERGED = 0x04
,
UNIT_BYTE1_FLAG_ALL = 0xFF
} |
|
enum | ShapeshiftForm {
FORM_NONE = 0x00
,
FORM_CAT = 0x01
,
FORM_TREE = 0x02
,
FORM_TRAVEL = 0x03
,
FORM_AQUA = 0x04
,
FORM_BEAR = 0x05
,
FORM_AMBIENT = 0x06
,
FORM_GHOUL = 0x07
,
FORM_DIREBEAR = 0x08
,
FORM_STEVES_GHOUL = 0x09
,
FORM_THARONJA_SKELETON = 0x0A
,
FORM_TEST_OF_STRENGTH = 0x0B
,
FORM_BLB_PLAYER = 0x0C
,
FORM_SHADOW_DANCE = 0x0D
,
FORM_CREATUREBEAR = 0x0E
,
FORM_CREATURECAT = 0x0F
,
FORM_GHOSTWOLF = 0x10
,
FORM_BATTLESTANCE = 0x11
,
FORM_DEFENSIVESTANCE = 0x12
,
FORM_BERSERKERSTANCE = 0x13
,
FORM_TEST = 0x14
,
FORM_ZOMBIE = 0x15
,
FORM_METAMORPHOSIS = 0x16
,
FORM_UNDEAD = 0x19
,
FORM_MASTER_ANGLER = 0x1A
,
FORM_FLIGHT_EPIC = 0x1B
,
FORM_SHADOW = 0x1C
,
FORM_FLIGHT = 0x1D
,
FORM_STEALTH = 0x1E
,
FORM_MOONKIN = 0x1F
,
FORM_SPIRITOFREDEMPTION = 0x20
} |
|
enum | SheathState {
SHEATH_STATE_UNARMED = 0
,
SHEATH_STATE_MELEE = 1
,
SHEATH_STATE_RANGED = 2
} |
|
enum | UnitPVPStateFlags {
UNIT_BYTE2_FLAG_PVP = 0x01
,
UNIT_BYTE2_FLAG_UNK1 = 0x02
,
UNIT_BYTE2_FLAG_FFA_PVP = 0x04
,
UNIT_BYTE2_FLAG_SANCTUARY = 0x08
,
UNIT_BYTE2_FLAG_UNK4 = 0x10
,
UNIT_BYTE2_FLAG_UNK5 = 0x20
,
UNIT_BYTE2_FLAG_UNK6 = 0x40
,
UNIT_BYTE2_FLAG_UNK7 = 0x80
} |
|
enum | UnitRename {
UNIT_CAN_BE_RENAMED = 0x01
,
UNIT_CAN_BE_ABANDONED = 0x02
} |
|
enum | UnitTypeMask {
UNIT_MASK_NONE = 0x00000000
,
UNIT_MASK_SUMMON = 0x00000001
,
UNIT_MASK_MINION = 0x00000002
,
UNIT_MASK_GUARDIAN = 0x00000004
,
UNIT_MASK_TOTEM = 0x00000008
,
UNIT_MASK_PET = 0x00000010
,
UNIT_MASK_VEHICLE = 0x00000020
,
UNIT_MASK_PUPPET = 0x00000040
,
UNIT_MASK_HUNTER_PET = 0x00000080
,
UNIT_MASK_CONTROLABLE_GUARDIAN = 0x00000100
,
UNIT_MASK_ACCESSORY = 0x00000200
} |
|
enum | UnitState {
UNIT_STATE_DIED = 0x00000001
,
UNIT_STATE_MELEE_ATTACKING = 0x00000002
,
UNIT_STATE_STUNNED = 0x00000008
,
UNIT_STATE_ROAMING = 0x00000010
,
UNIT_STATE_CHASE = 0x00000020
,
UNIT_STATE_FLEEING = 0x00000080
,
UNIT_STATE_IN_FLIGHT = 0x00000100
,
UNIT_STATE_FOLLOW = 0x00000200
,
UNIT_STATE_ROOT = 0x00000400
,
UNIT_STATE_CONFUSED = 0x00000800
,
UNIT_STATE_DISTRACTED = 0x00001000
,
UNIT_STATE_ISOLATED = 0x00002000
,
UNIT_STATE_ATTACK_PLAYER = 0x00004000
,
UNIT_STATE_CASTING = 0x00008000
,
UNIT_STATE_POSSESSED = 0x00010000
,
UNIT_STATE_CHARGING = 0x00020000
,
UNIT_STATE_JUMPING = 0x00040000
,
UNIT_STATE_MOVE = 0x00100000
,
UNIT_STATE_ROTATING = 0x00200000
,
UNIT_STATE_EVADE = 0x00400000
,
UNIT_STATE_ROAMING_MOVE = 0x00800000
,
UNIT_STATE_CONFUSED_MOVE = 0x01000000
,
UNIT_STATE_FLEEING_MOVE = 0x02000000
,
UNIT_STATE_CHASE_MOVE = 0x04000000
,
UNIT_STATE_FOLLOW_MOVE = 0x08000000
,
UNIT_STATE_IGNORE_PATHFINDING = 0x10000000
,
UNIT_STATE_NO_ENVIRONMENT_UPD = 0x20000000
,
UNIT_STATE_ALL_STATE_SUPPORTED
,
UNIT_STATE_UNATTACKABLE = UNIT_STATE_IN_FLIGHT
,
UNIT_STATE_MOVING = UNIT_STATE_ROAMING_MOVE | UNIT_STATE_CONFUSED_MOVE | UNIT_STATE_FLEEING_MOVE | UNIT_STATE_CHASE_MOVE | UNIT_STATE_FOLLOW_MOVE
,
UNIT_STATE_CONTROLLED = (UNIT_STATE_CONFUSED | UNIT_STATE_STUNNED | UNIT_STATE_FLEEING)
,
UNIT_STATE_LOST_CONTROL = (UNIT_STATE_CONTROLLED | UNIT_STATE_JUMPING | UNIT_STATE_CHARGING)
,
UNIT_STATE_SIGHTLESS = (UNIT_STATE_LOST_CONTROL | UNIT_STATE_EVADE)
,
UNIT_STATE_CANNOT_AUTOATTACK = (UNIT_STATE_LOST_CONTROL | UNIT_STATE_CASTING)
,
UNIT_STATE_CANNOT_TURN = (UNIT_STATE_LOST_CONTROL | UNIT_STATE_ROTATING | UNIT_STATE_ROOT)
,
UNIT_STATE_NOT_MOVE = UNIT_STATE_ROOT | UNIT_STATE_STUNNED | UNIT_STATE_DIED | UNIT_STATE_DISTRACTED
,
UNIT_STATE_IGNORE_ANTISPEEDHACK = UNIT_STATE_FLEEING | UNIT_STATE_CONFUSED | UNIT_STATE_CHARGING | UNIT_STATE_DISTRACTED | UNIT_STATE_POSSESSED
,
UNIT_STATE_ALL_STATE = 0xffffffff
} |
|
enum | ClassContext : uint8 {
CLASS_CONTEXT_NONE = 0
,
CLASS_CONTEXT_INIT = 1
,
CLASS_CONTEXT_TELEPORT = 2
,
CLASS_CONTEXT_QUEST = 3
,
CLASS_CONTEXT_STATS = 4
,
CLASS_CONTEXT_TAXI = 5
,
CLASS_CONTEXT_SKILL = 6
,
CLASS_CONTEXT_TALENT_POINT_CALC = 7
,
CLASS_CONTEXT_ABILITY = 8
,
CLASS_CONTEXT_ABILITY_REACTIVE = 9
,
CLASS_CONTEXT_PET = 10
,
CLASS_CONTEXT_PET_CHARM = 11
,
CLASS_CONTEXT_EQUIP_RELIC = 12
,
CLASS_CONTEXT_EQUIP_SHIELDS = 13
,
CLASS_CONTEXT_EQUIP_ARMOR_CLASS = 14
,
CLASS_CONTEXT_WEAPON_SWAP = 15
,
CLASS_CONTEXT_GRAVEYARD = 16
,
CLASS_CONTEXT_CLASS_TRAINER = 17
} |
|
enum | UnitFlags : uint32 {
UNIT_FLAG_NONE = 0x00000000
,
UNIT_FLAG_SERVER_CONTROLLED = 0x00000001
,
UNIT_FLAG_NON_ATTACKABLE = 0x00000002
,
UNIT_FLAG_DISABLE_MOVE = 0x00000004
,
UNIT_FLAG_PLAYER_CONTROLLED = 0x00000008
,
UNIT_FLAG_RENAME = 0x00000010
,
UNIT_FLAG_PREPARATION = 0x00000020
,
UNIT_FLAG_UNK_6 = 0x00000040
,
UNIT_FLAG_NOT_ATTACKABLE_1 = 0x00000080
,
UNIT_FLAG_IMMUNE_TO_PC = 0x00000100
,
UNIT_FLAG_IMMUNE_TO_NPC = 0x00000200
,
UNIT_FLAG_LOOTING = 0x00000400
,
UNIT_FLAG_PET_IN_COMBAT = 0x00000800
,
UNIT_FLAG_PVP = 0x00001000
,
UNIT_FLAG_SILENCED = 0x00002000
,
UNIT_FLAG_CANNOT_SWIM = 0x00004000
,
UNIT_FLAG_SWIMMING = 0x00008000
,
UNIT_FLAG_NON_ATTACKABLE_2 = 0x00010000
,
UNIT_FLAG_PACIFIED = 0x00020000
,
UNIT_FLAG_STUNNED = 0x00040000
,
UNIT_FLAG_IN_COMBAT = 0x00080000
,
UNIT_FLAG_TAXI_FLIGHT = 0x00100000
,
UNIT_FLAG_DISARMED = 0x00200000
,
UNIT_FLAG_CONFUSED = 0x00400000
,
UNIT_FLAG_FLEEING = 0x00800000
,
UNIT_FLAG_POSSESSED = 0x01000000
,
UNIT_FLAG_NOT_SELECTABLE = 0x02000000
,
UNIT_FLAG_SKINNABLE = 0x04000000
,
UNIT_FLAG_MOUNT = 0x08000000
,
UNIT_FLAG_UNK_28 = 0x10000000
,
UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT = 0x20000000
,
UNIT_FLAG_SHEATHE = 0x40000000
,
UNIT_FLAG_IMMUNE = 0x80000000
} |
|
enum | UnitFlags2 : uint32 {
UNIT_FLAG2_NONE = 0x00000000
,
UNIT_FLAG2_FEIGN_DEATH = 0x00000001
,
UNIT_FLAG2_HIDE_BODY = 0x00000002
,
UNIT_FLAG2_IGNORE_REPUTATION = 0x00000004
,
UNIT_FLAG2_COMPREHEND_LANG = 0x00000008
,
UNIT_FLAG2_MIRROR_IMAGE = 0x00000010
,
UNIT_FLAG2_DO_NOT_FADE_IN = 0x00000020
,
UNIT_FLAG2_FORCE_MOVEMENT = 0x00000040
,
UNIT_FLAG2_DISARM_OFFHAND = 0x00000080
,
UNIT_FLAG2_DISABLE_PRED_STATS = 0x00000100
,
UNIT_FLAG2_DISARM_RANGED = 0x00000400
,
UNIT_FLAG2_REGENERATE_POWER = 0x00000800
,
UNIT_FLAG2_RESTRICT_PARTY_INTERACTION = 0x00001000
,
UNIT_FLAG2_PREVENT_SPELL_CLICK = 0x00002000
,
UNIT_FLAG2_ALLOW_ENEMY_INTERACT = 0x00004000
,
UNIT_FLAG2_CANNOT_TURN = 0x00008000
,
UNIT_FLAG2_UNK2 = 0x00010000
,
UNIT_FLAG2_PLAY_DEATH_ANIM = 0x00020000
,
UNIT_FLAG2_ALLOW_CHEAT_SPELLS = 0x00040000
,
UNIT_FLAG2_UNUSED_6 = 0x01000000
} |
|
enum | NPCFlags : uint32 {
UNIT_NPC_FLAG_NONE = 0x00000000
,
UNIT_NPC_FLAG_GOSSIP = 0x00000001
,
UNIT_NPC_FLAG_QUESTGIVER = 0x00000002
,
UNIT_NPC_FLAG_UNK1 = 0x00000004
,
UNIT_NPC_FLAG_UNK2 = 0x00000008
,
UNIT_NPC_FLAG_TRAINER = 0x00000010
,
UNIT_NPC_FLAG_TRAINER_CLASS = 0x00000020
,
UNIT_NPC_FLAG_TRAINER_PROFESSION = 0x00000040
,
UNIT_NPC_FLAG_VENDOR = 0x00000080
,
UNIT_NPC_FLAG_VENDOR_AMMO = 0x00000100
,
UNIT_NPC_FLAG_VENDOR_FOOD = 0x00000200
,
UNIT_NPC_FLAG_VENDOR_POISON = 0x00000400
,
UNIT_NPC_FLAG_VENDOR_REAGENT = 0x00000800
,
UNIT_NPC_FLAG_REPAIR = 0x00001000
,
UNIT_NPC_FLAG_FLIGHTMASTER = 0x00002000
,
UNIT_NPC_FLAG_SPIRITHEALER = 0x00004000
,
UNIT_NPC_FLAG_SPIRITGUIDE = 0x00008000
,
UNIT_NPC_FLAG_INNKEEPER = 0x00010000
,
UNIT_NPC_FLAG_BANKER = 0x00020000
,
UNIT_NPC_FLAG_PETITIONER = 0x00040000
,
UNIT_NPC_FLAG_TABARDDESIGNER = 0x00080000
,
UNIT_NPC_FLAG_BATTLEMASTER = 0x00100000
,
UNIT_NPC_FLAG_AUCTIONEER = 0x00200000
,
UNIT_NPC_FLAG_STABLEMASTER = 0x00400000
,
UNIT_NPC_FLAG_GUILD_BANKER = 0x00800000
,
UNIT_NPC_FLAG_SPELLCLICK = 0x01000000
,
UNIT_NPC_FLAG_PLAYER_VEHICLE = 0x02000000
,
UNIT_NPC_FLAG_MAILBOX = 0x04000000
,
UNIT_NPC_FLAG_VENDOR_MASK = UNIT_NPC_FLAG_VENDOR | UNIT_NPC_FLAG_VENDOR_AMMO | UNIT_NPC_FLAG_VENDOR_POISON | UNIT_NPC_FLAG_VENDOR_REAGENT
} |
| Non Player Character flags. More...
|
|
enum | UnitMoveType {
MOVE_WALK = 0
,
MOVE_RUN = 1
,
MOVE_RUN_BACK = 2
,
MOVE_SWIM = 3
,
MOVE_SWIM_BACK = 4
,
MOVE_TURN_RATE = 5
,
MOVE_FLIGHT = 6
,
MOVE_FLIGHT_BACK = 7
,
MOVE_PITCH_RATE = 8
} |
|
enum | MovementFlags {
MOVEMENTFLAG_NONE = 0x00000000
,
MOVEMENTFLAG_FORWARD = 0x00000001
,
MOVEMENTFLAG_BACKWARD = 0x00000002
,
MOVEMENTFLAG_STRAFE_LEFT = 0x00000004
,
MOVEMENTFLAG_STRAFE_RIGHT = 0x00000008
,
MOVEMENTFLAG_LEFT = 0x00000010
,
MOVEMENTFLAG_RIGHT = 0x00000020
,
MOVEMENTFLAG_PITCH_UP = 0x00000040
,
MOVEMENTFLAG_PITCH_DOWN = 0x00000080
,
MOVEMENTFLAG_WALKING = 0x00000100
,
MOVEMENTFLAG_ONTRANSPORT = 0x00000200
,
MOVEMENTFLAG_DISABLE_GRAVITY = 0x00000400
,
MOVEMENTFLAG_ROOT = 0x00000800
,
MOVEMENTFLAG_FALLING = 0x00001000
,
MOVEMENTFLAG_FALLING_FAR = 0x00002000
,
MOVEMENTFLAG_PENDING_STOP = 0x00004000
,
MOVEMENTFLAG_PENDING_STRAFE_STOP = 0x00008000
,
MOVEMENTFLAG_PENDING_FORWARD = 0x00010000
,
MOVEMENTFLAG_PENDING_BACKWARD = 0x00020000
,
MOVEMENTFLAG_PENDING_STRAFE_LEFT = 0x00040000
,
MOVEMENTFLAG_PENDING_STRAFE_RIGHT = 0x00080000
,
MOVEMENTFLAG_PENDING_ROOT = 0x00100000
,
MOVEMENTFLAG_SWIMMING = 0x00200000
,
MOVEMENTFLAG_ASCENDING = 0x00400000
,
MOVEMENTFLAG_DESCENDING = 0x00800000
,
MOVEMENTFLAG_CAN_FLY = 0x01000000
,
MOVEMENTFLAG_FLYING = 0x02000000
,
MOVEMENTFLAG_SPLINE_ELEVATION = 0x04000000
,
MOVEMENTFLAG_SPLINE_ENABLED = 0x08000000
,
MOVEMENTFLAG_WATERWALKING = 0x10000000
,
MOVEMENTFLAG_FALLING_SLOW = 0x20000000
,
MOVEMENTFLAG_HOVER = 0x40000000
,
MOVEMENTFLAG_MASK_MOVING
,
MOVEMENTFLAG_MASK_TURNING
,
MOVEMENTFLAG_MASK_MOVING_FLY
,
MOVEMENTFLAG_MASK_PLAYER_ONLY
,
MOVEMENTFLAG_MASK_HAS_PLAYER_STATUS_OPCODE
} |
|
enum | MovementFlags2 {
MOVEMENTFLAG2_NONE = 0x00000000
,
MOVEMENTFLAG2_NO_STRAFE = 0x00000001
,
MOVEMENTFLAG2_NO_JUMPING = 0x00000002
,
MOVEMENTFLAG2_UNK3 = 0x00000004
,
MOVEMENTFLAG2_FULL_SPEED_TURNING = 0x00000008
,
MOVEMENTFLAG2_FULL_SPEED_PITCHING = 0x00000010
,
MOVEMENTFLAG2_ALWAYS_ALLOW_PITCHING = 0x00000020
,
MOVEMENTFLAG2_UNK7 = 0x00000040
,
MOVEMENTFLAG2_UNK8 = 0x00000080
,
MOVEMENTFLAG2_UNK9 = 0x00000100
,
MOVEMENTFLAG2_UNK10 = 0x00000200
,
MOVEMENTFLAG2_INTERPOLATED_MOVEMENT = 0x00000400
,
MOVEMENTFLAG2_INTERPOLATED_TURNING = 0x00000800
,
MOVEMENTFLAG2_INTERPOLATED_PITCHING = 0x00001000
,
MOVEMENTFLAG2_UNK14 = 0x00002000
,
MOVEMENTFLAG2_UNK15 = 0x00004000
,
MOVEMENTFLAG2_UNK16 = 0x00008000
} |
|
enum | SplineFlags {
SPLINEFLAG_NONE = 0x00000000
,
SPLINEFLAG_FORWARD = 0x00000001
,
SPLINEFLAG_BACKWARD = 0x00000002
,
SPLINEFLAG_STRAFE_LEFT = 0x00000004
,
SPLINEFLAG_STRAFE_RIGHT = 0x00000008
,
SPLINEFLAG_TURN_LEFT = 0x00000010
,
SPLINEFLAG_TURN_RIGHT = 0x00000020
,
SPLINEFLAG_PITCH_UP = 0x00000040
,
SPLINEFLAG_PITCH_DOWN = 0x00000080
,
SPLINEFLAG_DONE = 0x00000100
,
SPLINEFLAG_FALLING = 0x00000200
,
SPLINEFLAG_NO_SPLINE = 0x00000400
,
SPLINEFLAG_TRAJECTORY = 0x00000800
,
SPLINEFLAG_WALK_MODE = 0x00001000
,
SPLINEFLAG_FLYING = 0x00002000
,
SPLINEFLAG_KNOCKBACK = 0x00004000
,
SPLINEFLAG_FINAL_POINT = 0x00008000
,
SPLINEFLAG_FINAL_TARGET = 0x00010000
,
SPLINEFLAG_FINAL_FACING = 0x00020000
,
SPLINEFLAG_CATMULL_ROM = 0x00040000
,
SPLINEFLAG_CYCLIC = 0x00080000
,
SPLINEFLAG_ENTER_CYCLE = 0x00100000
,
SPLINEFLAG_ANIMATION_TIER = 0x00200000
,
SPLINEFLAG_FROZEN = 0x00400000
,
SPLINEFLAG_TRANSPORT = 0x00800000
,
SPLINEFLAG_TRANSPORT_EXIT = 0x01000000
,
SPLINEFLAG_UNKNOWN7 = 0x02000000
,
SPLINEFLAG_UNKNOWN8 = 0x04000000
,
SPLINEFLAG_ORIENTATION_INVERTED = 0x08000000
,
SPLINEFLAG_USE_PATH_SMOOTHING = 0x10000000
,
SPLINEFLAG_ANIMATION = 0x20000000
,
SPLINEFLAG_UNCOMPRESSED_PATH = 0x40000000
,
SPLINEFLAG_UNKNOWN10 = 0x80000000
} |
|
enum | SplineType {
SPLINETYPE_NORMAL = 0
,
SPLINETYPE_STOP = 1
,
SPLINETYPE_FACING_SPOT = 2
,
SPLINETYPE_FACING_TARGET = 3
,
SPLINETYPE_FACING_ANGLE = 4
} |
|