Updates some enums

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2022-05-29 22:53:33 -04:00
parent ccf3198c7e
commit 965aeb7425
8 changed files with 21 additions and 21 deletions
+4 -4
View File
@@ -42,14 +42,14 @@ namespace Framework.Constants
RareElite = 2,
WorldBoss = 3,
Rare = 4,
Unknown = 5 // found in 2.2.3 for 2 mobs
EliteTrivial = 5 // found in 2.2.3 for 2 mobs
}
[Flags]
public enum UnitFlags : uint
{
ServerControlled = 0x01,
NonAttackable = 0x02,
NonAttackable = 0x02, // not attackable, set when creature starts to cast spells with SPELL_EFFECT_SPAWN and cast time, removed when spell hits caster, original name is UNIT_FLAG_SPAWNING. Rename when it will be removed from all scripts
RemoveClientControl = 0x04, // This is a legacy flag used to disable movement player's movement while controlling other units, SMSG_CLIENT_CONTROL replaces this functionality clientside now. CONFUSED and FLEEING flags have the same effect on client movement asDISABLE_MOVE_CONTROL in addition to preventing spell casts/autoattack (they all allow climbing steeper hills and emotes while moving)
PlayerControlled = 0x08, //controlled by player, use _IMMUNE_TO_PC instead of _IMMUNE_TO_NPC
Rename = 0x10,
@@ -60,7 +60,7 @@ namespace Framework.Constants
ImmuneToNpc = 0x200,
Looting = 0x400,
PetInCombat = 0x800,
Pvp = 0x1000,
PvpEnabling = 0x1000,
Silenced = 0x2000,
CantSwim = 0x4000,
CanSwim = 0x8000, // shows swim animation in water
@@ -68,7 +68,7 @@ namespace Framework.Constants
Pacified = 0x20000,
Stunned = 0x40000,
InCombat = 0x80000,
TaxiFlight = 0x100000,
OnTaxi = 0x100000,
Disarmed = 0x200000,
Confused = 0x400000,
Fleeing = 0x800000,