Core/Misc: Updated a bunch of enums to 8.2.5

Port From (https://github.com/TrinityCore/TrinityCore/commit/528dd88e593ec5984177bcb0c8ede49ab796c930)
This commit is contained in:
hondacrx
2019-10-29 13:15:47 -04:00
parent e95115dc94
commit cfb4b6de2d
4 changed files with 877 additions and 814 deletions
@@ -75,7 +75,9 @@ namespace Framework.Constants
SiegeableMulti = 53,
SiegeableMo = 54,
PvpReward = 55,
Max = 56
FuturePatch1 = 56,
FuturePatch2 = 57,
Max = 58
}
public enum GameObjectState
+1
View File
@@ -1066,6 +1066,7 @@ namespace Framework.Constants
CantDoThatRightNow = 102,// You Can'T Do That Right Now.
BagFull6 = 103,// That Bag Is Full.
CantBeScrapped = 104,// You Can'T Scrap That Item
None4 = 105
}
public enum BuyResult
File diff suppressed because it is too large Load Diff
+316 -267
View File
@@ -446,273 +446,277 @@ namespace Framework.Constants
Charmed = 27,
ChestInUse = 28,
Confused = 29,
DontReport = 30,
EquippedItem = 31,
EquippedItemClass = 32,
EquippedItemClassMainhand = 33,
EquippedItemClassOffhand = 34,
Error = 35,
Falling = 36,
Fizzle = 37,
Fleeing = 38,
FoodLowlevel = 39,
GarrisonNotOwned = 40,
GarrisonOwned = 41,
GarrisonMaxLevel = 42,
GarrisonNotUpgradeable = 43,
GarrisonFollowerOnMission = 44,
GarrisonFollowerInBuilding = 45,
GarrisonFollowerMaxLevel = 46,
GarrisonFollowerMinItemLevel = 47,
GarrisonFollowerMaxItemLevel = 48,
GarrisonFollowerMaxQuality = 49,
GarrisonFollowerNotMaxLevel = 50,
GarrisonFollowerHasAbility = 51,
GarrisonFollowerHasSingleMissionAbility = 52,
GarrisonFollowerRequiresEpic = 53,
GarrisonMissionNotInProgress = 54,
GarrisonMissionComplete = 55,
GarrisonNoMissionsAvailable = 56,
Highlevel = 57,
HungerSatiated = 58,
Immune = 59,
IncorrectArea = 60,
Interrupted = 61,
InterruptedCombat = 62,
ItemAlreadyEnchanted = 63,
ItemGone = 64,
ItemNotFound = 65,
ItemNotReady = 66,
LevelRequirement = 67,
LineOfSight = 68,
Lowlevel = 69,
LowCastlevel = 70,
MainhandEmpty = 71,
Moving = 72,
NeedAmmo = 73,
NeedAmmoPouch = 74,
NeedExoticAmmo = 75,
NeedMoreItems = 76,
NoPath = 77,
NotBehind = 78,
NotFishable = 79,
NotFlying = 80,
NotHere = 81,
NotInfront = 82,
NotInControl = 83,
NotKnown = 84,
NotMounted = 85,
NotOnTaxi = 86,
NotOnTransport = 87,
NotReady = 88,
NotShapeshift = 89,
NotStanding = 90,
NotTradeable = 91,
NotTrading = 92,
NotUnsheathed = 93,
NotWhileGhost = 94,
NotWhileLooting = 95,
NoAmmo = 96,
NoChargesRemain = 97,
NoComboPoints = 98,
NoDueling = 99,
NoEndurance = 100,
NoFish = 101,
NoItemsWhileShapeshifted = 102,
NoMountsAllowed = 103,
NoPet = 104,
NoPower = 105,
NothingToDispel = 106,
NothingToSteal = 107,
OnlyAbovewater = 108,
OnlyIndoors = 109,
OnlyMounted = 110,
OnlyOutdoors = 111,
OnlyShapeshift = 112,
OnlyStealthed = 113,
OnlyUnderwater = 114,
OutOfRange = 115,
Pacified = 116,
Possessed = 117,
Reagents = 118,
RequiresArea = 119,
RequiresSpellFocus = 120,
Rooted = 121,
Silenced = 122,
SpellInProgress = 123,
SpellLearned = 124,
SpellUnavailable = 125,
Stunned = 126,
TargetsDead = 127,
TargetAffectingCombat = 128,
TargetAurastate = 129,
TargetDueling = 130,
TargetEnemy = 131,
TargetEnraged = 132,
TargetFriendly = 133,
TargetInCombat = 134,
TargetInPetBattle = 135,
TargetIsPlayer = 136,
TargetIsPlayerControlled = 137,
TargetNotDead = 138,
TargetNotInParty = 139,
TargetNotLooted = 140,
TargetNotPlayer = 141,
TargetNoPockets = 142,
TargetNoWeapons = 143,
TargetNoRangedWeapons = 144,
TargetUnskinnable = 145,
ThirstSatiated = 146,
TooClose = 147,
TooManyOfItem = 148,
TotemCategory = 149,
Totems = 150,
TryAgain = 151,
UnitNotBehind = 152,
UnitNotInfront = 153,
VisionObscured = 154,
WrongPetFood = 155,
NotWhileFatigued = 156,
TargetNotInInstance = 157,
NotWhileTrading = 158,
TargetNotInRaid = 159,
TargetFreeforall = 160,
NoEdibleCorpses = 161,
OnlyBattlegrounds = 162,
TargetNotGhost = 163,
TransformUnusable = 164,
WrongWeather = 165,
DamageImmune = 166,
PreventedByMechanic = 167,
PlayTime = 168,
Reputation = 169,
MinSkill = 170,
NotInRatedBattleground = 171,
NotOnShapeshift = 172,
NotOnStealthed = 173,
NotOnDamageImmune = 174,
NotOnMounted = 175,
TooShallow = 176,
TargetNotInSanctuary = 177,
TargetIsTrivial = 178,
BmOrInvisgod = 179,
GroundMountNotAllowed = 180,
FloatingMountNotAllowed = 181,
UnderwaterMountNotAllowed = 182,
FlyingMountNotAllowed = 183,
ApprenticeRidingRequirement = 184,
JourneymanRidingRequirement = 185,
ExpertRidingRequirement = 186,
ArtisanRidingRequirement = 187,
MasterRidingRequirement = 188,
ColdRidingRequirement = 189,
FlightMasterRidingRequirement = 190,
CsRidingRequirement = 191,
PandaRidingRequirement = 192,
DraenorRidingRequirement = 193,
BrokenIslesRidingRequirement = 194,
MountNoFloatHere = 195,
MountNoUnderwaterHere = 196,
MountAboveWaterHere = 197,
MountCollectedOnOtherChar = 198,
NotIdle = 199,
NotInactive = 200,
PartialPlaytime = 201,
NoPlaytime = 202,
NotInBattleground = 203,
NotInRaidInstance = 204,
OnlyInArena = 205,
TargetLockedToRaidInstance = 206,
OnUseEnchant = 207,
NotOnGround = 208,
CustomError = 209,
CantDoThatRightNow = 210,
TooManySockets = 211,
InvalidGlyph = 212,
UniqueGlyph = 213,
GlyphSocketLocked = 214,
GlyphExclusiveCategory = 215,
GlyphInvalidSpec = 216,
GlyphNoSpec = 217,
NoActiveGlyphs = 218,
NoValidTargets = 219,
ItemAtMaxCharges = 220,
NotInBarbershop = 221,
FishingTooLow = 222,
ItemEnchantTradeWindow = 223,
SummonPending = 224,
MaxSockets = 225,
PetCanRename = 226,
TargetCannotBeResurrected = 227,
TargetHasResurrectPending = 228,
NoActions = 229,
CurrencyWeightMismatch = 230,
WeightNotEnough = 231,
WeightTooMuch = 232,
NoVacantSeat = 233,
NoLiquid = 234,
OnlyNotSwimming = 235,
ByNotMoving = 236,
InCombatResLimitReached = 237,
NotInArena = 238,
TargetNotGrounded = 239,
ExceededWeeklyUsage = 240,
NotInLfgDungeon = 241,
BadTargetFilter = 242,
NotEnoughTargets = 243,
NoSpec = 244,
CantAddBattlePet = 245,
CantUpgradeBattlePet = 246,
WrongBattlePetType = 247,
NoDungeonEncounter = 248,
NoTeleportFromDungeon = 249,
MaxLevelTooLow = 250,
CantReplaceItemBonus = 251,
GrantPetLevelFail = 252,
SkillLineNotKnown = 253,
BlueprintKnown = 254,
FollowerKnown = 255,
CantOverrideEnchantVisual = 256,
ItemNotAWeapon = 257,
SameEnchantVisual = 258,
ToyUseLimitReached = 259,
ToyAlreadyKnown = 260,
ShipmentsFull = 261,
NoShipmentsForContainer = 262,
NoBuildingForShipment = 263,
NotEnoughShipmentsForContainer = 264,
HasMission = 265,
BuildingActivateNotReady = 266,
NotSoulbound = 267,
RidingVehicle = 268,
VeteranTrialAboveSkillRankMax = 269,
NotWhileMercenary = 270,
SpecDisabled = 271,
CantBeObliterated = 272,
CantBeScrapped = 273,
FollowerClassSpecCap = 274,
TransportNotReady = 275,
TransmogSetAlreadyKnown = 276,
DisabledByAuraLabel = 277,
DisabledByMaxUsableLevel = 278,
SpellAlreadyKnown = 279,
MustKnowSupercedingSpell = 280,
YouCannotUseThatInPvpInstance = 281,
NoArtifactEquipped = 282,
WrongArtifactEquipped = 283,
TargetIsUntargetableByAnyone = 284,
SpellEffectFailed = 285,
NeedAllPartyMembers = 286,
ArtifactAtFullPower = 287,
ApItemFromPreviousTier = 288,
AreaTriggerCreation = 289,
AzeriteEmpoweredOnly = 290,
AzeriteEmpoweredNoChoicesToUndo = 291,
WrongFaction = 292,
NotEnoughCurrency = 293,
BattleForAzerothRidingRequirement = 294,
MountEquipmentError = 295,
Unknown = 296,
DisabledByPowerScaling = 30,
DontReport = 31,
EquippedItem = 32,
EquippedItemClass = 33,
EquippedItemClassMainhand = 34,
EquippedItemClassOffhand = 35,
Error = 36,
Falling = 37,
Fizzle = 38,
Fleeing = 39,
FoodLowlevel = 40,
GarrisonNotOwned = 41,
GarrisonOwned = 42,
GarrisonMaxLevel = 43,
GarrisonNotUpgradeable = 44,
GarrisonFollowerOnMission = 45,
GarrisonFollowerInBuilding = 46,
GarrisonFollowerMaxLevel = 47,
GarrisonFollowerMinItemLevel = 48,
GarrisonFollowerMaxItemLevel = 49,
GarrisonFollowerMaxQuality = 50,
GarrisonFollowerNotMaxLevel = 51,
GarrisonFollowerHasAbility = 52,
GarrisonFollowerHasSingleMissionAbility = 53,
GarrisonFollowerRequiresEpic = 54,
GarrisonMissionNotInProgress = 55,
GarrisonMissionComplete = 56,
GarrisonNoMissionsAvailable = 57,
Highlevel = 58,
HungerSatiated = 59,
Immune = 60,
IncorrectArea = 61,
Interrupted = 62,
InterruptedCombat = 63,
ItemAlreadyEnchanted = 64,
ItemGone = 65,
ItemNotFound = 66,
ItemNotReady = 67,
LevelRequirement = 68,
LineOfSight = 69,
Lowlevel = 70,
LowCastlevel = 71,
MainhandEmpty = 72,
Moving = 73,
NeedAmmo = 74,
NeedAmmoPouch = 75,
NeedExoticAmmo = 76,
NeedMoreItems = 77,
NoPath = 78,
NotBehind = 79,
NotFishable = 80,
NotFlying = 81,
NotHere = 82,
NotInfront = 83,
NotInControl = 84,
NotKnown = 85,
NotMounted = 86,
NotOnTaxi = 87,
NotOnTransport = 88,
NotReady = 89,
NotShapeshift = 90,
NotStanding = 91,
NotTradeable = 92,
NotTrading = 93,
NotUnsheathed = 94,
NotWhileGhost = 95,
NotWhileLooting = 96,
NoAmmo = 97,
NoChargesRemain = 98,
NoComboPoints = 99,
NoDueling = 100,
NoEndurance = 101,
NoFish = 102,
NoItemsWhileShapeshifted = 103,
NoMountsAllowed = 104,
NoPet = 105,
NoPower = 106,
NothingToDispel = 107,
NothingToSteal = 108,
OnlyAbovewater = 109,
OnlyIndoors = 110,
OnlyMounted = 111,
OnlyOutdoors = 112,
OnlyShapeshift = 113,
OnlyStealthed = 114,
OnlyUnderwater = 115,
OutOfRange = 116,
Pacified = 117,
Possessed = 118,
Reagents = 119,
RequiresArea = 120,
RequiresSpellFocus = 121,
Rooted = 122,
Silenced = 123,
SpellInProgress = 124,
SpellLearned = 125,
SpellUnavailable = 126,
Stunned = 127,
TargetsDead = 128,
TargetAffectingCombat = 129,
TargetAurastate = 130,
TargetDueling = 131,
TargetEnemy = 132,
TargetEnraged = 133,
TargetFriendly = 134,
TargetInCombat = 135,
TargetInPetBattle = 136,
TargetIsPlayer = 137,
TargetIsPlayerControlled = 138,
TargetNotDead = 139,
TargetNotInParty = 140,
TargetNotLooted = 141,
TargetNotPlayer = 142,
TargetNoPockets = 143,
TargetNoWeapons = 144,
TargetNoRangedWeapons = 145,
TargetUnskinnable = 146,
ThirstSatiated = 147,
TooClose = 148,
TooManyOfItem = 149,
TotemCategory = 150,
Totems = 151,
TryAgain = 152,
UnitNotBehind = 153,
UnitNotInfront = 154,
VisionObscured = 155,
WrongPetFood = 156,
NotWhileFatigued = 157,
TargetNotInInstance = 158,
NotWhileTrading = 159,
TargetNotInRaid = 160,
TargetFreeforall = 161,
NoEdibleCorpses = 162,
OnlyBattlegrounds = 163,
TargetNotGhost = 164,
TransformUnusable = 165,
WrongWeather = 166,
DamageImmune = 167,
PreventedByMechanic = 168,
PlayTime = 169,
Reputation = 170,
MinSkill = 171,
NotInRatedBattleground = 172,
NotOnShapeshift = 173,
NotOnStealthed = 174,
NotOnDamageImmune = 175,
NotOnMounted = 176,
TooShallow = 177,
TargetNotInSanctuary = 178,
TargetIsTrivial = 179,
BmOrInvisgod = 180,
GroundMountNotAllowed = 181,
FloatingMountNotAllowed = 182,
UnderwaterMountNotAllowed = 183,
FlyingMountNotAllowed = 184,
ApprenticeRidingRequirement = 185,
JourneymanRidingRequirement = 186,
ExpertRidingRequirement = 187,
ArtisanRidingRequirement = 188,
MasterRidingRequirement = 189,
ColdRidingRequirement = 190,
FlightMasterRidingRequirement = 191,
CsRidingRequirement = 192,
PandaRidingRequirement = 193,
DraenorRidingRequirement = 194,
BrokenIslesRidingRequirement = 195,
MountNoFloatHere = 196,
MountNoUnderwaterHere = 197,
MountAboveWaterHere = 198,
MountCollectedOnOtherChar = 199,
NotIdle = 200,
NotInactive = 201,
PartialPlaytime = 202,
NoPlaytime = 203,
NotInBattleground = 204,
NotInRaidInstance = 205,
OnlyInArena = 206,
TargetLockedToRaidInstance = 207,
OnUseEnchant = 208,
NotOnGround = 209,
CustomError = 210,
CantDoThatRightNow = 211,
TooManySockets = 212,
InvalidGlyph = 213,
UniqueGlyph = 214,
GlyphSocketLocked = 215,
GlyphExclusiveCategory = 216,
GlyphInvalidSpec = 217,
GlyphNoSpec = 218,
NoActiveGlyphs = 219,
NoValidTargets = 220,
ItemAtMaxCharges = 221,
NotInBarbershop = 222,
FishingTooLow = 223,
ItemEnchantTradeWindow = 224,
SummonPending = 225,
MaxSockets = 226,
PetCanRename = 227,
TargetCannotBeResurrected = 228,
TargetHasResurrectPending = 229,
NoActions = 230,
CurrencyWeightMismatch = 231,
WeightNotEnough = 232,
WeightTooMuch = 233,
NoVacantSeat = 234,
NoLiquid = 235,
OnlyNotSwimming = 236,
ByNotMoving = 237,
InCombatResLimitReached = 238,
NotInArena = 239,
TargetNotGrounded = 240,
ExceededWeeklyUsage = 241,
NotInLfgDungeon = 242,
BadTargetFilter = 243,
NotEnoughTargets = 244,
NoSpec = 245,
CantAddBattlePet = 246,
CantUpgradeBattlePet = 247,
WrongBattlePetType = 248,
NoDungeonEncounter = 249,
NoTeleportFromDungeon = 250,
MaxLevelTooLow = 251,
CantReplaceItemBonus = 252,
GrantPetLevelFail = 253,
SkillLineNotKnown = 254,
BlueprintKnown = 255,
FollowerKnown = 256,
CantOverrideEnchantVisual = 257,
ItemNotAWeapon = 258,
SameEnchantVisual = 259,
ToyUseLimitReached = 260,
ToyAlreadyKnown = 261,
ShipmentsFull = 262,
NoShipmentsForContainer = 263,
NoBuildingForShipment = 264,
NotEnoughShipmentsForContainer = 265,
HasMission = 266,
BuildingActivateNotReady = 267,
NotSoulbound = 268,
RidingVehicle = 269,
VeteranTrialAboveSkillRankMax = 270,
NotWhileMercenary = 271,
SpecDisabled = 272,
CantBeObliterated = 273,
CantBeScrapped = 274,
FollowerClassSpecCap = 275,
TransportNotReady = 276,
TransmogSetAlreadyKnown = 277,
DisabledByAuraLabel = 278,
DisabledByMaxUsableLevel = 279,
SpellAlreadyKnown = 280,
MustKnowSupercedingSpell = 281,
YouCannotUseThatInPvpInstance = 282,
NoArtifactEquipped = 283,
WrongArtifactEquipped = 284,
TargetIsUntargetableByAnyone = 285,
SpellEffectFailed = 286,
NeedAllPartyMembers = 287,
ArtifactAtFullPower = 288,
ApItemFromPreviousTier = 289,
AreaTriggerCreation = 290,
AzeriteEmpoweredOnly = 291,
AzeriteEmpoweredNoChoicesToUndo = 292,
WrongFaction = 293,
NotEnoughCurrency = 294,
BattleForAzerothRidingRequirement = 295,
MountEquipmentError = 296,
NotWhileLevelLinked = 297,
LevelLinkedLowLevel = 298,
SummonMapCondition = 299,
Unknown = 300,
// Ok Cast Value - Here In Case A Future Version Removes Success And We Need To Use A Custom Value (Not Sent To Client Either Way)
SpellCastOk = Success
@@ -1093,6 +1097,51 @@ namespace Framework.Constants
TargetHasNoFesteringWounds = 371, // The Target Has No Festering Wounds.
YouDontHaveDeadlyOrWoundPoisonActive = 372, // You Do Not Have Deadly Poison Or Wound Poison Active.
CannotReadSoldierDogTagWithoutHeadlampOn = 373, // You Cannot Read The Soldier'S Dog Tag Without Your Headlamp On.
YouHaveNoWoodToCollect = 374, // You Have No Wood To Collect.
YouAreNotWearingAShirt = 375, // You Are Not Wearing A Shirt!
TargetMustBeDead = 376, // Target Must Be Dead.
YourTargetIsAlreadyEmbiggified = 377, // Your Target Is Already Embiggified.
YouMustTargetASinisterGladiatorItem = 378, // You Must Target A Sinister Gladiator'S Item To Upgrade.
ThisItemLevelIsTooHighForThisUpgrade = 379, // This Item'S Level Is Too High For This Upgrade.
TheBallistaCannotBeUsedWhileOnFire = 380, // The Ballista Cannot Be Used While On Fire.
YouMustTargetADreadGladiatorItem = 381, // You Must Target A Dread Gladiator'S Item To Upgrade.
YouDoKnotKnowHowToTameBloodBeasts = 382, // You Do Not Know How To Tame Blood Beasts.
CanOnlyBeUsedInTheEvening = 385, // Can Only Be Used In The Evening.
RequiresPakuToBeYourChosenLoa = 386, // Requires Pa'Ku To Be Your Chosen Loa.
RequiresVigorEngaged = 387, // Requires V.I.G.O.R. Engaged.
YourTargetIsNotHungry = 388, // Your Target Is Not Hungry.
YouCanOnlyHaveOnTreasureMapMission = 389, // You Can Only Have One Treasure Map Mission At A Time.
YouAlreadyHaveASilasSphereOfTransmutation = 390, // You Already Have A Silas' Sphere Of Transmuation.
YouDoNotHaveTheMalletOfThunderousSkins = 391, // You Do Not Have The Mallet Of Thunderous Skins.
YouMustHaveAnOpenStableSlot = 393, // You Must Have An Open Stable Slot.
DoesNotWorkOnCritters = 394, // Does Not Work On Critters.
CanOnlyBeUsedOnHati = 395, // Can Only Be Used On Hati.
YouAlreadyHaveIwensEnchantingRod = 396, // You Already Have An Iwen'S Enchanting Rod.
YouAlreadyHaveMalletOfThunderousSkins = 397, // You Already Have A Mallet Of Thunderous Skins.
CanOnlyBeUsedOnInertTideWatchersOrVoodooMasks = 398, // Can Only Be Used On Inert Tide Watchers Or Inert Voodoo Masks.
YouMustBeAtShrineToMakeOfferingToLoa = 399, // You Must Be At A Shrine To Make An Offering To A Loa.
RequiresEmeraldEmpowerment = 400, // Requires Emerald Empowerment.
YouMustBeAnHonoredTauren = 401, // You Must Be An Honored Tauren.
RequiresChitterspineMeat = 402, // Requires Chitterspine Meat.
RequiresHeartForge = 403, // Requires Heart Forge.
NotAuthorizedToAccessChargingStation = 405, // You Are Not Authorized To Access This Charging Station. Speak To Flux.
RequiresMardivasArcaneCoffer = 406, // Requires Mardivas'S Arcane Coffer
RequiresHeartOfAzerothAtopHeartForge = 407, // Requires Heart Of Azeroth Placed Atop Heart Forge.
RequiresBrinestonePickaxe = 408, // Requires A Brinestone Pickaxe.
YouAlreadyCollectedDataOnThisTarget = 409, // You Have Already Collected Data On This Target.
YouAlreadyHaveThisEssenceForCurrentSpec = 410, // You Already Have This Essence For Your Current Loot Specialization
YouCannotSummonAnotherPetWhileRidingHati = 411, // You Cannot Summon Another Pet While Riding Hati.
YouHaveAlreadyCollectedThisAzerothMini = 422, // You Have Already Collected This Azeroth Mini
YourTargetIsAlreadyAffectedByTeaTime = 412, // Your Target Is Already Affected By Tea Time!
YouMustCompleteQuestTheHeartForgeToInfuseEssence = 413, // You Must Complete The Quest "The Heart Forge" To Infuse An Essence
ThisTargetDoesNotHaveYourRazorCoral = 414, // This Target Does Not Have Your Razor Coral.
YouDoNotHaveEnoughOfThatItem = 415, // You Do Not Have Enough Of That Item.
YourTargetIsNotWearingUnboundCursedLoversRing = 417, // Your Target Is Not Wearing An Unbound Cursed Lover'S Ring
YourCursedLoversRingIsAlredyBound = 418, // Your Cursed Lover'S Ring Is Already Bound
YouMustTargetANotoriusGladiatorItem = 421, // You Must Target A Notorious Gladiator'S Item To Upgrade.
RequiresWarMode = 426, // Requires War Mode.
YouCantCarryMorePickaxesChumSeeds = 423, // You Can'T Carry Any More Brinestone Pickaxes, Chum, Or Germinating Seeds.
RequiresHolidayFeastOfWinterWeil = 424, // Requires Holiday: Feast Of Winter Veil
}
public enum SpellMissInfo