[Quest API] Add GetBotListByCharacterID() to Perl/Lua. (#2069)

This commit is contained in:
Kinglykrab
2022-04-02 17:51:26 -04:00
committed by GitHub
parent ccd0713b33
commit a39a825045
5 changed files with 76 additions and 5 deletions
+1
View File
@@ -526,6 +526,7 @@ public:
inline const std::unordered_map<uint16, Client *> &GetClientList() { return client_list; }
#ifdef BOTS
inline const std::list<Bot *> &GetBotList() { return bot_list; }
std::vector<Bot *> GetBotListByCharacterID(uint32 character_id);
std::vector<Bot *> GetBotListByClientName(std::string client_name);
#endif
inline const std::unordered_map<uint16, Corpse *> &GetCorpseList() { return corpse_list; }