Fix(Core/CharacterHandler): Incorrect behavior using an equipment set… (#18253)

* Fix(Core/CharacterHandler): Incorrect behavior using an equipment set if it will result in a full inventory.

* Fixing the error message to -Equiment swap failed - inventory is full- like the Blizzlike error message
This commit is contained in:
Kalimist
2024-02-03 08:34:33 -05:00
committed by GitHub
parent 3113ba2bd0
commit 1324f420f2
2 changed files with 20 additions and 3 deletions

View File

@@ -771,6 +771,14 @@ struct ItemPosCount
};
typedef std::vector<ItemPosCount> ItemPosCountVec;
struct SavedItem
{
Item* item;
uint16 dstpos;
SavedItem(Item* _item, uint16 dstpos) : item(_item), dstpos(dstpos) {}
};
enum TransferAbortReason
{
TRANSFER_ABORT_NONE = 0x00,