[Configuration] Max added bot

This commit is contained in:
Yunfan Li
2024-07-18 23:32:39 +08:00
parent da2b73ddd0
commit 9dc494f407
5 changed files with 75 additions and 14 deletions

View File

@@ -48,7 +48,8 @@ class PlayerbotHolder : public PlayerbotAIBase
uint32 GetAccountId(ObjectGuid guid);
std::string const ListBots(Player* master);
std::string const LookupBots(Player* master);
uint32 GetPlayerbotsCount() { return playerBots.size(); }
uint32 GetPlayerbotsCountByClass(uint32 cls);
protected:
virtual void OnBotLoginInternal(Player* const bot) = 0;