Core: Updated to 11.2.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/5cf0c6c8bb2c4e58a2d66ba5f304af34d18a4782)
This commit is contained in:
Hondacrx
2025-08-25 20:48:29 -04:00
parent d64045154a
commit aaa669210a
63 changed files with 5958 additions and 5434 deletions
@@ -774,10 +774,10 @@ namespace Framework.Constants
CompleteQuestsCountOnAccount = 257, /*NYI*/
WarbandBankTabPurchased = 260, /*NYI*/
BankTabPurchased = 260, // Bank Tab Purchased in {#BankType}
ReachRenownLevel = 261,
LearnTaxiNode = 262,
Count = 264
Count = 270
}
public enum CriteriaDataType
@@ -46,4 +46,28 @@ namespace Framework.Constants
HasCircularMovement = 0x400, // DEPRECATED
Unk5 = 0x800,
}
public enum AreaTriggerFieldFlags
{
None = 0x0000,
HeightIgnoresScale = 0x0001,
WowLabsCircle = 0x0002,
CanLoop = 0x0004,
AbsoluteOrientation = 0x0008,
DynamicShape = 0x0010,
Attached = 0x0020,
FaceMovementDir = 0x0040,
FollowsTerrain = 0x0080,
Unknown1025 = 0x0100,
AlwaysExterior = 0x0200,
HasPlayers = 0x0400,
}
public enum AreaTriggerPathType
{
Spline = 0,
Orbit = 1,
None = 2,
MovementScript = 3
}
}
@@ -68,6 +68,8 @@ namespace Framework.Constants
ClientModel = 60,
CraftingTable = 61,
PerksProgramChest = 62,
FuturePatch = 63,
AssistAction = 64,
Max
}
+28 -29
View File
@@ -144,20 +144,14 @@ namespace Framework.Constants
public const byte ItemStart = 35;
public const byte ItemEnd = 63;
public const byte BankItemStart = 63;
public const byte BankItemEnd = 91;
public const byte BankBagStart = 63;
public const byte BankBagEnd = 69;
public const byte BankBagStart = 91;
public const byte BankBagEnd = 98;
public const byte BuyBackStart = 69;
public const byte BuyBackEnd = 81;
public const byte BuyBackStart = 98;
public const byte BuyBackEnd = 110;
public const byte ReagentStart = 110;
public const byte ReagentEnd = 208;
public const byte ChildEquipmentStart = 208;
public const byte ChildEquipmentEnd = 211;
public const byte ChildEquipmentStart = 81;
public const byte ChildEquipmentEnd = 84;
public const byte Bag0 = 255;
public const byte DefaultSize = 16;
@@ -165,22 +159,22 @@ namespace Framework.Constants
enum EquipableSpellSlots
{
OffensiveSlot1 = 211,
OffensiveSlot2 = 212,
OffensiveSlot3 = 213,
OffensiveSlot4 = 214,
UtilitySlot1 = 215,
UtilitySlot2 = 216,
UtilitySlot3 = 217,
UtilitySlot4 = 218,
DefensiveSlot1 = 219,
DefensiveSlot2 = 220,
DefensiveSlot3 = 221,
DefensiveSlot4 = 222,
WeaponSlot1 = 223,
WeaponSlot2 = 224,
WeaponSlot3 = 225,
WeaponSlot4 = 226,
OffensiveSlot1 = 84,
OffensiveSlot2 = 85,
OffensiveSlot3 = 86,
OffensiveSlot4 = 87,
UtilitySlot1 = 88,
UtilitySlot2 = 89,
UtilitySlot3 = 90,
UtilitySlot4 = 91,
DefensiveSlot1 = 92,
DefensiveSlot2 = 93,
DefensiveSlot3 = 94,
DefensiveSlot4 = 95,
WeaponSlot1 = 96,
WeaponSlot2 = 97,
WeaponSlot3 = 98,
WeaponSlot4 = 99,
}
public struct EquipmentSlot
@@ -761,7 +755,7 @@ namespace Framework.Constants
BnetAccountUntilEquipped = 9,
}
public enum ItemClass : sbyte
public enum ItemClass : int
{
None = -1,
Consumable = 0,
@@ -1399,6 +1393,8 @@ namespace Framework.Constants
BankNotAccessible = 128,// This Character Does Not Have Access To This Bank.
CantTradeAccountItem = 129,// You Can't Trade An Item From The Warband Bank.
AccountMoneyLocked = 130,// You cannot withdraw or deposit gold from the warband bank currently; please try again later.
CharacterBankNotAccessible = 131,// This character does not have access to this bank.
CharacterBankNotConverted = 132,// Your character's bank has not been converted. Please try again later.
}
public enum BankType
@@ -1531,6 +1527,9 @@ namespace Framework.Constants
PriorityJunk = 0x10,
PriorityQuestItems = 0x20,
ExcludeJunkSell = 0x40,
PriorityReagents = 0x80,
ExpansionCurrent = 0x100,
ExpansionLegacy = 0x200,
}
public enum LootStoreItemType
File diff suppressed because it is too large Load Diff
+8 -5
View File
@@ -532,7 +532,10 @@ namespace Framework.Constants
AccountSecured = 0x1000, // Script_IsAccountSecured
OverrideTransportServerTime = 0x8000,
MentorRestricted = 0x20000,
WeeklyRewardAvailable = 0x40000
HasAccountBankLock = 0x40000,
CharacterBankDisabled = 0x80000,
CharacterBankConversionFailed = 0x100000,
AccountBankDisabled = 0x200000,
}
public enum PlayerFieldByte2Flags
@@ -592,14 +595,14 @@ 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 = 232,
End = 105,
Count = (End - Start)
}
enum AccountBankBagSlots
public enum AccountBankBagSlots
{
Start = 227,
End = 232
Start = 100,
End = 105
}
public enum PlayerTitle : ulong
File diff suppressed because it is too large Load Diff
@@ -651,6 +651,9 @@ namespace Framework.Constants
Unk641 = 641,
Unk642 = 642,
ModRangedAttackSpeedFlat = 643,
Unk644 = 644,
Unk645 = 645,
Total
}
@@ -2671,6 +2671,10 @@ namespace Framework.Constants
UiAction = 339,
Unk340 = 340,
LearnWarbanScene = 341,
Unk342 = 342,
Unk343 = 343,
Unk344 = 344, // some kind of teleport
AssistAction = 345, // MiscValue[0] = AssistActionType, MiscValue[1] = ID, depends on type
TotalSpellEffects
}