Core/Misc: Define and use ChrRacesFlag and CreatureModelDataFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/d30e4a20e52a5025c59bfc746570ff7ef06af6f4)
This commit is contained in:
@@ -1000,9 +1000,34 @@ namespace Framework.Constants
|
||||
Factional = 0x40
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum ChrRacesFlag
|
||||
{
|
||||
AlliedRace = 0x80000
|
||||
NPCOnly = 0x01,
|
||||
DoNotComponentFeet = 0x02,
|
||||
CanMount = 0x04,
|
||||
HasBald = 0x08,
|
||||
BindToStartingArea = 0x10,
|
||||
AlternateForm = 0x20,
|
||||
CanMountSelf = 0x40,
|
||||
ForceToHDModelIfAvailable = 0x80,
|
||||
ExaltedWithAllVendors = 0x100,
|
||||
NotSelectable = 0x200,
|
||||
ReputationBonus = 0x400,
|
||||
UseLoincloth = 0x800,
|
||||
RestBonus = 0x1000,
|
||||
NoStartKits = 0x2000,
|
||||
NoStartingWeapon = 0x4000,
|
||||
DontRedeemAccountLicenses = 0x8000,
|
||||
SkinVariationIsHairColor = 0x10000,
|
||||
UsePandarenRingForComponentingTexture = 0x20000,
|
||||
IgnoreForAssetManifestComponentInfoParsing = 0x40000,
|
||||
IsAlliedRace = 0x80000,
|
||||
VoidVendorDiscount = 0x100000,
|
||||
DAMMComponentNoMaleGeneration = 0x200000,
|
||||
DAMMComponentNoFemaleGeneration = 0x400000,
|
||||
NoAssociatedFactionReputationInRaceChange = 0x800000,
|
||||
InternalOnly = 0x100000,
|
||||
}
|
||||
|
||||
public enum ChrSpecializationFlag
|
||||
@@ -1618,9 +1643,9 @@ namespace Framework.Constants
|
||||
|
||||
public enum PhaseEntryFlags : ushort
|
||||
{
|
||||
ReadOnly = 0x001,
|
||||
InternalPhase = 0x002,
|
||||
Normal = 0x008,
|
||||
ReadOnly = 0x1,
|
||||
InternalPhase = 0x2,
|
||||
Normal = 0x8,
|
||||
Cosmetic = 0x010,
|
||||
Personal = 0x020,
|
||||
Expensive = 0x040,
|
||||
@@ -2189,6 +2214,29 @@ namespace Framework.Constants
|
||||
Disabled = 0x1
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum CreatureModelDataFlags
|
||||
{
|
||||
NoFootprintParticles = 0x01,
|
||||
NoBreathParticles = 0x02,
|
||||
IsPlayerModel = 0x04,
|
||||
NoAttachedWeapons = 0x10,
|
||||
NoFootprintTrailTextures = 0x20,
|
||||
DisableHighlight = 0x40,
|
||||
CanMountWhileTransformedAsThis = 0x80,
|
||||
DisableScaleInterpolation = 0x100,
|
||||
ForceProjectedTex = 0x200,
|
||||
CanJumpInPlaceAsMount = 0x400,
|
||||
AICannotUseWalkBackwardsAnim = 0x800,
|
||||
IgnoreSpineLowForSplitBody = 0x1000,
|
||||
IgnoreHeadForSplitBody = 0x2000,
|
||||
IgnoreSpineLowForSplitBodyWhenFlying = 0x4000,
|
||||
IgnoreHeadForSplitBodyWhenFlying = 0x8000,
|
||||
UseWheelAnimationOnUnitWheelBones = 0x10000,
|
||||
IsHDModel = 0x20000,
|
||||
SuppressEmittersOnLowSettings = 0x40000
|
||||
}
|
||||
|
||||
public enum FriendshipReputationFlags : int
|
||||
{
|
||||
NoFXOnReactionChange = 0x01,
|
||||
|
||||
Reference in New Issue
Block a user