mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
RoF+ Cursor Buffer SummonItem Initial Test Change
This commit is contained in:
@@ -259,6 +259,11 @@ int16 Inventory::PushCursor(const ItemInst& inst)
|
||||
return MainCursor;
|
||||
}
|
||||
|
||||
ItemInst* Inventory::PopCursor()
|
||||
{
|
||||
return m_cursor.pop();
|
||||
}
|
||||
|
||||
// Swap items in inventory
|
||||
bool Inventory::SwapItem(int16 slot_a, int16 slot_b)
|
||||
{
|
||||
|
||||
@@ -151,6 +151,8 @@ public:
|
||||
|
||||
// Add item to cursor queue
|
||||
int16 PushCursor(const ItemInst& inst);
|
||||
// Remove item from cursor queue
|
||||
ItemInst* PopCursor();
|
||||
|
||||
// Swap items in inventory
|
||||
bool SwapItem(int16 slot_a, int16 slot_b);
|
||||
|
||||
Reference in New Issue
Block a user