Core/Misc: Updated some enums for 9.2.7

Port From (https://github.com/TrinityCore/TrinityCore/commit/a2749366e4a5d3c7722a342500b37de3321b21d2)
This commit is contained in:
hondacrx
2022-08-25 13:34:14 -04:00
parent a0ab637818
commit 4352d71942
4 changed files with 1302 additions and 1286 deletions
+11 -10
View File
@@ -1133,16 +1133,17 @@ namespace Framework.Constants
CantUseItem = 99, // You Can'T Use That Item. CantUseItem = 99, // You Can'T Use That Item.
CantBeObliterated = 100,// You Can'T Obliterate That Item CantBeObliterated = 100,// You Can'T Obliterate That Item
GuildBankConjuredItem = 101,// You Cannot Store Conjured Items In The Guild Bank GuildBankConjuredItem = 101,// You Cannot Store Conjured Items In The Guild Bank
BagFull6 = 102,// That Bag Is Full. BagFull6 = 102,// That bag is full.
CantBeScrapped = 103,// You Can'T Scrap That Item BagFull7 = 103,// That bag is full.
BagFull7 = 104,// That Bag Is Full. CantBeScrapped = 104,// You can't scrap that item
NotInPetBattle = 105,// You Cannot Do That While In A Pet Battle BagFull8 = 105,// That bag is full.
BagFull8 = 106,// That Bag Is Full. NotInPetBattle = 106,// You cannot do that while in a pet battle
CantDoThatRightNow = 107,// You Can'T Do That Right Now. BagFull9 = 107,// That bag is full.
CantDoThatRightNow2 = 108,// You Can'T Do That Right Now. CantDoThatRightNow = 108,// You can't do that right now.
NotInNpe = 109,// Not Available During The Tutorial CantDoThatRightNow2 = 109,// You can't do that right now.
ItemCooldown = 110,// Item Is Not Ready Yet. NotInNPE = 110,// Not available during the tutorial
NotInRatedBattleground = 111,// You can't do that in a rated battleground. ItemCooldown = 111,// Item is not ready yet.
NotInRatedBattleground = 112,// You can't do that in a rated battleground.
} }
public enum BuyResult public enum BuyResult
File diff suppressed because it is too large Load Diff
+248 -245
View File
@@ -522,251 +522,254 @@ namespace Framework.Constants
ItemGone = 66, ItemGone = 66,
ItemNotFound = 67, ItemNotFound = 67,
ItemNotReady = 68, ItemNotReady = 68,
LevelRequirement = 69, LegacySpell = 69,
LineOfSight = 70, LevelRequirement = 70,
Lowlevel = 71, LineOfSight = 71,
LowCastlevel = 72, Lowlevel = 72,
MainhandEmpty = 73, LowCastlevel = 73,
Moving = 74, MainhandEmpty = 74,
NeedAmmo = 75, Moving = 75,
NeedAmmoPouch = 76, NeedAmmo = 76,
NeedExoticAmmo = 77, NeedAmmoPouch = 77,
NeedMoreItems = 78, NeedExoticAmmo = 78,
NoPath = 79, NeedMoreItems = 79,
NotBehind = 80, NoPath = 80,
NotFishable = 81, NotBehind = 81,
NotFlying = 82, NotFishable = 82,
NotHere = 83, NotFlying = 83,
NotInfront = 84, NotHere = 84,
NotInControl = 85, NotInfront = 85,
NotKnown = 86, NotInControl = 86,
NotMounted = 87, NotKnown = 87,
NotOnTaxi = 88, NotMounted = 88,
NotOnTransport = 89, NotOnTaxi = 89,
NotReady = 90, NotOnTransport = 90,
NotShapeshift = 91, NotReady = 91,
NotStanding = 92, NotShapeshift = 92,
NotTradeable = 93, NotStanding = 93,
NotTrading = 94, NotTradeable = 94,
NotUnsheathed = 95, NotTrading = 95,
NotWhileGhost = 96, NotUnsheathed = 96,
NotWhileLooting = 97, NotWhileGhost = 97,
NoAmmo = 98, NotWhileLooting = 98,
NoChargesRemain = 99, NoAmmo = 99,
NoComboPoints = 100, NoChargesRemain = 100,
NoDueling = 101, NoComboPoints = 101,
NoEndurance = 102, NoDueling = 102,
NoFish = 103, NoEndurance = 103,
NoItemsWhileShapeshifted = 104, NoFish = 104,
NoMountsAllowed = 105, NoItemsWhileShapeshifted = 105,
NoPet = 106, NoMountsAllowed = 106,
NoPower = 107, NoPet = 107,
NothingToDispel = 108, NoPower = 108,
NothingToSteal = 109, NothingToDispel = 109,
OnlyAbovewater = 110, NothingToSteal = 110,
OnlyIndoors = 111, OnlyAbovewater = 111,
OnlyMounted = 112, OnlyIndoors = 112,
OnlyOutdoors = 113, OnlyMounted = 113,
OnlyShapeshift = 114, OnlyOutdoors = 114,
OnlyStealthed = 115, OnlyShapeshift = 115,
OnlyUnderwater = 116, OnlyStealthed = 116,
OutOfRange = 117, OnlyUnderwater = 117,
Pacified = 118, OutOfRange = 118,
Possessed = 119, Pacified = 119,
Reagents = 120, Possessed = 120,
RequiresArea = 121, Reagents = 121,
RequiresSpellFocus = 122, RequiresArea = 122,
Rooted = 123, RequiresSpellFocus = 123,
Silenced = 124, Rooted = 124,
SpellInProgress = 125, Silenced = 125,
SpellLearned = 126, SpellInProgress = 126,
SpellUnavailable = 127, SpellLearned = 127,
Stunned = 128, SpellUnavailable = 128,
TargetsDead = 129, Stunned = 129,
TargetAffectingCombat = 130, TargetsDead = 130,
TargetAurastate = 131, TargetAffectingCombat = 131,
TargetDueling = 132, TargetAurastate = 132,
TargetEnemy = 133, TargetDueling = 133,
TargetEnraged = 134, TargetEnemy = 134,
TargetFriendly = 135, TargetEnraged = 135,
TargetInCombat = 136, TargetFriendly = 136,
TargetInPetBattle = 137, TargetInCombat = 137,
TargetIsPlayer = 138, TargetInPetBattle = 138,
TargetIsPlayerControlled = 139, TargetIsPlayer = 139,
TargetNotDead = 140, TargetIsPlayerControlled = 140,
TargetNotInParty = 141, TargetNotDead = 141,
TargetNotLooted = 142, TargetNotInParty = 142,
TargetNotPlayer = 143, TargetNotLooted = 143,
TargetNoPockets = 144, TargetNotPlayer = 144,
TargetNoWeapons = 145, TargetNoPockets = 145,
TargetNoRangedWeapons = 146, TargetNoWeapons = 146,
TargetUnskinnable = 147, TargetNoRangedWeapons = 147,
ThirstSatiated = 148, TargetUnskinnable = 148,
TooClose = 149, ThirstSatiated = 149,
TooManyOfItem = 150, TooClose = 150,
TotemCategory = 151, TooManyOfItem = 151,
Totems = 152, TotemCategory = 152,
TryAgain = 153, Totems = 153,
UnitNotBehind = 154, TrainingPoints = 154,
UnitNotInfront = 155, TryAgain = 155,
VisionObscured = 156, UnitNotBehind = 156,
WrongPetFood = 157, UnitNotInfront = 157,
NotWhileFatigued = 158, VisionObscured = 158,
TargetNotInInstance = 159, WrongPetFood = 159,
NotWhileTrading = 160, NotWhileFatigued = 160,
TargetNotInRaid = 161, TargetNotInInstance = 161,
TargetFreeforall = 162, NotWhileTrading = 162,
NoEdibleCorpses = 163, TargetNotInRaid = 163,
OnlyBattlegrounds = 164, TargetFreeforall = 164,
TargetNotGhost = 165, NoEdibleCorpses = 165,
TransformUnusable = 166, OnlyBattlegrounds = 166,
WrongWeather = 167, TargetNotGhost = 167,
DamageImmune = 168, TooManySkills = 168,
PreventedByMechanic = 169, TransformUnusable = 169,
PlayTime = 170, WrongWeather = 170,
Reputation = 171, DamageImmune = 171,
MinSkill = 172, PreventedByMechanic = 172,
NotInRatedBattleground = 173, PlayTime = 173,
NotOnShapeshift = 174, Reputation = 174,
NotOnStealthed = 175, MinSkill = 175,
NotOnDamageImmune = 176, NotInRatedBattleground = 176,
NotOnMounted = 177, NotOnShapeshift = 177,
TooShallow = 178, NotOnStealthed = 178,
TargetNotInSanctuary = 179, NotOnDamageImmune = 179,
TargetIsTrivial = 180, NotOnMounted = 180,
BmOrInvisgod = 181, TooShallow = 181,
GroundMountNotAllowed = 182, TargetNotInSanctuary = 182,
FloatingMountNotAllowed = 183, TargetIsTrivial = 183,
UnderwaterMountNotAllowed = 184, BmOrInvisgod = 184,
FlyingMountNotAllowed = 185, GroundMountNotAllowed = 185,
ApprenticeRidingRequirement = 186, FloatingMountNotAllowed = 186,
JourneymanRidingRequirement = 187, UnderwaterMountNotAllowed = 187,
ExpertRidingRequirement = 188, FlyingMountNotAllowed = 188,
ArtisanRidingRequirement = 189, ApprenticeRidingRequirement = 189,
MasterRidingRequirement = 190, JourneymanRidingRequirement = 190,
ColdRidingRequirement = 191, ExpertRidingRequirement = 191,
FlightMasterRidingRequirement = 192, ArtisanRidingRequirement = 192,
CsRidingRequirement = 193, MasterRidingRequirement = 193,
PandaRidingRequirement = 194, ColdRidingRequirement = 194,
DraenorRidingRequirement = 195, FlightMasterRidingRequirement = 195,
BrokenIslesRidingRequirement = 196, CsRidingRequirement = 196,
MountNoFloatHere = 197, PandaRidingRequirement = 197,
MountNoUnderwaterHere = 198, DraenorRidingRequirement = 198,
MountAboveWaterHere = 199, BrokenIslesRidingRequirement = 199,
MountCollectedOnOtherChar = 200, MountNoFloatHere = 200,
NotIdle = 201, MountNoUnderwaterHere = 201,
NotInactive = 202, MountAboveWaterHere = 202,
PartialPlaytime = 203, MountCollectedOnOtherChar = 203,
NoPlaytime = 204, NotIdle = 204,
NotInBattleground = 205, NotInactive = 205,
NotInRaidInstance = 206, PartialPlaytime = 206,
OnlyInArena = 207, NoPlaytime = 207,
TargetLockedToRaidInstance = 208, NotInBattleground = 208,
OnUseEnchant = 209, NotInRaidInstance = 209,
NotOnGround = 210, OnlyInArena = 210,
CustomError = 211, TargetLockedToRaidInstance = 211,
CantDoThatRightNow = 212, OnUseEnchant = 212,
TooManySockets = 213, NotOnGround = 213,
InvalidGlyph = 214, CustomError = 214,
UniqueGlyph = 215, CantDoThatRightNow = 215,
GlyphSocketLocked = 216, TooManySockets = 216,
GlyphExclusiveCategory = 217, InvalidGlyph = 217,
GlyphInvalidSpec = 218, UniqueGlyph = 218,
GlyphNoSpec = 219, GlyphSocketLocked = 219,
NoActiveGlyphs = 220, GlyphExclusiveCategory = 220,
NoValidTargets = 221, GlyphInvalidSpec = 221,
ItemAtMaxCharges = 222, GlyphNoSpec = 222,
NotInBarbershop = 223, NoActiveGlyphs = 223,
FishingTooLow = 224, NoValidTargets = 224,
ItemEnchantTradeWindow = 225, ItemAtMaxCharges = 225,
SummonPending = 226, NotInBarbershop = 226,
MaxSockets = 227, FishingTooLow = 227,
PetCanRename = 228, ItemEnchantTradeWindow = 228,
TargetCannotBeResurrected = 229, SummonPending = 229,
TargetHasResurrectPending = 230, MaxSockets = 230,
NoActions = 231, PetCanRename = 231,
CurrencyWeightMismatch = 232, TargetCannotBeResurrected = 232,
WeightNotEnough = 233, TargetHasResurrectPending = 233,
WeightTooMuch = 234, NoActions = 234,
NoVacantSeat = 235, CurrencyWeightMismatch = 235,
NoLiquid = 236, WeightNotEnough = 236,
OnlyNotSwimming = 237, WeightTooMuch = 237,
ByNotMoving = 238, NoVacantSeat = 238,
InCombatResLimitReached = 239, NoLiquid = 239,
NotInArena = 240, OnlyNotSwimming = 240,
TargetNotGrounded = 241, ByNotMoving = 241,
ExceededWeeklyUsage = 242, InCombatResLimitReached = 242,
NotInLfgDungeon = 243, NotInArena = 243,
BadTargetFilter = 244, TargetNotGrounded = 244,
NotEnoughTargets = 245, ExceededWeeklyUsage = 245,
NoSpec = 246, NotInLfgDungeon = 246,
CantAddBattlePet = 247, BadTargetFilter = 247,
CantUpgradeBattlePet = 248, NotEnoughTargets = 248,
WrongBattlePetType = 249, NoSpec = 249,
NoDungeonEncounter = 250, CantAddBattlePet = 250,
NoTeleportFromDungeon = 251, CantUpgradeBattlePet = 251,
MaxLevelTooLow = 252, WrongBattlePetType = 252,
CantReplaceItemBonus = 253, NoDungeonEncounter = 253,
GrantPetLevelFail = 254, NoTeleportFromDungeon = 254,
SkillLineNotKnown = 255, MaxLevelTooLow = 255,
BlueprintKnown = 256, CantReplaceItemBonus = 256,
FollowerKnown = 257, GrantPetLevelFail = 257,
CantOverrideEnchantVisual = 258, SkillLineNotKnown = 258,
ItemNotAWeapon = 259, BlueprintKnown = 259,
SameEnchantVisual = 260, FollowerKnown = 260,
ToyUseLimitReached = 261, CantOverrideEnchantVisual = 261,
ToyAlreadyKnown = 262, ItemNotAWeapon = 262,
ShipmentsFull = 263, SameEnchantVisual = 263,
NoShipmentsForContainer = 264, ToyUseLimitReached = 264,
NoBuildingForShipment = 265, ToyAlreadyKnown = 265,
NotEnoughShipmentsForContainer = 266, ShipmentsFull = 266,
HasMission = 267, NoShipmentsForContainer = 267,
BuildingActivateNotReady = 268, NoBuildingForShipment = 268,
NotSoulbound = 269, NotEnoughShipmentsForContainer = 269,
RidingVehicle = 270, HasMission = 270,
VeteranTrialAboveSkillRankMax = 271, BuildingActivateNotReady = 271,
NotWhileMercenary = 272, NotSoulbound = 272,
SpecDisabled = 273, RidingVehicle = 273,
CantBeObliterated = 274, VeteranTrialAboveSkillRankMax = 274,
CantBeScrapped = 275, NotWhileMercenary = 275,
FollowerClassSpecCap = 276, SpecDisabled = 276,
TransportNotReady = 277, CantBeObliterated = 277,
TransmogSetAlreadyKnown = 278, CantBeScrapped = 278,
DisabledByAuraLabel = 279, FollowerClassSpecCap = 279,
DisabledByMaxUsableLevel = 280, TransportNotReady = 280,
SpellAlreadyKnown = 281, TransmogSetAlreadyKnown = 281,
MustKnowSupercedingSpell = 282, DisabledByAuraLabel = 282,
YouCannotUseThatInPvpInstance = 283, DisabledByMaxUsableLevel = 283,
NoArtifactEquipped = 284, SpellAlreadyKnown = 284,
WrongArtifactEquipped = 285, MustKnowSupercedingSpell = 285,
TargetIsUntargetableByAnyone = 286, YouCannotUseThatInPvpInstance = 286,
SpellEffectFailed = 287, NoArtifactEquipped = 287,
NeedAllPartyMembers = 288, WrongArtifactEquipped = 288,
ArtifactAtFullPower = 289, TargetIsUntargetableByAnyone = 289,
ApItemFromPreviousTier = 290, SpellEffectFailed = 290,
AreaTriggerCreation = 291, NeedAllPartyMembers = 291,
AzeriteEmpoweredOnly = 292, ArtifactAtFullPower = 292,
AzeriteEmpoweredNoChoicesToUndo = 293, ApItemFromPreviousTier = 293,
WrongFaction = 294, AreaTriggerCreation = 294,
NotEnoughCurrency = 295, AzeriteEmpoweredOnly = 295,
BattleForAzerothRidingRequirement = 296, AzeriteEmpoweredNoChoicesToUndo = 296,
MountEquipmentError = 297, WrongFaction = 297,
NotWhileLevelLinked = 298, NotEnoughCurrency = 298,
LevelLinkedLowLevel = 299, BattleForAzerothRidingRequirement = 299,
SummonMapCondition = 300, MountEquipmentError = 300,
SetCovenantError = 301, NotWhileLevelLinked = 301,
RuneforgeLegendaryUpgrade = 302, LevelLinkedLowLevel = 302,
SetChromieTimeError = 303, SummonMapCondition = 303,
IneligibleWeaponAppearance = 304, SetCovenantError = 304,
PlayerCondition = 305, RuneforgeLegendaryUpgrade = 305,
NotWhileChromieTimed = 306, SetChromieTimeError = 306,
OptionalReagents = 307, IneligibleWeaponAppearance = 307,
SpectatorOrCommentator = 308, PlayerCondition = 308,
SoulbindConduitLearnFailedInvalidCovenant = 309, NotWhileChromieTimed = 309,
ShadowlandsRidingRequirement = 310, OptionalReagents = 310,
NotInMageTower = 311, SpectatorOrCommentator = 311,
GarrisonFollowerAtMinLevel = 312, SoulbindConduitLearnFailedInvalidCovenant = 312,
Unknown = 313, ShadowlandsRidingRequirement = 313,
NotInMageTower = 314,
GarrisonFollowerAtMinLevel = 315,
Unknown = 316,
// 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
@@ -762,6 +762,7 @@ namespace Game.Entities
public uint LargeAOI; // 7 Large AOI, enum { false, true, }; Default: false public uint LargeAOI; // 7 Large AOI, enum { false, true, }; Default: false
public uint UseGarrisonOwnerGuildColors; // 8 Use Garrison Owner Guild Colors, enum { false, true, }; Default: false public uint UseGarrisonOwnerGuildColors; // 8 Use Garrison Owner Guild Colors, enum { false, true, }; Default: false
public uint InteractRadiusOverride; // 9 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0 public uint InteractRadiusOverride; // 9 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0
public uint Allowunfriendlycrossfactionpartymemberstocollaborateonaritual;// 10 Allow unfriendly cross faction party members to collaborate on a ritual, enum { false, true, }; Default: false
} }
public struct trap public struct trap
@@ -989,6 +990,7 @@ namespace Game.Entities
public uint Unused2; // 1 Unused, int, Min value: 1, Max value: 65535, Default value: 60 public uint Unused2; // 1 Unused, int, Min value: 1, Max value: 65535, Default value: 60
public uint areaID; // 2 areaID, References: AreaTable, NoValue = 0 public uint areaID; // 2 areaID, References: AreaTable, NoValue = 0
public uint InteractRadiusOverride; // 3 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0 public uint InteractRadiusOverride; // 3 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0
public uint Preventmeetingstonefromtargetinganunfriendlypartymemberoutsideofinstances;// 4 Prevent meeting stone from targeting an unfriendly party member outside of instances, enum { false, true, }; Default: false
} }
public struct flagstand public struct flagstand
@@ -1277,12 +1279,13 @@ namespace Game.Entities
public struct uilink public struct uilink
{ {
public uint UILinkType; // 0 UI Link Type, enum { Adventure Journal, Obliterum Forge, Scrapping Machine}; Default: Adventure Journal public uint UILinkType; // 0 UI Link Type, enum { Adventure Journal, Obliterum Forge, Scrapping Machine, Item Interaction }; Default: Adventure Journal
public uint allowMounted; // 1 allowMounted, enum { false, true, }; Default: false public uint allowMounted; // 1 allowMounted, enum { false, true, }; Default: false
public uint GiganticAOI; // 2 Gigantic AOI, enum { false, true, }; Default: false public uint GiganticAOI; // 2 Gigantic AOI, enum { false, true, }; Default: false
public uint spellFocusType; // 3 spellFocusType, References: SpellFocusObject, NoValue = 0 public uint spellFocusType; // 3 spellFocusType, References: SpellFocusObject, NoValue = 0
public uint radius; // 4 radius, int, Min value: 0, Max value: 50, Default value: 10 public uint radius; // 4 radius, int, Min value: 0, Max value: 50, Default value: 10
public uint InteractRadiusOverride; // 5 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0 public uint InteractRadiusOverride; // 5 Interact Radius Override (in hundredths), int, Min value: 0, Max value: 2147483647, Default value: 0
public uint ItemInteractionID; // 6 Item Interaction ID, References: UiItemInteraction, NoValue = 0
} }
public struct keystonereceptacle public struct keystonereceptacle