[Bots] Cleanup ^inventoryremove, ^inventorylist, and ^list Commands and bot groups. (#2273)

* [Bots] Cleanup ^inventoryremove, ^inventorylist, and ^list Commands.

* Bot group cleanup, bot group auto spawning.

* Compile fix.

* Require SQL.
This commit is contained in:
Kinglykrab
2022-07-02 22:46:00 -04:00
committed by GitHub
parent 3936b2b882
commit 0c01872608
9 changed files with 1787 additions and 969 deletions
+3
View File
@@ -169,7 +169,10 @@ public:
/* Bot group functions */
bool IsBotGroupAutoSpawn(const std::string& botgroup_name);
bool LoadAutoSpawnBotGroupsByOwnerID(const uint32 owner_id, std::list<std::pair<uint32,std::string>>& group_list);
bool LoadGroupedBotsByGroupID(const uint32 owner_id, const uint32 group_id, std::list<uint32>& group_list);
bool ToggleBotGroupAutoSpawn(const uint32 group_id);
/* Bot heal rotation functions */