[Bots] Change HasBotItem(item_id) to return slot_id instead of bool. (#2966)

This commit is contained in:
Aeadoin
2023-02-19 16:13:28 -05:00
committed by GitHub
parent 443abf9199
commit c13f9f80d9
6 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ public:
uint32 GetBotItemIDBySlot(uint16 slot_id);
int GetExpansionBitmask();
Lua_Mob GetOwner();
bool HasBotItem(uint32 item_id);
int16 HasBotItem(uint32 item_id);
void OwnerMessage(std::string message);
bool ReloadBotDataBuckets();
bool ReloadBotOwnerDataBuckets();