Core: Update to 10.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/16bc74667e8996b64258718e95b97258dfc0217a)
This commit is contained in:
@@ -19,11 +19,11 @@ namespace Framework.Constants
|
||||
public enum HeaderFlags : short
|
||||
{
|
||||
None = 0x0,
|
||||
OffsetMap = 0x1,
|
||||
SecondIndex = 0x2,
|
||||
IndexMap = 0x4,
|
||||
Unknown = 0x8,
|
||||
Compressed = 0x10,
|
||||
Sparse = 0x1,
|
||||
SecondaryKey = 0x2,
|
||||
Index = 0x4,
|
||||
Unknown1 = 0x8,
|
||||
BitPacked = 0x10,
|
||||
}
|
||||
|
||||
[Flags]
|
||||
@@ -2380,7 +2380,7 @@ namespace Framework.Constants
|
||||
Max
|
||||
}
|
||||
|
||||
public enum UiMapType : uint
|
||||
public enum UiMapType : byte
|
||||
{
|
||||
Cosmic = 0,
|
||||
World = 1,
|
||||
|
||||
@@ -152,8 +152,17 @@ namespace Framework.Constants
|
||||
OffensiveSlot3 = 213,
|
||||
OffensiveSlot4 = 214,
|
||||
UtilitySlot1 = 215,
|
||||
DefensiveSlot1 = 216,
|
||||
MobilitySlot1 = 217
|
||||
UtilitySlot2 = 216,
|
||||
UtilitySlot3 = 217,
|
||||
UtilitySlot4 = 218,
|
||||
DefensiveSlot1 = 219,
|
||||
DefensiveSlot2 = 220,
|
||||
DefensiveSlot3 = 221,
|
||||
DefensiveSlot4 = 222,
|
||||
WeaponSlot1 = 223,
|
||||
WeaponSlot2 = 224,
|
||||
WeaponSlot3 = 225,
|
||||
WeaponSlot4 = 226,
|
||||
}
|
||||
|
||||
public struct EquipmentSlot
|
||||
@@ -387,6 +396,12 @@ namespace Framework.Constants
|
||||
CraftingReagentSlot7 = 50,
|
||||
CraftingReagentSlot8 = 51,
|
||||
CraftingReagentSlot9 = 52,
|
||||
CraftingReagentSlot10 = 53,
|
||||
CraftingReagentSlot11 = 54,
|
||||
CraftingReagentSlot12 = 55,
|
||||
CraftingReagentSlot13 = 56,
|
||||
CraftingReagentSlot14 = 57,
|
||||
|
||||
|
||||
Max
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace Framework.Constants
|
||||
Need = 0x02,
|
||||
Greed = 0x04,
|
||||
Disenchant = 0x08,
|
||||
Transmog = 0x10,
|
||||
|
||||
AllNoDisenchant = 0x07,
|
||||
AllMask = 0x0f
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -140,7 +140,8 @@ namespace Framework.Constants
|
||||
BossSound = 0x20, // Plays "RaidBossEmoteWarning" sound on raid boss emote/whisper
|
||||
Mobile = 0x40,
|
||||
Guide = 0x1000,
|
||||
Newcomer = 0x2000
|
||||
Newcomer = 0x2000,
|
||||
Censored = 0x4000
|
||||
}
|
||||
|
||||
public enum DrunkenState
|
||||
@@ -546,7 +547,7 @@ namespace Framework.Constants
|
||||
// first slot for item stored (in any way in player items data)
|
||||
Start = 0,
|
||||
// last+1 slot for item stored (in any way in player items data)
|
||||
End = 218,
|
||||
End = 227,
|
||||
Count = (End - Start)
|
||||
}
|
||||
|
||||
|
||||
@@ -814,11 +814,17 @@ namespace Framework.Constants
|
||||
Fury = 17,
|
||||
Pain = 18,
|
||||
Essence = 19,
|
||||
Max = 20,
|
||||
RuneBlood = 20,
|
||||
RuneFrost = 21,
|
||||
RuneUnholy = 22,
|
||||
AlternateQuest = 23,
|
||||
AlternateEncounter = 24,
|
||||
AlternateMount = 25,
|
||||
Max = 26,
|
||||
|
||||
All = 127, // default for class?
|
||||
Health = -2, // (-2 as signed value)
|
||||
MaxPerClass = 7
|
||||
MaxPerClass = 10
|
||||
}
|
||||
|
||||
public enum Stats
|
||||
@@ -3046,7 +3052,13 @@ namespace Framework.Constants
|
||||
UseWeeklyRewardsDisabled = 1113,
|
||||
CrossFactionGroupJoined = 1114,
|
||||
CantTargetUnfriendlyInOverworld = 1115,
|
||||
EquipablespellsSlotsFull = 1116
|
||||
EquipablespellsSlotsFull = 1116,
|
||||
WowLabsPartyErrorTypePartyIsFull = 1117,
|
||||
WowLabsPartyErrorTypeMaxInviteSent = 1118,
|
||||
WowLabsPartyErrorTypePlayerAlreadyInvited = 1119,
|
||||
WowLabsPartyErrorTypePartyInviteInvalid = 1120,
|
||||
WowLabsLobbyMatchmakerErrorEnterQueueFailed = 1121,
|
||||
WowLabsLobbyMatchmakerErrorLeaveQueueFailed = 1122,
|
||||
}
|
||||
|
||||
public enum SceneFlags
|
||||
|
||||
@@ -543,6 +543,7 @@ namespace Framework.Constants
|
||||
DisableNavigation = 533, // Disables Map Pins
|
||||
Unk534 = 534,
|
||||
Unk535 = 535,
|
||||
IgnoreSpellCreatureTypeRequirements = 536,
|
||||
Total
|
||||
}
|
||||
|
||||
|
||||
@@ -1350,6 +1350,7 @@ namespace Framework.Constants
|
||||
YouCanOnlyDoThisWhileMidair = 638, // You Can Only Do This While Midair.
|
||||
YouCannotDoThatWhileAirborne = 639, // You Cannot Do That While Airborne.
|
||||
PocopocIsUnavailableOnQuestline = 640, // Pocopoc Is Unavailable To Summon During The Questline A Means To An End.
|
||||
CannontCastThatWithAuraOfReckoningTalent = 650, // You cannot cast that while Aura of Reckoning is talented.
|
||||
RequiresSulfuronSlammer = 711, // Requires Sulfuron Slammer
|
||||
NotReadyYet = 788, // Not Ready Yet.
|
||||
QualityOfTieredMedallionSettingIsTooLow = 789, // The Quality Of Your Tiered Medallion Setting Is Too Low To Add Another Socket To This Item.
|
||||
@@ -1386,6 +1387,23 @@ namespace Framework.Constants
|
||||
ThereIsNoMoreRoomOnThatHandhold = 820, // There Is No More Room On That Handhold.
|
||||
YouMustUnblockThisSpotByCompletingADailyQuest = 821, // You Must Unblock This Spot By Completing A Daily Quest.
|
||||
YouMustBeCloserToAnIceHoleToDoThat = 822, // You Must Be Closer To An Ice Hole To Do That.
|
||||
ShadowflameIsTooStrongToBear = 823, // The Shadowflame Is Too Strong To Bear.
|
||||
SomeoneHasAlreadyOverloadedThis = 824, // Someone Has Already Overloaded This.
|
||||
RequiresNokhudTrainingCourse = 825, // Requires Nokhud Training Course.
|
||||
ThisRecipeIsCurrentlyDisabled = 826, // This Recipe Is Currently Disabled. Please Try Again Later.
|
||||
YouDoNotHaveTheCorrectBattlePetSummoned = 827, // You Do Not Have The Correct Battle Pet Summoned.
|
||||
YouAlreadyHaveAtLeastOneConjuredPhial = 828, // You Already Have At Least One Conjured Phial.
|
||||
MarkedTooManyTreasuresInTheForbiddenReach = 830, // You Have Already Marked Too Many Treasures In The Forbidden Reach. Collect A Few Before Unsealing More Forbidden Reach Treasure Scrolls.
|
||||
RequiresADjaradinPillarShard = 831, // Requires A Djaradin Pillar Shard.
|
||||
RequiresAResilientStone = 832, // Requires A Resilient Stone.
|
||||
MyrritCannotCarryAnyMoreMaps = 835, // Myrrit Cannot Carry Any More Maps. Go On A Dig With Him!
|
||||
RequiresNiffenCaveDiveKeyandShieldDisabled = 850, // Requires Niffen Cave Dive Key And Shield Disabled.
|
||||
ElusiveCreatureBaitWasRecentlyUsed = 851, // You Cannot Lure Anything In This Area For A Few Minutes. Elusive Creature Bait Was Recently Used.
|
||||
YouDontHaveTheSwirlingMojoStone = 999, // You Don'T Have The Swirling Mojo Stone Equipped.
|
||||
YouMustBeNearADragonflightOathstone = 1000, // You Must Be Near One Of The Five Dragonflight Oathstones In The Dragon Isles.
|
||||
CanOnlyUseThisItemWhileAirborne = 1001, // You Can Only Use This Item While Airborne.
|
||||
YouMustBeInVisageForm = 2222, // You Must Be In Visage Form To Do This.
|
||||
TooCloseToAnotherMoltenRitual = 2424, // You Can'T Begin A Molten Ritual This Close To Another One.
|
||||
}
|
||||
|
||||
public enum SpellMissInfo
|
||||
@@ -2483,6 +2501,14 @@ namespace Framework.Constants
|
||||
ChangeActiveCombatTraitConfig = 304,
|
||||
Unk305 = 305,
|
||||
Unk306 = 306,
|
||||
Unk307 = 307,
|
||||
CancelPreloadWorld = 308,
|
||||
PreloadWorld = 309,
|
||||
Unk310 = 310,
|
||||
EnsureWorldLoaded = 311,
|
||||
Unk312 = 312,
|
||||
ChangeItemBonuses2 = 313, // MiscValue[0] = ItemBonusTreeID to preserve
|
||||
AddSocketBonus = 314, // MiscValue[0] = required ItemBonusTreeID
|
||||
|
||||
TotalSpellEffects
|
||||
}
|
||||
|
||||
@@ -154,6 +154,12 @@ namespace Framework.Constants
|
||||
Fury,
|
||||
Pain,
|
||||
Essence,
|
||||
RuneBlood,
|
||||
RuneFrost,
|
||||
RuneUnholy,
|
||||
AlternateQuest,
|
||||
AlternateEncounter,
|
||||
AlternateMount,
|
||||
Armor, // ARMOR..RESISTANCE_ARCANE must be in existed order, it's accessed by index values of SpellSchools enum.
|
||||
ResistanceHoly,
|
||||
ResistanceFire,
|
||||
@@ -173,8 +179,9 @@ namespace Framework.Constants
|
||||
ResistanceStart = Armor,
|
||||
ResistanceEnd = ResistanceArcane + 1,
|
||||
PowerStart = Mana,
|
||||
PowerEnd = Essence + 1
|
||||
PowerEnd = AlternateMount + 1
|
||||
}
|
||||
|
||||
public enum UnitModifierFlatType
|
||||
{
|
||||
Base = 0,
|
||||
@@ -182,12 +189,14 @@ namespace Framework.Constants
|
||||
Total = 2,
|
||||
End = 3
|
||||
}
|
||||
|
||||
public enum UnitModifierPctType
|
||||
{
|
||||
Base = 0,
|
||||
Total = 1,
|
||||
End = 2
|
||||
}
|
||||
|
||||
public enum VictimState
|
||||
{
|
||||
Intact = 0, // set when attacker misses
|
||||
|
||||
Reference in New Issue
Block a user