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, SiegeableMulti = 53,
SiegeableMo = 54, SiegeableMo = 54,
PvpReward = 55, PvpReward = 55,
Max = 56 FuturePatch1 = 56,
FuturePatch2 = 57,
Max = 58
} }
public enum GameObjectState public enum GameObjectState
+1
View File
@@ -1066,6 +1066,7 @@ namespace Framework.Constants
CantDoThatRightNow = 102,// You Can'T Do That Right Now. CantDoThatRightNow = 102,// You Can'T Do That Right Now.
BagFull6 = 103,// That Bag Is Full. BagFull6 = 103,// That Bag Is Full.
CantBeScrapped = 104,// You Can'T Scrap That Item CantBeScrapped = 104,// You Can'T Scrap That Item
None4 = 105
} }
public enum BuyResult 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, Charmed = 27,
ChestInUse = 28, ChestInUse = 28,
Confused = 29, Confused = 29,
DontReport = 30, DisabledByPowerScaling = 30,
EquippedItem = 31, DontReport = 31,
EquippedItemClass = 32, EquippedItem = 32,
EquippedItemClassMainhand = 33, EquippedItemClass = 33,
EquippedItemClassOffhand = 34, EquippedItemClassMainhand = 34,
Error = 35, EquippedItemClassOffhand = 35,
Falling = 36, Error = 36,
Fizzle = 37, Falling = 37,
Fleeing = 38, Fizzle = 38,
FoodLowlevel = 39, Fleeing = 39,
GarrisonNotOwned = 40, FoodLowlevel = 40,
GarrisonOwned = 41, GarrisonNotOwned = 41,
GarrisonMaxLevel = 42, GarrisonOwned = 42,
GarrisonNotUpgradeable = 43, GarrisonMaxLevel = 43,
GarrisonFollowerOnMission = 44, GarrisonNotUpgradeable = 44,
GarrisonFollowerInBuilding = 45, GarrisonFollowerOnMission = 45,
GarrisonFollowerMaxLevel = 46, GarrisonFollowerInBuilding = 46,
GarrisonFollowerMinItemLevel = 47, GarrisonFollowerMaxLevel = 47,
GarrisonFollowerMaxItemLevel = 48, GarrisonFollowerMinItemLevel = 48,
GarrisonFollowerMaxQuality = 49, GarrisonFollowerMaxItemLevel = 49,
GarrisonFollowerNotMaxLevel = 50, GarrisonFollowerMaxQuality = 50,
GarrisonFollowerHasAbility = 51, GarrisonFollowerNotMaxLevel = 51,
GarrisonFollowerHasSingleMissionAbility = 52, GarrisonFollowerHasAbility = 52,
GarrisonFollowerRequiresEpic = 53, GarrisonFollowerHasSingleMissionAbility = 53,
GarrisonMissionNotInProgress = 54, GarrisonFollowerRequiresEpic = 54,
GarrisonMissionComplete = 55, GarrisonMissionNotInProgress = 55,
GarrisonNoMissionsAvailable = 56, GarrisonMissionComplete = 56,
Highlevel = 57, GarrisonNoMissionsAvailable = 57,
HungerSatiated = 58, Highlevel = 58,
Immune = 59, HungerSatiated = 59,
IncorrectArea = 60, Immune = 60,
Interrupted = 61, IncorrectArea = 61,
InterruptedCombat = 62, Interrupted = 62,
ItemAlreadyEnchanted = 63, InterruptedCombat = 63,
ItemGone = 64, ItemAlreadyEnchanted = 64,
ItemNotFound = 65, ItemGone = 65,
ItemNotReady = 66, ItemNotFound = 66,
LevelRequirement = 67, ItemNotReady = 67,
LineOfSight = 68, LevelRequirement = 68,
Lowlevel = 69, LineOfSight = 69,
LowCastlevel = 70, Lowlevel = 70,
MainhandEmpty = 71, LowCastlevel = 71,
Moving = 72, MainhandEmpty = 72,
NeedAmmo = 73, Moving = 73,
NeedAmmoPouch = 74, NeedAmmo = 74,
NeedExoticAmmo = 75, NeedAmmoPouch = 75,
NeedMoreItems = 76, NeedExoticAmmo = 76,
NoPath = 77, NeedMoreItems = 77,
NotBehind = 78, NoPath = 78,
NotFishable = 79, NotBehind = 79,
NotFlying = 80, NotFishable = 80,
NotHere = 81, NotFlying = 81,
NotInfront = 82, NotHere = 82,
NotInControl = 83, NotInfront = 83,
NotKnown = 84, NotInControl = 84,
NotMounted = 85, NotKnown = 85,
NotOnTaxi = 86, NotMounted = 86,
NotOnTransport = 87, NotOnTaxi = 87,
NotReady = 88, NotOnTransport = 88,
NotShapeshift = 89, NotReady = 89,
NotStanding = 90, NotShapeshift = 90,
NotTradeable = 91, NotStanding = 91,
NotTrading = 92, NotTradeable = 92,
NotUnsheathed = 93, NotTrading = 93,
NotWhileGhost = 94, NotUnsheathed = 94,
NotWhileLooting = 95, NotWhileGhost = 95,
NoAmmo = 96, NotWhileLooting = 96,
NoChargesRemain = 97, NoAmmo = 97,
NoComboPoints = 98, NoChargesRemain = 98,
NoDueling = 99, NoComboPoints = 99,
NoEndurance = 100, NoDueling = 100,
NoFish = 101, NoEndurance = 101,
NoItemsWhileShapeshifted = 102, NoFish = 102,
NoMountsAllowed = 103, NoItemsWhileShapeshifted = 103,
NoPet = 104, NoMountsAllowed = 104,
NoPower = 105, NoPet = 105,
NothingToDispel = 106, NoPower = 106,
NothingToSteal = 107, NothingToDispel = 107,
OnlyAbovewater = 108, NothingToSteal = 108,
OnlyIndoors = 109, OnlyAbovewater = 109,
OnlyMounted = 110, OnlyIndoors = 110,
OnlyOutdoors = 111, OnlyMounted = 111,
OnlyShapeshift = 112, OnlyOutdoors = 112,
OnlyStealthed = 113, OnlyShapeshift = 113,
OnlyUnderwater = 114, OnlyStealthed = 114,
OutOfRange = 115, OnlyUnderwater = 115,
Pacified = 116, OutOfRange = 116,
Possessed = 117, Pacified = 117,
Reagents = 118, Possessed = 118,
RequiresArea = 119, Reagents = 119,
RequiresSpellFocus = 120, RequiresArea = 120,
Rooted = 121, RequiresSpellFocus = 121,
Silenced = 122, Rooted = 122,
SpellInProgress = 123, Silenced = 123,
SpellLearned = 124, SpellInProgress = 124,
SpellUnavailable = 125, SpellLearned = 125,
Stunned = 126, SpellUnavailable = 126,
TargetsDead = 127, Stunned = 127,
TargetAffectingCombat = 128, TargetsDead = 128,
TargetAurastate = 129, TargetAffectingCombat = 129,
TargetDueling = 130, TargetAurastate = 130,
TargetEnemy = 131, TargetDueling = 131,
TargetEnraged = 132, TargetEnemy = 132,
TargetFriendly = 133, TargetEnraged = 133,
TargetInCombat = 134, TargetFriendly = 134,
TargetInPetBattle = 135, TargetInCombat = 135,
TargetIsPlayer = 136, TargetInPetBattle = 136,
TargetIsPlayerControlled = 137, TargetIsPlayer = 137,
TargetNotDead = 138, TargetIsPlayerControlled = 138,
TargetNotInParty = 139, TargetNotDead = 139,
TargetNotLooted = 140, TargetNotInParty = 140,
TargetNotPlayer = 141, TargetNotLooted = 141,
TargetNoPockets = 142, TargetNotPlayer = 142,
TargetNoWeapons = 143, TargetNoPockets = 143,
TargetNoRangedWeapons = 144, TargetNoWeapons = 144,
TargetUnskinnable = 145, TargetNoRangedWeapons = 145,
ThirstSatiated = 146, TargetUnskinnable = 146,
TooClose = 147, ThirstSatiated = 147,
TooManyOfItem = 148, TooClose = 148,
TotemCategory = 149, TooManyOfItem = 149,
Totems = 150, TotemCategory = 150,
TryAgain = 151, Totems = 151,
UnitNotBehind = 152, TryAgain = 152,
UnitNotInfront = 153, UnitNotBehind = 153,
VisionObscured = 154, UnitNotInfront = 154,
WrongPetFood = 155, VisionObscured = 155,
NotWhileFatigued = 156, WrongPetFood = 156,
TargetNotInInstance = 157, NotWhileFatigued = 157,
NotWhileTrading = 158, TargetNotInInstance = 158,
TargetNotInRaid = 159, NotWhileTrading = 159,
TargetFreeforall = 160, TargetNotInRaid = 160,
NoEdibleCorpses = 161, TargetFreeforall = 161,
OnlyBattlegrounds = 162, NoEdibleCorpses = 162,
TargetNotGhost = 163, OnlyBattlegrounds = 163,
TransformUnusable = 164, TargetNotGhost = 164,
WrongWeather = 165, TransformUnusable = 165,
DamageImmune = 166, WrongWeather = 166,
PreventedByMechanic = 167, DamageImmune = 167,
PlayTime = 168, PreventedByMechanic = 168,
Reputation = 169, PlayTime = 169,
MinSkill = 170, Reputation = 170,
NotInRatedBattleground = 171, MinSkill = 171,
NotOnShapeshift = 172, NotInRatedBattleground = 172,
NotOnStealthed = 173, NotOnShapeshift = 173,
NotOnDamageImmune = 174, NotOnStealthed = 174,
NotOnMounted = 175, NotOnDamageImmune = 175,
TooShallow = 176, NotOnMounted = 176,
TargetNotInSanctuary = 177, TooShallow = 177,
TargetIsTrivial = 178, TargetNotInSanctuary = 178,
BmOrInvisgod = 179, TargetIsTrivial = 179,
GroundMountNotAllowed = 180, BmOrInvisgod = 180,
FloatingMountNotAllowed = 181, GroundMountNotAllowed = 181,
UnderwaterMountNotAllowed = 182, FloatingMountNotAllowed = 182,
FlyingMountNotAllowed = 183, UnderwaterMountNotAllowed = 183,
ApprenticeRidingRequirement = 184, FlyingMountNotAllowed = 184,
JourneymanRidingRequirement = 185, ApprenticeRidingRequirement = 185,
ExpertRidingRequirement = 186, JourneymanRidingRequirement = 186,
ArtisanRidingRequirement = 187, ExpertRidingRequirement = 187,
MasterRidingRequirement = 188, ArtisanRidingRequirement = 188,
ColdRidingRequirement = 189, MasterRidingRequirement = 189,
FlightMasterRidingRequirement = 190, ColdRidingRequirement = 190,
CsRidingRequirement = 191, FlightMasterRidingRequirement = 191,
PandaRidingRequirement = 192, CsRidingRequirement = 192,
DraenorRidingRequirement = 193, PandaRidingRequirement = 193,
BrokenIslesRidingRequirement = 194, DraenorRidingRequirement = 194,
MountNoFloatHere = 195, BrokenIslesRidingRequirement = 195,
MountNoUnderwaterHere = 196, MountNoFloatHere = 196,
MountAboveWaterHere = 197, MountNoUnderwaterHere = 197,
MountCollectedOnOtherChar = 198, MountAboveWaterHere = 198,
NotIdle = 199, MountCollectedOnOtherChar = 199,
NotInactive = 200, NotIdle = 200,
PartialPlaytime = 201, NotInactive = 201,
NoPlaytime = 202, PartialPlaytime = 202,
NotInBattleground = 203, NoPlaytime = 203,
NotInRaidInstance = 204, NotInBattleground = 204,
OnlyInArena = 205, NotInRaidInstance = 205,
TargetLockedToRaidInstance = 206, OnlyInArena = 206,
OnUseEnchant = 207, TargetLockedToRaidInstance = 207,
NotOnGround = 208, OnUseEnchant = 208,
CustomError = 209, NotOnGround = 209,
CantDoThatRightNow = 210, CustomError = 210,
TooManySockets = 211, CantDoThatRightNow = 211,
InvalidGlyph = 212, TooManySockets = 212,
UniqueGlyph = 213, InvalidGlyph = 213,
GlyphSocketLocked = 214, UniqueGlyph = 214,
GlyphExclusiveCategory = 215, GlyphSocketLocked = 215,
GlyphInvalidSpec = 216, GlyphExclusiveCategory = 216,
GlyphNoSpec = 217, GlyphInvalidSpec = 217,
NoActiveGlyphs = 218, GlyphNoSpec = 218,
NoValidTargets = 219, NoActiveGlyphs = 219,
ItemAtMaxCharges = 220, NoValidTargets = 220,
NotInBarbershop = 221, ItemAtMaxCharges = 221,
FishingTooLow = 222, NotInBarbershop = 222,
ItemEnchantTradeWindow = 223, FishingTooLow = 223,
SummonPending = 224, ItemEnchantTradeWindow = 224,
MaxSockets = 225, SummonPending = 225,
PetCanRename = 226, MaxSockets = 226,
TargetCannotBeResurrected = 227, PetCanRename = 227,
TargetHasResurrectPending = 228, TargetCannotBeResurrected = 228,
NoActions = 229, TargetHasResurrectPending = 229,
CurrencyWeightMismatch = 230, NoActions = 230,
WeightNotEnough = 231, CurrencyWeightMismatch = 231,
WeightTooMuch = 232, WeightNotEnough = 232,
NoVacantSeat = 233, WeightTooMuch = 233,
NoLiquid = 234, NoVacantSeat = 234,
OnlyNotSwimming = 235, NoLiquid = 235,
ByNotMoving = 236, OnlyNotSwimming = 236,
InCombatResLimitReached = 237, ByNotMoving = 237,
NotInArena = 238, InCombatResLimitReached = 238,
TargetNotGrounded = 239, NotInArena = 239,
ExceededWeeklyUsage = 240, TargetNotGrounded = 240,
NotInLfgDungeon = 241, ExceededWeeklyUsage = 241,
BadTargetFilter = 242, NotInLfgDungeon = 242,
NotEnoughTargets = 243, BadTargetFilter = 243,
NoSpec = 244, NotEnoughTargets = 244,
CantAddBattlePet = 245, NoSpec = 245,
CantUpgradeBattlePet = 246, CantAddBattlePet = 246,
WrongBattlePetType = 247, CantUpgradeBattlePet = 247,
NoDungeonEncounter = 248, WrongBattlePetType = 248,
NoTeleportFromDungeon = 249, NoDungeonEncounter = 249,
MaxLevelTooLow = 250, NoTeleportFromDungeon = 250,
CantReplaceItemBonus = 251, MaxLevelTooLow = 251,
GrantPetLevelFail = 252, CantReplaceItemBonus = 252,
SkillLineNotKnown = 253, GrantPetLevelFail = 253,
BlueprintKnown = 254, SkillLineNotKnown = 254,
FollowerKnown = 255, BlueprintKnown = 255,
CantOverrideEnchantVisual = 256, FollowerKnown = 256,
ItemNotAWeapon = 257, CantOverrideEnchantVisual = 257,
SameEnchantVisual = 258, ItemNotAWeapon = 258,
ToyUseLimitReached = 259, SameEnchantVisual = 259,
ToyAlreadyKnown = 260, ToyUseLimitReached = 260,
ShipmentsFull = 261, ToyAlreadyKnown = 261,
NoShipmentsForContainer = 262, ShipmentsFull = 262,
NoBuildingForShipment = 263, NoShipmentsForContainer = 263,
NotEnoughShipmentsForContainer = 264, NoBuildingForShipment = 264,
HasMission = 265, NotEnoughShipmentsForContainer = 265,
BuildingActivateNotReady = 266, HasMission = 266,
NotSoulbound = 267, BuildingActivateNotReady = 267,
RidingVehicle = 268, NotSoulbound = 268,
VeteranTrialAboveSkillRankMax = 269, RidingVehicle = 269,
NotWhileMercenary = 270, VeteranTrialAboveSkillRankMax = 270,
SpecDisabled = 271, NotWhileMercenary = 271,
CantBeObliterated = 272, SpecDisabled = 272,
CantBeScrapped = 273, CantBeObliterated = 273,
FollowerClassSpecCap = 274, CantBeScrapped = 274,
TransportNotReady = 275, FollowerClassSpecCap = 275,
TransmogSetAlreadyKnown = 276, TransportNotReady = 276,
DisabledByAuraLabel = 277, TransmogSetAlreadyKnown = 277,
DisabledByMaxUsableLevel = 278, DisabledByAuraLabel = 278,
SpellAlreadyKnown = 279, DisabledByMaxUsableLevel = 279,
MustKnowSupercedingSpell = 280, SpellAlreadyKnown = 280,
YouCannotUseThatInPvpInstance = 281, MustKnowSupercedingSpell = 281,
NoArtifactEquipped = 282, YouCannotUseThatInPvpInstance = 282,
WrongArtifactEquipped = 283, NoArtifactEquipped = 283,
TargetIsUntargetableByAnyone = 284, WrongArtifactEquipped = 284,
SpellEffectFailed = 285, TargetIsUntargetableByAnyone = 285,
NeedAllPartyMembers = 286, SpellEffectFailed = 286,
ArtifactAtFullPower = 287, NeedAllPartyMembers = 287,
ApItemFromPreviousTier = 288, ArtifactAtFullPower = 288,
AreaTriggerCreation = 289, ApItemFromPreviousTier = 289,
AzeriteEmpoweredOnly = 290, AreaTriggerCreation = 290,
AzeriteEmpoweredNoChoicesToUndo = 291, AzeriteEmpoweredOnly = 291,
WrongFaction = 292, AzeriteEmpoweredNoChoicesToUndo = 292,
NotEnoughCurrency = 293, WrongFaction = 293,
BattleForAzerothRidingRequirement = 294, NotEnoughCurrency = 294,
MountEquipmentError = 295, BattleForAzerothRidingRequirement = 295,
Unknown = 296, 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) // 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 SpellCastOk = Success
@@ -1093,6 +1097,51 @@ namespace Framework.Constants
TargetHasNoFesteringWounds = 371, // The Target Has No Festering Wounds. TargetHasNoFesteringWounds = 371, // The Target Has No Festering Wounds.
YouDontHaveDeadlyOrWoundPoisonActive = 372, // You Do Not Have Deadly Poison Or Wound Poison Active. 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. 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 public enum SpellMissInfo