Complete rework of the bot trading system (see changelog.txt)

This commit is contained in:
Uleat
2017-03-08 08:12:04 -05:00
parent f26b7a4adc
commit 09bbfbcc31
5 changed files with 416 additions and 248 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ namespace EQEmu
// Locate an available inventory slot
int16 FindFreeSlot(bool for_bag, bool try_cursor, uint8 min_size = 0, bool is_arrow = false);
int16 FindFreeSlotForTradeItem(const ItemInstance* inst);
int16 FindFreeSlotForTradeItem(const ItemInstance* inst, int16 general_start = legacy::GENERAL_BEGIN, int16 bag_start = inventory::containerBegin);
// Calculate slot_id for an item within a bag
static int16 CalcSlotId(int16 slot_id); // Calc parent bag's slot_id