mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26:37 +00:00
[Quest API] Add GetBotItem() and GetBotItemIDBySlot() to Perl/Lua. (#2350)
- Add $bot->GetBotItem() to Perl. - Add $bot->GetBotItemIDBySlot() to Perl. - Add bot:GetBotItem() to Lua. - Add bot:GetBotItemIDBySlot() to Lua.
This commit is contained in:
+1
-1
@@ -588,6 +588,7 @@ public:
|
||||
uint32 augment_six = 0
|
||||
);
|
||||
uint32 CountBotItem(uint32 item_id);
|
||||
uint32 GetBotItemBySlot(uint16 slot_id);
|
||||
bool HasBotItem(uint32 item_id);
|
||||
void RemoveBotItem(uint32 item_id);
|
||||
uint32 GetTotalPlayTime();
|
||||
@@ -733,7 +734,6 @@ private:
|
||||
// Private "Inventory" Methods
|
||||
void GetBotItems(EQ::InventoryProfile &inv, std::string* error_message);
|
||||
void BotAddEquipItem(uint16 slot_id, uint32 item_id);
|
||||
uint32 GetBotItemBySlot(uint16 slot_id);
|
||||
|
||||
// Private "Pet" Methods
|
||||
bool LoadPet(); // Load and spawn bot pet if there is one
|
||||
|
||||
Reference in New Issue
Block a user