Loading the botnames from a cache

This commit is contained in:
bash
2024-08-21 18:11:19 +00:00
parent 1aa9145902
commit 63e7b227d8
2 changed files with 52 additions and 19 deletions

View File

@@ -49,7 +49,7 @@ public:
RandomPlayerbotFactory(uint32 accountId);
virtual ~RandomPlayerbotFactory() {}
Player* CreateRandomBot(WorldSession* session, uint8 cls);
Player* CreateRandomBot(WorldSession* session, uint8 cls, std::unordered_map<NameRaceAndGender, std::vector<std::string>>& names);
static void CreateRandomBots();
static void CreateRandomGuilds();
static void CreateRandomArenaTeams(ArenaType slot, uint32 count);