Core/Items: Addes support for calculating item level & cleanup iterating over items.

Based on https://github.com/TrinityCore/TrinityCore/pull/26276
This commit is contained in:
hondacrx
2021-03-24 15:44:49 -04:00
parent 62ec699ec6
commit cad2a7fa88
6 changed files with 362 additions and 603 deletions
+6 -6
View File
@@ -759,13 +759,13 @@ namespace Framework.Constants
public enum ItemSearchLocation
{
InEquipment = 0x01,
InInventory = 0x02,
InBank = 0x04,
InReagentBank = 0x08,
Equipment = 0x01,
Inventory = 0x02,
Bank = 0x04,
ReagentBank = 0x08,
Default = InEquipment | InInventory,
Everywhere = InEquipment | InInventory | InBank | InReagentBank
Default = Equipment | Inventory,
Everywhere = Equipment | Inventory | Bank | ReagentBank
}
public enum ZonePVPTypeOverride