Core/Items: Add location filters to Player.GetItemByEntry
Port From (https://github.com/TrinityCore/TrinityCore/commit/96575e33bb6992e6906e02427f20c58af674bdaa)
This commit is contained in:
@@ -740,10 +740,21 @@ namespace Framework.Constants
|
||||
FailedRestArea = 8
|
||||
}
|
||||
|
||||
public enum TutorialsFlag
|
||||
public enum TutorialsFlag
|
||||
{
|
||||
None = 0x00,
|
||||
Changed = 0x01,
|
||||
LoadedFromDB = 0x02
|
||||
}
|
||||
|
||||
public enum ItemSearchLocation
|
||||
{
|
||||
InEquipment = 0x01,
|
||||
InInventory = 0x02,
|
||||
InBank = 0x04,
|
||||
InReagentBank = 0x08,
|
||||
|
||||
Default = InEquipment | InInventory,
|
||||
Everywhere = InEquipment | InInventory | InBank | InReagentBank
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user