mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Okay finally merchant buying works -.-
This commit is contained in:
@@ -506,10 +506,6 @@ bool EQEmu::Inventory::PopFromCursorBuffer() {
|
||||
return false;
|
||||
}
|
||||
|
||||
EQEmu::InventorySlot EQEmu::Inventory::PutItemInInventory(std::shared_ptr<ItemInstance> inst, bool try_worn, bool try_cursor) {
|
||||
return EQEmu::InventorySlot();
|
||||
}
|
||||
|
||||
EQEmu::InventorySlot EQEmu::Inventory::FindFreeSlot(bool for_bag, bool try_cursor, int min_size, bool is_arrow) {
|
||||
//check basic inventory
|
||||
for(int i = EQEmu::PersonalSlotGeneral1; i < EQEmu::PersonalSlotGeneral10; ++i) {
|
||||
|
||||
+2
-2
@@ -34,7 +34,8 @@ namespace EQEmu
|
||||
InvTypeCursorBuffer,
|
||||
InvTypeTribute,
|
||||
InvTypeTrophyTribute,
|
||||
InvTypeGuildTribute
|
||||
InvTypeGuildTribute,
|
||||
InvTypeMerchant
|
||||
};
|
||||
|
||||
enum PersonaInventorySlot : int
|
||||
@@ -139,7 +140,6 @@ namespace EQEmu
|
||||
bool Summon(const InventorySlot &slot, std::shared_ptr<ItemInstance> inst);
|
||||
bool PushToCursorBuffer(std::shared_ptr<ItemInstance> inst);
|
||||
bool PopFromCursorBuffer();
|
||||
InventorySlot PutItemInInventory(std::shared_ptr<ItemInstance> inst, bool try_worn, bool try_cursor);
|
||||
InventorySlot FindFreeSlot(bool for_bag, bool try_cursor, int min_size = 0, bool is_arrow = false);
|
||||
|
||||
//utility
|
||||
|
||||
Reference in New Issue
Block a user